Brazil r/s Tutorials  


Photon Maps - Caustics



Caustics are created using photon mapping. In this lesson, you will learn how photon mapping can very quickly add caustics to your scenes. There are two kinds of caustic effects. Caustic reflection and caustic refraction. Reflected caustics are, for example, when light bounces off a shiny surface like a metal ring. Caustic refractions are generated when light passes through a medium like glass or water.



Getting Started, caustic reflections.

Open the file caustic_1_start.max. Click here to download this file

Click on the render button to render the scene.

The ring is not reflecting any light that hits it. Adding caustic photon maps will enable very fast reflected light in the scene.



Setting up the photon map.

Go to the light's parameters.

Click on "Caustic" from the list under the "Photon Maps" rollout, and ckeck [Generate Photons] and [# Photons]. Enter 200000 into the Photons box. This tells Brazil how many photons to generate for caustics from this light.

These are only half of the settings needed for caustics. There are options in the "Render Scene" dialog which need to be adjusted.



Click on the "Render Scene" button to bring up the "Render Scene" dialog.

Find the "Photon Map Server" rollout. Click on "Caustic" from the list and check [Active].

Render the scene again.





You can see that the ring is now reflecting some light and creating a reflected caustic pattern.

The reflected light looks a bit too weak. You will need to adjust the parameters in the Irradiance estimate settings.

Change the Energy Multiplier to 2.0 and re-render the scene. The caustics should be more prominent now.

Refining the settings.

The image needs more photons to render smoothly.

In the photon Map Server rollout, Change the Photons in Estimate to 1000.

In the Photon Map settings of the light, change the number of photons to 2000000.

The caustics should now be pronounced and smooth.


 



All trademarks and copyrights on this page are owned by their respective owners.
Everything else: ©2002  SplutterFish, LLC. All Rights Reserved. Privacy