Skip to content

Commit 6a17f4d

Browse files
committed
Expanded the overview and general clean up.
1 parent 55ac8cb commit 6a17f4d

File tree

1 file changed

+16
-8
lines changed
  • extensions/2.0/Khronos/KHR_gaussian_splatting

1 file changed

+16
-8
lines changed

extensions/2.0/Khronos/KHR_gaussian_splatting/README.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Sean Lilley, Cesium
1111
Adam Morris, Cesium
1212
Jason Sobotka, Cesium
1313

14-
1514
## Status
1615

1716
Draft
@@ -22,8 +21,21 @@ Written against the glTF 2.0 spec.
2221

2322
## Overview
2423

25-
Gaussian splats are currently stored in mostly unstructured files such as PLY. This aims to bring that format into glTF in a simple and straightfoward way.
24+
Gaussian splats are currently stored in mostly unstructured files such as PLY. This aims to bring that format into glTF in a simple and straightfoward way. The position, rotation, scale, and diffuse color are stored as standard attributes on a point primitive. If the point primitive contains the extension the renderer can know the render the point primitive as a Gaussian Splat instead of a point.
25+
26+
This approach allows for an easy fallback in the event the glTF is loaded within a renderer that doesn't support Gaussian Splats. In this scenario, the glTF file will render as a sparse point cloud to the user.
27+
28+
### Splat Data Mapping
2629

30+
| Splat Data | glTF Attribute |
31+
| --- | --- |
32+
| Position | POSITION |
33+
| Color (Diffuse, Spherical Harmonic 0) | COLOR_0 RGB channels |
34+
| Opacity (Spherical Harmonic 0 Alpha) | COLOR_0 A channel |
35+
| Rotation | _ROTATION |
36+
| Scale | _SCALE |
37+
38+
Spherical Harmonic channels 1 through 15, which map the splat specular, are currently unused by the extension.
2739

2840
## Sample
2941

@@ -74,13 +86,9 @@ Extending glTF node:
7486
}
7587
```
7688

77-
### JSON Schema
78-
79-
TODO: Links to the JSON schema for the new extension properties.
80-
81-
## Implementation Notes
89+
## Known Implementations
8290

83-
This doesn't specify any specific rendering techniques.
91+
This is currently implemented within CesiumJS as an experimental feature.
8492

8593
## Resources
8694

0 commit comments

Comments
 (0)