ray-tracer
ray-tracer copied to clipboard
Acceleration structures
For triangle objects (or sufficiently complex scenes made of balls, boxes and walls) you will notice that iterating through all objects is slow. Skip objects that will not be hit by current ray (or ray sample). Hints: BVH, BSP, kd-trees, ...
@w23 yeah, I was thinking about using those in the future. Thanks for filing an issue for that! :)