When would we know whether we should make a node a leaf? Would there just be some predetermined size that we use as a leaf size?
keenan
@sponge Yeah, this is a parameter that has to be performance-tuned for a given platform/architecture. One way to choose the leaf size, for instance, is to ask: how many triangles can I simultaneously intersect using the available SIMD/vectorized instructions? There's a nice article that more broadly discusses SIMD ray tracing here (and lots of other good stuff from authors like Ingo Wald).
When would we know whether we should make a node a leaf? Would there just be some predetermined size that we use as a leaf size?
@sponge Yeah, this is a parameter that has to be performance-tuned for a given platform/architecture. One way to choose the leaf size, for instance, is to ask: how many triangles can I simultaneously intersect using the available SIMD/vectorized instructions? There's a nice article that more broadly discusses SIMD ray tracing here (and lots of other good stuff from authors like Ingo Wald).