![]() |
VR-Forces 4.3 Class Documentation
|
Public Member Functions | |
| DtShadowSettingsObject (DtDe &de, DtUniqueID id, const std::string &name="") | |
| CTOR. | |
| ~DtShadowSettingsObject () | |
| DTOR. | |
| void | setEntitiesCastsShadows (bool castShadows) |
| Sets entities casts shadow flag. | |
| bool | entitiesCastsShadows () const |
| Gets entities casts shadow flag. | |
| void | setPropsCastsShadows (bool castShadows) |
| Sets props casts shadow flag. | |
| bool | propsCastsShadows () const |
| Gets props casts shadow flag. | |
| void | setTerrainCastsShadows (bool castShadows) |
| Sets terrain casts shadow flag. | |
| bool | terrainCastsShadows () const |
| Gets terrain casts shadow flag. | |
| void | setCloudsCastsShadows (bool castShadows) |
| Sets cloud casts shadow flag. | |
| bool | cloudsCastsShadows () const |
| Gets cloud casts shadow flag. | |
| void | setVisualizeShadows (bool visualizeShadows) |
| Sets shadow visualization mode. | |
| bool | visualizeShadows () const |
| Gets shadow visualization mode. | |
| void | setNumberOfSplits (unsigned int numSplits) |
| Sets shadow visualization mode. | |
| unsigned int | numberOfSplits () const |
| Gets shadow visualization mode. | |
| void | setUseFrontFaceCulling (bool useFrontFaceCulling) |
| Gets use front face culling. | |
| bool | useFrontFaceCulling () const |
| Gets use front face culling. | |
| void | setUsePolygonOffset (bool usePolygonOffset) |
| Sets use polygon offset. | |
| bool | usePolygonOffset () const |
| Gets use polygon offset. | |
| void | setPolygonOffset (unsigned int splitIndex, float factor, float units) |
| Sets polygon offset parameters. | |
| float | polygonOffsetFactor (unsigned int splitIndex) const |
| Gets polygon offset factor parameter. | |
| float | polygonOffsetUnits (unsigned int splitIndex) const |
| Gets polygon offset unit parameter. | |
| void | setSpotLightShadowMapSize (unsigned int size) |
| Sets spot light texture atlas size. | |
| unsigned int | spotLightShadowMapSize () const |
| Gets spot light texture atlas size. | |
| void | setGlobalLightShadowMapSize (unsigned int size) |
| Sets global light texture size for cascaded shadow mapping. | |
| unsigned int | globalLightShadowMapSize () const |
| Gets global light texture size for cascaded shadow mapping. | |
| void | setUseMaximumViewDistance (bool useMaximumViewDistance) |
| Sets use maximum view distance. | |
| bool | useMaximumViewDistance () const |
| Gets use maximum view distance. | |
| void | setMaximumViewDistance (double viewDistance) |
| Set maximum view distance. | |
| double | maximumViewDistance () const |
| Get maximum far distance. | |
| void | setSplitNearDistanceMinimumBias (double bias) |
| Sets split near distance minimum bias. | |
| double | splitNearDistanceMinimumBias () const |
| Gets split near distance minimum bias. | |
| void | setSplitNearDistanceMaximumBias (double bias) |
| Sets split near distance maximum bias. | |
| double | splitNearDistanceMaximumBias () const |
| Gets split near distance maximum bias. | |
| void | setSplitFarDistanceBias (double bias) |
| Sets split far distance bias. | |
| double | splitFarDistanceBias () const |
| Gets split far distance bias. | |
| void | setShadowAmbientFactor (float shadowAmbientFactor) |
| Sets shadow factor for modulating the scene. | |
| float | shadowAmbientFactor () const |
| Gets shadow factor for modulating the scene. | |
| void | setShadowStabilizationScheme (ShadowStabilizationScheme shadowStabilizationScheme) |
| Sets shadow stabilization scheme. | |
| ShadowStabilizationScheme | shadowStabilizationScheme () const |
| Gets shadow stabilization scheme. | |
| void | setAntiFlickerQuantizationFactor (float antiFlickerQuantizationFactor) |
| Sets shadow anti-flicker quantization value for approximate stabilization scheme. | |
| float | antiFlickerQuantizationFactor () const |
| Gets shadow anti-flicker quantization value for approximate stabilization scheme. | |
| void | setSplitDistanceComputeScheme (SplitDistanceComputeScheme splitDistanceComputeScheme) |
| Sets split distance compute scheme. | |
| SplitDistanceComputeScheme | splitDistanceComputeScheme () const |
| Gets split distance compute scheme. | |
| void | setMixedSplitInterpolationValue (double interp) |
| Sets mixed logarithmic uniform split interpolation value. | |
| double | mixedSplitInterpolationValue () const |
| Gets mixed logarithmic uniform split interpolation value. | |
| void | setSplitSelectionScheme (SplitSelectionScheme splitSelectionScheme) |
| Sets split selection scheme. | |
| SplitSelectionScheme | splitSelectionScheme () const |
| Gets split selection scheme. | |
| void | setDataStorageScheme (DataStorageScheme dataStorageScheme) |
| Sets data storage scheme. | |
| DataStorageScheme | dataStorageScheme () const |
| Gets data storage scheme. | |
| void | setPreFilteringScheme (PreFilteringScheme preFilteringScheme) |
| Sets pre-filtering scheme. | |
| PreFilteringScheme | preFilteringScheme () const |
| Gets pre-filtering scheme. | |
| void | setFilteringScheme (FilteringScheme filteringScheme) |
| Sets filtering scheme. | |
| FilteringScheme | filteringScheme () const |
| Gets filtering scheme. | |
| void | setPoissonDiskSamplingScheme (PoissonDiskSamplingScheme poissonDiskSamplingScheme) |
| Sets poisson disk sampling scheme. | |
| PoissonDiskSamplingScheme | poissonDiskSamplingScheme () const |
| Gets poisson disk sampling scheme. | |
| void | setDirty (bool dirty) |
| Mark settings as dirty or changed. | |
| bool | dirty () const |
| Checks if any setting just changed. | |
| void | setNameAndRegister (const std::string &name, int quality) |
| Sets setting name and registers the settings object in the DtShadowSettingsObjectManager singleton. | |
| const std::string & | name () |
| Returns setting name. | |
| int | quality () const |
| Returns setting name. | |
| void | setNumPersistentPassesPerCascade (unsigned int numPasses) |
| Sets persistent number of passes per cascade. | |
| unsigned int | numPersistentPassesPerCascade () const |
| Gets persistent number of passes per cascade. | |
| void | setNumAdditionalPassesPerCascade (unsigned int numPasses) |
| Sets additional number of passes per cascade. | |
| unsigned int | numAdditionalPassesPerCascade () const |
| Gets additional number of passes per cascade. | |
| void | setPcfFilterWidth (unsigned int pcfFilterWidth) |
| Sets PCF filter width. | |
| unsigned int | pcfFilterWidth () const |
| Gets PCF filter width. | |
| void | setBlendCascadesBoundaries (bool blendCascadesBoundaries) |
| Enables/Disables blend between cascade boundaries. | |
| bool | blendCascadesBoundaries () const |
| Gets blend between cascade boundaries. | |
| void | setUseSDSM (bool useSDSM) |
| Enables/Disables Sample Distribution Shadow Maps(SDSM) | |
| bool | useSDSM () const |
| Gets Sample Distribution Shadow Maps(SDSM) enabled or disabled state. | |
| void | setSDSMReadBackLatency (unsigned int sdsmReadBackLatency) |
| Sets Sample Distribution Shadow Maps(SDSM) read back latency. | |
| unsigned int | sdsmReadBackLatency () const |
| Gets Sample Distribution Shadow Maps(SDSM) read back latency. | |
| void | setUseCameraDepthBufferForSDSM (bool useCameraDepthBufferForSDSM) |
| Enables/Disables the usage of the most recent camera depth buffer for Sample Distribution Shadow Maps(SDSM) as against rendering to a very small frame buffer. | |
| bool | useCameraDepthBufferForSDSM () const |
| Gets the setting for the usage of the most recent camera depth buffer for Sample Distribution Shadow Maps(SDSM) as against rendering to a very small frame buffer. | |
| void | setSDSMRenderInterval (double sdsmRenderInterval) |
| Sets SDSM render interval. | |
| double | sdsmRenderInterval () const |
| Gets SDSM render interval. | |
| void | setEVSMPositiveExponent (double evsmPositiveExponent) |
| Sets exponential variance shadow maps(EVSM) positive exponent. | |
| double | evsmPositiveExponent () const |
| Gets exponential variance shadow maps(EVSM) positive exponent. | |
| void | setEVSMNegativeExponent (double evsmNegativeExponent) |
| Sets exponential variance shadow maps(EVSM) negative exponent. | |
| double | evsmNegativeExponent () const |
| Gets exponential variance shadow maps(EVSM) negative exponent. | |
| void | setVSMMininumVariance (double vsmMininumVariance) |
| Sets variance shadow maps(VSM) minimum variance. | |
| double | vsmMininumVariance () const |
| Gets variance shadow maps(VSM) minimum variance. | |
| void | setESMDarkeningFactor (double esmDarkeningFactor) |
| Sets exponential shadow maps(ESM) darkening factor. | |
| double | esmDarkeningFactor () const |
| Gets exponential shadow maps(ESM) darkening factor. | |
| makVrv::DtShadowSettingsObject::DtShadowSettingsObject | ( | DtDe & | de, |
| DtUniqueID | id, | ||
| const std::string & | name = "" |
||
| ) |
CTOR.
| makVrv::DtShadowSettingsObject::~DtShadowSettingsObject | ( | ) |
DTOR.
| void makVrv::DtShadowSettingsObject::setEntitiesCastsShadows | ( | bool | castShadows | ) |
Sets entities casts shadow flag.
|
inline |
Gets entities casts shadow flag.
| void makVrv::DtShadowSettingsObject::setPropsCastsShadows | ( | bool | castShadows | ) |
Sets props casts shadow flag.
|
inline |
Gets props casts shadow flag.
| void makVrv::DtShadowSettingsObject::setTerrainCastsShadows | ( | bool | castShadows | ) |
Sets terrain casts shadow flag.
|
inline |
Gets terrain casts shadow flag.
| void makVrv::DtShadowSettingsObject::setCloudsCastsShadows | ( | bool | castShadows | ) |
Sets cloud casts shadow flag.
|
inline |
Gets cloud casts shadow flag.
| void makVrv::DtShadowSettingsObject::setVisualizeShadows | ( | bool | visualizeShadows | ) |
Sets shadow visualization mode.
|
inline |
Gets shadow visualization mode.
| void makVrv::DtShadowSettingsObject::setNumberOfSplits | ( | unsigned int | numSplits | ) |
Sets shadow visualization mode.
|
inline |
Gets shadow visualization mode.
| void makVrv::DtShadowSettingsObject::setUseFrontFaceCulling | ( | bool | useFrontFaceCulling | ) |
Gets use front face culling.
|
inline |
Gets use front face culling.
| void makVrv::DtShadowSettingsObject::setUsePolygonOffset | ( | bool | usePolygonOffset | ) |
Sets use polygon offset.
|
inline |
Gets use polygon offset.
| void makVrv::DtShadowSettingsObject::setPolygonOffset | ( | unsigned int | splitIndex, |
| float | factor, | ||
| float | units | ||
| ) |
Sets polygon offset parameters.
| float makVrv::DtShadowSettingsObject::polygonOffsetFactor | ( | unsigned int | splitIndex | ) | const |
Gets polygon offset factor parameter.
| float makVrv::DtShadowSettingsObject::polygonOffsetUnits | ( | unsigned int | splitIndex | ) | const |
Gets polygon offset unit parameter.
| void makVrv::DtShadowSettingsObject::setSpotLightShadowMapSize | ( | unsigned int | size | ) |
Sets spot light texture atlas size.
|
inline |
Gets spot light texture atlas size.
| void makVrv::DtShadowSettingsObject::setGlobalLightShadowMapSize | ( | unsigned int | size | ) |
Sets global light texture size for cascaded shadow mapping.
|
inline |
Gets global light texture size for cascaded shadow mapping.
| void makVrv::DtShadowSettingsObject::setUseMaximumViewDistance | ( | bool | useMaximumViewDistance | ) |
Sets use maximum view distance.
|
inline |
Gets use maximum view distance.
| void makVrv::DtShadowSettingsObject::setMaximumViewDistance | ( | double | viewDistance | ) |
Set maximum view distance.
|
inline |
Get maximum far distance.
| void makVrv::DtShadowSettingsObject::setSplitNearDistanceMinimumBias | ( | double | bias | ) |
Sets split near distance minimum bias.
|
inline |
Gets split near distance minimum bias.
| void makVrv::DtShadowSettingsObject::setSplitNearDistanceMaximumBias | ( | double | bias | ) |
Sets split near distance maximum bias.
|
inline |
Gets split near distance maximum bias.
| void makVrv::DtShadowSettingsObject::setSplitFarDistanceBias | ( | double | bias | ) |
Sets split far distance bias.
|
inline |
Gets split far distance bias.
| void makVrv::DtShadowSettingsObject::setShadowAmbientFactor | ( | float | shadowAmbientFactor | ) |
Sets shadow factor for modulating the scene.
|
inline |
Gets shadow factor for modulating the scene.
| void makVrv::DtShadowSettingsObject::setShadowStabilizationScheme | ( | ShadowStabilizationScheme | shadowStabilizationScheme | ) |
Sets shadow stabilization scheme.
|
inline |
Gets shadow stabilization scheme.
| void makVrv::DtShadowSettingsObject::setAntiFlickerQuantizationFactor | ( | float | antiFlickerQuantizationFactor | ) |
Sets shadow anti-flicker quantization value for approximate stabilization scheme.
|
inline |
Gets shadow anti-flicker quantization value for approximate stabilization scheme.
| void makVrv::DtShadowSettingsObject::setSplitDistanceComputeScheme | ( | SplitDistanceComputeScheme | splitDistanceComputeScheme | ) |
Sets split distance compute scheme.
|
inline |
Gets split distance compute scheme.
| void makVrv::DtShadowSettingsObject::setMixedSplitInterpolationValue | ( | double | interp | ) |
Sets mixed logarithmic uniform split interpolation value.
|
inline |
Gets mixed logarithmic uniform split interpolation value.
| void makVrv::DtShadowSettingsObject::setSplitSelectionScheme | ( | SplitSelectionScheme | splitSelectionScheme | ) |
Sets split selection scheme.
|
inline |
Gets split selection scheme.
| void makVrv::DtShadowSettingsObject::setDataStorageScheme | ( | DataStorageScheme | dataStorageScheme | ) |
Sets data storage scheme.
|
inline |
Gets data storage scheme.
| void makVrv::DtShadowSettingsObject::setPreFilteringScheme | ( | PreFilteringScheme | preFilteringScheme | ) |
Sets pre-filtering scheme.
|
inline |
Gets pre-filtering scheme.
| void makVrv::DtShadowSettingsObject::setFilteringScheme | ( | FilteringScheme | filteringScheme | ) |
Sets filtering scheme.
|
inline |
Gets filtering scheme.
| void makVrv::DtShadowSettingsObject::setPoissonDiskSamplingScheme | ( | PoissonDiskSamplingScheme | poissonDiskSamplingScheme | ) |
Sets poisson disk sampling scheme.
|
inline |
Gets poisson disk sampling scheme.
| void makVrv::DtShadowSettingsObject::setDirty | ( | bool | dirty | ) |
Mark settings as dirty or changed.
|
inline |
Checks if any setting just changed.
| void makVrv::DtShadowSettingsObject::setNameAndRegister | ( | const std::string & | name, |
| int | quality | ||
| ) |
Sets setting name and registers the settings object in the DtShadowSettingsObjectManager singleton.
|
inline |
Returns setting name.
|
inline |
Returns setting name.
| void makVrv::DtShadowSettingsObject::setNumPersistentPassesPerCascade | ( | unsigned int | numPasses | ) |
Sets persistent number of passes per cascade.
|
inline |
Gets persistent number of passes per cascade.
| void makVrv::DtShadowSettingsObject::setNumAdditionalPassesPerCascade | ( | unsigned int | numPasses | ) |
Sets additional number of passes per cascade.
|
inline |
Gets additional number of passes per cascade.
| void makVrv::DtShadowSettingsObject::setPcfFilterWidth | ( | unsigned int | pcfFilterWidth | ) |
Sets PCF filter width.
|
inline |
Gets PCF filter width.
| void makVrv::DtShadowSettingsObject::setBlendCascadesBoundaries | ( | bool | blendCascadesBoundaries | ) |
Enables/Disables blend between cascade boundaries.
|
inline |
Gets blend between cascade boundaries.
| void makVrv::DtShadowSettingsObject::setUseSDSM | ( | bool | useSDSM | ) |
Enables/Disables Sample Distribution Shadow Maps(SDSM)
|
inline |
Gets Sample Distribution Shadow Maps(SDSM) enabled or disabled state.
| void makVrv::DtShadowSettingsObject::setSDSMReadBackLatency | ( | unsigned int | sdsmReadBackLatency | ) |
Sets Sample Distribution Shadow Maps(SDSM) read back latency.
|
inline |
Gets Sample Distribution Shadow Maps(SDSM) read back latency.
| void makVrv::DtShadowSettingsObject::setUseCameraDepthBufferForSDSM | ( | bool | useCameraDepthBufferForSDSM | ) |
Enables/Disables the usage of the most recent camera depth buffer for Sample Distribution Shadow Maps(SDSM) as against rendering to a very small frame buffer.
|
inline |
Gets the setting for the usage of the most recent camera depth buffer for Sample Distribution Shadow Maps(SDSM) as against rendering to a very small frame buffer.
| void makVrv::DtShadowSettingsObject::setSDSMRenderInterval | ( | double | sdsmRenderInterval | ) |
Sets SDSM render interval.
|
inline |
Gets SDSM render interval.
| void makVrv::DtShadowSettingsObject::setEVSMPositiveExponent | ( | double | evsmPositiveExponent | ) |
Sets exponential variance shadow maps(EVSM) positive exponent.
|
inline |
Gets exponential variance shadow maps(EVSM) positive exponent.
| void makVrv::DtShadowSettingsObject::setEVSMNegativeExponent | ( | double | evsmNegativeExponent | ) |
Sets exponential variance shadow maps(EVSM) negative exponent.
|
inline |
Gets exponential variance shadow maps(EVSM) negative exponent.
| void makVrv::DtShadowSettingsObject::setVSMMininumVariance | ( | double | vsmMininumVariance | ) |
Sets variance shadow maps(VSM) minimum variance.
|
inline |
Gets variance shadow maps(VSM) minimum variance.
| void makVrv::DtShadowSettingsObject::setESMDarkeningFactor | ( | double | esmDarkeningFactor | ) |
Sets exponential shadow maps(ESM) darkening factor.
|
inline |
Gets exponential shadow maps(ESM) darkening factor.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |