Jump to content
Hash, Inc. - Animation:Master

Alpha Channel for Sprite System?


Recommended Posts

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

Link to comment
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

 

:unsure:spritely.mov

 

 

I used this qt as the image for a sprite material here

 

:huh: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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...