CFx SDK Documentation 2024 SP0
|
#include <GiEnvironmentTraitsData.h>
Corresponding C++ library: Gi <group OdGi_Classes>
Definition at line 1428 of file GiEnvironmentTraitsData.h.
|
inline |
Default constructor for the OdGiRenderSettingsTraitsData class. Sets the following parameters:
Data member Value Description m_iSamplingMin -1 Minimum number of samples for pixel shading. m_iSamplingMax 0 Maximum number of samples for pixel shading. m_SamplingFilter krBox Filter for merging multiple samples into a pixel color. m_dSamplingWidth 1.0 Sample width in pixels. m_dSamplingHeight 1.0 Sample height in pixels. m_fContrastR 0.1f Threshold value for red color channel of samples. m_fContrastG 0.1f Threshold value for green color channel of samples. m_fContrastB 0.1f Threshold value for blue color channel of samples. m_fContrastA 0.1f Threshold value for alpha channel of samples. m_ShadowMode krSimple Mode for processing shadows. m_bShadowMapEnabled true Flag that shows if shadow maps are enabled m_bRayTraceEnabled true Flag that shows if ray tracing is enabled m_iRTReflection 2 Level of recursion for computing reflection rays. m_iRTRefraction 2 Level of recursion for computing refraction rays. m_iRTSum 4 Maximum recursion level of reflection and refraction rays for ray tracing, combined. m_bGlobalIllum false Flag that shows if global illumination is enabled. m_iGISampleCount 500 Maximum number of photons surrounding a render sample point to use for calculation of global illumination. m_bSampleRadEnabled false Flag that shows if user-defined photon radius should be used. m_dSampleRad 1.0 Sample area of photons used for global illumination. m_iPhotonsPerLight 10000 Average number of photons to emit for each light source. m_iPhotonsReflection 5 Reflection tracing depth for photons. m_iPhotonsRefraction 5 Refraction tracing depth for photons. m_iPhotonsSum 5 Maximum recursion level of reflection and refraction rays for photons, combined. m_bFGEnabled false Flag that shows if final gathering is enabled. m_iFGRayCount 1000 Amount of final gather rays to use for each final gather point. m_bFGRadMin false Flag that shows if the user-defined minimum radius is used. m_bFGRadMax false Flag that shows if the user-defined maximum radius is used. m_bFGPixels false Flag that shows if the user-defined radii are measured in pixel units. m_dFGSRadMin 1.0 Minimum final gather sample radius. m_dFGSRadMax 1.0 Maximum final gather sample radius. m_dLightLumScale 1.0 Luminance of a light with intensity 1.0 (in candelas). m_DiagMode krOff Mode for processing diagnostic images. m_DiagGridMode krObject Coordinate system for the diagnostic grid. m_fDiagGridSize 10.0f Distance between grid lines (size). m_DiagPhtMode krDensity Type of photon information to use in the photon diagnostic mode. m_DiagBSPMode krDepth Type of BSP information to visualize with the BSP diagnostic mode. m_bExportMIEnabled false Flag that shows if MI file is exported after image is rendered. m_sMIFile (empty) Name of the exported MI file. m_iTileSize 32 Tile size to use during rendering. m_TileOrder krHilbert Tile order to use during rendering. m_iMemLimit 1048 Memory limit to allocate for rendering (in megabytes). m_fEnergyMult 1.0f Energy multiplier to control the magnitude of indirect illumination. m_pProgressMonitor NULL Interface pointer for the render driver to callback. m_ExposureType krAutomatic Exposure type. m_FGMode krFinalGatherAuto Final gathering mode. m_dShadowMult 1.0 Shadows sampling multiplier. m_MIMode krExportMIOff Export mode for the MI file.
Definition at line 1532 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the type of BSP information to render images within the BSP diagnostic mode.
Definition at line 2110 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the coordinate system for the diagnostic grid and the distance between grid lines (size).
mode | [out] Receives the type of a diagnostic grid. |
fSize | [out] Receives the distance between grid lines. Must be greater than 0. |
Definition at line 2067 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves a mode used to process diagnostic images.
Definition at line 2044 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the type of photon information to render images within the photon diagnostic mode.
Definition at line 2089 of file GiEnvironmentTraitsData.h.
|
inline |
Receives the energy multiplier to control the magnitude of indirect illumination.
Definition at line 2240 of file GiEnvironmentTraitsData.h.
|
inline |
Checks whether MI file is enabled after image rendering.
Definition at line 2131 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves a file name for an exported MI file.
Definition at line 2152 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves an export type for MI file.
Definition at line 2351 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the exposure type.
Definition at line 2282 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the amount of final gather rays used for each final gather point.
Definition at line 1950 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the minimum and maximum radii of the area used to sample final gather points to process indirect illumination.
min | [out] Receives minimum final gather sample radius. Measurement units for this parameter can be retrieved using the setFGRadiusState() method. |
max | [out] Receives maximum final gather sample radius. Measurement units for this parameter can be retrieved using the setFGRadiusState() method. |
Definition at line 2001 of file GiEnvironmentTraitsData.h.
|
inline |
Checks whether user-defined radii are used for final gathering and their measurement units.
bMin | [out] Flag that shows whether the user-defined minimum radius is used. If set to false, a default radius is used. |
bMax | [out] Flag that shows whether the user-defined maximum radius is used. If set to false, a default radius is used. |
bPixels | [out] Flag that shows whether the user-defined radii are measured in pixel units. |
Definition at line 1976 of file GiEnvironmentTraitsData.h.
|
inline |
Checks whether final gathering is enabled.
Definition at line 1923 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the final gathering mode.
Definition at line 2309 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the average number of photons that are emitted for each light source.
Definition at line 1868 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the maximum number of photons surrounding a render sample point to use for calculation of global illumination.
Definition at line 1802 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the radius of the sample area of photons used for global illumination.
Definition at line 1847 of file GiEnvironmentTraitsData.h.
|
inline |
Checks whether user-defined photon radius is enabled.
Definition at line 1823 of file GiEnvironmentTraitsData.h.
|
inline |
Checks whether global illumination effects are enabled.
Definition at line 1781 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the physical luminance of a light with intensity 1.0 (in candelas).
Definition at line 2023 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the maximum amount of memory that can be allocated for rendering.
Definition at line 2219 of file GiEnvironmentTraitsData.h.
|
inline |
Checks whether the passed render traits are not equal to these traits.
data2 | [in] Traits to compare. |
Definition at line 2363 of file GiEnvironmentTraitsData.h.
|
inline |
Checks whether the passed render traits are equal to these traits.
data2 | [in] Traits to compare. |
Definition at line 2422 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the maximum depth (recursion depth) for traced photons.
reflection | [out] Maximum recursion level of reflection photons, greater than or equal to 0. |
refraction | [out] Maximum recursion level of refraction photons, greater than or equal to 0. |
sum | [out] Maximum recursion level of reflection and refraction photons, combined. |
Definition at line 1894 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves a pointer to the progress monitor.
Definition at line 2261 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the maximum depth (recursion depth) for traced rays.
reflection | [out] Maximum recursion level of reflection rays, greater than or equal to 0. |
refraction | [out] Maximum recursion level of refraction rays, greater than or equal to 0. |
sum | [out] Maximum recursion level of reflection and refraction rays, combined. |
Definition at line 1758 of file GiEnvironmentTraitsData.h.
|
inline |
Checks whether ray tracing is enabled.
Definition at line 1732 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the minimum and maximum numbers of samples that are used for pixel shading process during rendering.
min | [out] Minimum sampling rate [-3..5]. Values less than zero enable subsampling. -3 corresponds to one sample for every 64 pixel (1/64) and 5 corresponds to 1024 samples per pixel. This parameter cannot be greater than the max parameter. |
max | [out] Maximal sampling rate [-3..5]. This parameter cannot be less than the min parameter. |
Definition at line 1602 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the threshold values for color channels below which further samples are not accepted.
r | [out] Red channel. |
g | [out] Green channel. |
b | [out] Blue channel. |
a | [out] Alpha (transparency) channel. |
Definition at line 1666 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the filtering parameters for merging multiple samples into a pixel color.
filter | [out] Filtering parameters for merging multiple samples into a pixel color. |
width | [out] Width of a filter area for neighboring pixels in the range of [0..8]. |
height | [out] Width of a filter area for neighboring pixels in the range of [0..8]. |
Definition at line 1629 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the type of BSP information to render images within the BSP diagnostic mode.
mode | [in] BSP diagnostic mode. |
Definition at line 2099 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the coordinate system for the diagnostic grid and the distance between grid lines (size).
mode | [in] Type of a diagnostic grid. |
fSize | [in] Distance between grid lines. Must be greater than 0. |
Definition at line 2055 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies a mode used to process diagnostic images.
mode | [in] Mode used to process diagnostic images. |
Definition at line 2033 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the type of photon information to render images within the photon diagnostic mode.
mode | [in] Photon diagnostic mode. |
Definition at line 2078 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the energy multiplier to control the magnitude of indirect illumination.
fScale | [in] Scale factor. |
Definition at line 2229 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies whether to export MI file after image is rendered.
mode | [in] Flag that specifies whether to export MI file after image is rendered. |
Definition at line 2120 of file GiEnvironmentTraitsData.h.
Specifies a file name for an exported MI file.
miName | [in] Name for an exported MI file. |
Definition at line 2141 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies an export type for MI file.
mode | [in] Defines export mode for MI files. |
Definition at line 2340 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the exposure type.
type | [in] Exposure type. |
Definition at line 2271 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies whether user-defined radii are used for final gathering and the measurement units for the radii.
bMin | [in] Flag that specifies whether the user-defined minimum radius is used. If set to false, a default radius is used. |
bMax | [in] Flag that specifies whether the user-defined maximum radius is used. If set to false, a default radius is used. |
bPixels | [in] Flag that specifies whether the user-defined radii are measured in pixel units. |
Definition at line 1962 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the amount of final gather rays to use for each final gather point.
enabled | [in] Amount of final gather rays to use for each final gather point. Must be greater than 0. |
Definition at line 1936 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the minimum and maximum radii of the area used to sample final gather points to process indirect illumination.
min | [in] Minimum final gather sample radius. To define measurement units for this parameter, use the setFGRadiusState() method. Must be greater than 0 but less than or equal to the max parameter. |
max | [in] Maximum final gather sample radius. To define measurement units for this parameter, use the setFGRadiusState() method. Must be greater than 0 and greater than or equal to the min parameter. |
Definition at line 1989 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies whether final gathering should be enabled.
enabled | [in] Flag that specifies whether global illumination should be enabled. |
Definition at line 1909 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the final gathering mode.
mode | [in] Final gathering mode. |
Definition at line 2295 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the average number of photons to emit for each light source.
num | [in] Average number of photons to emit for each light. Must be greater than 0. |
Definition at line 1857 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the maximum number of photons surrounding a render sample point to use for calculation of global illumination.
sum | [in] Number of photons around each render sample. Must be greater than zero. |
Definition at line 1791 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the radius of the sample area of photons used for global illumination.
radius | [in] Radius in model units. Must be greater than or equal to zero. |
Definition at line 1836 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies whether user-defined photon radius should be used.
enabled | [in] Flag that specifies whether to enable user-defined photon sampling radius. |
Definition at line 1812 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies whether global illumination effects (for example, color bleeding) should be enabled.
enabled | [in] Flag that specifies whether global illumination should be enabled. |
Definition at line 1770 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the physical luminance of a light with intensity 1.0 (in candelas).
luminance | [in] Physical luminance of a light with intensity 1.0 (in candelas), used as a physical scaling factor. |
Definition at line 2012 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the maximum amount of memory that can be allocated for rendering.
limit | [in] maximum amount of memory for rendering in MB. |
Definition at line 2208 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the maximum depth (recursion level) for traced photons.
reflection | [in] Maximum recursion level of reflection photons, greater than or equal to 0. |
refraction | [in] Maximum recursion level of refraction photons, greater than or equal to 0. |
sum | [in] Maximum recursion level of reflection and refraction photons, combined. |
Definition at line 1880 of file GiEnvironmentTraitsData.h.
Specifies the interface pointer for the render driver to callback.
pMonitor | [in] Void pointer that caller provides for the render driver to callback. |
Definition at line 2250 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the maximum depth (recursion depth) for traced rays.
reflection | [in] Maximum recursion level of reflection rays, greater than or equal to 0. |
refraction | [in] Maximum recursion level of refraction rays, greater than or equal to 0. |
sum | [in] Maximum recursion level of reflection and refraction rays, combined. |
Definition at line 1744 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies whether ray tracing should be enabled.
enabled | [in] Flag that specifies whether ray tracing should be enabled. |
Definition at line 1721 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the minimum and maximum numbers of samples that are used for pixel shading process during rendering.
min | [in] Minimum sampling rate [-3..5]. Values less than zero enable subsampling. -3 corresponds to one sample for every 64 pixel (1/64) and 5 corresponds to 1024 samples per pixel. This parameter must be less or equal to the max parameter. |
max | [in] Maximal sampling rate [-3..5]. This parameter must be equal or greater than to the mix parameter. |
Definition at line 1590 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the threshold values for color channels below which further samples are not accepted.
r | [in] Red channel. |
g | [in] Green channel. |
b | [in] Blue channel. |
a | [in] Alpha (transparency) channel. |
Definition at line 1647 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the filtering parameters for merging multiple samples into a pixel color.
filter | [in] Filtering parameters for merging multiple samples into a pixel color. |
width | [in] Width of a filter area for neighboring pixels in the range of [0..8]. |
height | [in] Width of a filter area for neighboring pixels in the range of [0..8]. |
Definition at line 1615 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies whether shadow maps should be enabled. Affects only lights using mapped shadows.
enabled | [in] Flag that specifies whether shadow maps should be enabled. |
Definition at line 1700 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the method used to compute ray-traced shadows. Affects only lights using ray-traced shadows.
mode | [in] Shadow mode. |
Definition at line 1679 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies shadow sampling multiplier value.
multiplier | [in] Multiplier value for shadows. |
Definition at line 2319 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the order used to render image tiles.
order | [in] Order used to render image tiles. |
Definition at line 2187 of file GiEnvironmentTraitsData.h.
|
inline |
Specifies the size of the image tiles used during rendering.
size | [in] Size of image tiles used during rendering. |
Definition at line 2166 of file GiEnvironmentTraitsData.h.
|
inline |
Checks whether shadow maps is enabled.
Definition at line 1711 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the method used to compute ray-traced shadows.
Definition at line 1690 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves shadow sampling multiplier value.
Definition at line 2330 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the order used to render image tiles.
Definition at line 2198 of file GiEnvironmentTraitsData.h.
|
inline |
Retrieves the size of the image tiles used during rendering.
Definition at line 2177 of file GiEnvironmentTraitsData.h.