codyrhoads / ATTRACT

CPE 476 Project
0 stars 1 forks source link

BVH Optimization #9

Open codyrhoads opened 7 years ago

codyrhoads commented 7 years ago

I am having difficulty incorporating an optimization in the BVH code. It is where you prune parts of the tree where the ray intersection occurs at a farther point than the current closest intersection. At the moment the algorithm checks all objects in every leaf that the ray intersects. I want to implement this at some point.