Volker Posted December 24, 2009 Share Posted December 24, 2009 Hello, I have to load a lot of textures for my 2d animations. At the moment they are a few hundred. Every frame as a single .dds file. They are being preloaded at game start. Is it better to use for every animation one big file instead of a lot small ones? I'm thinking about something like vram fragmentation? Do I have to be scared about overstuffing the vram? Quote Core2DuoE6570 / Windows7 64bit / 4 Gb RAM / Geforce GTX 260 896Mb / LE 2.3 Dell Inspiron 1720 / Vista SP2 / C2D 2.4 / 8600 GM Link to comment Share on other sites More sharing options...
Paul Thomas Posted December 24, 2009 Share Posted December 24, 2009 I remember when working with XNA they had all the 2D animations for a single character on a single texture. Simply changing the X position in the draw call to change animation. Probably best to do it that way, not really sure, never compared the two before. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.