splat-has-radiance#
Code |
SPL.006 |
|---|---|
Validator |
|
Compatibility |
open-usd |
Tags |
✅ |
Summary#
Each ParticleField3DGaussianSplat prim must author view-dependent radiance:
radiance:sphericalHarmonicsDegree and
radiance:sphericalHarmonicsCoefficients, with a coefficient count consistent
with the degree and Gaussian count.
Description#
3DGS stores each Gaussian’s view-dependent color as spherical-harmonic (SH) coefficients. A compliant prim authors both:
radiance:sphericalHarmonicsDegree— the SH degreed(0–3).radiance:sphericalHarmonicsCoefficients— the interleaved SH coefficients.
The coefficient array length must equal len(positions) * (d + 1)^2
(one float3 block of (d + 1)^2 coefficients per Gaussian). A mismatch means
the radiance data is inconsistent with the declared degree or Gaussian count.
Why is it required?#
Radiance is what gives each Gaussian its color; without it the splat has no appearance.
Enforcing the
(d + 1)^2relationship catches truncated, mis-interleaved, or degree-mismatched coefficient arrays that render incorrectly.
Examples#
# Valid, degree 3 -> 16 coefficient vec3 blocks per Gaussian
def ParticleField3DGaussianSplat "capture"
{
point3f[] positions = [...] # N entries
int radiance:sphericalHarmonicsDegree = 3
float3[] radiance:sphericalHarmonicsCoefficients = [...] # N * 16 entries
}
How to comply#
Author
radiance:sphericalHarmonicsDegreewith the SH degree used (0–3).Author
radiance:sphericalHarmonicsCoefficientswithlen(positions) * (degree + 1)^2entries in the schema’s interleaved layout.The reference converter
py3dgsPlyToUsd.pyhandles the DC (f_dc_*) and higher-order (f_rest_*) coefficient interleaving and degree derivation automatically; pass--generateShwhen onlyred/green/bluecolumns are present.