@sparkjsdev/spark 0.1.8 → 0.1.10
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.
- package/README.md +5 -5
- package/dist/assets/worker-BbYVeANL.js.map +1 -0
- package/dist/assets/worker-CaMzlx2k.js.map +1 -0
- package/dist/spark.cjs.js +433 -175
- package/dist/spark.cjs.js.map +1 -1
- package/dist/spark.cjs.min.js +92 -53
- package/dist/spark.cjs.min.js.map +1 -1
- package/dist/spark.module.js +433 -175
- package/dist/spark.module.js.map +1 -1
- package/dist/spark.module.min.js +2503 -2310
- package/dist/spark.module.min.js.map +1 -1
- package/dist/types/SparkRenderer.d.ts +9 -0
- package/dist/types/SplatLoader.d.ts +29 -2
- package/dist/types/defines.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/pcsogs.d.ts +2 -2
- package/dist/types/ply.d.ts +3 -1
- package/dist/types/spz.d.ts +5 -3
- package/dist/types/utils.d.ts +8 -6
- package/package.json +3 -3
- package/dist/assets/worker-C1ojSBY1.js.map +0 -1
- package/dist/assets/worker-DXCsnY0K.js.map +0 -1
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
- Portable: Works across almost all devices, targeting 98%+ WebGL2 support
|
|
33
33
|
- Renders fast even on low-powered mobile devices
|
|
34
34
|
- Render multiple splat objects together with correct sorting
|
|
35
|
-
- Most major splat file formats supported including .PLY (also compressed), .SPZ, .SPLAT, .KSPLAT
|
|
35
|
+
- Most major splat file formats supported including: [.PLY](https://github.com/graphdeco-inria/gaussian-splatting) (also [compressed](https://blog.playcanvas.com/compressing-gaussian-splats/#compressed-ply-format)), [.SPZ](https://github.com/nianticlabs/spz), [.SPLAT](https://github.com/antimatter15/splat), [.KSPLAT](https://github.com/mkkellogg/GaussianSplats3D), [.SOG](https://developer.playcanvas.com/user-manual/gaussian-splatting/formats/sog/)
|
|
36
36
|
- Render multiple viewpoints simultaneously
|
|
37
37
|
- Fully dynamic: each splat can be transformed and edited for animation
|
|
38
38
|
- Real-time splat color editing, displacement, and skeletal animation
|
|
@@ -52,8 +52,8 @@ Copy the following code into an `index.html` file.
|
|
|
52
52
|
<script type="importmap">
|
|
53
53
|
{
|
|
54
54
|
"imports": {
|
|
55
|
-
"three": "https://cdnjs.cloudflare.com/ajax/libs/three.js/0.
|
|
56
|
-
"@sparkjsdev/spark": "https://sparkjs.dev/releases/spark/0.1.
|
|
55
|
+
"three": "https://cdnjs.cloudflare.com/ajax/libs/three.js/0.178.0/three.module.js",
|
|
56
|
+
"@sparkjsdev/spark": "https://sparkjs.dev/releases/spark/0.1.10/spark.module.js"
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
</script>
|
|
@@ -90,8 +90,8 @@ Remix the [glitch starter template](https://glitch.com/edit/#!/sparkjs-dev)
|
|
|
90
90
|
<script type="importmap">
|
|
91
91
|
{
|
|
92
92
|
"imports": {
|
|
93
|
-
"three": "https://cdnjs.cloudflare.com/ajax/libs/three.js/0.
|
|
94
|
-
"@sparkjsdev/spark": "https://sparkjs.dev/releases/spark/0.1.
|
|
93
|
+
"three": "https://cdnjs.cloudflare.com/ajax/libs/three.js/0.178.0/three.module.js",
|
|
94
|
+
"@sparkjsdev/spark": "https://sparkjs.dev/releases/spark/0.1.9/spark.module.js"
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
</script>
|