the way our .mtl file is produced was changed recently, now our models appear as black.
here’s the code in a repo to show what I try.
the example is taken from the threejs examples, only files were change
what I already tried:
play with the lights, camera etc without success
tried following this advice:
but got an error ‘no multimaterials allowed’
this website was able to succesfuly convert to gltf: modelconverter.com
which was then succesfuly loaded in three.js editor with colors etc
1 - Open the obj file in any 3d editor.
2 - Open the obj file in any text editor and
See if you have lines starting with
a “vn some_number some_number some_number\n”
b “f some_number/some_number/some_number” or “f some_number//some_number”
(notice the slash f/2/2/2 or f 2//2)
f 40183/111824 40368/111857 40092/111823 from scene_mesh_decimated_textured.obj
f some_number/some_number => f vertex/uv/no normal