@@ -34,13 +34,13 @@ class "GaussiansAPI" (
3434 token[] apiSchemaCanOnlyApplyTo = ["UsdGeomPoints"]
3535 }
3636) {
37- uniform token gaussianShape = "elipsoid " (
38- allowedTokens = ["elipsoid ", "triangle", "plane"]
37+ uniform token gaussianShape = "ellipsoid " (
38+ allowedTokens = ["ellipsoid ", "triangle", "plane"]
3939 doc = """The shape of the gaussian to render.
4040 Gaussians may be available in a range of shapes, therefore this list of allowedTokens is not strictly
4141 comprehensive. A renderer may support a subset or superset of the allowed tokens.
4242
43- An elipsoid is what many people will colloquially refer to as a splat.
43+ An ellipsoid is what many people will colloquially refer to as a splat.
4444 """
4545 )
4646
@@ -53,10 +53,10 @@ class "GaussiansAPI" (
5353 This attribute is a hint for the metric used to sort the gaussians with respect to the camera.
5454
5555 'zDepth' sorts the gaussians using the z component of the position of the gaussians once
56- transformed in to camera space.
56+ transformed in to the cameras projection space.
5757
5858 'cameraDistance' sorts the gaussians using the euclidean distance between the gaussians
59- and the camera."""
59+ and the camera in world space ."""
6060 )
6161
6262 uniform token projectionModeHint = "perspective" (
@@ -98,21 +98,24 @@ class "GaussiansAPI" (
9898class "SphericalHarmonicsAPI" (
9999 doc = """AppliedAPI schema to extend UsdGeomPoints to describe Spherical Harmonic data.
100100 Spherical harmonics data must be interpreted in context of the point types it is applied to, for example
101- with elipsoid gaussians using the GaussianAPI above.
101+ with ellipsoid gaussians using the GaussianAPI above.
102102
103103 The spherical harmonic coefficients can be provided as either half or float based data.
104104 If floats are present, then renderers should prefer the higher precision data if they are able.
105105
106- The spherical harmonic data is provided as an array of half3 or float3 data. Each point must have the
107- same number of spherical harmonic coefficients, and therefore the array size must be equal to the number
108- of points multiplied by the number of spherical harmonic coefficients. This allows the number of coefficients
109- present for each point can be inferred by the array size.
106+ The spherical harmonic data is provided as an array of half3 or float3 data. They are represented by 3 component values
107+ as they are constructed to be the eigenfunctions of the angular part of the Laplacian in three dimensions.
108+
109+ Each point must have the same number of spherical harmonic coefficients, and therefore the array size must be equal
110+ to the number of points multiplied by the number of spherical harmonic coefficients.
111+ This allows the number of coefficients present for each point can be inferred by the array size.
110112
111113 Spherical Harmoics contain all but the 0th degree spherical harmonic, which is already encoded in the UsdGeomPoints.displayColor attribute.
112114 Each point must have the same number of spherical harmonic coefficients, and therefore the array size must be
113115 equal to the number of points multiplied by the number of spherical harmonic coefficients (minus one due to the 0th degree being used for color).
114116 This allows the number of coefficients present for each point can be inferred by the array size.
115117
118+ Authors are responsible for authoring the correct color space metadata for their spherical harmonics data.
116119 """
117120 inherits = </APISchemaBase>
118121
@@ -122,10 +125,6 @@ class "SphericalHarmonicsAPI" (
122125 }
123126) {
124127
125- uniform token sphericalHarmonicsColorSpace = "sRGB" (
126- doc = """Defines the source color space of the spherical harmonic data."""
127- )
128-
129128 half3[] primvars:sphericalHarmonics (
130129 doc = """Half buffer containing spherical harmonics data.
131130 See the description of the API for more information on interpreting the data."""
0 commit comments