![]() |
VR-Forces 4.7 Class Documentation
|
Public Member Functions | |
| DtShadowSettingsObject (DtDe &de, DtUniqueID id, const std::string &name="") | |
| CTOR. | |
| ~DtShadowSettingsObject () | |
| DTOR. | |
| 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 | setDirty (bool dirty) |
| Mark settings as dirty or changed. | |
| bool | dirty () const |
| Checks if any setting just changed. | |
| 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 | setUseCachedFarCascade (bool useCachedFarCascade) |
| Sets use cached far cascade this allows a last cascade to be much larger but update less frequently. | |
| bool | useCachedFarCascade () const |
| Gets use cached far cascade. | |
| void | setFarCascadeUpdateFrequency (float value) |
| Sets far cascade update frequency. | |
| float | farCascadeUpdateFrequency () const |
| Gets far cascade update frequency. | |
| void | setUseFrontFaceCulling (bool useFrontFaceCulling) |
| sets 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 | setShadowAmbientFactor (float shadowAmbientFactor) |
| Sets shadow factor for modulating the scene. | |
| float | shadowAmbientFactor () const |
| Gets shadow factor for modulating the scene. | |
| void | setShadowStabilizationScheme (makArchives::DtShadowSettingsRecord::ShadowStabilizationScheme shadowStabilizationScheme) |
| Sets shadow stabilization scheme. | |
| makArchives::DtShadowSettingsRecord::ShadowStabilizationScheme | shadowStabilizationScheme () const |
| Gets shadow stabilization scheme. | |
| void | setSplitDistanceComputeScheme (makArchives::DtShadowSettingsRecord::SplitDistanceComputeScheme splitDistanceComputeScheme) |
| Sets split distance compute scheme. | |
| makArchives::DtShadowSettingsRecord::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 (makArchives::DtShadowSettingsRecord::SplitSelectionScheme splitSelectionScheme) |
| Sets split selection scheme. | |
| makArchives::DtShadowSettingsRecord::SplitSelectionScheme | splitSelectionScheme () const |
| Gets split selection scheme. | |
| void | setDataStorageScheme (makArchives::DtShadowSettingsRecord::DataStorageScheme dataStorageScheme) |
| Sets data storage scheme. | |
| makArchives::DtShadowSettingsRecord::DataStorageScheme | dataStorageScheme () const |
| Gets data storage scheme. | |
| void | setPreFilteringScheme (makArchives::DtShadowSettingsRecord::PreFilteringScheme preFilteringScheme) |
| Sets pre-filtering scheme. | |
| makArchives::DtShadowSettingsRecord::PreFilteringScheme | preFilteringScheme () const |
| Gets pre-filtering scheme. | |
| void | setFilteringScheme (makArchives::DtShadowSettingsRecord::FilteringScheme filteringScheme) |
| Sets filtering scheme. | |
| makArchives::DtShadowSettingsRecord::FilteringScheme | filteringScheme () const |
| Gets filtering scheme. | |
| void | setPoissonDiskSamplingScheme (makArchives::DtShadowSettingsRecord::PoissonDiskSamplingScheme poissonDiskSamplingScheme) |
| Sets poisson disk sampling scheme. | |
| makArchives::DtShadowSettingsRecord::PoissonDiskSamplingScheme | poissonDiskSamplingScheme () const |
| Gets poisson disk sampling scheme. | |
| void | setUseViewportMulticast (bool useViewportMulticast) |
| Turns on viewport multicast allows faster shadow generation on modern video cards. | |
| bool | useViewportMulticast () const |
| Gets use viewport multicast. | |
| 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 | setAdjustFarAndFlagsBasedOnHAT (bool enabled) |
| Sets to make the near cascades automatically change size and flags in the air. | |
| bool | adjustFarAndFlagsBasedOnHAT () const |
| Gets if near cascades automatically change size and flags in the air. | |
| 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 | 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. | |
| 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. | |
| makVrv::DtShadowSettingsObject::DtShadowSettingsObject | ( | DtDe & | de, |
| DtUniqueID | id, | ||
| const std::string & | name = "" |
||
| ) |
CTOR.
| makVrv::DtShadowSettingsObject::~DtShadowSettingsObject | ( | ) |
DTOR.
| 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::setDirty | ( | bool | dirty | ) |
Mark settings as dirty or changed.
|
inline |
Checks if any setting just changed.
| 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.
Sets shadow visualization mode.
Gets shadow visualization mode.
| void makVrv::DtShadowSettingsObject::setUseCachedFarCascade | ( | bool | useCachedFarCascade | ) |
Sets use cached far cascade this allows a last cascade to be much larger but update less frequently.
|
inline |
Gets use cached far cascade.
|
inline |
Sets far cascade update frequency.
|
inline |
Gets far cascade update frequency.
| void makVrv::DtShadowSettingsObject::setUseFrontFaceCulling | ( | bool | useFrontFaceCulling | ) |
sets 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.
Gets polygon offset factor parameter.
Gets polygon offset unit parameter.
Sets spot light texture atlas size.
Gets spot light texture atlas size.
Sets global light texture size for cascaded shadow mapping.
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::setShadowAmbientFactor | ( | float | shadowAmbientFactor | ) |
Sets shadow factor for modulating the scene.
|
inline |
Gets shadow factor for modulating the scene.
| void makVrv::DtShadowSettingsObject::setShadowStabilizationScheme | ( | makArchives::DtShadowSettingsRecord::ShadowStabilizationScheme | shadowStabilizationScheme | ) |
Sets shadow stabilization scheme.
|
inline |
Gets shadow stabilization scheme.
| void makVrv::DtShadowSettingsObject::setSplitDistanceComputeScheme | ( | makArchives::DtShadowSettingsRecord::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 | ( | makArchives::DtShadowSettingsRecord::SplitSelectionScheme | splitSelectionScheme | ) |
Sets split selection scheme.
|
inline |
Gets split selection scheme.
| void makVrv::DtShadowSettingsObject::setDataStorageScheme | ( | makArchives::DtShadowSettingsRecord::DataStorageScheme | dataStorageScheme | ) |
Sets data storage scheme.
|
inline |
Gets data storage scheme.
| void makVrv::DtShadowSettingsObject::setPreFilteringScheme | ( | makArchives::DtShadowSettingsRecord::PreFilteringScheme | preFilteringScheme | ) |
Sets pre-filtering scheme.
|
inline |
Gets pre-filtering scheme.
| void makVrv::DtShadowSettingsObject::setFilteringScheme | ( | makArchives::DtShadowSettingsRecord::FilteringScheme | filteringScheme | ) |
Sets filtering scheme.
|
inline |
Gets filtering scheme.
| void makVrv::DtShadowSettingsObject::setPoissonDiskSamplingScheme | ( | makArchives::DtShadowSettingsRecord::PoissonDiskSamplingScheme | poissonDiskSamplingScheme | ) |
Sets poisson disk sampling scheme.
|
inline |
Gets poisson disk sampling scheme.
| void makVrv::DtShadowSettingsObject::setUseViewportMulticast | ( | bool | useViewportMulticast | ) |
Turns on viewport multicast allows faster shadow generation on modern video cards.
|
inline |
Gets use viewport multicast.
Sets persistent number of passes per cascade.
Gets persistent number of passes per cascade.
Sets additional number of passes per cascade.
Gets additional number of passes per cascade.
Sets 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.
Sets Sample Distribution Shadow Maps(SDSM) read back latency.
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.
|
inline |
Sets to make the near cascades automatically change size and flags in the air.
|
inline |
Gets if near cascades automatically change size and flags in the air.
| 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::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.
| 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.
|
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 |