raisim::rscene::GaussianSplat
struct · #include <raisim/Rscene.hpp>
A gaussian_splat record: a captured 3D Gaussian Splatting scene that viewers draw (render only; physics needs separate collision geometry). Only enabled records are loaded. The record is gaussian_splat [path] file=<splat file> position=x,y,z quaternion=w,x,y,z scale=s detectable=true segmentation=object,body,label maxShDegree=3 shQuality=standard|high with every key but file optional.
Public attributes
path
std::string pathScene node path (may be empty).
file
std::string fileThe splat file (Inria .ply, compressed .ply, .spz or .splat).
position
Vec3 positionPosition of the file origin in the world frame (m).
rotation
Quat rotationRotation from the file frame to the world frame (w, x, y, z).
scale
double scaleUniform scale from file units to metres (> 0).
detectable
bool detectableSeen by sensors (camera, depth and segmentation renders).
segmentationObject
int segmentationObjectSegmentation object, body and label ids where the splats win a pixel.
segmentationBody
int segmentationBodysegmentationLabel
int segmentationLabelmaxShDegree
int maxShDegreeHighest spherical-harmonics degree loaded (0 to 3).
highQualitySh
bool highQualityShStore the spherical-harmonics terms above degree 0 as 16-bit floats instead of 8 bits.