API Reference > OdDb Classes > OdDbMentalRayRenderSettings Class
OdDbMentalRayRenderSettings Class
OdDbMentalRayRenderSettingsOdDbMentalRayRenderSettingsOdDbMentalRayRenderSettings
Syntax
C++
class OdDbMentalRayRenderSettings : public OdDbRenderSettings;

DbRenderSettings.h

This class is a container class for the properties relevent to mental ray renderers.

Database-resident OdDbMentalRayRenderSettings objects are stored in the NamedObjectsDictionary under ACAD_RENDER_SETTINGS. 

In addition, the active RenderSettings are stored in the NamedObjectsDictionary under ACAD_RENDER_ACTIVE_SETTINGS.

TD_Db

 
Name 
Description 
 
This is ~OdDbMentalRayRenderSettings, a member of class OdDbMentalRayRenderSettings. 
 
This is OdDbMentalRayRenderSettings, a member of class OdDbMentalRayRenderSettings. 
 
Name 
Description 
 
Shadow sampling multiplier for area lights. 
 
Name 
Description 
 
Returns the Diagnostic BSP Mode for this MentalRayRenderSettings object.  
 
Returns the Diagnostic Grid for this MentalRayRenderSettings object.  
 
Returns the diagnostic image rendering mode for this MentalRayRenderSettings object.  
 
Returns the Diagnostic Photon Mode for this MentalRayRenderSettings object. 
 
Returns the Diagnostic Samples Mode for this MentalRayRenderSettings object. 
 
Reads the .dwg file data of this object.
 
 
Writes the .dwg file data of this object.
 
 
Reads the DXF data of this object.
 
 
Writes the DXF data of this object.
 
 
Returns the magnitude of indirect illumination for this MentalRayRenderSettings object. 
 
Returns true if and only if an MI file is created after rendering for this MentalRayRenderSettings object. 
 
Returns the full filename of the exported MI file for this MentalRayRenderSettings object. 
 
Returns the MI mode for this MentalRaySettings object. 
 
Returns the final gathering ray count for this MentalRayRenderSettings object. 
 
Returns the Final Gathering Sample Radii for this MentalRayRenderSettings object.  
 
Returns the the Final Gathering Sample Radius State for this MentalRayRenderSettings object.
 
 
Returns true if and only if final gathering is enabled for this MentalRayRenderSettings object. 
 
Returns the final gathering mode for this MentalRaySettings object. 
 
Returns the average the number of photons shot per light for this MentalRayRenderSettings object. 
 
Returns the number of photons used for computing global illumination near a sample point for this MentalRayRenderSettings object. 
 
Returns the radius for computing the photon count for global illumination for this MentalRayRenderSettings object. 
 
Returns true if and only if the GISampleRadius is used for computing global illumination for this MentalRayRenderSettings object. 
 
Returns true if and only if global illumination using photon mapping is enabled for this MentalRayRenderSettings object. 
 
Returns the light luminance scale factor for this MentalRaySettings object. 
 
Returns the maximum memory allocated for rendering for this MentalRaySettings object. 
 
This is ODDB_DECLARE_MEMBERS, a member of class OdDbMentalRayRenderSettings. 
 
Returns the maximum photon trace depths for this MentalRayRenderSettings object.
 
 
Returns the maximum ray trace depths for this MentalRayRenderSettings object.
 
 
Returns true if and only if ray tracing is enabled for this MentalRayRenderSettings object. 
 
Returns the minimum and maximum sampling rates when rendering a pixel for this MentalRayRenderSettings object.  
 
Returns the SamplingContrastColor for this MentalRayRenderSettings object.  
 
Returns the sampling filter parameters for this MentalRayRenderSettings object.  
 
Sets the Diagnostic BSP Mode for this MentalRayRenderSettings object.  
 
Sets the Diagnostic Grid for this MentalRayRenderSettings object.  
 
Sets the diagnostic image rendering mode for this MentalRayRenderSettings object.  
 
Sets the Diagnostic Photon Mode for this MentalRayRenderSettings object.  
 
Controls the Diagnostic Samples Mode for this MentalRayRenderSettings object.  
 
Sets the magnitude of indirect illumination for this MentalRayRenderSettings object.  
 
Controls the creation of an MI file after rendering for this MentalRayRenderSettings object.  
 
Sets the full filename of the exported MI file for this MentalRayRenderSettings object.  
 
Sets the MI mode for this MentalRaySettings object.  
 
Controls the Final Gathering Sample Radius State for this MentalRayRenderSettings object.
 
 
Sets the final gathering ray count for this MentalRayRenderSettings object.  
 
Sets the Final Gathering Sample Radii for this MentalRayRenderSettings object.  
 
Controls the application of final gathering for this MentalRayRenderSettings object.  
 
Sets the final gathering mode for this MentalRaySettings object.  
 
Sets the average the number of photons shot per light for this MentalRayRenderSettings object.  
 
Sets the number of photons used for computing global illumination near a sample point for this MentalRayRenderSettings object.  
 
Sets the radius for computing the photon count for global illumination for this MentalRayRenderSettings object.
 
 
Controls the use of the GISampleRadius for computing global illumination for this MentalRayRenderSettings object.  
 
Controls global illumination using photon mapping for this MentalRayRenderSettings object.  
 
Sets the light luminance scale factor for this MentalRaySettings object.  
 
Sets the maximum memory allocated for rendering for this MentalRaySettings object.  
 
Sets the maximum photon trace depths for this MentalRayRenderSettings object.
 
 
Sets the maximum ray trace depths for this MentalRayRenderSettings object.
 
 
Controls ray tracing for this MentalRayRenderSettings object.  
 
Controls the minimum and maximum sampling rates when rendering a pixel for this MentalRayRenderSettings object.  
 
Sets the SamplingContrastColor for this MentalRayRenderSettings object.  
 
Sets the sampling filter parameters for this MentalRayRenderSettings object.  
 
Controls the generation of shadow maps for this MentalRayRenderSettings object.  
 
Sets the method of computing ray-traced shadows for this MentalRayRenderSettings object. 
 
Sets the shadow sampling multiplier for this MentalRaySettings object.  
 
Sets the tile order used in tile rendering for this MentalRaySettings object.  
 
Sets the image tile size used in rendering for this MentalRaySettings object.  
 
Returns true if and only if shadow maps are generated for this MentalRayRenderSettings object. 
 
Returns the method of computing ray-traced shadows for this MentalRayRenderSettings object. 
 
Returns the shadow sampling multiplier for this MentalRaySettings object. 
 
Sets the values of this object's subentity traits, and returns with the calling object's subentity traits.
 
 
Returns the tile order used in tile rendering for this MentalRaySettings object. 
 
Returns the image tile size used in rendering for this MentalRaySettings object. 
 
Name 
Description 
 
== 
This is ==, a member of class OdDbMentalRayRenderSettings. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.