News for hackers. Stuff that matters.
Re:Show HN: I've made a Monte-Carlo raytracer for glTF scene... by lisyarus on Thursday December 26, 2024 @01:15PM (#42516727)
> It's a mega-kernel, so you'll get poor occupancy past the first bounce

Sure! If you look into the to-do list, there's a "wavefront path tracer" entry :)

> new origin should be along the reflected ray

I've found that doing it the way I'm doing it works better for preventing self-intersections. Might be worth investigating, though.

Re:Show HN: I've made a Monte-Carlo raytracer for glTF scene... by omolobo on Thursday December 26, 2024 @01:20PM (#42516760)
It probably works better when the reflected ray is almost tangent to the surface. But that should be an epsilon case.