-
Notifications
You must be signed in to change notification settings - Fork 255
Open
Description
Hi! Thanks for your great work!
I try to load mesh file via trimesh. When looking at mesh in trimesh viewer, it looks fine. But once I load same mesh for pyrender, this generates significant amount of artifacts.
pyrender viewer:
My code is following:
from pathlib import Path
import pyrender
import trimesh
root_dir=Path(f"...")
tm=trimesh.load(str(root_dir/"scene_00009/colored_mesh.ply"))
tm.show()
mesh=pyrender.Mesh.from_trimesh(tm)
light_val=0.5
scene = pyrender.Scene(ambient_light=[light_val,light_val,light_val])
scene.add(mesh, "mesh")
pyrender.Viewer(scene, use_raymond_lighting=True)
You can find the mesh file from following GoogleDrive link:
https://drive.google.com/file/d/19n0CAq0AL4kz9hso1tibL2N-3nHISEuO/view?usp=sharing
Best
Metadata
Metadata
Assignees
Labels
No labels
