This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

class Enlighten::DynamicObject

Class representing the local bounding box and corresponding output probe resolution of a dynamic object, so that it can be lit with volume textures of SH probe data.

Variables

Name Description
Geo::GeoGuid m_Id

GUID identifying the dynamic object.

Geo::GeoBoundingBox m_LocalBoundingBox

Axis-aligned bounding box of the object in local coordinates.

Geo::s32 m_XRes

Resolution of the output volume texture in the local X axis.

Geo::s32 m_YRes

Resolution of the output volume texture in the local Y axis.

Geo::s32 m_ZRes

Resolution of the output volume texture in the local Z axis.

Functions

Name Description
GetLocalProbePosition(Geo::s32, Geo::s32, Geo::s32)

Helper function to compute the position of the (xth, yth, zth) probe in local space, computed from the bounding box and resolutions.


Geo::v128 Enlighten::DynamicObject::GetLocalProbePosition


public: Geo::v128 GetLocalProbePosition
(
    Geo::s32 x,
    Geo::s32 y,
    Geo::s32 z
) const


Helper function to compute the position of the (xth, yth, zth) probe in local space, computed from the bounding box and resolutions.

  • No labels