Versions Compared

Key

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

class Enlighten::IPrecompBuildParameters

A class containing various parameters and dials for the system level precompute process.

Variables

NameDescription
const Geo::s32 kShadowFaceBack = 0

Deprecated ShadowFace API.

const Geo::s32 kShadowFaceBoth = -1

Deprecated ShadowFace API.

const Geo::s32 kShadowFaceFront = 1

Deprecated ShadowFace API.

const Geo::s32 kShadowFaceUseMaterialAPI = -2

Deprecated ShadowFace API.

Functions

NameDescription
GetAlignedEdgeStitching()

Whether to use edge stitching.

GetBackFaceTolerance()

Whether to reject ray origins which can see any back face (if false, we only reject ray origins if they see nothing but back faces).

GetClusterSize()

The size of an input cluster.

GetClusterTolerance()

The strictness with which the geometry is voxelised during preclustering.

GetComputeRayOriginOutput()

General Debugging Options -------------------------------------------------- Whether to compute ray origin output during light transport.

GetCTDiv()

Number of children per node in the cluster hierarchy.

GetDefaultValues()

Returns a set of build parameters representing the defaults.

GetDependencyIncludedSystemDistance()

Bounding box of the system whose dependencies are being calculated is expanded by this distance in all directions.

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.

GetDirectionalIrradiance()

Whether to generate directional irradiance output.

GetDirectionalVisibilityDirectionsPerByte()

Number of visibility samples to store per byte for precomputed directional visibility.

GetDirectionalVisibilitySlices()

Number of vertical sphere slices for precomputed directional visibility storage.

GetEdgeStitching()

Whether to use edge stitching.

GetEdgeStitchingDistanceMultiplier()

Maximum distance between edges for them to be stitchable, as a multiple of output pixel size.

GetEnvironmentResolution()

The resolution for each face of the environment map.

GetEnvironmentValidity()

Limits the region of the environment that is valid.

GetExcludeEnvironmentInPrimaryBounce()

Whether to exclude the environment form factors from the rad core data which is used for solving to the lightmap.

GetGenerateClusterProbeSampleOffsets()

Whether to generate per cluster offsets for sampling probes.

GetHQVisWeight()

High quality clustering visibility weighting.

GetImportance()

A relative importance multiplier for this system in the global light transport step.

GetIrradianceBudget()

The number of form factors to store per irradiance output sample.

GetIrradiancePushOff()

Push off for irradiance form factor rays, in cm.

GetIrradianceQuality()

The number of rays to cast for computing irradiance form factors.

GetITBudget()

Maximum number of clustering iterations.

GetLCEpsilon()

Clustering iteration termination error threshold.

GetMaxSamples()

Maximum number of input samples for a system.

GetMaxSolutionSize()

The maximum size of an output system, in pixels.

GetMinSamples()

Minimum number of input samples for a system.

GetMinSolutionSize()

The minimum size of an output system, in pixels.

GetModellingTolerance()

Radius controlling how close ray origins can be to other geometry, in cm.

GetNSBudget()

Number of per-triangle visibility samples to use for computing triangle visibility and input sample visibility.

GetNumTerrainLODLevels()

If terrain LODs are being generated, specifies how many LODs to generate.

GetPixelStitching()

Whether to use pixel stitching.

GetPixelStitchingNormalDotProduct()

Maximum dot product of normals for pixels to be stitchable.

GetSafe16BitClustering()

High quality clustering visibility weighting.

GetSampleCullingThreshold()

Threshold controlling input (duster) sample culling behaviour.

GetSamplesPerCluster()

The number of input samples per cluster.

GetShadowFaces()

Deprecated ShadowFace API.

GetStitchingDistanceMultiplier()

Maximum distance between charts for them to be stitchable, as a multiple of output pixel size.

GetStitchingNormalDotProduct()

Maximum dot product of normals for charts to be stitchable.

GetTriangleCullingThreshold()

Threshold controlling visibility-based cluster triangle culling behaviour.

GetValidOverhangDistance()

The valid overhang distance for mesh projection.

GetVerticalAxis()

The axis aligned vector pointing directly upwards.

GetViewsDisabled()

Whether to disable viewsets.

GetViewVoxelMultiplier()

Size of voxel grid to use for automatic viewsets, as a multiplier of (minimum) output pixel size.

GetVisibilityThreshold()

The error allowed for reducing the number of form factors for each spherical output sample.

Load(Geo::IGeoInputStream &, Geo::u32)

Load an instance of this class from an IGeoStream.

RequiresTerrainLODs()

Whether to create "terrain" LODs.

RequiresTerrainPackingPadding()

If terrain LODs are being generated, specifies whether half a pixel padding should be added to final terrain system atlas.

Save(Geo::IGeoStream &, Geo::u32)

Save an instance of this class to an IGeoStream.

SetAlignedEdgeStitching(bool)

Whether to use edge stitching.

SetBackFaceTolerance(float)

Whether to reject ray origins which can see any back face (if false, we only reject ray origins if they see nothing but back faces).

SetClusterSize(float)

The size of an input cluster.

SetClusterTolerance(float)

The strictness with which the geometry is voxelised during preclustering.

SetComputeRayOriginOutput(bool)

General Debugging Options -------------------------------------------------- Whether to compute ray origin output during light transport.

SetCTDiv(float)

Number of children per node in the cluster hierarchy.

SetDependencyIncludedSystemDistance(float)

Bounding box of the system whose dependencies are being calculated is expanded by this distance in all directions.

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.

SetDirectionalIrradiance(bool)

Whether to generate directional irradiance output.

SetDirectionalVisibilityDirectionsPerByte(Geo::s32)

Number of visibility samples to store per byte for precomputed directional visibility.

SetDirectionalVisibilitySlices(Geo::s32)

Number of vertical sphere slices for precomputed directional visibility storage.

SetEdgeStitching(bool)

Whether to use edge stitching.

