Search the web
Sign In
New User? Sign Up
AIL_Development · AIL Developer's Forum
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Rendering transparent TGA to a picturebox in vb.net   Message List  
Reply | Forward Message #70 of 125 |
Re: Rendering transparent TGA to a picturebox in vb.net

you're right, it would look like crap. My theory was to try to render
a tga foreground animation in the image property of the picturebox and
a background (non transparent) in the background image property of the
picturebox. this is just because sometimes we run multiple passes on
shots and composite them up afterwards, so it would be good to preview
this before we send them to after effects. Since we normally
premultiply the background pixel color into the fg on composite it
probably wouldnt look great without that anyway, as you end up with a
black or white halo aroung the edge where the alpha overlay is.
anyway, the main thing is playback performance and i have that with
your library over any other.

at the moment for non transparent tga and jpg sequences i'm just
loading the file from IO_loadimage and converting and returning a
bitmap into an image collection. It is very fast to cache these and
the picturebox refresh is bound to a timer that fires 25 times a
second. it plays back realtime at the moment after about 5-10 seconds
of caching so i'll probably stick with it. it's better than what my
£3000 3d software can manage!

cheers!







Mon Apr 14, 2008 9:18 pm

bluescreenwe...
Offline Offline
Send Email Send Email

Forward
Message #70 of 125 |
Expand Messages Author Sort by Date

Hello all AIL users. I wanted to know what the quickest way would be to load a 32 bit tga so that the alpha transparency was preserved. Ideally i'd need my ...
bluescreenweasel
bluescreenwe...
Offline Send Email
Apr 10, 2008
7:27 pm

1) Standard 24-bit BITMAP images do not support transparency... so converting any 32-bit transparent image (including TGA) to a 24-bit BITMAP would lose the...
Kevin Wilson
kwilson1997
Online Now Send Email
Apr 10, 2008
7:46 pm

Hi kevin, Thanks for your reply. I am using vb.net and AIL to make an animation sequence player. I did want to squash the image to 16:9 so does that make the...
bluescreenweasel
bluescreenwe...
Offline Send Email
Apr 11, 2008
7:32 pm

If you want to squash the image to 16:9 before rendering to a PictureBox, I would recommend resizing the image first, then rendering it transparently using the...
Kevin Wilson
kwilson1997
Online Now Send Email
Apr 14, 2008
4:06 pm

you're right, it would look like crap. My theory was to try to render a tga foreground animation in the image property of the picturebox and a background (non...
bluescreenweasel
bluescreenwe...
Offline Send Email
Apr 28, 2008
5:35 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help