Please help with texture animation in DirectX9.

Hi!
I am making a 2d game using 3d resources of DirectX9, my world cosnists of flat square polygons, equally outstanding from camera, with different textures on top of them. Thus I create one vertex buffer (for the square) and load all the textures in the beginning of the application and then scale and render this square in different sizes and with different textures on the screen.

The question is how to effectively animate the squares? Ideally I want to load a template with all the needed sprites for a single object into a single IDirect3DTexture9 pointer and then each frame only specify to the device which part of the picture I need to put on top of my square this time. Could you possibly suggest a way of doing it?

Thanks.
Topic archived. No new replies allowed.