Lecture 9: Ray Tracing & Acceleration Structures (80)
omijimo

how would you calculate the cost of intersecting a triangle? would triangles with more complex surfaces cost more, or would they all cost the same?

kevinzwang

@omijimo I believe the cost of intersecting any triangle would be the same. As all triangles consist of three points in 3D space, computing the intersection with any triangle would take the same CPU instructions.

Different objects or surfaces may have a different amount of triangles though, which will affect their cost linearly to the number of triangles, as described in this formula.

You must be enrolled in the course to comment