tsoding / ray-tracer

My ongoing effort to learn how to make Ray Tracers
MIT License
15 stars 2 forks source link

Acceleration structures #32

Open w23 opened 6 years ago

w23 commented 6 years ago

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, ...

rexim commented 6 years ago

@w23 yeah, I was thinking about using those in the future. Thanks for filing an issue for that! :)