Jump to content

  • Log In with Google      Sign In   
  • Create Account

Improving loading times for 2D animations in Directx


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
22 replies to this topic

#21 MartinSmith160   Members   -  Reputation: 146

Like
0Likes
Like

Posted 31 May 2013 - 04:29 AM

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.



Sponsor:

#22 Tom KQT   Members   -  Reputation: 1621

Like
0Likes
Like

Posted 31 May 2013 - 05:32 AM

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?



#23 MartinSmith160   Members   -  Reputation: 146

Like
0Likes
Like

Posted 31 May 2013 - 07:09 AM

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. 






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS