Versions Compared

Key

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

class Enlighten::IPrecompProbeSetBuildParameters

A class defining parameters for SH sample probe building.

Functions

NameDescription
GetBudget()

The number of form factors to store per output sample.

GetCoefficientBasisX()

The basis vectors for the probe coefficients.

GetCoefficientBasisY()

The basis vectors for the probe coefficients.

GetCoefficientBasisZ()

The basis vectors for the probe coefficients.

GetCoefficientOrder()

The desired output order of the coefficients.

GetCullingThreshold()

Determines the threshold of valid visibility below which a point is culled.

GetDependencyIncludedSystemDistance()

Bounding box of the probe set (i.e. bounding box containing all the probes) whose dependencies are being calculated is.

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.

GetErrorThreshold()

Determines the threshold of interpolation error below which a point may be removed.

GetExcludeEnvironmentInPrimaryBounce()

Whether to exclude environment when solving the probes directly.

GetIndividualProbes()

Whether to treat the probes in this set entirely individually, and disable optimisations in the EntireProbeSetSolver which share data between probes.

GetNumEnvironmentVisibilitySHCoefficients()

The number of SH coefficients used for environment visibility.

GetNumSHCoefficients()

The number of SH coefficients used.

GetQuality()

The number of rays to cast for computing form factors.

GetUseCulling()

Whether to cull probes that are not in valid locations.

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.

SetCoefficientBasis(const Geo::v128 &, const Geo::v128 &, const Geo::v128 &)

The basis vectors for the probe coefficients.

SetCoefficientOrder(const Geo::s8 *)

The desired output order of the coefficients.

SetCullingThreshold(float)

Determines the threshold of valid visibility below which a point is culled.

SetDependencyIncludedSystemDistance(float)

Bounding box of the probe set (i.e. bounding box containing all the probes) whose dependencies are being calculated is.

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.

SetErrorThreshold(float)

Determines the threshold of interpolation error below which a point may be removed.

SetExcludeEnvironmentInPrimaryBounce(bool)

Whether to exclude environment when solving the probes directly.

SetIndividualProbes(bool)

Whether to treat the probes in this set entirely individually, and disable optimisations in the EntireProbeSetSolver which share data between probes.

SetNumEnvironmentVisibilitySHCoefficients(Geo::s32)

The number of SH coefficients used for environment visibility.

SetNumSHCoefficients(Geo::s32)

The number of SH coefficients used.

SetQuality(Geo::s32)

The number of rays to cast for computing form factors.

SetUseCulling(bool)

Whether to cull probes that are not in valid locations.

SetVisibilityThreshold(float)

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


Anchor
a0e060f198e62687008c284691348170c
a0e060f198e62687008c284691348170c

virtual Geo::s32 Enlighten::IPrecompProbeSetBuildParameters::GetBudget

...

public: Geo::s32 GetBudget() const

...

The number of form factors to store per output sample.


Anchor
aa9f0c6c7db13606053bccb33f462a234
aa9f0c6c7db13606053bccb33f462a234

virtual const Geo::v128& Enlighten::IPrecompProbeSetBuildParameters::GetCoefficientBasisX

...

public: const Geo::v128 & GetCoefficientBasisX() const

...

The basis vectors for the probe coefficients.

Must be axis aligned and orthonormal. Defaults to (+x, +y, +z).


Anchor
ad511db86ef91cea475a6285351e777cb
ad511db86ef91cea475a6285351e777cb

virtual const Geo::v128& Enlighten::IPrecompProbeSetBuildParameters::GetCoefficientBasisY

...

public: const Geo::v128 & GetCoefficientBasisY() const

...

The basis vectors for the probe coefficients.

Must be axis aligned and orthonormal. Defaults to (+x, +y, +z).


Anchor
a12a261ff92c177f194e16845e017b093
a12a261ff92c177f194e16845e017b093

virtual const Geo::v128& Enlighten::IPrecompProbeSetBuildParameters::GetCoefficientBasisZ

...

public: const Geo::v128 & GetCoefficientBasisZ() const

...

The basis vectors for the probe coefficients.

Must be axis aligned and orthonormal. Defaults to (+x, +y, +z).


Anchor
ad75fc08b40afee6e5eb0f1eae15c033a
ad75fc08b40afee6e5eb0f1eae15c033a

virtual const Geo::s8* Enlighten::IPrecompProbeSetBuildParameters::GetCoefficientOrder

...

public: const Geo::s8 * GetCoefficientOrder() const

...

The desired output order of the coefficients.

Must be called after SetNumSHCoefficients. The length of the array must be 4 for L1 probe sets, and 9 for L2. Each value maps the indexed coefficient to the position of the index in the coefficientOrder array. By default the order is {012345678} which maps to an output order of: Y_00, Y_11, Y_10, Y_1-1; Y_20, Y_21, Y_2-1, Y_2-2, Y_22


Anchor
adb20b8c97a3b3d969f5ffa4915093c29
adb20b8c97a3b3d969f5ffa4915093c29

virtual float Enlighten::IPrecompProbeSetBuildParameters::GetCullingThreshold

...

public: float GetCullingThreshold() const

...

Determines the threshold of valid visibility below which a point is culled.


Anchor
a232b44654ac259c4e58f1180b6304f90
a232b44654ac259c4e58f1180b6304f90

virtual float Enlighten::IPrecompProbeSetBuildParameters::GetDependencyIncludedSystemDistance

...

public: float GetDependencyIncludedSystemDistance() const

...

Bounding box of the probe set (i.e. bounding box containing all the probes) whose dependencies are being calculated is.

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


Anchor
a726f3a729ee3fdab97b0004f4bc67840
a726f3a729ee3fdab97b0004f4bc67840

virtual float Enlighten::IPrecompProbeSetBuildParameters::GetDependencyLocalityDistance

...

public: float GetDependencyLocalityDistance() const

...

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


Anchor
a7817df957392ce7091be8c364d87eff9
a7817df957392ce7091be8c364d87eff9

virtual float Enlighten::IPrecompProbeSetBuildParameters::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
a40ef013347a73a89e9244fa034e1c7d1
a40ef013347a73a89e9244fa034e1c7d1

virtual Geo::s32 Enlighten::IPrecompProbeSetBuildParameters::GetEnvironmentResolution

...

public: Geo::s32 GetEnvironmentResolution() const

...

The resolution for each face of the environment map.


Anchor
ad80a227a406d42f682b429cc83f1f492
ad80a227a406d42f682b429cc83f1f492

virtual float Enlighten::IPrecompProbeSetBuildParameters::GetErrorThreshold

...

public: float GetErrorThreshold() const

...

Determines the threshold of interpolation error below which a point may be removed.


Anchor
a7439ceb208fe8c243c7a168296e8cb1a
a7439ceb208fe8c243c7a168296e8cb1a

virtual bool Enlighten::IPrecompProbeSetBuildParameters::GetExcludeEnvironmentInPrimaryBounce

...

public: bool GetExcludeEnvironmentInPrimaryBounce() const

...

Whether to exclude environment when solving the probes directly.


Anchor
a41babc514f6ed061a246b1f239fb8eef
a41babc514f6ed061a246b1f239fb8eef

virtual bool Enlighten::IPrecompProbeSetBuildParameters::GetIndividualProbes

...

public: bool GetIndividualProbes() const

...

Whether to treat the probes in this set entirely individually, and disable optimisations in the EntireProbeSetSolver which share data between probes.

This is useful for probe sets of "dedicated" probes which are positioned exactly where required by static meshes, but not near each other. The default value is false.


Anchor
a70f86552b35f199562f766db71648c51
a70f86552b35f199562f766db71648c51

virtual Geo::s32 Enlighten::IPrecompProbeSetBuildParameters::GetNumEnvironmentVisibilitySHCoefficients

...

public: Geo::s32 GetNumEnvironmentVisibilitySHCoefficients() const

...

The number of SH coefficients used for environment visibility.

