Commit Graph

296 Commits

Author SHA1 Message Date
Diego Marcos Segura 3040aae5be Replace glitch with stackblitz 2025-08-08 14:52:51 -07:00
sparkjsdev[bot] ee83dff234 Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@d4f6deaddfc0a8f653719ac66988cd4a2fa9f6e8/dist/spark.module.js) 2025-08-07 17:23:38 +00:00
sparkjsdev[bot] d4f6deaddf Bump dist build 2025-08-07 17:23:36 +00:00
Noeri Huisman bafff1f531 Improve .ply parsing speed using compiled parser function (#150)
* Compile a parse function per element type in PlyReader

* Parse f_rest properties as array for faster .ply file parsing
2025-08-07 10:21:23 -07:00
Diego Marcos Segura b454b3652f Add examples to index.html 2025-08-04 10:37:28 -07:00
kali 1da1cb61b7 Splat reveal effects (weather) (#149)
* Add splat reveal effects (weather)

* Update example title

---------

Co-authored-by: Diego Marcos <diego.marcos@gmail.com>
2025-08-04 10:21:47 -07:00
sparkjsdev[bot] aea476550d Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@fbf615dbead4bc68eaada82643f69f305e8071e3/dist/spark.module.js) 2025-08-01 14:11:22 +00:00
sparkjsdev[bot] fbf615dbea Bump dist build 2025-08-01 14:11:21 +00:00
Noeri Huisman 2f42e2e29c Reduce small memory allocations when loading ply files (#147)
* Replace for-of loops to reduce memory allocations in hot-path for ply loading

* Use temporary THREE.Quaternion and THREE.Vector instances to avoid allocations
2025-08-01 07:09:08 -07:00
Diego Marcos Segura 3f1d024980 Add details to changelog 2025-07-31 17:05:54 -07:00
Diego Marcos Segura 1dde4121b1 Add missing example 2025-07-31 16:46:15 -07:00
Diego Marcos Segura a918d9fdec Bump THREE to r178 2025-07-31 16:41:27 -07:00
Diego Marcos Segura 64f0931438 Add splat shader effects link to examples website 2025-07-31 16:36:41 -07:00
Diego Marcos Segura a52ac075fd Bump release number 2025-07-31 16:18:07 -07:00
Diego Marcos Segura 73add78912 Bump builds 2025-07-31 16:16:49 -07:00
Diego Marcos Segura dc76306356 Make viewer drop zone to cover the whole page window 2025-07-31 15:53:12 -07:00
sparkjsdev[bot] aec8c1a057 Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@0e6fe62eef2b4ce7ffb8cfdb40d53e90ca863faf/dist/spark.module.js) 2025-07-31 22:52:20 +00:00
sparkjsdev[bot] 0e6fe62eef Bump dist build 2025-07-31 22:52:19 +00:00
Andreas Sundquist 7fb5d7920b Fix SH encoding scale factors (#144) 2025-07-31 15:50:11 -07:00
sparkjsdev[bot] 94cd329fe9 Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@7b1decc2ef8815f68e63c7f492e08cc134e25240/dist/spark.module.js) 2025-07-31 22:04:09 +00:00
sparkjsdev[bot] 7b1decc2ef Bump dist build 2025-07-31 22:04:08 +00:00
Winnie Lin 0705207bdc Bounding box helper function (#126)
* bounding box implementation

* set default bbox to center-based computation

* [bbox] clean up bbox and editor logic

* [bbox] add error handling and documentation
2025-07-31 15:01:18 -07:00
sparkjsdev[bot] 05ddd8375e Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@5465c6033bbf0f31b94f372f60e1628a82e4a156/dist/spark.module.js) 2025-07-31 21:27:30 +00:00
sparkjsdev[bot] 5465c6033b Bump dist build 2025-07-31 21:27:29 +00:00
Andreas Sundquist 8f5596e7a0 Add stochastic splat rendering example 2025-07-31 14:24:48 -07:00
Andreas Sundquist b39cf3873f Fixed rendering, moved examples/editor option under Debug. Updated spark-viewpoint.md. 2025-07-31 14:24:48 -07:00
Andreas Sundquist d707f283f5 Working prototype. Initialization not consistent. 2025-07-31 14:24:48 -07:00
Andreas Sundquist df6b1d8f4a Checkpoint 2025-07-31 14:24:48 -07:00
Andreas Sundquist a5f9ca4813 Externalized SparkRenderer.maxPixelRadius and .minAlpha settings. Added to documentation. Added to examples/editor under Debug folder, moved sort32 there. 2025-07-31 14:24:48 -07:00
Andreas Sundquist e82346cbd5 Add 32-bit float sort via SparkViewpooint.sort32, using 2-pass radix-65536 sort. Turn on sort32 by default for examples/editor. Implemented Rust sort and JS sort, updated benchmarking code to include float16 and float32 sort. 2025-07-31 14:24:48 -07:00
Diego Marcos Segura 1b868e3f9a Bump build 2025-07-30 23:59:19 -07:00
Diego Marcos Segura 25cb98cc49 Bump spark version in docs 2025-07-30 23:58:30 -07:00
Diego Marcos Segura 9b5635ed88 Add 0.1.7 changelog 2025-07-30 23:57:08 -07:00
kali ab83e53579 Splat shader effects (#141)
* Added particle flow transition to examples

* Added particle flow transition to examples

* Added splat-shader-effects to examples
2025-07-30 23:20:08 -07:00
sparkjsdev[bot] a6bdb5fa2c Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@3628376d9a2f2b8e8b65b6d5691ea34d35c475c8/dist/spark.module.js) 2025-07-25 01:28:48 +00:00
sparkjsdev[bot] 3628376d9a Bump dist build 2025-07-25 01:28:46 +00:00
Noeri Huisman 30f50aa9ee Use material.premultipliedAlpha to adjust blending function (#136) 2025-07-25 03:26:29 +02:00
Noeri Huisman 3445167e7a Remove anyhow::anyhow dependency to reducing bundle size (#127) 2025-07-24 19:36:28 +02:00
sparkjsdev[bot] 339a610ea5 Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@b829d125ab1a60e6bce7f73afed26c2c314fa290/dist/spark.module.js) 2025-07-23 17:06:36 +00:00
sparkjsdev[bot] b829d125ab Bump dist build 2025-07-23 17:06:34 +00:00
Andreas Sundquist f60c2b0cf9 Custom/extended splat encoding ranges, Premultiplied alpha for hyper-saturated colors (#134)
* Externalized SparkRenderer.maxPixelRadius and .minAlpha settings. Added to documentation. Added to examples/editor under Debug folder, moved sort32 there.

* Added SplatEncoding concept, applied individually to SparkRenderer (rgbMin/Max, lnScaleMinMax), SplatMesh (additionally sh1Min/Max, sh2, sh3). Updated examples/editor to control settings via gui. Updated all related code to pipe along settings where needed.
Added SparkRenderer.premultipliedAlpha to control blend mode and enable hyper-saturated color contributions by default.

* Fix SplatLoader not passing along encoding. Complete renaming to splat encoding.
2025-07-23 10:04:24 -07:00
sparkjsdev[bot] f4b4522c56 Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@036a74f83f15454b92ba145ae743052e65ea1ee1/dist/spark.module.js) 2025-07-23 13:51:12 +00:00
sparkjsdev[bot] 036a74f83f Bump dist build 2025-07-23 13:51:10 +00:00
Noeri Huisman 9b6ea3c987 Combine tallying of buckets for both passes of float32 sorting (#132) 2025-07-23 15:49:00 +02:00
kali c1a335e8ee Added particle flow transition to examples (#131)
* Added particle flow transition to examples

* Added particle flow transition to examples
2025-07-22 20:08:50 +02:00
sparkjsdev[bot] 3a63eaeba2 Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@d9dd43c9ea9f00dc26bc705748a3c014e61a89bd/dist/spark.module.js) 2025-07-22 01:17:26 +00:00
sparkjsdev[bot] d9dd43c9ea Bump dist build 2025-07-22 01:17:24 +00:00
Andreas Sundquist 5eb57038b4 Externalize render settings minAlpha and maxPixelRadius (#130)
* Add commented benchmarkSort to compare JS vs Wasm sorting.

* Add 32-bit float sort via SparkViewpooint.sort32, using 2-pass radix-65536 sort. Turn on sort32 by default for examples/editor. Implemented Rust sort and JS sort, updated benchmarking code to include float16 and float32 sort.

* Add sort32 to docs/spark-viewpoint.md.

* Externalized SparkRenderer.maxPixelRadius and .minAlpha settings. Added to documentation. Added to examples/editor under Debug folder, moved sort32 there.
2025-07-22 03:15:13 +02:00
sparkjsdev[bot] 23b9b190a0 Update main CDN URL. (https://cdn.jsdelivr.net/gh/sparkjsdev/spark@d1b8c5687c112ffc6cd36dca9694c8fa8a9dddcd/dist/spark.module.js) 2025-07-22 00:50:03 +00:00
sparkjsdev[bot] d1b8c5687c Bump dist build 2025-07-22 00:50:01 +00:00