Suggestion: Mesh sharing

Aug 26, 2009 at 8:59 AM

As far as I can see every component has it's own XNA model. I think it would be more efficient if the ModelMeshes would be shared by the components to decrease the memory consumption.

So in the ExampleGame there would be only one cube model and every StandardModel that represents a cube would use this model. This could also decrease the loading time of larger scenes because every .xnb/.x file would be loaded only once.

Please tell me if you think this is totally wrong.

Coordinator
Aug 27, 2009 at 5:25 AM

Fortunately, this is the wrong conclusion. Each Ox model component shares its underlying model data :)