Skip to content

raisin::RayraiWindow::ReflectionProbeCaptureSettings ​

struct · #include <rayrai/RayraiWindow.hpp>

Explicit static reflection-probe capture settings.

Probe capture is never automatic. Applications call captureReflectionProbeCubemap() when they want a bounded real-time local reflection approximation. Custom visuals, instanced visuals, and point clouds are captured only when their draw toggles are enabled and they are marked detectable.

Public attributes ​

resolution ​

cpp
int resolution

Cubemap face size in pixels, clamped to [16, 512].

drawVisualizationObjects ​

cpp
bool drawVisualizationObjects

Draw custom visuals and instanced visuals that are marked detectable.

drawCoordinateFrames ​

cpp
bool drawCoordinateFrames

Draw coordinate frames into the probe.

drawPointClouds ​

cpp
bool drawPointClouds

Draw point clouds that are marked detectable.

doShadows ​

cpp
bool doShadows

Render shadows while capturing.

includeEnvironmentBackground ​

cpp
bool includeEnvironmentBackground

Draw environmentBackgroundMap behind the captured scene.

environmentBackgroundMap ​

cpp
unsigned int environmentBackgroundMap

Background cubemap used when includeEnvironmentBackground is true.

environmentBackgroundExposure ​

cpp
float environmentBackgroundExposure

Exposure applied to environmentBackgroundMap.

RaiSim — physics for robotics and AI.