SoDirectVizManagerrecursionLimit Property |
Specifies the recursion depth limit.
Namespace: OIV.DirectViz
This is the maximum number of times a single ray can be reflected/refracted - "bounced" within the scene - when rendering a frame. Reflection (ray reflected by a shape) is enabled when the recursion limit is at least 2. Refraction (ray traversing a shape) is enabled when the recursion limit is at least 3. Default is 20.
The initial value can be set using the environment variable DIRECTVIZ_RECURSION_LIMIT. See SoPreferences.