clonewar12345 Posted May 16, 2007 Share Posted May 16, 2007 I am trying to use sprites to render a fire effect. I have some fire animations for the sprites. Is there a way to make them partly transparent with an alpha channel? I have an alpha channel for them but i cant figure how to load that into the sprite system. Any help would be appreciated. Thanks Quote Link to comment Share on other sites More sharing options...
Paul Forwood Posted May 16, 2007 Share Posted May 16, 2007 If the images used by the sprite emitters have an alpha channel, (they are 32bit Targas or Png files), then they should render just like a cookie-cut image. I haven't tested PNG images in a sprite emitter but I think that they should work. On top of that you can adjust the opacity through the sprite system and sprite emitter properties. Quote Link to comment Share on other sites More sharing options...
johnl3d Posted May 17, 2007 Share Posted May 17, 2007 If the fire animation has a alpha channel then you should have no trouble using it as a sprite just choose the animation as the sprite image. Or you can use the animation as a layer and animate the layer. I did that here http://migrate.hash.com/forums/index.php?s...re+extinguisher images here http://migrate.hash.com/forums/index.php?s...re+extinguisher Quote Link to comment Share on other sites More sharing options...
clonewar12345 Posted May 18, 2007 Author Share Posted May 18, 2007 If i have a quicktime mov file how would i make a layer emmited as a sprite? I have the alpha channel in the form of annother quicktime file. Quote Link to comment Share on other sites More sharing options...
johnl3d Posted May 18, 2007 Share Posted May 18, 2007 the layer would not be a sprite ..you would animated the layer size and position to act as a sprite/emitter...sorry if I am confusing you. or not understanding....I'm old. If you want to use your qt just choose it as the sprite image. Quote Link to comment Share on other sites More sharing options...
clonewar12345 Posted May 19, 2007 Author Share Posted May 19, 2007 Yea, but is there any way to key it so the black portion is transparent? Quote Link to comment Share on other sites More sharing options...
johnl3d Posted May 20, 2007 Share Posted May 20, 2007 To get a quicktime to work it cannot be compressed. I did a qt using "animation" as the non compressed codec using the explosion material on a small model with the alpha buffer so the size is large spritely.mov I used this qt as the image for a sprite material here spritemov.mov It does not show the black The trouble with animated sprites is they all show the same frame whether or not its just starting to emit or has emitted 15 frames ago as the frames are rendered. Quote Link to comment Share on other sites More sharing options...
johnl3d Posted May 20, 2007 Share Posted May 20, 2007 THe solution is to use layers and animate them you have control of the animation layer.mov If you use the large qt above here is the project file layers.zip Post whatever you get Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.