Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Enlighten::IPrecompCubeMapBuildParameters

Precompute parameters for cube maps.

Please see the Technical Guide in the main SDK document for full documentation of these parameters and their use.

Functions

NameDescription
GetBudget()

The number of form factors to store per output sample.

GetDependencyIncludedSystemDistance()

Bounding box (-this distance; +this distance) in all directions is created around the location of the cube map.

GetDependencyLocalityDistance()

Maximum distance at which a given system will be considered local.

GetDependencyVisibilityThreshold()

Do not consider a system as a dependency if its visibility is smaller than the threshold.

GetEnvironmentResolution()

The resolution for each face of the environment map.

GetMipBudgetRatio()

Internal parameter intended for testing only.

GetQuality()

The number of rays to cast for computing form factors.

GetVisibilityThreshold()

The necessary visibility of a cluster to be used as form factor.

SetBudget(Geo::s32)

The number of form factors to store per output sample.

SetDependencyIncludedSystemDistance(float)

Bounding box (-this distance; +this distance) in all directions is created around the location of the cube map.

SetDependencyLocalityDistance(float)

Maximum distance at which a given system will be considered local.

SetDependencyVisibilityThreshold(float)

Do not consider a system as a dependency if its visibility is smaller than the threshold.

SetEnvironmentResolution(Geo::s32)

The resolution for each face of the environment map.

SetMipBudgetRatio(float)

Internal parameter intended for testing only.

SetQuality(Geo::s32)

The number of rays to cast for computing form factors.

SetVisibilityThreshold(float)

The necessary visibility of a cluster to be used as form factor.


Anchor
a8b0f9e5853d911a341ded29475b0c4f3
a8b0f9e5853d911a341ded29475b0c4f3

virtual Geo::s32 Enlighten::IPrecompCubeMapBuildParameters::GetBudget

...

public: Geo::s32 GetBudget() const

...

The number of form factors to store per output sample.


Anchor
aa3909d91c59503aa0197f04e5a98978b
aa3909d91c59503aa0197f04e5a98978b

virtual float Enlighten::IPrecompCubeMapBuildParameters::GetDependencyIncludedSystemDistance

...

public: float GetDependencyIncludedSystemDistance() const

...

Bounding box (-this distance; +this distance) in all directions is created around the location of the cube map.

All systems whose bounding boxes intersect this created bounding box will be fully represented in ray tracing when calculating dependencies. Other systems will be represented as bounding boxes only.


Anchor
af880d6b8b691cca3a526d6ab98cffeaf
af880d6b8b691cca3a526d6ab98cffeaf

virtual float Enlighten::IPrecompCubeMapBuildParameters::GetDependencyLocalityDistance

...

public: float GetDependencyLocalityDistance() const

...

Maximum distance at which a given system will be considered local.


Anchor
aebd75a2128ccd3c0d84885bb22d9cc21
aebd75a2128ccd3c0d84885bb22d9cc21

virtual float Enlighten::IPrecompCubeMapBuildParameters::GetDependencyVisibilityThreshold

...

public: float GetDependencyVisibilityThreshold() const

...

Do not consider a system as a dependency if its visibility is smaller than the threshold.

Specify 0 to accept systems with any visibility.


Anchor
a833e15fca7040c30d59cd6842b77bbc1
a833e15fca7040c30d59cd6842b77bbc1

virtual Geo::s32 Enlighten::IPrecompCubeMapBuildParameters::GetEnvironmentResolution

...

public: Geo::s32 GetEnvironmentResolution() const

...

The resolution for each face of the environment map.


Anchor
a946e1fb2462b53a51def01eda5f25d7f
a946e1fb2462b53a51def01eda5f25d7f

virtual float Enlighten::IPrecompCubeMapBuildParameters::GetMipBudgetRatio

...

public: float GetMipBudgetRatio() const

...

Internal parameter intended for testing only.

Set the budget multiplier for next mip level. The default value 2 means double the budget in every next mip level.


Anchor
a588a51b97661ee6a6e2781462e3538fe
a588a51b97661ee6a6e2781462e3538fe

virtual Geo::s32 Enlighten::IPrecompCubeMapBuildParameters::GetQuality

...

public: Geo::s32 GetQuality() const

...

The number of rays to cast for computing form factors.


Anchor
a012bae5f33532fb4b61e1a5a0e297d49
a012bae5f33532fb4b61e1a5a0e297d49

virtual float Enlighten::IPrecompCubeMapBuildParameters::GetVisibilityThreshold

...

public: float GetVisibilityThreshold() const

...

The necessary visibility of a cluster to be used as form factor.


Anchor
a3fe9937089e8a5b9a5c44c0050b8e2c8
a3fe9937089e8a5b9a5c44c0050b8e2c8

virtual void Enlighten::IPrecompCubeMapBuildParameters::SetBudget

...

public: void SetBudget
(
    Geo::s32 budget
)

...

The number of form factors to store per output sample.


Anchor
a34f74a8ba7017ccc63988b40778ab920
a34f74a8ba7017ccc63988b40778ab920

virtual void Enlighten::IPrecompCubeMapBuildParameters::SetDependencyIncludedSystemDistance

...

public: void SetDependencyIncludedSystemDistance
(
    float v
)

...

Bounding box (-this distance; +this distance) in all directions is created around the location of the cube map.

All systems whose bounding boxes intersect this created bounding box will be fully represented in ray tracing when calculating dependencies. Other systems will be represented as bounding boxes only.


Anchor
a48f47f268f8406b03f56411931d83d3a
a48f47f268f8406b03f56411931d83d3a

virtual void Enlighten::IPrecompCubeMapBuildParameters::SetDependencyLocalityDistance

...

public: void SetDependencyLocalityDistance
(
    float v
)

...

Maximum distance at which a given system will be considered local.


Anchor
aa2d3780b7b6db6a751a513c6801d9a7a
aa2d3780b7b6db6a751a513c6801d9a7a

virtual void Enlighten::IPrecompCubeMapBuildParameters::SetDependencyVisibilityThreshold

...

public: void SetDependencyVisibilityThreshold
(
    float v
)

...

Do not consider a system as a dependency if its visibility is smaller than the threshold.

Specify 0 to accept systems with any visibility.


Anchor
aa8241d711e6d745d77f62e183ba84817
aa8241d711e6d745d77f62e183ba84817

virtual void Enlighten::IPrecompCubeMapBuildParameters::SetEnvironmentResolution

...

public: void SetEnvironmentResolution
(
    Geo::s32 v
)

...

The resolution for each face of the environment map.


Anchor
ab849bc9ef2dd0cf9782cdc64a2d5f963
ab849bc9ef2dd0cf9782cdc64a2d5f963

virtual void Enlighten::IPrecompCubeMapBuildParameters::SetMipBudgetRatio

...

public: void SetMipBudgetRatio
(
    float v
)

...

Internal parameter intended for testing only.

Set the budget multiplier for next mip level. The default value 2 means double the budget in every next mip level.


Anchor
aa5297d9328515f129dc74aca59ba4df5
aa5297d9328515f129dc74aca59ba4df5

virtual void Enlighten::IPrecompCubeMapBuildParameters::SetQuality

...

public: void SetQuality
(
    Geo::s32 quality
)

...

The number of rays to cast for computing form factors.


Anchor
ae167346dfdcba86b7ee820b5c1adf00f
ae167346dfdcba86b7ee820b5c1adf00f

virtual void Enlighten::IPrecompCubeMapBuildParameters::SetVisibilityThreshold

...

public: void SetVisibilityThreshold
(
    float visibilityThreshold
)

...

The necessary visibility of a cluster to be used as form factor.