In this chapter, we'll talk about caustics. According to Wikipedia: "А caustic or caustic network is the envelope of light rays reflected or refracted by a curved surface or object, or the projection of that envelope of rays on another surface. The caustic is a curve or surface to which each of the light rays is tangent, defining a boundary of an envelope of rays as a curve of concentrated light. Therefore, in the image to the right, the caustics can be the patches of light or their bright edges. These shapes often have cusp singularities." Caustics are an extremely important phenomenon, which contributes to the photorealism a lot.
In comparison to the unbiased render engines, V-Ray doesn't handle caustics automatically. The V-Ray renderer still supports the rendering of caustics effects. In order to produce this effect, you must have proper caustics generators and caustics receivers in the scene (for information on how to make an object a caustics generator/receiver, see the Parameters section). The settings in this parameter section control the generation of the photon map.
In order to calculate the caustics effects, V-Ray uses a technique known as photon mapping. It is a two-pass technique. The first pass consists of shooting particles (photons) from the light sources in the scene, tracing them as they bounce around the scene, and recording the places where the photons hit the object surfaces. The second pass is the final rendering, which is when the caustics are calculated by using density estimation techniques on the photon hits stored during the first pass.
|
|
GI caustics represent light that has gone through one diffuse, and one or several specular reflections (or refractions). GI caustics can be generated by skylight, or self-illuminated objects, for example. However, caustics caused by direct lights cannot be simulated in this way. You must use the separate Caustics section to control direct light caustics. Note that GI caustics are usually hard to sample and may introduce noise in the GI solution.
|
The main caustics-related parameters are located in the SettingsCaustics plugin. Here they are:
|
Caustics also depend on the individual light settings. |
The light/object settings are located in the VRayScene plugin. The ones concerned with caustics are:
|
This example shows GI caustics generated by a self-illuminated object:
For this image, the Caustics subdivs parameter for the light is set to 250, so that the separate photons are more distinct; the global caustics Multiplier is 5, and the Max photons are set to 60. As can be seen, the larger search distance produces blurrier caustics.
This example is similar to the previous one, but the Caustics subdivs parameter for the light is increased to 500. The other parameters are the same as in the previous example. As can be seen, the larger number of photons produces smoother caustics effects than in the previous example.
For this example, the Caustics subdivs parameter for the light was set to 1500, the global caustics Multiplier to 5, and the Search distance to 5. As can be seen, the larger value of the Max photons parameter in the second image causes the caustics to appear much smoother.
|