Skip to content

Warp renderer with cylinder #139

Answered by mmacklin
cadop asked this question in Q&A
Aug 16, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

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

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cadop
Comment options

@cadop
Comment options

Answer selected by cadop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants