SogBundle¶
from acron.sog import SogBundle
- class SogBundle(native: GSplatBundle)¶
Bases:
objectA splat bundle: the native
GSplatBundle(native) and its planes as memoryviews. Built by the readers and the encoders, not by hand.Inheritance diagram
digraph inheritancef707b330f7 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "SogBundle" [URL="acron.sog.SogBundle.html#acron.sog.SogBundle",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="A splat bundle: the native ``GSplatBundle`` (:attr:`native`) and its"]; }- property codebook: SplatArray¶
scales, sh0, shN codebooks, 0 — the LUT the shader samples (a read-only view of the native codebook).
- Type:
(256, 4) float32
- property means_bounds: tuple[LVecBase3f, LVecBase3f]¶
- property planes: dict¶
name -> (H, W, 4) uint8 memoryview in image order (row 0 = top), over the native plane (no copy; read-only).
- property sh_coeffs_per_channel: int¶
Coefficients per colour channel the bundle’s palette holds (3 / 8 / 15 for 1 / 2 / 3 bands), from the centroid image’s width.
- sh_entries_per_row¶
Palette entries per centroid-image row (64 in a .sog; wider for a direct palette).