Setting Photon Casting, Receiving and Visibility

 
 
 

An object's visibility property allows you to set options that control how the object responds to caustic and/or global illumination photons emitted from a light.

You can set each of these parameters for caustics and global illumination separately, meaning that, for example, an object can be a global illumination caster, but not a caustics caster, and so on.

In this scene, the glass retort, the bunsen burner, and the stand are all caustics casters and caustic receivers. The floor is only a receiver, the liquid inside the retort is a caster, but not a receiver. All of the objects are visible to caustics.

For global illumination or caustics to render correctly, you must have at least one caster, and one receiver defined, as well as a photon emitting light (see Defining a Light as a Photon Emitter). If you are missing one or more of these elements, the photon effect will be disabled when you try to render it. A warning will appear, telling you which element is missing.

Defining casters and receivers is perhaps the most integral step in creating photon effects because it controls where the effect appears.

To set an object's photon visibility properties

  1. Select one or more objects whose photon visibility properties you wish to set.

  2. Click the Selection button in the Select panel and click the Visibility icon from the explorer that appears. The object's Visibility property editor opens.

    TipIf you wish to make several objects (such as four walls, a floor, a ceiling, and a table) cast and receive photons, you can multi-select every object in a scene and define them all as casters and/or receivers. Alternatively, you can group them and set the caster/receiver property using an override (see the next section).
  3. Toggle the appropriate parameters to specify whether you want your object to receive, cast, or be visible to global illumination photons and/or caustic photons. You can set any combination of these options.

  4. Before you render, you must activate global illumination and/or caustics for the render pass.

    For information about rendering caustic and global illumination effects, see Displaying Photons in the Render Region and Preparing Global Illumination and Caustics for Rendering.

Partitioning Photon Casters and Receivers

If your scene contains a lot of objects, photon visibility options can be difficult to manage on a per-object basis. In complex scenes, it's easier to partition objects and use overrides to control photon visibility options for all of the objects in a partition. For example, in scenes that make heavy use of caustics, it is unlikely that all of the objects will be both casters and receivers, so you might create a partition for objects that are casters, one for objects that are receivers, and one for objects that are both. This process is described in Overriding Rendering Visibility for Objects in Partitions [Rendering].