raisin::RenderOverrides
struct · #include <rayrai/RenderOverrides.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, point clouds and coordinate frames entirely, regardless of these toggles; they also force MSAA, temporal AA and viewer upscaling off and set drawWeatherEffects from WeatherSettings::affectSensors.
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 weather screen effects such as precipitation particles (sensor overloads use WeatherSettings::affectSensors instead).
skipGroundObjects
bool skipGroundObjectsSkip halfspace and heightmap ground objects in scene-color rendering.
environmentBackgroundMap
unsigned int environmentBackgroundMapOptional GL cubemap rendered as the background before scene geometry; 0 = none.
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 RenderQualitySettings::viewerRenderScale below 1 (render low-res, then upscale). Sensor overloads force this off.