Skip to content

Commit 01799af

Browse files
authored
Merge pull request #85 from Ronald909/ronald909/draft-splat-spz-feature-index
Allow for non-SPZ encoded vertex attributes
2 parents aee76a1 + 625f2b8 commit 01799af

File tree

1 file changed

+2
-2
lines changed
  • extensions/2.0/Khronos/KHR_spz_gaussian_splats_compression

1 file changed

+2
-2
lines changed

extensions/2.0/Khronos/KHR_spz_gaussian_splats_compression/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ The recommended process for handling SPZ compression is as follows:
182182
- If the loader does support `KHR_spz_gaussian_splats_compression` then:
183183

184184
- The loader must process `KHR_spz_gaussian_splats_compression` data first. The loader must get the data from `KHR_spz_gaussian_splats_compression`'s `bufferView` property.
185-
- The loader then must process `attributes` of the `primitive`. When processing the loader must ignore any `bufferView` and `byteOffset` in the `accessor` and instead use values derived from the decompressed data streams. This data can be used to populate the `accessors` using the decompressed data or send directly to the renderer.
186-
185+
- SPZ compressed attributes must not include `bufferView` nor `byteOffset` in their accessor declarations. Any attributes falling outside the SPZ format, however, must be stored as regular glTF attributes and must therefore include `bufferView` (and optionally `byteOffset`) in their accessor definitions.
186+
187187
When compressing or decompressing the SPZ data to be stored within the glTF, you must specify a Left-Up-Front (`LUF`) coordinate system in the SPZ `PackOptions` or `UnpackOptions` within the SPZ library. This ensures that the data is compressed and decompressed appropriately for glTF.
188188

189189
## Implementation

0 commit comments

Comments
 (0)