Negrini085 / PhotoNim

PhotoNim: a CPU raytracer with BVH optimization based on kmeans clustering
https://negrini085.github.io/PhotoNim/
GNU General Public License v3.0
4 stars 1 forks source link

Fast BVH traverse algorithm #70

Closed lorenzoliuzzo closed 4 months ago

Negrini085 commented 4 months ago

Ah i forgot one important thing We need to change tests, I would like to merge it when every single test is passing

Negrini085 commented 4 months ago

Be careful, cylinder bug was solved in CSG branch and not here

Negrini085 commented 4 months ago

Now tests should pass, but i want to highlight some things we still have to work on. We should:

Negrini085 commented 4 months ago

Right now ellipsoids are good, they should work. For sure we need to check sceneFiles implementation & tests

Negrini085 commented 4 months ago

I'm kind of struggling to adapt csg to this new code, for sure we need to implement something in order to be able to compute more than one intersection with handler