Auto loading only once file's mesh in many call

Sorry for my english.

Please, tell, if many load the same j3o file (this j3o file’s have mesh model), then file’s mesh will copy, and the operation be have more RAM memory? Or real loading only one exemplar of mesh?

I tell you about this:
[java]for (int i=0;i<10000;i++){
scene=(Node)assetManager.loadModel("My 3jo model");
self.attachChild(scene);
}[/java]

Will file's mesh loaded 10000 times in RAM and VideoCard RAM memory? Or One once?

Sorry for my english.

Once.

1 Like

the mesh is shared, unless they have skeletal animations

1 Like
@wezrule said: the mesh is shared, unless they have skeletal animations

And if mesh’s of my file j3o file’s is animated then it will loading many times?

or mesh is loading once, but bone’s animation position any model be copyed (each model in your current frame of animation)?

The mesh will be cloned in that case.

@pspeed said: The mesh will be cloned in that case.

It’s a pity = (
Thanks for the explanation.