Skip to content

raisin::SkyVisibilityGrid ​

struct · #include <rayrai/SkyVisibility.hpp>

Static, scalar environment visibility, x fastest, then y, then z. 1 = open environment; 0 = occluded. This does not contain bounced radiance. Bounds identify the centers of the outermost probes, in world coordinates.

Public member functions ​

validate ​

cpp
void validate() const

throws invalid_argument; does not need a GL context

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 the outermost probes.

values ​

cpp
std::vector<float> values

dimensions.x * y * z values in [0, 1].

RaiSim — physics for robotics and AI.