Skip to content

raisin::StreamedTerrain::Settings ​

struct · #include <rayrai/StreamedTerrain.hpp>

Layout and per-patch geometry parameters.

Public attributes ​

intervals ​

cpp
unsigned int intervals

Patch grid intervals per side; power of two in [2, 256].

finestPatchSize ​

cpp
double finestPatchSize

See terrainPatchLayout(). A new layout starts when an observer moves half of finestPatchSize from where the current one was planned.

splitScale ​

cpp
double splitScale

patchBudget ​

cpp
size_t patchBudget

Maximum patches per layout, and new patches prepared per update() call (>= 1).

uploadBudget ​

cpp
size_t uploadBudget

skirtDepth ​

cpp
double skirtDepth

TerrainPatch skirt depth and texture repeat distance.

textureRepeatMeters ​

cpp
double textureRepeatMeters

RaiSim — physics for robotics and AI.