Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbMentalRayRenderSettings::setPhotonTraceDepth Method
Syntax
C++
OdResult setPhotonTraceDepth(int reflection, int refraction, int sum);

Sets the maximum photon trace depths for this MentalRayRenderSettings object. 

 

Parameters
Description
reflection
[in] Maximum number of photon reflections.
refraction
[in] Maximum number of photon refractions.
sum
[in] Maximum number of photon reflections and refractions.

Returns eOk if successful, or an appropriate error code if not.

The defaults are as follows: 

 

Argument
Default
reflection
5
refraction
5
sum
5
Copyright © 2002-2022. Open Design Alliance All rights reserved.