|
Metropolis Sampling applet
This is a really simple test of the metropolis sampling algorithm over three dimension (x,y and time). The image on the left uses the metropolis sampling algorith, the image on the right uses random sampling. Both are generated with the same number of samples taken. You may note that the metropolis sampling image is darker, this is because of the normalization procedure used, and we should see it converge to the right solution with more samples. Taking large samples can take a long time.
To learn more about metropolis sampling and its applications to light transport, checkout Eric Veach's excellent paper and thesis.
The source.
Requires Java 2 Runtime v. 1.3 or higher
|
|