API Reference > OdDb Classes > OdDbMentalRayRenderSettings Class > OdDbMentalRayRenderSettings Methods > OdDbMentalRayRenderSettings::setGISampleCount Method
OdDbMentalRayRenderSettings::setGISampleCount Method
Syntax
C++
OdResult setGISampleCount(int numPhotons);
Parameters 
Description 
int numPhotons 
[in] Number of photons. 

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

Sets the number of photons used for computing global illumination near a sample point for this MentalRayRenderSettings object.

The default value for GISampleCount == 500

setGISampleRadius setGISampleRadiusEnabled

Copyright © 2002–2020. Open Design Alliance. All rights reserved.