I have two obj file. One big, one small. The big one got 20860 vectors, and 20572 faces. The small one 7254 and 7084.
When I load load the big, Irrlicht says it got 82288 vertex and 123432 indices and 28336 vertex, 42504 indices for the small.
I understood the vertex count (each faces is composed with 4 vectors) but not the indice count...
The problem is that when I load the big one, the mesh is not complete. I only get a part of it.
This is how I load mesh :
Code: Select all
AnimatedMesh AniMesh = scene.GetMesh("bigmesh.obj");
Mesh mesh = AniMesh.GetMesh(0);
...
SceneNode node = scene.AddMeshSceneNode(mesh, null, -1);
Thanks for any advice.
PS I know it's C#, but I don't think I should be the cause... I hope...