Can be Enlighten::SH_ORDER_DISABLED, Enlighten::SH_ORDER_L0, Enlighten::SH_ORDER_L1 or Enlighten::SH_ORDER_L2.


Anchor
a06ceaabcda1d50899b4ba6f6653dbce6
a06ceaabcda1d50899b4ba6f6653dbce6

virtual Geo::s32 Enlighten::IPrecompProbeSetBuildParameters::GetNumSHCoefficients

...

public: Geo::s32 GetNumSHCoefficients() const

...

The number of SH coefficients used.

Can be Enlighten::SH_ORDER_L1 or Enlighten::SH_ORDER_L2.


Anchor
af79d814d0cc3b0c4224aafcae6ef6e35
af79d814d0cc3b0c4224aafcae6ef6e35

virtual Geo::s32 Enlighten::IPrecompProbeSetBuildParameters::GetQuality

...

public: Geo::s32 GetQuality() const

...

The number of rays to cast for computing form factors.


Anchor
a614b7076ee8f4b60f02b9329e0c271f3
a614b7076ee8f4b60f02b9329e0c271f3

virtual bool Enlighten::IPrecompProbeSetBuildParameters::GetUseCulling

...

public: bool GetUseCulling() const

...

Whether to cull probes that are not in valid locations.


Anchor
abed2e5acbcb767b5c82cfbe40e4383f6
abed2e5acbcb767b5c82cfbe40e4383f6

virtual float Enlighten::IPrecompProbeSetBuildParameters::GetVisibilityThreshold

...

public: float GetVisibilityThreshold() const

...

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


Anchor
addd4c5cdb48127a2c43ac015aa51b1cd
addd4c5cdb48127a2c43ac015aa51b1cd

virtual void Enlighten::IPrecompProbeSetBuildParameters::SetBudget

...

public: void SetBudget
(
    Geo::s32 budget
)

...

The number of form factors to store per output sample.


Anchor
a41b3d3becfb5464762571d56c0726d2f
a41b3d3becfb5464762571d56c0726d2f

virtual void Enlighten::IPrecompProbeSetBuildParameters::SetCoefficientBasis

...

public: void SetCoefficientBasis
(
    const Geo::v128 & basisX,
    const Geo::v128 & basisY,
    const Geo::v128 & basisZ
)

...

The basis vectors for the probe coefficients.

Must be axis aligned and orthonormal. Defaults to (+x, +y, +z).


Anchor
a18258014aa2fcaf474bcf08a0710e573
a18258014aa2fcaf474bcf08a0710e573

virtual void Enlighten::IPrecompProbeSetBuildParameters::SetCoefficientOrder

...

public: void SetCoefficientOrder
(
    const Geo::s8 * coefficientOrder
)

...

The desired output order of the coefficients.

Must be called after SetNumSHCoefficients. The length of the array must be 4 for L1 probe sets, and 9 for L2. Each value maps the indexed coefficient to the position of the index in the coefficientOrder array. By default the order is {012345678} which maps to an output order of: Y_00, Y_11, Y_10, Y_1-1; Y_20, Y_21, Y_2-1, Y_2-2, Y_22


Anchor
af6b94c2b419c77687da32bd590d406f5
af6b94c2b419c77687da32bd590d406f5

virtual void Enlighten::IPrecompProbeSetBuildParameters::SetCullingThreshold

...

public: void SetCullingThreshold
(
    float cullingThreshold
)

...

Determines the threshold of valid visibility below which a point is culled.


Anchor
a4369deae03ca875f031d3e9a7e29d8fc
a4369deae03ca875f031d3e9a7e29d8fc

virtual void Enlighten::IPrecompProbeSetBuildParameters::SetDependencyIncludedSystemDistance

...

public: void SetDependencyIncludedSystemDistance
(
    float v
)

...

Bounding box of the probe set (i.e. bounding box containing all the probes) whose dependencies are being calculated is.

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


Anchor
af1b377e820bb439c555d484204f82903
af1b377e820bb439c555d484204f82903

