class

FScanSplatField

Gaussian splats grown from the accumulated scan (§29 A6). Each chunk of the persistent cloud is binned into cells; a cell with enough points becomes one splat fitted to them: mean position, covariance from the points' spread (eigen-decomposed into oriented axes), opacity from how often the surface was hit. A chunk refits only when its points changed, so the field grows as the player keeps scanning and costs nothing while they do not.

Module
Game
Header
#include "PointCloud/ScanSplatField.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
voidConfigure
const FScanSplatSettings&GetSettings
uint32_tUpdateRefits up to maxChunks chunks whose points changed since their last fit (and drops chunks the accumulator no longer holds).
const std::vector<FGaussianSplat>&GetSplatsEvery splat, chunks in sector order.
uint64_tVersion
uint32_tChunkCount
voidClear
boolFitCellThe fit itself: one splat from a cell's points.
voidSymmetricEigenSymmetric 3x3 eigen-decomposition (cyclic Jacobi): eigenvalues descending, eigenvectors as rows of outVectors.

Function details

Configure

C++
void Configure(const FScanSplatSettings& settings)

GetSettings

C++
const FScanSplatSettings& GetSettings() const

Update

C++
uint32_t Update(const FPointCloudAccumulator& accumulator, uint32_t maxChunks = 8)

Refits up to maxChunks chunks whose points changed since their last fit (and drops chunks the accumulator no longer holds). Returns how many chunks were refit.

GetSplats

C++
const std::vector<FGaussianSplat>& GetSplats()

Every splat, chunks in sector order. Rebuilt lazily after an Update changed something; Version() moves exactly then.

Version

C++
uint64_t Version() const

ChunkCount

C++
uint32_t ChunkCount() const

Clear

C++
void Clear()

FitCell

C++
static bool FitCell(const Vec3* points, uint32_t count, const FScanSplatSettings& settings, FGaussianSplat& out)

The fit itself: one splat from a cell's points. False when there are too few. Public for the fitting row.

SymmetricEigen

C++
static void SymmetricEigen(const double m[3][3], double outValues[3], double outVectors[3][3])

Symmetric 3x3 eigen-decomposition (cyclic Jacobi): eigenvalues descending, eigenvectors as rows of outVectors.

Generated from PointCloud/ScanSplatField.h via game.json · Nov 5, 2026Version 1.0.0