Archived

This topic is now archived and is closed to further replies.

gotG

animated texture

Recommended Posts

What do you mean by animated. If you mean like in a GIF file, no it has no support for GIF animation. It does, however, support special AVI textures which you use with DirectShow and DirectGraphics to create a nice looking animating texture. Check out the Texture3D sample in the directshow directory of your dx8.1 sdk. it looks really cool. anyway, normally, you''ll just load it up as a series of animations. This allows you to control everything. You know, this gives me an idea for my engine. How about creating a texture animation class and you specify a root file and in that file it has all the texture filenames to load up. Then you load up that file and load the animations and you tell it to set a certain one or do certain tex animations. Sounds good to me.

Share this post


Link to post
Share on other sites