gazebosim / gz-mujoco

27 stars 4 forks source link

Should detect if OBJ is composite and issue a warning #89

Open azeey opened 2 years ago

azeey commented 2 years ago

Mujuco doesn't textures in a composite OBJ file (multiple submeshes in one OBJ files). It would be nice to detect if an OBJ file is composite and issue a warning along the lines of "extures ignored in mesh "mesh.obj" since it is composite, in order to load a composite mesh in MuJoCo please use github.com/kevinzakka/obj2mjcf"

The tool linked there can convert composite OBJ files to simple OBJs with individual textures extracted from the composite OBJ file.