Closed andreasala98 closed 3 years ago
I'm sure the quickRayIntersection method for Box shapes can be optimized. Maybe @TommasoArmadillo can offer some precious insights.
I'm sure the quickRayIntersection method for Box shapes can be optimized. Maybe @TommasoArmadillo can offer some precious insights.
He is the CEO of Boxes, after all.
Hi! @PietroKlausner, yes the could be optimized. In fact we don't need to compute all the intersections and then return true
only if there is one or more intersections, but we can avoid some calculations. I just pushed a commit with this optimization. All the tests still pass correctly as expected!
Hi! @PietroKlausner, yes the could be optimized. In fact we don't need to compute all the intersections and then return
true
only if there is one or more intersections, but we can avoid some calculations. I just pushed a commit with this optimization. All the tests still pass correctly as expected!
Thank you very much!
This pull request is to keep track of the implementation of Point Light Tracing, a quink rendering algorithm. As this is a secondary feature for our project, we will implement this when we have time.