raisin::RayraiWindow::RenderOverrides
struct · #include <rayrai/RayraiWindow.hpp>
Override shaders and rendering toggles when using external cameras.
For Camera-based external renders, drawVisualizationObjects and drawPointClouds enable only custom visuals, instanced visuals, and point clouds marked VisualCategory::Detectable. Non-detectable helper geometry remains visible in the normal interactive viewer but is skipped by these capture paths. The RaiSim RGB/depth sensor-camera overloads disable custom visualization objects and point clouds entirely, regardless of these toggles.
Public attributes
mesh
Shader *meshMesh shader override (defaults to shaders_["mesh"]).
pointcloud
Shader *pointcloudPoint cloud shader override (defaults to shaders_["pointcloud"]).
picking
Shader *pickingPicking shader override (defaults to shaders_["picking"]).
post
Shader *postPost-process shader override (defaults to shaders_["post"]).
doShadows
bool doShadowsEnable shadow passes.
drawCoordinateFrames
bool drawCoordinateFramesDraw coordinate frames.
drawPointClouds
bool drawPointCloudsDraw point clouds that are marked detectable in external-camera captures.
drawVisualizationObjects
bool drawVisualizationObjectsDraw custom visuals and instanced visuals that are marked detectable.
drawWeatherEffects
bool drawWeatherEffectsDraw viewer-only weather effects such as precipitation particles.
skipGroundObjects
bool skipGroundObjectsSkip halfspace and heightmap ground objects in scene-color rendering.
environmentBackgroundMap
unsigned int environmentBackgroundMapOptional cubemap rendered as a viewer background before scene geometry.
environmentBackgroundExposure
float environmentBackgroundExposureExposure applied to environmentBackgroundMap when rendered as background.
postProcess
bool postProcessApply external-camera postprocessing after rendering.
allowViewerMsaa
bool allowViewerMsaaAllow quality preset MSAA for this external render. Sensor overloads force this off.
allowTemporalAa
bool allowTemporalAaAllow quality preset temporal AA for this external render. Sensor overloads force this off.
allowViewerUpscale
bool allowViewerUpscaleAllow quality preset lower-resolution viewer rendering followed by upscale.
fixedShadowCenterEnabled
bool fixedShadowCenterEnabledUse fixedShadowCenter instead of the camera-derived directional shadow center, so offline multi-view captures share one shadow region. Uses one cascade; normal shadow dirty tracking remains active.
fixedShadowCenter
glm::vec3 fixedShadowCenterWorld-space directional shadow center used when fixedShadowCenterEnabled is true.