Commit Graph

227 Commits

Author SHA1 Message Date
Andreas Sundquist bf10efcab0 Update SplatLoader to handle progress updates, both for main file and any extra files, aggregating totals. Misc. improvements to examples. (#112) 2025-07-11 17:09:38 -07:00
61cygni 0cfa39df76 Add Sutro tower SOGS example (#111)
* Add Sutro tower SOGS example

- Reset to default settings
- Add to main index

* Remove spark renderer

* Update example title

---------

Co-authored-by: 61cygni <>
Co-authored-by: Diego Marcos <diego.marcos@gmail.com>
2025-07-11 16:20:40 -04:00
sparkjsdev[bot] 8c35d523a5 Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@a1a1a5351969e9b188a6176250b92d3031889cf4/dist/spark.module.js) 2025-07-11 18:39:43 +00:00
sparkjsdev[bot] a1a1a53519 Bump dist build 2025-07-11 18:39:41 +00:00
Noeri Huisman bc4f5137c6 Use fetch instead of FileLoader in SplatLoader to avoid reusing same arraybuffer (#94) 2025-07-11 11:37:20 -07:00
sparkjsdev[bot] 30d639a362 Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@1820b5b93118689520e00e2e05036f81853dbc06/dist/spark.module.js) 2025-07-11 18:33:16 +00:00
sparkjsdev[bot] 1820b5b931 Bump dist build 2025-07-11 18:33:15 +00:00
lucasoptml 0c3bb74e1a Add sh1, sh2 support to sogs (#109)
* Add sh1, sh2 support to sogs

* Fix lint issues

---------

Co-authored-by: Diego Marcos Segura <diego.marcos@gmail.com>
2025-07-11 11:30:57 -07:00
sparkjsdev[bot] 8d0267d7ff Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@4079cfc1a6d049e0b580477f24cc55d94cbdfeef/dist/spark.module.js) 2025-07-11 17:50:28 +00:00
sparkjsdev[bot] 4079cfc1a6 Bump dist build 2025-07-11 17:50:26 +00:00
Andreas Sundquist dc07e02a33 Expand internal splat scale encoding to e^[-12,9]. Lower zero cut-off to e^-30. Fix background color selection in editor. (#110) 2025-07-11 10:48:10 -07:00
Diego Marcos Segura c8394665ec Fix example importmaps 2025-07-10 23:06:58 -04:00
Diego Marcos Segura 6ba5309f5d Change sogs example blur and preBlur ammounts 2025-07-10 17:31:05 -04:00
Diego Marcos Segura 35927616f0 Add missing importmap 2025-07-10 01:46:23 -04:00
Diego Marcos Segura 9a7af2c7e9 Add example for SOGS compression 2025-07-10 01:29:26 -04:00
Winnie Lin fce43be8f0 Transition Shader Example (#69)
* v0 transition shader

* cleanup hardcoded constants, add multi-object transitions

* switch to fixed canvas

* update assets

* envmap draft

* update assets

* Move assets to CDN

* Replace underscore variable naming with camelCase for consistency

---------

Co-authored-by: Diego Marcos Segura <diego.marcos@gmail.com>
2025-07-08 16:27:55 -04:00
Andreas Sundquist fea2e17cd0 Add background color selector to examples/editor. (#103) 2025-07-08 12:24:50 -04:00
sparkjsdev[bot] 924f0842a0 Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@556e66c5872c501487bbf45aa0b08688ecf3a010/dist/spark.module.js) 2025-07-08 02:39:24 +00:00
sparkjsdev[bot] 556e66c587 Bump dist build 2025-07-08 02:39:23 +00:00
Andreas Sundquist 42d1477cb6 Fix visible flag bug in SplatGenerator/SplatMesh. (#101) 2025-07-07 22:37:09 -04:00
sparkjsdev[bot] 6c0810f572 Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@a750555eb6bfdddf91531e5b72e60cbb2d1fdc70/dist/spark.module.js) 2025-07-08 00:20:30 +00:00
sparkjsdev[bot] a750555eb6 Bump dist build 2025-07-08 00:20:29 +00:00
Andreas Sundquist 4266db3259 PC SOGS decoding from .Zip archive (#100)
* Implement PC SOGS decoding from .zip file archive. Update viewer and editor to accept .zip files.

* Restore GL WEBP decoding.
2025-07-07 17:18:11 -07:00
Diego Marcos Segura cd40e139d1 Make example animations framerate independent 2025-07-04 08:39:25 -05:00
Diego Marcos Segura c65bbcfefb Make hello world rotation animation framerate independent 2025-07-04 08:25:15 -05:00
sparkjsdev[bot] 7f218578c6 Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@cc8a0c2cf59089e6faf95993dc32446fcd74d9be/dist/spark.module.js) 2025-07-04 12:18:38 +00:00
sparkjsdev[bot] cc8a0c2cf5 Bump dist build 2025-07-04 12:18:37 +00:00
Noeri Huisman ef24ed0e9c Use OffscreenCanvas and WebGL2 context to decode webp images (#90) 2025-07-04 07:16:23 -05:00
Alexander R. Mcneilly ba8083e8bf Fix Examples Page (#96)
* add hash navigation + scrollable examples list

* add fullscreen example button
2025-07-04 06:49:29 -05:00
Noeri Huisman 825344ff59 Exclude local assets directory from linting (#91) 2025-07-03 08:54:50 -07:00
Diego Marcos Segura de36b4e6b6 Add sogs to format list in landing page 2025-07-02 15:49:58 -07:00
Diego Marcos Segura 38ed9aade5 Bump version 2025-07-01 19:03:13 -07:00
Diego Marcos Segura 5da5f7877a Bump build 2025-07-01 17:31:34 -07:00
sparkjsdev[bot] 7a9b7b6f4e Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@3d984827c205d1b5408d6ce4fb266700e0dd68fe/dist/spark.module.js) 2025-07-01 15:00:10 +00:00
sparkjsdev[bot] 3d984827c2 Bump dist build 2025-07-01 15:00:09 +00:00
Andreas Sundquist 179885595c Splat Texture (#79)
* Add experimental Splat Texture rendering and examples/splat-texture. Added star.png and heart.png to assets.json and to assets repo. Update examples/depth-of-field to compute from metric aperture size. Added SparkRenderer.renderScale debug parameter. Updated examples/editor: set default highDPI to true, added logFocalDistance, apertureAngle, refactored, grouped into debugFolder, default settings open, preset buttons for nonAA and AA settings.

* Set default highDpi in examples/editor to not(isMobile).
2025-07-01 07:57:34 -07:00
sparkjsdev[bot] c0db3576bd Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@562e8c0430ef6eb033d08b5a8671583e5567c006/dist/spark.module.js) 2025-07-01 05:28:25 +00:00
sparkjsdev[bot] 562e8c0430 Bump dist build 2025-07-01 05:28:24 +00:00
Noeri Huisman fe3430000d Use RenderTarget properties to reduce manual render state tracking (#80) 2025-06-30 22:26:17 -07:00
sparkjsdev[bot] f95eb494f0 Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@b05107f2b962159dba7e92d9b45d9074adaf5043/dist/spark.module.js) 2025-06-30 22:41:21 +00:00
sparkjsdev[bot] b05107f2b9 Bump dist build 2025-06-30 22:41:19 +00:00
Andreas Sundquist c0dff7fafb Fix Spherical Harmonics not included in SPZ transcoding. (#83) 2025-06-30 15:39:01 -07:00
sparkjsdev[bot] cac6b8195f Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@666f246d05febfa53512fbba251d743495288fcf/dist/spark.module.js) 2025-06-30 21:56:34 +00:00
sparkjsdev[bot] 666f246d05 Bump dist build 2025-06-30 21:56:33 +00:00
Andreas Sundquist 16bc076db7 For compressed SS PLY, make min/max_r/g/b chunk properties optional (defaulting to 0..1) since older SuperSplat 1.* seems to export without those, and defaults to 0..1 according to source code. (#82) 2025-06-30 14:54:19 -07:00
sparkjsdev[bot] 1c6e05ea97 Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@ca9e50ce4b73ef622e296d40449f7b8f0c9a4681/dist/spark.module.js) 2025-06-30 16:00:21 +00:00
sparkjsdev[bot] ca9e50ce4b Bump dist build 2025-06-30 16:00:19 +00:00
Andreas Sundquist 36c3c61d0b Implementation PC SOGS file format loading via meta.json root file. Added webp dependency for accurate decoding. Updated viewer and editor to accept new file type. (#73) 2025-06-30 08:57:51 -07:00
sparkjsdev[bot] eb1b5029ce Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@a107e4c879e35681b2fc0c711914318c5d9e4523/dist/spark.module.js) 2025-06-30 15:03:42 +00:00
sparkjsdev[bot] a107e4c879 Bump dist build 2025-06-30 15:03:41 +00:00