gausplat_renderer::scene::gaussian_3d

Static POLYGON_HEADER_3DGS

source
pub static POLYGON_HEADER_3DGS: LazyLock<Header>
Expand description

A polygon file header for 3DGS.

Click to expand
ply
format binary_little_endian 1.0
comment This polygon file header uses 3DGS PLY format.
comment Each vertex represents a Gaussian ellipsoid with view-dependent color.
comment x y z      := Position as a 3D vector.
comment nx ny nz   := Normal that is unused.
comment f_dc_{i}   := Color SH features of index 0 to 2.
comment f_rest_{i} := Color SH features of index 3 to 47.
comment opacity    := Opacity with inverse sigmoid function applied.
comment scale_{i}  := Scale with natural logarithm function applied.
comment rot_{i}    := Rotation that is a Hamiltonian quaternion in scalar-first order.
element vertex 0
property float x
property float y
property float z
property float nx
property float ny
property float nz
property float f_dc_0
property float f_dc_1
property float f_dc_2
property float f_rest_0
property float f_rest_1
property float f_rest_2
property float f_rest_3
property float f_rest_4
property float f_rest_5
property float f_rest_6
property float f_rest_7
property float f_rest_8
property float f_rest_9
property float f_rest_10
property float f_rest_11
property float f_rest_12
property float f_rest_13
property float f_rest_14
property float f_rest_15
property float f_rest_16
property float f_rest_17
property float f_rest_18
property float f_rest_19
property float f_rest_20
property float f_rest_21
property float f_rest_22
property float f_rest_23
property float f_rest_24
property float f_rest_25
property float f_rest_26
property float f_rest_27
property float f_rest_28
property float f_rest_29
property float f_rest_30
property float f_rest_31
property float f_rest_32
property float f_rest_33
property float f_rest_34
property float f_rest_35
property float f_rest_36
property float f_rest_37
property float f_rest_38
property float f_rest_39
property float f_rest_40
property float f_rest_41
property float f_rest_42
property float f_rest_43
property float f_rest_44
property float opacity
property float scale_0
property float scale_1
property float scale_2
property float rot_0
property float rot_1
property float rot_2
property float rot_3
end_header