BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Per-pixel alpha blended splash screen

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics
View previous topic :: View next topic  
Author Message
Tim Sullivan
Guest





PostPosted: Sun Jul 09, 2006 11:47 pm    Post subject: Per-pixel alpha blended splash screen Reply with quote



In November, Alexandre Rosenfeld posted here that he had modified Peter
Below's splash screen code to support per-pixel alpha blended and PNGs, and
subsequently posted it to the attachments group. However, I can't seem to
find an archive of the item from attachments anywhere, nor can I find any
other code that might get me going.

I tried contacting Alexandre directly without luck, so I'm wondering if, by
some miracle, someone saved this code, or, alternately has something else
that might serve the same purpose.

Thanks in advance,

--
Tim Sullivan
Unlimited Intelligence Limited
http://www.uil.net
Back to top
Scott Mason
Guest





PostPosted: Mon Jul 10, 2006 1:57 am    Post subject: Re: Per-pixel alpha blended splash screen Reply with quote



Hi Tim,

Please check attachments. I didn't have the original zip, but found two units
in one of my projects.

Scott
Tim Sullivan wrote:
Quote:
In November, Alexandre Rosenfeld posted here that he had modified Peter
Below's splash screen code to support per-pixel alpha blended and PNGs, and
Back to top
Liam Mullins
Guest





PostPosted: Mon Jul 10, 2006 8:10 am    Post subject: Re: Per-pixel alpha blended splash screen Reply with quote



Tim,
I know how to do what you are asking. I was actually thinking of writing
a 'bare-bones' example that leaves out all of the extra garbage and
shows how to use per pixel alpha blending. The only real examples out
there on the subject are written in C# and Microsoft C++... there is one
Delphi example that was pretty good, but it had animations etc and
didn't truely use per pixel alhpa blending to show a shadow under the
form. In short, there was too much in it to really show a beginner (or
someone that needs a simple reference) how to do it.

If you (or the community) would like an example let me know and I am
sure I can post something that will explain in easy to understand terms,
how to render a Layered Window using per-pixel alpha in GDI+.

Liam Mullins


Tim Sullivan wrote:

Quote:
In November, Alexandre Rosenfeld posted here that he had modified Peter
Below's splash screen code to support per-pixel alpha blended and PNGs, and
subsequently posted it to the attachments group. However, I can't seem to
find an archive of the item from attachments anywhere, nor can I find any
other code that might get me going.

I tried contacting Alexandre directly without luck, so I'm wondering if, by
some miracle, someone saved this code, or, alternately has something else
that might serve the same purpose.

Thanks in advance,
Back to top
Liam Mullins
Guest





PostPosted: Mon Jul 10, 2006 8:10 am    Post subject: Re: Per-pixel alpha blended splash screen Reply with quote

forgot to mention that I use Builder, so you will have to convert to the
equivilent in Delphi which shouldn't be too hard. If you REALLY do not
understand the concepts, I will write it in Delphi. Right now, I just
don't have a tom of time on my hands. I have a kid on the way and am a
poor programmer trying to make ends meet.
Best Regards
Liam

Tim Sullivan wrote:

Quote:
In November, Alexandre Rosenfeld posted here that he had modified Peter
Below's splash screen code to support per-pixel alpha blended and PNGs, and
subsequently posted it to the attachments group. However, I can't seem to
find an archive of the item from attachments anywhere, nor can I find any
other code that might get me going.

I tried contacting Alexandre directly without luck, so I'm wondering if, by
some miracle, someone saved this code, or, alternately has something else
that might serve the same purpose.

Thanks in advance,
Back to top
Tim Sullivan
Guest





PostPosted: Mon Jul 10, 2006 7:55 pm    Post subject: Re: Per-pixel alpha blended splash screen Reply with quote

Hi Scott,

Quote:
Please check attachments. I didn't have the original zip, but found two
units in one of my projects.

Thanks a ton, you're a life saver. This worked perfectly.

--
Tim Sullivan
Unlimited Intelligence Limited
http://www.uil.net
Back to top
Tim Sullivan
Guest





PostPosted: Mon Jul 10, 2006 7:59 pm    Post subject: Re: Per-pixel alpha blended splash screen Reply with quote

Hi Liam,

Quote:
If you (or the community) would like an example let me know and I am sure
I can post something that will explain in easy to understand terms, how to
render a Layered Window using per-pixel alpha in GDI+.

I'm sure the community at large would appreciate it, by I myself don't
really need it at this time. I'm less interested in the esoterica of PNG and
alpha blending, and more interested in the nuts and bolts of my
applications. Of course, those are famous last words, aren't they? Six
months from now I might be thinking "crap, I wish I had that example!" :-)

I know that doing something and posting it to CodeCentral would be highly
welcomed by many.

Thanks,

--
Tim Sullivan
Unlimited Intelligence Limited
http://www.uil.net
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.