Skip to content

raisin::BakedIrradianceGrid ​

struct · #include <rayrai/BakedIrradiance.hpp>

Regular 3D grid of irradiance probes spanning an axis-aligned box.

Public member functions ​

validate ​

cpp
void validate() const

Throws std::invalid_argument for bad dimensions/bounds, a probe count mismatch, or non-finite / out-of-range coefficients.

Public attributes ​

dimensions ​

cpp
glm::ivec3 dimensions

Probe count per axis (2 to 256 each).

minimum ​

cpp
glm::vec3 minimum

maximum ​

cpp
glm::vec3 maximum

centers of outermost probes

probes ​

cpp
std::vector<IrradianceProbe> probes

x fastest, then y, then z

RaiSim — physics for robotics and AI.