Pinhole Camera

This project shows the results of casting rays from a spherical light in a random direction from random points on the light. An infinite plane with a pinhole is placed between a sensor and the light. In addition, a red sphere is placed next to the light and moves during the simulation. I generated each image by running the simulation overnight. Because of the high dynamic range of the images, I used tone-mapping by clamping to see the red sphere. The final images are gamma corrected.


Final scene without tone-mapping


Final scene with tone-mapping set to 0.01 * max_intensity. A dynamic red sphere is shown on the left and a static sphere on the right.


Final scene with tone-mapping set to 0.001 * max_intensity. A dynamic red sphere is shown on the left and a static sphere on the right.


Final scene with only indirect lighting (bounces > 0) and no tone mapping. A dynamic red sphere is shown on the left and a static sphere on the right.


Projects | Home