SetEdgeStitchingDistanceMultiplier(float)

Maximum distance between edges for them to be stitchable, as a multiple of output pixel size.

SetEnvironmentResolution(Geo::s32)

The resolution for each face of the environment map.

SetEnvironmentValidity(Enlighten::EnvironmentValidity)

Limits the region of the environment that is valid.

SetExcludeEnvironmentInPrimaryBounce(bool)

Whether to exclude the environment form factors from the rad core data which is used for solving to the lightmap.

SetGenerateClusterProbeSampleOffsets(bool)

Whether to generate per cluster offsets for sampling probes.

SetHQVisWeight(float)

High quality clustering visibility weighting.

SetImportance(float)

A relative importance multiplier for this system in the global light transport step.

SetIrradianceBudget(Geo::s32)

The number of form factors to store per irradiance output sample.

SetIrradiancePushOff(float)

Push off for irradiance form factor rays, in cm.

SetIrradianceQuality(Geo::s32)

The number of rays to cast for computing irradiance form factors.

SetITBudget(Geo::s32)

Maximum number of clustering iterations.

SetLCEpsilon(float)

Clustering iteration termination error threshold.

SetMaxSamples(Geo::s32)

Maximum number of input samples for a system.

SetMaxSolutionSize(Geo::s32, Geo::s32)

The maximum size of an output system, in pixels.

SetMinSamples(Geo::s32)

Minimum number of input samples for a system.

SetMinSolutionSize(Geo::s32, Geo::s32)

The minimum size of an output system, in pixels.

SetModellingTolerance(float)

Radius controlling how close ray origins can be to other geometry, in cm.

SetNSBudget(Geo::s32)

Number of per-triangle visibility samples to use for computing triangle visibility and input sample visibility.

SetNumTerrainLODLevels(Geo::s32)

If terrain LODs are being generated, specifies how many LODs to generate.

SetPixelStitching(bool)

Whether to use pixel stitching.

SetPixelStitchingNormalDotProduct(float)

Maximum dot product of normals for pixels to be stitchable.

SetRequiresTerrainLODs(bool)

Whether to create "terrain" LODs.

SetRequiresTerrainPackingPadding(bool)

If terrain LODs are being generated, specifies whether half a pixel padding should be added to final terrain system atlas.

SetSafe16BitClustering(bool)

Whether to enforce that clustering creates no more than 65535 clusters such that a cluster index will fit in an unsigned integer.

SetSampleCullingThreshold(float)

Threshold controlling input (duster) sample culling behaviour.

SetSamplesPerCluster(Geo::s32)

The number of input samples per cluster.

SetShadowFaces(Geo::s32)

Deprecated ShadowFace API.

SetStitchingDistanceMultiplier(float)

Maximum distance between charts for them to be stitchable, as a multiple of output pixel size.

SetStitchingNormalDotProduct(float)

Maximum dot product of normals for charts to be stitchable.

SetTriangleCullingThreshold(float)

Threshold controlling visibility-based cluster triangle culling behaviour.

SetValidOverhangDistance(Geo::s32)

The valid overhang distance for mesh projection.

SetVerticalAxis(Enlighten::WorldAxis)

The axis aligned vector pointing directly upwards.

SetViewsDisabled(bool)

Whether to disable viewsets.

SetViewVoxelMultiplier(float)

Size of voxel grid to use for automatic viewsets, as a multiplier of (minimum) output pixel size.

SetVisibilityThreshold(float)

The error allowed for reducing the number of form factors for each spherical output sample.


Anchor
a88b00e579d5870a41e6b4ab11b125ede
a88b00e579d5870a41e6b4ab11b125ede

virtual bool Enlighten::IPrecompBuildParameters::GetAlignedEdgeStitching

...

public: bool GetAlignedEdgeStitching() const

...

Whether to use edge stitching.


Anchor
ac1a58939caca327b023a19284801993b
ac1a58939caca327b023a19284801993b

virtual float Enlighten::IPrecompBuildParameters::GetBackFaceTolerance

...

public: float GetBackFaceTolerance() const

...

Whether to reject ray origins which can see any back face (if false, we only reject ray origins if they see nothing but back faces).


Anchor
a8353a2e38a85499a814a10bab53d24fe
a8353a2e38a85499a814a10bab53d24fe

virtual float Enlighten::IPrecompBuildParameters::GetClusterSize

...

public: float GetClusterSize() const

...

The size of an input cluster.


Anchor
aa3f33cbb6ea1b557b69a10927d758122
aa3f33cbb6ea1b557b69a10927d758122

virtual float Enlighten::IPrecompBuildParameters::GetClusterTolerance

...

public: float GetClusterTolerance() const

...

The strictness with which the geometry is voxelised during preclustering.


Anchor
a499e3db33556172af4b3b15408d9691f
a499e3db33556172af4b3b15408d9691f

virtual bool Enlighten::IPrecompBuildParameters::GetComputeRayOriginOutput

...

public: bool GetComputeRayOriginOutput() const

...

General Debugging Options -------------------------------------------------- Whether to compute ray origin output during light transport.

Ray origin output is useful for debugging radiosity issues. The default value is false.


Anchor
a0142a6147d9e853509a310356eca6f9a
a0142a6147d9e853509a310356eca6f9a

virtual float Enlighten::IPrecompBuildParameters::GetCTDiv

...

public: float GetCTDiv() const

...

Number of children per node in the cluster hierarchy.


Anchor
a4b7eee2bd96dd0d4d69e649ece1e0868
a4b7eee2bd96dd0d4d69e649ece1e0868

static const IPrecompBuildParameters* Enlighten::IPrecompBuildParameters::GetDefaultValues

...

public: const IPrecompBuildParameters * GetDefaultValues()

...

Returns a set of build parameters representing the defaults.


Anchor
ac5a94e2d8666d867927a98e2a7459ac9
ac5a94e2d8666d867927a98e2a7459ac9

