splat-transform API Reference - v2.4.0
    Preparing search index...

    Type Alias Projection

    Projection: "pinhole" | "equirect"

    Camera projection mode for headless splat rendering.

    • pinhole — standard perspective projection with fovY as the vertical field of view. Splats are culled by camera-space cz <= near.
    • equirect — full 360° × 180° equirectangular panorama from the camera position. fovY is unused (the projection covers the entire sphere); width must equal 2 × height (standard 2:1 panorama aspect). Splats are culled by radial distance r <= near.

    For both modes the right/down/forward basis derived from position, target, and up defines the orientation. In equirect mode, image-x = 0 maps to azimuth -π (behind the camera, left edge) and image-x = width/2 maps to the forward direction; image-y = 0 is the zenith and image-y = height is the nadir.