Importance Sampling – Environment map

I have implemented importance sampling for the enviroment map which really helps in reducing the variance which manifest itself as noise is the rendered image.

importance-sampling-envmap.png
Samples are drawn according the radiance of the pixels
render-provwash-envmap-importance-sampling.png
A comparison between two images rendered with the same amount of samples

References:

http://www.cs.virginia.edu/~gfx/courses/2007/ImageSynthesis/assignments/sampling.html

Physically Based Rendering, Second Edition: From Theory To Implementation
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s