-
I am trying to use warp renderer with a cylinder, and it isn't happy. I made it in omniverse (create-mesh-cylinder). The error is:
Is there some step I am missing? I am using this example https://github.com/NVIDIA/warp/blob/main/examples/example_mesh.py |
Beta Was this translation helpful? Give feedback.
Answered by
mmacklin
Aug 17, 2023
Replies: 1 comment 2 replies
-
Hi @cadop , I am guessing it's because the cylinder is a quad mesh, but You would need to triangulate it first, take a look at the code here on how to do it: https://github.com/NVIDIA/warp/blob/main/warp/tests/test_mesh_query_point.py#L248 Cheers, |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
cadop
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @cadop , I am guessing it's because the cylinder is a quad mesh, but
render_mesh
assumes a triangle mesh.You would need to triangulate it first, take a look at the code here on how to do it: https://github.com/NVIDIA/warp/blob/main/warp/tests/test_mesh_query_point.py#L248
Cheers,
Miles