Versions Compared

Key

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

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

NameDescription
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

NameDescription
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.


Anchor
a750394b4619ef70dbe72d13063c55881
a750394b4619ef70dbe72d13063c55881

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.