Page 2 of 2

Re: My little path tracer

Posted: Fri Mar 16, 2018 8:34 am
by dawelter
I think I squashed the worst bugs. This is fun stuff.
parabolic_reflector_volumetric.jpg (477.89 KiB) Viewed 488 times

A perfectly parallel beam send through a scattering medium. The sphere is made of a much denser medium. It is sub surface scattering with brute force BDPT.
boxy_laser.jpg (428.54 KiB) Viewed 488 times

Re: My little path tracer

Posted: Sat Mar 24, 2018 8:38 am
by dawelter
I threw a "real world" scene at it. Thinking about how else I could exploit volume caustics in lack of refractive materials, I figure it would be cool to build a solar thermal power plant model. :-D

Modelled in and Cinema 4D.
677761 Triangles, most of them occluded due to the bricks being stuck in each other.
8700 SPP in 34 h :?

The scene is contained in a box with a scattering medium, obviously. Fireflys due to SDS paths? I'm not sure, but I suppose there can be paths from camera to mirror to volume scattering to mirror to sun. The sun spans a small solid angle, so there is a non-zero chance to hit it with a "forward path" like that and it would be the only technique in Veach's sense to generate the path. Makes sense?

There is also some sort of "light leak" on the first mirror.
solarlego.jpg (358.62 KiB) Viewed 376 times

EDIT: Hm .. after some testing the strange "leak" appears to be no bug after all. I'll write it off as caustic cast by the mirror behind the one with the "leak".

Here is another shot. Moved the rear mirror a bit to see more of the caustics. Tuned down brightness. Converges and looks like normal illumination.
solarlego_bug2.jpg (8.34 KiB) Viewed 334 times

Re: My little path tracer

Posted: Wed Apr 18, 2018 1:07 am
by beason
Your explanation makes sense. Looks very nice! I like the planar laser beam. :D