virtual float Enlighten::IPrecompBuildParameters::GetDependencyIncludedSystemDistance

...

public: float GetDependencyIncludedSystemDistance() const

...

Bounding box of the system whose dependencies are being calculated is expanded by this distance in all directions.

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
a757de720164f12202dd41bd25ab29fc2
a757de720164f12202dd41bd25ab29fc2

virtual float Enlighten::IPrecompBuildParameters::GetDependencyLocalityDistance

...

public: float GetDependencyLocalityDistance() const

...

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


Anchor
a129678d25adeeed482bf3804099152f4
a129678d25adeeed482bf3804099152f4

virtual float Enlighten::IPrecompBuildParameters::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
a55c90aca6b5d227995853274d83c0f39
a55c90aca6b5d227995853274d83c0f39

virtual bool Enlighten::IPrecompBuildParameters::GetDirectionalIrradiance

...

public: bool GetDirectionalIrradiance() const

...

Whether to generate directional irradiance output.


Anchor
aabafd37b281afeca37d0e967cb34a506
aabafd37b281afeca37d0e967cb34a506

virtual Geo::s32 Enlighten::IPrecompBuildParameters::GetDirectionalVisibilityDirectionsPerByte

...

public: Geo::s32 GetDirectionalVisibilityDirectionsPerByte() const

...

Number of visibility samples to store per byte for precomputed directional visibility.

The default value is 4 (2 bits per direction). Valid values are 1,2,4 and 8. 8 produces the best compression, 1 the best quality. 4 produces the best size / quality balance.


Anchor
a93cd6df016503c9f860d01448e656571
a93cd6df016503c9f860d01448e656571

virtual Geo::s32 Enlighten::IPrecompBuildParameters::GetDirectionalVisibilitySlices

...

public: Geo::s32 GetDirectionalVisibilitySlices() const

...

Number of vertical sphere slices for precomputed directional visibility storage.

The number of sampled visibility directions will be roughly the square of this number. Defaults to 27 (875 sampled directions). Valid values range between 2 and 64.


Anchor
a532f2c049a90fd292a1ee9393e4e0ff4
a532f2c049a90fd292a1ee9393e4e0ff4

virtual bool Enlighten::IPrecompBuildParameters::GetEdgeStitching

...

public: bool GetEdgeStitching() const

...

Whether to use edge stitching.


Anchor
a8ca0c5ee86a4dc030e2a027fb4493b57
a8ca0c5ee86a4dc030e2a027fb4493b57

virtual float Enlighten::IPrecompBuildParameters::GetEdgeStitchingDistanceMultiplier

...

public: float GetEdgeStitchingDistanceMultiplier() const

...

Maximum distance between edges for them to be stitchable, as a multiple of output pixel size.


Anchor
a991eb0e5dccd77d49c6c1e803316cfdc
a991eb0e5dccd77d49c6c1e803316cfdc

virtual Geo::s32 Enlighten::IPrecompBuildParameters::GetEnvironmentResolution

...

public: Geo::s32 GetEnvironmentResolution() const

...

The resolution for each face of the environment map.


Anchor
aa9e39583e6212ffecbeddfd1634cdeb6
aa9e39583e6212ffecbeddfd1634cdeb6

virtual Enlighten::EnvironmentValidity Enlighten::IPrecompBuildParameters::GetEnvironmentValidity

...

public: Enlighten::EnvironmentValidity GetEnvironmentValidity() const

...

Limits the region of the environment that is valid.

Indirect lighting data is not generated for surfaces that see invalid regions of the environment. When a non-default value is specified, the vertical axis parameter must also be specified.


Anchor
aa35545a7e8f2985a38649f9b7973880b
aa35545a7e8f2985a38649f9b7973880b

virtual bool Enlighten::IPrecompBuildParameters::GetExcludeEnvironmentInPrimaryBounce

...

public: bool GetExcludeEnvironmentInPrimaryBounce() const

...

Whether to exclude the environment form factors from the rad core data which is used for solving to the lightmap.


Anchor
a0a1f6d388eab619d1b164a101279ff0f
a0a1f6d388eab619d1b164a101279ff0f

virtual bool Enlighten::IPrecompBuildParameters::GetGenerateClusterProbeSampleOffsets

...

public: bool GetGenerateClusterProbeSampleOffsets() const

...

Whether to generate per cluster offsets for sampling probes.


Anchor
a5fa37fb4a8738095fb2a5b564b5533eb
a5fa37fb4a8738095fb2a5b564b5533eb

virtual float Enlighten::IPrecompBuildParameters::GetHQVisWeight

...

public: float GetHQVisWeight() const

...

High quality clustering visibility weighting.

A value of 0 means that only position information is used for clustering, a value of 1 means only visibility information is used. Generally, a value close to 1 should be used..


Anchor
a8d74c8e39ea4074ffd2c29d1e5eac493
a8d74c8e39ea4074ffd2c29d1e5eac493

virtual float Enlighten::IPrecompBuildParameters::GetImportance

...

public: float GetImportance() const

...

A relative importance multiplier for this system in the global light transport step.

The default value is 1.0. Higher values should only be used for area light geometry in its own dedicated system (which is known to be a bright source of illumination at precompute time). Setting a high importance will ensure that the area light geometry is retained during the light transport compression step. If you use a high importance multiplier, you should also ensure that area lights have as few clusters as possible.


Anchor
ab20f9138527bcd7a0def1adfce9fd590
ab20f9138527bcd7a0def1adfce9fd590

virtual Geo::s32 Enlighten::IPrecompBuildParameters::GetIrradianceBudget

...

public: Geo::s32 GetIrradianceBudget() const

...

The number of form factors to store per irradiance output sample.


Anchor
a5985f09d2fb9d2bc7a783f09660bc7dd
a5985f09d2fb9d2bc7a783f09660bc7dd

virtual float Enlighten::IPrecompBuildParameters::GetIrradiancePushOff

