Open albertotono opened 1 year ago
Hey, yeah it depends on whether there are multiple materials or multiple o
(object) directives in the OBJ. You can load with mesh = trimesh.load(file_name, force='mesh')
or scene=trimesh.load(file_name, force='scene')
to force it into a particular container type.
After I export the obj from Blender and then load in Trimesh,
Some obj are imported as:
<trimesh.Scene(len(geometry)=3)>
<trimesh.Trimesh(vertices.shape=(24, 3), faces.shape=(36, 3))>
Why is this happening, should I export the OBJ from Blender in a particular way? Should I import the obj differently? [ Right now I am using
trimesh.load(path)
]