Open klattimer opened 1 year ago
In an obj file with o MyObject accompanied by a mtl file with newmtl MyMaterial the mesh.name has the same value as mash.material.name.
Definitely it looks like the material name is used for the mesh name. I don't quite remember why this was done.
https://github.com/moderngl/moderngl-window/blob/200f2b9ea8b350b0ac9bb6a2d24310c0d8227794/moderngl_window/loaders/scene/wavefront.py#L111
In an obj file with o MyObject accompanied by a mtl file with newmtl MyMaterial the mesh.name has the same value as mash.material.name.