...

public: float GetIrradiancePushOff() const

...

Push off for irradiance form factor rays, in cm.


Anchor
aff948717974a5540fd48f0841fbc1447
aff948717974a5540fd48f0841fbc1447

virtual Geo::s32 Enlighten::IPrecompBuildParameters::GetIrradianceQuality

...

public: Geo::s32 GetIrradianceQuality() const

...

The number of rays to cast for computing irradiance form factors.


Anchor
a373a3d91a5035745e53f950f27443663
a373a3d91a5035745e53f950f27443663

virtual Geo::s32 Enlighten::IPrecompBuildParameters::GetITBudget

...

public: Geo::s32 GetITBudget() const

...

Maximum number of clustering iterations.


Anchor
ad174290b1728d2609ecf3c7e32a1bac1
ad174290b1728d2609ecf3c7e32a1bac1

virtual float Enlighten::IPrecompBuildParameters::GetLCEpsilon

...

public: float GetLCEpsilon() const

...

Clustering iteration termination error threshold.


Anchor
acdfeb66ec663be62f6d1751f56138817
acdfeb66ec663be62f6d1751f56138817

virtual Geo::s32 Enlighten::IPrecompBuildParameters::GetMaxSamples

...

public: Geo::s32 GetMaxSamples() const

...

Maximum number of input samples for a system.


Anchor
a90d37fef3572ec160f34c8f8ed5135e3
a90d37fef3572ec160f34c8f8ed5135e3

virtual Geo::GeoPair<Geo::s32, Geo::s32> Enlighten::IPrecompBuildParameters::GetMaxSolutionSize

...

public: Geo::GeoPair< Geo::s32, Geo::s32 > GetMaxSolutionSize() const

...

The maximum size of an output system, in pixels.


Anchor
a24ba3c3ad54e58c0228581e3663c8969
a24ba3c3ad54e58c0228581e3663c8969

virtual Geo::s32 Enlighten::IPrecompBuildParameters::GetMinSamples

...

public: Geo::s32 GetMinSamples() const

...

Minimum number of input samples for a system.


Anchor
a43541b4fc6097881412c2f5a7f863628
a43541b4fc6097881412c2f5a7f863628

virtual Geo::GeoPair<Geo::s32, Geo::s32> Enlighten::IPrecompBuildParameters::GetMinSolutionSize

...

public: Geo::GeoPair< Geo::s32, Geo::s32 > GetMinSolutionSize() const

...

The minimum size of an output system, in pixels.


Anchor
a60f24fe4cf4fd9fd3f488b28addae72d
a60f24fe4cf4fd9fd3f488b28addae72d

virtual float Enlighten::IPrecompBuildParameters::GetModellingTolerance

...

public: float GetModellingTolerance() const

...

Radius controlling how close ray origins can be to other geometry, in cm.


Anchor
a8fa723376b653bed3691a86e02b26869
a8fa723376b653bed3691a86e02b26869

virtual Geo::s32 Enlighten::IPrecompBuildParameters::GetNSBudget

...

public: Geo::s32 GetNSBudget() const

...

Number of per-triangle visibility samples to use for computing triangle visibility and input sample visibility.

These visibilities are used by the clustering metric, triangle and input sample culling.


Anchor
ae6a8c0766c5184b8c84402ef86426fd9
ae6a8c0766c5184b8c84402ef86426fd9

virtual Geo::s32 Enlighten::IPrecompBuildParameters::GetNumTerrainLODLevels

...

public: Geo::s32 GetNumTerrainLODLevels() const

...

If terrain LODs are being generated, specifies how many LODs to generate.


Anchor
a45c7a31a550fec6dc1b8598b6ae185e7
a45c7a31a550fec6dc1b8598b6ae185e7

virtual bool Enlighten::IPrecompBuildParameters::GetPixelStitching

...

public: bool GetPixelStitching() const

...

Whether to use pixel stitching.


Anchor
aeb996a4c7532be7d2beb286166e05f2a
aeb996a4c7532be7d2beb286166e05f2a

virtual float Enlighten::IPrecompBuildParameters::GetPixelStitchingNormalDotProduct

...

public: float GetPixelStitchingNormalDotProduct() const

...

Maximum dot product of normals for pixels to be stitchable.


Anchor
a161de1bf94f3304848ad2ea8c07d2718
a161de1bf94f3304848ad2ea8c07d2718

virtual bool Enlighten::IPrecompBuildParameters::GetSafe16BitClustering

...

public: bool GetSafe16BitClustering() const

...

High quality clustering visibility weighting.

A value of 0 means that only position information is used for clustering, a value of 1 means only visibility information is used. Generally, a value close to 1 should be used..


Anchor
a6598fc87c9cbc0ad4005dd539d019100
a6598fc87c9cbc0ad4005dd539d019100

virtual float Enlighten::IPrecompBuildParameters::GetSampleCullingThreshold

...

public: float GetSampleCullingThreshold() const

...

Threshold controlling input (duster) sample culling behaviour.

If the visibility of the sample is less than this threshold the sample is culled. Visibility is defined as the fraction of visible front-faces over the number of samples used for visibility (NSBudget). A value of 0, turns off sample culling. A value of 1 rejects the sample if any back-face is visible.


Anchor
ae0f28be4036b659adcba09b7f3c57323
ae0f28be4036b659adcba09b7f3c57323

virtual Geo::s32 Enlighten::IPrecompBuildParameters::GetSamplesPerCluster

...

public: Geo::s32 GetSamplesPerCluster() const

...

The number of input samples per cluster.


Anchor
a5553f580eec703dbbb609c40b305cef7
a5553f580eec703dbbb609c40b305cef7

virtual Geo::s32 Enlighten::IPrecompBuildParameters::GetShadowFaces

...

public: Geo::s32 GetShadowFaces() const

...

Deprecated ShadowFace API.

Which faces of the input geometry should block incoming light when calculating shadows for directional visibility. This is now a material setting, set on the m_ShadowfaceBehaviourType member of the Enlighten::PrecompMaterialInfo passed to IPrecompInputSystem::SetMaterialInfo(). To aid migration, values set with this deprecated API will be preferred over values set with the new material API. The default value is kShadowFaceUseMaterialAPI.


Anchor
a9c58ba5d23ec5ba592fc719aef428271
a9c58ba5d23ec5ba592fc719aef428271

virtual float Enlighten::IPrecompBuildParameters::GetStitchingDistanceMultiplier

...

public: float GetStitchingDistanceMultiplier() const

...

Maximum distance between charts for them to be stitchable, as a multiple of output pixel size.


Anchor
a7d0f6f27455c778b777bfca6233fb33a
a7d0f6f27455c778b777bfca6233fb33a

virtual float Enlighten::IPrecompBuildParameters::GetStitchingNormalDotProduct

...

public: float GetStitchingNormalDotProduct() const

...

Maximum dot product of normals for charts to be stitchable.


Anchor
a97a7c68d86efee412aaa86055001f7d9
a97a7c68d86efee412aaa86055001f7d9

virtual float Enlighten::IPrecompBuildParameters::GetTriangleCullingThreshold

...

public: float GetTriangleCullingThreshold() const

...

Threshold controlling visibility-based cluster triangle culling behaviour.

If the visibility of the triangle is less than this threshold the triangle is rejected and not part of the clustering; thus it will get no input samples. Visibility is defined as the fraction of visible front-faces over the hemisphere of the cluster. A value of 0 turns off visibility-based cluster triangle culling. A value of 1 rejects the cluster triangle if any back-face is visible.


Anchor
a9f0850837e40f23c0620507933a01a8f
a9f0850837e40f23c0620507933a01a8f

virtual Geo::s32 Enlighten::IPrecompBuildParameters::GetValidOverhangDistance

...

public: Geo::s32 GetValidOverhangDistance() const

...

The valid overhang distance for mesh projection.

Controls the number of pixels that detail charts should be allowed to overhang target charts before we consider the overhang to be 'naughty' and appear in the DoDebugColouring output. The default is 1 pixel. Zero or negative numbers are valid and imply no overhang is valid.


Anchor
a999636beaf3a4a7cbe1de763ff612122
a999636beaf3a4a7cbe1de763ff612122

virtual Enlighten::WorldAxis Enlighten::IPrecompBuildParameters::GetVerticalAxis

...

public: Enlighten::WorldAxis GetVerticalAxis() const

...

The axis aligned vector pointing directly upwards.


Anchor
ac9904bf55621f6708a3543d7cdc7158f
ac9904bf55621f6708a3543d7cdc7158f

virtual bool Enlighten::IPrecompBuildParameters::GetViewsDisabled

...

public: bool GetViewsDisabled() const

...

Whether to disable viewsets.


Anchor
a8aa5a6a283c697e423ae6f85eaed82cb
a8aa5a6a283c697e423ae6f85eaed82cb

virtual float Enlighten::IPrecompBuildParameters::GetViewVoxelMultiplier

...

public: float GetViewVoxelMultiplier() const

...

Size of voxel grid to use for automatic viewsets, as a multiplier of (minimum) output pixel size.


Anchor
a84877a70fd99317492da1c8c69b7815f
a84877a70fd99317492da1c8c69b7815f

virtual float Enlighten::IPrecompBuildParameters::GetVisibilityThreshold

...

public: float GetVisibilityThreshold() const

...

The error allowed for reducing the number of form factors for each spherical output sample.


Anchor
a4c17ebd13cbe2534bb2597edf4d6e9ca
a4c17ebd13cbe2534bb2597edf4d6e9ca

virtual bool Enlighten::IPrecompBuildParameters::Load

...

public: bool Load
(
    Geo::IGeoInputStream & stream,
    Geo::u32 section
)

...

Load an instance of this class from an IGeoStream.


Anchor
af57c2cf0fc93287548ed4360876e1de1
af57c2cf0fc93287548ed4360876e1de1

virtual bool Enlighten::IPrecompBuildParameters::RequiresTerrainLODs

...

public: bool RequiresTerrainLODs() const

...

Whether to create "terrain" LODs.


Anchor
a108af2d2ffb79bae2214f27ce1265b00
a108af2d2ffb79bae2214f27ce1265b00

virtual bool Enlighten::IPrecompBuildParameters::RequiresTerrainPackingPadding

...

public: bool RequiresTerrainPackingPadding() const

...

If terrain LODs are being generated, specifies whether half a pixel padding should be added to final terrain system atlas.

Setting to false enables world-space packing.


Anchor
a407f23f6ab938f1d5ff493e122c4d82b
a407f23f6ab938f1d5ff493e122c4d82b

virtual bool Enlighten::IPrecompBuildParameters::Save

...

public: bool Save
(
    Geo::IGeoStream & stream,
    Geo::u32 section
) const

...

Save an instance of this class to an IGeoStream.


Anchor
a292a12c24842999f81f3f99e6f9f6fcb
a292a12c24842999f81f3f99e6f9f6fcb

virtual void Enlighten::IPrecompBuildParameters::SetAlignedEdgeStitching

...

public: void SetAlignedEdgeStitching
(
    bool b
)

...

Whether to use edge stitching.


Anchor
a0261db4074c2f8f54e319b5362ddbd77
a0261db4074c2f8f54e319b5362ddbd77

virtual void Enlighten::IPrecompBuildParameters::SetBackFaceTolerance

...

public: void SetBackFaceTolerance
(
    float v
)

...

Whether to reject ray origins which can see any back face (if false, we only reject ray origins if they see nothing but back faces).


Anchor
a95240fe0795fcdc69a5f8adac6c4d92a
a95240fe0795fcdc69a5f8adac6c4d92a

virtual void Enlighten::IPrecompBuildParameters::SetClusterSize

...

public: void SetClusterSize
(
    float s
)

...

The size of an input cluster.


Anchor
a4168d6158811b25d217e1cae0d62a68a
a4168d6158811b25d217e1cae0d62a68a

virtual void Enlighten::IPrecompBuildParameters::SetClusterTolerance

...

public: void SetClusterTolerance
(
    float s
)

...

The strictness with which the geometry is voxelised during preclustering.


Anchor
ac330eff22b0968d92ec6162c17f682d8
ac330eff22b0968d92ec6162c17f682d8

virtual void Enlighten::IPrecompBuildParameters::SetComputeRayOriginOutput

...

public: void SetComputeRayOriginOutput
(
    bool b
)

...

General Debugging Options -------------------------------------------------- Whether to compute ray origin output during light transport.

Ray origin output is useful for debugging radiosity issues. The default value is false.


Anchor
a4471722fade6b019bc0ec919f34aaa3e
a4471722fade6b019bc0ec919f34aaa3e

virtual void Enlighten::IPrecompBuildParameters::SetCTDiv

...

public: void SetCTDiv
(
    float v
)

...

Number of children per node in the cluster hierarchy.


Anchor
a0ed329b11ea99059f590d05c7ea582e6
a0ed329b11ea99059f590d05c7ea582e6

virtual void Enlighten::IPrecompBuildParameters::SetDependencyIncludedSystemDistance

...

public: void SetDependencyIncludedSystemDistance
(
    float v
)

...

Bounding box of the system whose dependencies are being calculated is expanded by this distance in all directions.

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
a961a48e78f1b23cc69e23ba44e5a8e82
a961a48e78f1b23cc69e23ba44e5a8e82

virtual void Enlighten::IPrecompBuildParameters::SetDependencyLocalityDistance

...

public: void SetDependencyLocalityDistance
(
    float v
)

...

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


Anchor
afc31e90a340370e9a131499bef395516
afc31e90a340370e9a131499bef395516

virtual void Enlighten::IPrecompBuildParameters::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
ac254f8dc58f1814bcf0be8fef5a46a70
ac254f8dc58f1814bcf0be8fef5a46a70

virtual void Enlighten::IPrecompBuildParameters::SetDirectionalIrradiance

...

public: void SetDirectionalIrradiance
(
    bool b
)

...

Whether to generate directional irradiance output.


Anchor
a910ab77de2577eb031fe00cd5af55237
a910ab77de2577eb031fe00cd5af55237

virtual void Enlighten::IPrecompBuildParameters::SetDirectionalVisibilityDirectionsPerByte

...

public: void SetDirectionalVisibilityDirectionsPerByte
(
    Geo::s32 v
)

...

Number of visibility samples to store per byte for precomputed directional visibility.

The default value is 4 (2 bits per direction). Valid values are 1,2,4 and 8. 8 produces the best compression, 1 the best quality. 4 produces the best size / quality balance.


Anchor
a0a4775253a5f6b96496e82a8525e7b71
a0a4775253a5f6b96496e82a8525e7b71

virtual void Enlighten::IPrecompBuildParameters::SetDirectionalVisibilitySlices

...

public: void SetDirectionalVisibilitySlices
(
    Geo::s32 v
)

...

Number of vertical sphere slices for precomputed directional visibility storage.

The number of sampled visibility directions will be roughly the square of this number. Defaults to 27 (875 sampled directions). Valid values range between 2 and 64.


Anchor
a8d24b22ef4869603faac02d3e858c8ce
a8d24b22ef4869603faac02d3e858c8ce

virtual void Enlighten::IPrecompBuildParameters::SetEdgeStitching

...

public: void SetEdgeStitching
(
    bool b
)

...

Whether to use edge stitching.


Anchor
a9e345308483114a5e87d7a2f7e29872e
a9e345308483114a5e87d7a2f7e29872e

virtual void Enlighten::IPrecompBuildParameters::SetEdgeStitchingDistanceMultiplier

...

public: void SetEdgeStitchingDistanceMultiplier
(
    float v
)

...

Maximum distance between edges for them to be stitchable, as a multiple of output pixel size.


Anchor
adc6e94aa10b7f97393c67f19e4d7f5e8
adc6e94aa10b7f97393c67f19e4d7f5e8

virtual void Enlighten::IPrecompBuildParameters::SetEnvironmentResolution

...

public: void SetEnvironmentResolution
(
    Geo::s32 v
)

...

The resolution for each face of the environment map.


Anchor
af9dc34c155b2794e1bbc70141f44f9ef
af9dc34c155b2794e1bbc70141f44f9ef

virtual void Enlighten::IPrecompBuildParameters::SetEnvironmentValidity

...

public: void SetEnvironmentValidity
(
    Enlighten::EnvironmentValidity v
)

...

Limits the region of the environment that is valid.

Indirect lighting data is not generated for surfaces that see invalid regions of the environment. When a non-default value is specified, the vertical axis parameter must also be specified.


Anchor
a99529edc91b73e5a2b39c04c89e41fa5
a99529edc91b73e5a2b39c04c89e41fa5

virtual void Enlighten::IPrecompBuildParameters::SetExcludeEnvironmentInPrimaryBounce

...

public: void SetExcludeEnvironmentInPrimaryBounce
(
    bool b
)

...

Whether to exclude the environment form factors from the rad core data which is used for solving to the lightmap.


Anchor
a462dd1254b5b55e5bf40fb326a77aeee
a462dd1254b5b55e5bf40fb326a77aeee

virtual void Enlighten::IPrecompBuildParameters::SetGenerateClusterProbeSampleOffsets

...

public: void SetGenerateClusterProbeSampleOffsets
(
    bool b
)

...

Whether to generate per cluster offsets for sampling probes.


Anchor
a20ae8680ff79678a3525a0dd7a265171
a20ae8680ff79678a3525a0dd7a265171

virtual void Enlighten::IPrecompBuildParameters::SetHQVisWeight

...

public: void SetHQVisWeight
(
    float v
)

...

High quality clustering visibility weighting.

A value of 0 means that only position information is used for clustering, a value of 1 means only visibility information is used. Generally, a value close to 1 should be used..


Anchor
abb80a9d62f8d77d73e8446b0cdf35b76
abb80a9d62f8d77d73e8446b0cdf35b76

virtual void Enlighten::IPrecompBuildParameters::SetImportance

...

public: void SetImportance
(
    float s
)

...

A relative importance multiplier for this system in the global light transport step.

The default value is 1.0. Higher values should only be used for area light geometry in its own dedicated system (which is known to be a bright source of illumination at precompute time). Setting a high importance will ensure that the area light geometry is retained during the light transport compression step. If you use a high importance multiplier, you should also ensure that area lights have as few clusters as possible.


Anchor
ac0d69300ba3fa24f26ce7f1c948b8b9b
ac0d69300ba3fa24f26ce7f1c948b8b9b

virtual void Enlighten::IPrecompBuildParameters::SetIrradianceBudget

...

public: void SetIrradianceBudget
(
    Geo::s32 v
)

...

The number of form factors to store per irradiance output sample.


Anchor
a51c347e344b6eff93c44b41d479075fb
a51c347e344b6eff93c44b41d479075fb

virtual void Enlighten::IPrecompBuildParameters::SetIrradiancePushOff

...

public: void SetIrradiancePushOff
(
    float v
)

...

Push off for irradiance form factor rays, in cm.


Anchor
a02c3ff4608026fcc337500d3a088e2bb
a02c3ff4608026fcc337500d3a088e2bb

virtual void Enlighten::IPrecompBuildParameters::SetIrradianceQuality

...

public: void SetIrradianceQuality
(
    Geo::s32 v
)

...

The number of rays to cast for computing irradiance form factors.


Anchor
a7463b6e6baa08b375216e29efd45e44c
a7463b6e6baa08b375216e29efd45e44c

virtual void Enlighten::IPrecompBuildParameters::SetITBudget

...

public: void SetITBudget
(
    Geo::s32 v
)

...

Maximum number of clustering iterations.


Anchor
a089e7f4f51de130f3cce904ea6ef1a8b
a089e7f4f51de130f3cce904ea6ef1a8b

virtual void Enlighten::IPrecompBuildParameters::SetLCEpsilon

...

public: void SetLCEpsilon
(
    float v
)

...

Clustering iteration termination error threshold.


Anchor
a639b15fa574001fd42ea3e7b6694fa65
a639b15fa574001fd42ea3e7b6694fa65

virtual void Enlighten::IPrecompBuildParameters::SetMaxSamples

...

public: void SetMaxSamples
(
    Geo::s32 max
)

...

Maximum number of input samples for a system.


Anchor
ad157495ca2a4f7071f03cf0e58ddb72c
ad157495ca2a4f7071f03cf0e58ddb72c

virtual void Enlighten::IPrecompBuildParameters::SetMaxSolutionSize

...

public: void SetMaxSolutionSize
(
    Geo::s32 x,
    Geo::s32 y
)

...

The maximum size of an output system, in pixels.


Anchor
a7820eaf546a3b710ae5a7b475a62dbe2
a7820eaf546a3b710ae5a7b475a62dbe2

virtual void Enlighten::IPrecompBuildParameters::SetMinSamples

...

public: void SetMinSamples
(
    Geo::s32 min
)

...

Minimum number of input samples for a system.


Anchor
a5bfc35d7e31cc8f0243379cb65a9f869
a5bfc35d7e31cc8f0243379cb65a9f869

virtual void Enlighten::IPrecompBuildParameters::SetMinSolutionSize

...

public: void SetMinSolutionSize
(
    Geo::s32 x,
    Geo::s32 y
)

...

The minimum size of an output system, in pixels.


Anchor
a5d4b6bbfe21e6c863e19f66c470c02af
a5d4b6bbfe21e6c863e19f66c470c02af

virtual void Enlighten::IPrecompBuildParameters::SetModellingTolerance

...

public: void SetModellingTolerance
(
    float v
)

...

Radius controlling how close ray origins can be to other geometry, in cm.


Anchor
a890b182488fd8708892ed2d2678e29a7
a890b182488fd8708892ed2d2678e29a7

virtual void Enlighten::IPrecompBuildParameters::SetNSBudget

...

public: void SetNSBudget
(
    Geo::s32 v
)

...

Number of per-triangle visibility samples to use for computing triangle visibility and input sample visibility.

These visibilities are used by the clustering metric, triangle and input sample culling.


Anchor
a678a504e7119ebd7b5a507ea7688533c
a678a504e7119ebd7b5a507ea7688533c

virtual void Enlighten::IPrecompBuildParameters::SetNumTerrainLODLevels

...

public: void SetNumTerrainLODLevels
(
    Geo::s32 v
)

...

If terrain LODs are being generated, specifies how many LODs to generate.


Anchor
a70f81e650b97dbb865ed49643d42aef2
a70f81e650b97dbb865ed49643d42aef2

virtual void Enlighten::IPrecompBuildParameters::SetPixelStitching

...

public: void SetPixelStitching
(
    bool b
)

...

Whether to use pixel stitching.


Anchor
ac6efb80ac4dc5204078922145c9ffdbf
ac6efb80ac4dc5204078922145c9ffdbf

virtual void Enlighten::IPrecompBuildParameters::SetPixelStitchingNormalDotProduct

...

public: void SetPixelStitchingNormalDotProduct
(
    float v
)

...

Maximum dot product of normals for pixels to be stitchable.


Anchor
ad98def7979df9942b06c2fda52e1adad
ad98def7979df9942b06c2fda52e1adad

virtual void Enlighten::IPrecompBuildParameters::SetRequiresTerrainLODs

...

