Skip to main content

Crate spatialrust_scene

Crate spatialrust_scene 

Source
Expand description

TSDF volumes, surfaces, triangle meshes, and optional Gaussian scenes.

Enable gaussian for anisotropic primitives and a CPU soft-splat renderer.

Structs§

GaussianCamera
Pinhole camera used by the CPU Gaussian soft-splat renderer.
GaussianFramebuffer
Packed RGBA8 framebuffer from render_gaussians_cpu.
GaussianPrimitive
One anisotropic Gaussian primitive.
GaussianScene
Host-side Gaussian scene container.
Surfel
One oriented disc surfel.
SurfelCloud
Collection of surfels.
TriangleMesh
Indexed triangle mesh with interleaved XYZ positions.
TsdfVolume
Axis-aligned truncated signed distance volume.

Enums§

SceneError
Failures while building or extracting scenes.

Functions§

render_gaussians_cpu
Renders a Gaussian scene with a CPU alpha soft-splat (front-to-back).

Type Aliases§

SceneResult
Result type for scene operations.