Raytracing Geometries in 3D Rendering(andeplane.github.io)
andeplane.github.io
Raytracing Geometries in 3D Rendering
https://andeplane.github.io/Raytracing/
2 comments
> If you are able to render many torus efficiently in the shader, let me know!
Same way as anything else surely? Acceleration structures. Fit an oriented bounding box around each torus, add them as custom geo to the acceleration structure API.
Same way as anything else surely? Acceleration structures. Fit an oriented bounding box around each torus, add them as custom geo to the acceleration structure API.
If you are able to render many torus efficiently in the shader, let me know!