NVlabs / nvdiffrast

Nvdiffrast - Modular Primitives for High-Performance Differentiable Rendering
Other
1.31k stars 139 forks source link

Quad mesh #192

Closed chky1997 closed 2 weeks ago

chky1997 commented 2 weeks ago

Thank you for your great work! Do you have any plans about using quad mesh instead of triangle mesh for better rendering results?

s-laine commented 2 weeks ago

No native support is planned. To rasterize a quad mesh, it can be turned into a triangle mesh via tessellation. The simplest solution is to just split each quad into two triangles — this can be done either programmatically or in a mesh editor program.