Why do I read the internal data "id" of the model repeated


this is model https://cms-oss-sh-dev.oss-cn-shanghai.aliyuncs.com/jpc/2021-03-10/3D_Model/test3.obj

Babylon.js allows meshes with same id. Find these lines in your .obj file.

o 7889
g 7889

o 101
g 101

o 464
g 464

E.g. o7889 is converted to a TransformationNode with id 7889 and ‘g 7889’ and the following data is the actual Mesh with id 7889 in babylon.js. If you remove these 3 lines, you will have only 3 actual meshes.

Remove these 3 lines from .obj file.

o 7889

o 101

o 464
2 Likes