virtual void Enlighten::IPrecompProbeSetBuildParameters::SetDependencyLocalityDistance

...

public: void SetDependencyLocalityDistance
(
    float v
)

...

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


Anchor
a71becc1e8507556e4f50c7cc99d562a7
a71becc1e8507556e4f50c7cc99d562a7

virtual void Enlighten::IPrecompProbeSetBuildParameters::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
aee4b0c47a83beac83af4fb2026e13dbd
aee4b0c47a83beac83af4fb2026e13dbd

virtual void Enlighten::IPrecompProbeSetBuildParameters::SetEnvironmentResolution

...

public: void SetEnvironmentResolution
(
    Geo::s32 v
)

...

The resolution for each face of the environment map.


Anchor
af5aaf96bc48dbb902a246e0ae5948dab
af5aaf96bc48dbb902a246e0ae5948dab

virtual void Enlighten::IPrecompProbeSetBuildParameters::SetErrorThreshold

...

public: void SetErrorThreshold
(
    float errorThreshold
)

...

Determines the threshold of interpolation error below which a point may be removed.


Anchor
a39ff0969c335b2c178f572f172154d5e
a39ff0969c335b2c178f572f172154d5e

virtual void Enlighten::IPrecompProbeSetBuildParameters::SetExcludeEnvironmentInPrimaryBounce

...

public: void SetExcludeEnvironmentInPrimaryBounce
(
    bool v
)

...

Whether to exclude environment when solving the probes directly.


Anchor
ab7c02a99c72e3c3cf156ceda4e368fb4
ab7c02a99c72e3c3cf156ceda4e368fb4

virtual void Enlighten::IPrecompProbeSetBuildParameters::SetIndividualProbes

...

public: void SetIndividualProbes
(
    bool b
)

...

Whether to treat the probes in this set entirely individually, and disable optimisations in the EntireProbeSetSolver which share data between probes.

This is useful for probe sets of "dedicated" probes which are positioned exactly where required by static meshes, but not near each other. The default value is false.


Anchor
aa982db3ee547b3207832444e0a89ca75
aa982db3ee547b3207832444e0a89ca75

virtual void Enlighten::IPrecompProbeSetBuildParameters::SetNumEnvironmentVisibilitySHCoefficients

...

public: void SetNumEnvironmentVisibilitySHCoefficients
(
    Geo::s32 numCoefficients
)

...

The number of SH coefficients used for environment visibility.

Can be Enlighten::SH_ORDER_DISABLED, Enlighten::SH_ORDER_L0, Enlighten::SH_ORDER_L1 or Enlighten::SH_ORDER_L2.


Anchor
ac6a8f731ef58901af7dbb63117ec9c99
ac6a8f731ef58901af7dbb63117ec9c99

virtual void Enlighten::IPrecompProbeSetBuildParameters::SetNumSHCoefficients

...

public: void SetNumSHCoefficients
(
    Geo::s32 numCoefficients
)

...

The number of SH coefficients used.

Can be Enlighten::SH_ORDER_L1 or Enlighten::SH_ORDER_L2.


Anchor
ad2b5ef44dc00516fc0da18653fe42042
ad2b5ef44dc00516fc0da18653fe42042

virtual void Enlighten::IPrecompProbeSetBuildParameters::SetQuality

...

public: void SetQuality
(
    Geo::s32 quality
)

...

The number of rays to cast for computing form factors.


Anchor
a769b31a4916ea6c2be227b69f9f9631b
a769b31a4916ea6c2be227b69f9f9631b

virtual void Enlighten::IPrecompProbeSetBuildParameters::SetUseCulling

...

public: void SetUseCulling
(
    bool useCulling
)

...

Whether to cull probes that are not in valid locations.


Anchor
ae4f092d750dc10664c931b3df9e3c1a0
ae4f092d750dc10664c931b3df9e3c1a0

virtual void Enlighten::IPrecompProbeSetBuildParameters::SetVisibilityThreshold

...

public: void SetVisibilityThreshold
(
    float visibilityThreshold
)

...

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