You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to render this model from the Objaverse dataset using pyrender. I loaded the model using trimesh and got a trimesh.scene.scene.Scene that I was trying to load in pyrender with:
pyrender.Scene.from_trimesh_scene(trimesh_scene)
This raised the following exception:
File "[redacted]/object_renderer.py", line 19, in render_object
render_scene = pyrender.Scene.from_trimesh_scene(trimesh_scene)
File "[redacted]/venv/lib/python3.10/site-packages/pyrender/scene.py", line 574, in from_trimesh_scene
geometries = {name: Mesh.from_trimesh(geom)
File "[redacted]/venv/lib/python3.10/site-packages/pyrender/scene.py", line 574, in <dictcomp>
geometries = {name: Mesh.from_trimesh(geom)
File "[redacted]/venv/lib/python3.10/site-packages/pyrender/mesh.py", line 190, in from_trimesh
raise TypeError('Expected a Trimesh or a list, got a {}'
TypeError: Expected a Trimesh or a list, got a <class 'trimesh.path.path.Path3D'>
The text was updated successfully, but these errors were encountered:
I am trying to render this model from the Objaverse dataset using pyrender. I loaded the model using trimesh and got a
trimesh.scene.scene.Scene
that I was trying to load in pyrender with:pyrender.Scene.from_trimesh_scene(trimesh_scene)
This raised the following exception:
The text was updated successfully, but these errors were encountered: