class Enlighten IBakeInputRuntime

This is the documentation for Enlighten.

class Enlighten IBakeInputRuntime

class Enlighten::IBakeInputRuntime

    └>Geo::IGeoSerialisable
        └>Geo::IGeoReleasable

The Enlighten runtime objects; RadDataCore, InputWorkspace, et al.

Functions

Name

Description

Name

Description

AddProbeSet(RadProbeSetCore *, CpuEnvironment *, const IPrecompOutputProbeSet *)

Adds an Enlighten probeset to the runtime solver.

AddSystem(RadSystemCore *, IPrecompRadiosityNormalTexture *, CpuEnvironment *, InputWorkspace *, ClusterAlbedoWorkspaceMaterialData *)

Adds an Enlighten system to the runtime solver.

Create()

Create a new IBakeInputRuntime.

Load(IGeoInputStream &, Geo::u32)

Load an instance of this class from an IGeoInputStream.

Release()

Free this object that was created within the Enlighten libraries.

Save(IGeoStream &, Geo::u32)

Save an instance of this class to an IGeoStream.

SetBounceScale(float)

Set the bounce scale used during the indirect lighting calculation based on the runtime data.

SetDefaultEnvironment(CpuEnvironment *)

Adds an emissive environment to the light input. Takes ownership.



virtual bool Enlighten::IBakeInputRuntime::AddProbeSet


public: bool AddProbeSet
(
    RadProbeSetCore * probeSet,
    CpuEnvironment * environment,
    const IPrecompOutputProbeSet * pOutputProbeSet
)


Adds an Enlighten probeset to the runtime solver.

Takes ownership.

Parameters

[in]

probeSet

RadProbeSetCore that contains the precomputed data for the probe set

[in]

environment

Environment map to be used by probe set

[in]

pOutputProbeSet

IPrecompOutputProbeSet for the probe set created during the precompute

 



virtual bool Enlighten::IBakeInputRuntime::AddSystem


public: bool AddSystem
(
    RadSystemCore * radCore,
    IPrecompRadiosityNormalTexture * normalTexture,
    CpuEnvironment * environment,
    InputWorkspace * inputWorkspace,
    ClusterAlbedoWorkspaceMaterialData * cawMaterialData
)


Adds an Enlighten system to the runtime solver.

Takes ownership.

Parameters

[in]

radCore

RadSystemCore that contains the precomputed data for the system

[in]

normalTexture

Radiosity normal texture to be used by system

[in]

environment

Environment map to be used by system

[in]

inputWorkspace

InputWorkspace to use for system

[in]

cawMaterialData

Material data to use for system