NHacker Next
- new
- past
- show
- ask
- show
- jobs
- submit
login
what is it about raytraced animation that makes it more expensive to update the BVH mesh vertices every frame, compared to old-school bone animation where you send the info to the vertex shader every frame?
Massively simplifying here but when doing one rasterization pass you process a list of triangles, in order, once. When raytracing a camera view you query a database of triangles, at least once for each pixel. To avoid scanning the whole list of triangles for every pixel, the database needs a fancy 3D spatial index whose structure depends on the exact position of each vertex. When you modify the position of vertices you have to fix up or rebuild the fancy spatial index too.
To make ray tracing practical, you need to update the ray-tracing accelerating structures when you animate.
Rendered at 21:35:11 GMT+0000 (Coordinated Universal Time) with Vercel.