public: void SetRequiresTerrainLODs
(
    bool b
)

...

Whether to create "terrain" LODs.


Anchor
aea9cde32ab151522675e3461409d56a7
aea9cde32ab151522675e3461409d56a7

virtual void Enlighten::IPrecompBuildParameters::SetRequiresTerrainPackingPadding

...

public: void SetRequiresTerrainPackingPadding
(
    bool b
)

...

If terrain LODs are being generated, specifies whether half a pixel padding should be added to final terrain system atlas.

Setting to false enables world-space packing.


Anchor
aae31d0cc325e97f9773d22a931a8a758
aae31d0cc325e97f9773d22a931a8a758

virtual void Enlighten::IPrecompBuildParameters::SetSafe16BitClustering

...

public: void SetSafe16BitClustering
(
    bool v
)

...

Whether to enforce that clustering creates no more than 65535 clusters such that a cluster index will fit in an unsigned integer.


Anchor
ae7638d69cd47790f6e45928276095e4a
ae7638d69cd47790f6e45928276095e4a

virtual void Enlighten::IPrecompBuildParameters::SetSampleCullingThreshold

...

public: void SetSampleCullingThreshold
(
    float v
)

...

Threshold controlling input (duster) sample culling behaviour.

If the visibility of the sample is less than this threshold the sample is culled. Visibility is defined as the fraction of visible front-faces over the number of samples used for visibility (NSBudget). A value of 0, turns off sample culling. A value of 1 rejects the sample if any back-face is visible.


Anchor
a26b77e6cb9ad5a6d731a6dd31a06a430
a26b77e6cb9ad5a6d731a6dd31a06a430

virtual void Enlighten::IPrecompBuildParameters::SetSamplesPerCluster

...

public: void SetSamplesPerCluster
(
    Geo::s32 v
)

...

The number of input samples per cluster.


Anchor
ad6a3ed1a5cba4fb974f95a10260ca1bc
ad6a3ed1a5cba4fb974f95a10260ca1bc

virtual void Enlighten::IPrecompBuildParameters::SetShadowFaces

...

public: void SetShadowFaces
(
    Geo::s32 shadowFaces
)

...

Deprecated ShadowFace API.

Which faces of the input geometry should block incoming light when calculating shadows for directional visibility. This is now a material setting, set on the m_ShadowfaceBehaviourType member of the Enlighten::PrecompMaterialInfo passed to IPrecompInputSystem::SetMaterialInfo(). To aid migration, values set with this deprecated API will be preferred over values set with the new material API. The default value is kShadowFaceUseMaterialAPI.


Anchor
a1002b807a495fa97428100aa983ecd6a
a1002b807a495fa97428100aa983ecd6a

virtual void Enlighten::IPrecompBuildParameters::SetStitchingDistanceMultiplier

...

public: void SetStitchingDistanceMultiplier
(
    float v
)

...

Maximum distance between charts for them to be stitchable, as a multiple of output pixel size.


Anchor
ae7cf0101f439d2d3622ca8f4b0646072
ae7cf0101f439d2d3622ca8f4b0646072

virtual void Enlighten::IPrecompBuildParameters::SetStitchingNormalDotProduct

...

public: void SetStitchingNormalDotProduct
(
    float v
)

...

Maximum dot product of normals for charts to be stitchable.


Anchor
a4477ebbb74bc5a3c603fd0c318caf775
a4477ebbb74bc5a3c603fd0c318caf775

virtual void Enlighten::IPrecompBuildParameters::SetTriangleCullingThreshold

...

public: void SetTriangleCullingThreshold
(
    float v
)

...

Threshold controlling visibility-based cluster triangle culling behaviour.

If the visibility of the triangle is less than this threshold the triangle is rejected and not part of the clustering; thus it will get no input samples. Visibility is defined as the fraction of visible front-faces over the hemisphere of the cluster. A value of 0 turns off visibility-based cluster triangle culling. A value of 1 rejects the cluster triangle if any back-face is visible.


Anchor
a7d8ef412889896c74d04c54ae4ec6980
a7d8ef412889896c74d04c54ae4ec6980

virtual void Enlighten::IPrecompBuildParameters::SetValidOverhangDistance

...

public: void SetValidOverhangDistance
(
    Geo::s32 v
)

...

The valid overhang distance for mesh projection.

Controls the number of pixels that detail charts should be allowed to overhang target charts before we consider the overhang to be 'naughty' and appear in the DoDebugColouring output. The default is 1 pixel. Zero or negative numbers are valid and imply no overhang is valid.


Anchor
a9b0f707cc87bf2b3c537f373ede1b9d7
a9b0f707cc87bf2b3c537f373ede1b9d7

virtual void Enlighten::IPrecompBuildParameters::SetVerticalAxis

...

public: void SetVerticalAxis
(
    Enlighten::WorldAxis v
)

...

The axis aligned vector pointing directly upwards.


Anchor
a8e485d5f863bedeb3b4800f5735a3d1b
a8e485d5f863bedeb3b4800f5735a3d1b

virtual void Enlighten::IPrecompBuildParameters::SetViewsDisabled

...

public: void SetViewsDisabled
(
    bool b
)

...

Whether to disable viewsets.


Anchor
ad45469c7ab68200fc7d2acdb9f9f1f61
ad45469c7ab68200fc7d2acdb9f9f1f61

virtual void Enlighten::IPrecompBuildParameters::SetViewVoxelMultiplier

...

public: void SetViewVoxelMultiplier
(
    float v
)

...

Size of voxel grid to use for automatic viewsets, as a multiplier of (minimum) output pixel size.


Anchor
aad5244a89fd42799bde6176722bd049a
aad5244a89fd42799bde6176722bd049a

virtual void Enlighten::IPrecompBuildParameters::SetVisibilityThreshold

...

public: void SetVisibilityThreshold
(
    float v
)

...

The error allowed for reducing the number of form factors for each spherical output sample.