gaussian-splat-lite 1.1.1 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/CHANGELOG.md +30 -1
  2. package/README.md +1 -0
  3. package/dist/gaussian-splat-lite.cjs +1112 -163
  4. package/dist/gaussian-splat-lite.cjs.map +1 -1
  5. package/dist/gaussian-splat-lite.min.cjs +208 -48
  6. package/dist/gaussian-splat-lite.min.cjs.map +1 -1
  7. package/dist/gaussian-splat-lite.module.js +1109 -160
  8. package/dist/gaussian-splat-lite.module.js.map +1 -1
  9. package/dist/gaussian-splat-lite.module.min.js +3811 -3124
  10. package/dist/gaussian-splat-lite.module.min.js.map +1 -1
  11. package/dist/types/data/IndexedSplats.d.cts +0 -6
  12. package/dist/types/data/IndexedSplats.d.ts +0 -6
  13. package/dist/types/index.d.cts +1 -0
  14. package/dist/types/index.d.ts +1 -0
  15. package/dist/types/loaders/stream/StreamByteBudget.d.cts +1 -1
  16. package/dist/types/loaders/stream/StreamByteBudget.d.ts +1 -1
  17. package/dist/types/loaders/stream/rad-stream/RadStreamScheduler.d.cts +0 -1
  18. package/dist/types/loaders/stream/rad-stream/RadStreamScheduler.d.ts +0 -1
  19. package/dist/types/loaders/stream/sog-stream/SogStreamBatch.d.cts +0 -2
  20. package/dist/types/loaders/stream/sog-stream/SogStreamBatch.d.ts +0 -2
  21. package/dist/types/loaders/stream/sog-stream/SogStreamScheduler.d.cts +0 -1
  22. package/dist/types/loaders/stream/sog-stream/SogStreamScheduler.d.ts +0 -1
  23. package/dist/types/loaders/stream/streamOptions.d.cts +2 -5
  24. package/dist/types/loaders/stream/streamOptions.d.ts +2 -5
  25. package/dist/types/rendering/GaussianSplatRenderer.d.cts +6 -2
  26. package/dist/types/rendering/GaussianSplatRenderer.d.ts +6 -2
  27. package/dist/types/rendering/stochastic.d.cts +1 -0
  28. package/dist/types/rendering/stochastic.d.ts +1 -0
  29. package/dist/types/rendering/tsl/SplatBackend.d.cts +4 -1
  30. package/dist/types/rendering/tsl/SplatBackend.d.ts +4 -1
  31. package/dist/types/rendering/tsl/SplatMaterial.d.cts +4 -1
  32. package/dist/types/rendering/tsl/SplatMaterial.d.ts +4 -1
  33. package/dist/types/rendering/uniforms.d.cts +3 -0
  34. package/dist/types/rendering/uniforms.d.ts +3 -0
  35. package/dist/types/rendering/webgl/SplatBackend.d.cts +1 -0
  36. package/dist/types/rendering/webgl/SplatBackend.d.ts +1 -0
  37. package/dist/types/rendering/webgpu/ProjectedSplats.d.cts +1 -0
  38. package/dist/types/rendering/webgpu/ProjectedSplats.d.ts +1 -0
  39. package/dist/types/resolve/StochasticHistory.d.cts +9 -2
  40. package/dist/types/resolve/StochasticHistory.d.ts +9 -2
  41. package/dist/types/resolve/StochasticResolvePass.d.cts +1 -0
  42. package/dist/types/resolve/StochasticResolvePass.d.ts +1 -0
  43. package/dist/types/taa/StochasticTAAPass.d.cts +34 -0
  44. package/dist/types/taa/StochasticTAAPass.d.ts +34 -0
  45. package/dist/types/taa/TAAPresentation.d.cts +15 -0
  46. package/dist/types/taa/TAAPresentation.d.ts +15 -0
  47. package/dist/types/taa/tsl/TAAPipeline.d.cts +10 -0
  48. package/dist/types/taa/tsl/TAAPipeline.d.ts +10 -0
  49. package/dist/types/taa/webgl/TAAPipeline.d.cts +8 -0
  50. package/dist/types/taa/webgl/TAAPipeline.d.ts +8 -0
  51. package/docs/Architecture.md +4 -3
  52. package/docs/RadStreamScheduler.md +1 -2
  53. package/docs/SogStreamScheduler.md +1 -2
  54. package/docs/StochasticResolvePass.md +6 -8
  55. package/docs/StochasticTAAPass.md +74 -0
  56. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,33 @@ and this project follows [Semantic Versioning](https://semver.org/).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.1.3] - 2026-09-23
11
+
12
+ ### Changed
13
+
14
+ - Optimized manual sorted rendering across WebGL, WebGPU, and WebGL fallback by removing unused stochastic and depth branches from the color fragment shader. Auto and stochastic modes retain uniform-based switching; custom GLSL shaders are unchanged.
15
+ - Native WebGPU reuses projection, visibility compaction, and sort results when source data, views, and projection settings are unchanged.
16
+
17
+ ## [1.1.2] - 2026-09-21
18
+
19
+ ### Added
20
+
21
+ - Added `StochasticTAAPass` for selective temporal anti-aliasing on WebGL, WebGPU, and WebGPURenderer's WebGL2 fallback. It jitters stochastic Splats and filters their pixels and immediate edges, accumulating up to 8 effective samples, including while stationary in manual stochastic mode. Camera view offsets and `renderDepth` remain unchanged.
22
+ - Added `StochasticTAAPass.compose()`, `resetHistory()`, `requestRender()`, and `needsRender` for scene composition and on-demand accumulation. The pass supports canvas and render-target output, with independent histories for ArrayCamera views and manual stochastic WebXR rendering.
23
+
24
+ ### Changed
25
+
26
+ - `StochasticResolvePass` now captures sorted frames in Auto mode to seed history for subsequent camera movement. This adds offscreen capture work while temporal filtering is enabled; set `temporalEnabled = false` for spatial filtering only. Stationary stochastic frames still do not accumulate.
27
+ - Replaced the 64×64 stochastic blue-noise tile with a locally generated 32×32 tile. Coverage remains stable per Splat unless `StochasticTAAPass` supplies a temporal sample.
28
+
29
+ ### Fixed
30
+
31
+ - Reset `StochasticResolvePass` history when the composed scene changes, preventing reuse of another scene's history.
32
+
33
+ ### Removed
34
+
35
+ - Removed `maxUploadBytesPerUpdate` from `RadStreamScheduler` and `SogStreamScheduler`, including the default 8 MiB per-update allowance for ready data. Loading concurrency and pending-copy memory limits remain in place.
36
+
10
37
  ## [1.1.1] - 2026-09-20
11
38
 
12
39
  ### Changed
@@ -368,7 +395,9 @@ and this project follows [Semantic Versioning](https://semver.org/).
368
395
 
369
396
  - Initial public release of the Three.js Gaussian Splatting renderer.
370
397
 
371
- [Unreleased]: https://github.com/WilliamLiu-1997/Gaussian-Splat-Lite/compare/v1.1.1...HEAD
398
+ [Unreleased]: https://github.com/WilliamLiu-1997/Gaussian-Splat-Lite/compare/v1.1.3...HEAD
399
+ [1.1.3]: https://github.com/WilliamLiu-1997/Gaussian-Splat-Lite/compare/v1.1.2...v1.1.3
400
+ [1.1.2]: https://github.com/WilliamLiu-1997/Gaussian-Splat-Lite/compare/v1.1.1...v1.1.2
372
401
  [1.1.1]: https://github.com/WilliamLiu-1997/Gaussian-Splat-Lite/compare/v1.1.0...v1.1.1
373
402
  [1.1.0]: https://github.com/WilliamLiu-1997/Gaussian-Splat-Lite/compare/v1.0.4...v1.1.0
374
403
  [1.0.4]: https://github.com/WilliamLiu-1997/Gaussian-Splat-Lite/compare/v1.0.3...v1.0.4
package/README.md CHANGED
@@ -155,6 +155,7 @@ Draw order and depth testing in other materials still matter. Stochastic renderi
155
155
 
156
156
  - [GaussianSplatRenderer](docs/GaussianSplatRenderer.md) — Rendering options, depth, and captures.
157
157
  - [StochasticResolvePass](docs/StochasticResolvePass.md) — Stochastic noise reduction, post-processing, and XR.
158
+ - [StochasticTAAPass](docs/StochasticTAAPass.md) — Temporal anti-aliasing limited to stochastic splat regions.
158
159
  - [SplatMesh](docs/SplatMesh.md) — Loading, transforms, animation, and raycasting.
159
160
  - [SplatLoader](docs/SplatLoader.md) — File loading.
160
161
  - [RadStreamScheduler](docs/RadStreamScheduler.md) — Large RAD scenes with adaptive detail.