
Still getting some weird refractions through the mesh but I have no idea what it could be. 8 bounces. --- BVH Stats: --- Default center-splitting: 0:32 --- Median Splitting: 0:41 --- SAH - 0:31, honestly disappointing --- No BVH: 16:59 --- Cem please let us put line breaks and parentheses in hereUpdate: Using BVH for scene traversal took 1:32. Very disappointing with how long that took to get working.

Having a strange issue with reflections or something. I added a front wall to the box I only render front hits on the initial call to TraceRay and the strange side wall issues vanish without it

Debug renders for different types of BVHs on the low-poly teapot. I wanted to try and visualize exactly how they were being split up.My SAH is slow because it tends to partition pretty close to the edges, which I would think makes sense? But you can also see that there are way more regions generated around the lid handle than should be necessary, so I need to look into that.Update: My SAH implementation was incorrect.

Fixed the BVH traversal. Wasnt a hitInfo problem, I was just initializing a variable wrong. Render time was reported as 0s, would love to get that in milliseconds. Still need to fix refraction.

Started BVH. I think maybe the hitInfo is being modified incorrectly, and returning the right position but wrong node and normal? That’s my best guess. Refraction is currently disabled.