Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbMentalRayRenderSettings::setGIPhotonsPerLight Method
Syntax
C++
OdResult setGIPhotonsPerLight(int numPhotons);

Sets the average the number of photons shot per light for this MentalRayRenderSettings object.

Parameters
Description
numPhotons
[in] Number of photons.

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

The default value for GIPhotonsPerLight == 10,000.

Copyright © 2002-2022. Open Design Alliance All rights reserved.