Speed up content loading

Posted by user1806687 on Game Development See other posts from Game Development or by user1806687
Published on 2012-12-15T19:38:22Z Indexed on 2012/12/15 23:20 UTC
Read the original article Hit count: 222

Filed under:
|
|

I am using WinForms Sample downloaded from microsoft website. The problem is, that the model loading time is quite long, using:

contentBuilder.Add(ModelPath, ModelName, null, "ModelProcessor");
contentManager.Load<Model>(ModelName);

even a simple model, such as a cube with no textures, takes 4+ seconds to load. Now, I am no expert on this, but is there anyway to decrease loading time?


EDIT:

I've gone thru the code and found out that calling contentBuilder.Build(); ,which comes right after contentBuilder.Add() method takes up most of the time.

© Game Development or respective owner

Related posts about XNA

Related posts about c#