Animated Textures

I was wondering, If there is already a system for this inside of jme3?

Basically I could simply exchange the material every x miliseconds, but I think something basic like animated textures really should be in the core of any serious game engine.

I suggested APNG earlier, no developer responded though :wink:


  • Mikkel

You could do a sprite sheet where the different frames of animation are stored  in different sections of the texture.  Then only the texcoords need to be updated to match the current frame.  This sample from xna comes to mind. http://creators.xna.com/en-US/sample/spritesheet :smiley: