Improving loading times for 2D animations in Directx

Started by
21 comments, last by MartinSmith160 10 years, 10 months ago

Hi Tom

I have tried this approach before but with the big animations (some have full screen frames) the graphics card fails to load them because they have a maximum texture size.

For example I have an animation which has 60 fames and each frame is 1027x768. If I tied to put that into a sprite sheet it wold be huge and from past memory most graphics cards have a max size of something like 2024 x 2024 or something like that.

When using this approach before directx just renders a white box the size of a single frame. Am I looking at this in the wrong way.

Cheers.

Advertisement

Oh so we are talking about such huge images. Then it's also quite clear, why are you having problems with loading times ;)

Maybe it really is time to move from this frame-by-frame animation to some video files?

maybe, maybe. for some scenarios in the game a video wont wok but i guess that's more to do with the game design than a directx issue.

Chees for the advice tho.

This topic is closed to new replies.

Advertisement