5 ms·
If you're already tracing camera rays, you have everything you need, so why generate triangles? (GigaVoxels doesn't generate triangles)
by tayistay 6y ago
If you're already tracing camera rays, you have everything you need, so why generate triangles? (GigaVoxels doesn't generate triangles)
- rsp1984 6y agoBecause not everything in the scene is static and the entire rest of the pipeline works with triangles.
- tayistay 6y agoI'm not convinced, because mixing ray-marched and triangulated geometry is quite doable. If you've already computed a ray intersection, generating a triangle and putting a burden on vertex processing makes little sense if the geometry is static. If you wanted it to be deformable, then yes you may want to use a vertex shader. But in this demo, none of the high resolution geometries are deformable AFAICT.