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() constthrows invalid_argument; does not need a GL context
Public attributes
dimensions
cpp
glm::ivec3 dimensionsProbe count per axis (2 to 256 each).
minimum
cpp
glm::vec3 minimummaximum
cpp
glm::vec3 maximumCenters of the outermost probes.
values
cpp
std::vector<float> valuesdimensions.x * y * z values in [0, 1].