• entries
    13
  • comments
    37
  • views
    30569

GPU-powered path tracing, take two

Sign in to follow this  
Bacterius

2201 views

This image was generated with my GPU. I added minimal texture support, for the floor plane, and as an environment map (basically, when a ray does not intersect any object, its direction vector is used to sample the environment map and that is used as an approximate lighting value). I was impressed at the convergence rate, the noise disappeared in literally less than ten seconds thanks to the radiance contribution from the entire environment map.

If you are wondering why the sky looks overexposed, it's because I was using a low dynamic range environment map (so it was necessary to sort of fake the high dynamic range by raising the color values to some exponent, making the sky look weird). With a proper HDR image this would not occur as the sun in the environment map would naturally have a high radiance contribution whereas the rest of the image would have "standard" contributions, which would work better.

But high-resolution HDR images are hard to find and I need to find a way to parse them as well. Perhaps for the next entry!

A HQ (2048x2048) version of this render is available in my Gallery album. Beware - it's 10MB large!
Sign in to follow this  


4 Comments


Recommended Comments

Thanks Apoch [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]

I totally got HDR nailed down today, mostly thanks to the excellent free library [url="http://imaginglib.sourceforge.net/"]Vampyre Imaging[/url] - but I won't make another entry so soon - quality over quantity (and I need a code rewrite anyway). Just as a teaser... the caustics I'm looking at right this moment are amazing [img]http://public.gamedev.net//public/style_emoticons/default/happy.png[/img]

Share this comment


Link to comment
Agreed, that looks nice!

Though I've never written a tracer, I've always wanted to. Will be watching and reading.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now