Animation Texture Size Question

Blitz3D Forums/Blitz3D Programming/Animation Texture Size Question

Nexic(Posted 2005) [#1]
Old 3D cards such as the vodoo series have a maximum texture size of 256x256, anything bigger than that will be reduced in size and will look pretty ugly. Now, what I want to know is whether loading a texture with LoadAnimTexture will load the entire picture into a texture buffer, then paint a small segment of that texture onto the sprite/model, or does it load several smaller texture buffers.

So if I have an animation tile with 4 256x256 frames strung together into a 1024x256 texture, would it display correctly on an old vodoo card?


Naughty Alien(Posted 2005) [#2]
it will be displayed correctly since LoadAnimTexture reading your animation frames from your 1024x256 texture, in left to right order, taking size of one frame as you want(in your case 256,256)..


Nexic(Posted 2005) [#3]
So LoadAnimTexture would load 4 seperate texture buffers?