3d model with MD5 format

Posts: 35
Joined: 2008.06
Post: #1
I'm building a game using MD5 format which has a mesh and anim file associated with it. Essentialy, the mesh file has the base mesh coordinates and anim file(s) has the skeleton data.

My question is if their are several animations for the model (20) and ten or more models, is it better to load all the animation data at the start of the game (which will take up runtime memory), or to load from file (the anim data) when needed and then release the data when finished at some point to free up memory?

Thanks for comments/suggestions.
Quote this message in a reply
Posts: 3,591
Joined: 2003.06
Post: #2
Pretty hard to say, I think. My usual attitude is that since there exists lots of cheap memory nowadays, it's often easier to load all the animations that might possibly be used in a level. Theoretically, lazy loading is better though... It's always: ease of development vs. performance vs. player wait time vs. playing nice with the rest of the system. Lots of trade-offs that aren't always easy to simply measure with a rule of thumb.
Quote this message in a reply
Posts: 35
Joined: 2008.06
Post: #3
Jake, thanks for the response.
I guess experimenting on my Macbook is the place to start. Loading the most commonly used animations at game start, then loading others as needed on intermissions, might be the approach that finds the best compromise of playability and waiting time.

Let you know what the results are later down the road.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Model Format Suggestions? TythosEternal 4 5,222 Apr 19, 2009 11:40 PM
Last Post: Frank C.
  3d model format with normals honkFactory 7 6,329 Jan 13, 2003 04:43 PM
Last Post: furballphat
  Which 3D model format is used on Mac? Mars_999 7 9,688 May 8, 2002 06:54 AM
Last Post: Nimrod