x_ite-sog-parser 1.0.0
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/LICENSE.md +21 -0
- package/README.md +40 -0
- package/dist/x_ite-sog-parser-2.js +3148 -0
- package/package.json +49 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2009 Holger Seelig and other contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# x_ite-sog-parser
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/x_ite-sog-parser)
|
|
4
|
+
[](https://bundlephobia.com/package/x_ite-sog-parser)
|
|
5
|
+
[](https://create3000.github.io/jsdelivr-download-stats/?username=create3000&repository=x_ite)
|
|
6
|
+
[](https://npmtrends.com/x_ite-sog-parser)
|
|
7
|
+
|
|
8
|
+
SOG File Format Parser for [X_ITE](https://create3000.github.io/x_ite/) for 3D Gaussian Splatting
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
Include the script after X_ITE:
|
|
13
|
+
|
|
14
|
+
```html
|
|
15
|
+
<script defer src="https://cdn.jsdelivr.net/npm/x_ite@VERSION/dist/x_ite.min.js"></script>
|
|
16
|
+
<script defer src="https://cdn.jsdelivr.net/npm/x_ite-sog-parser@1.0.0/dist/x_ite-sog-parser.min.js"></script>
|
|
17
|
+
<!-- or as ES module -->
|
|
18
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite@VERSION/dist/x_ite.min.mjs"></script>
|
|
19
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/x_ite-sog-parser@1.0.0/dist/x_ite-sog-parser.min.js"></script>
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Now you can load 3DGS SOG files:
|
|
23
|
+
|
|
24
|
+
```html
|
|
25
|
+
<x3d-canvas src="room.sog"></x3d-canvas>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
You can also install it from npm:
|
|
29
|
+
|
|
30
|
+
```sh
|
|
31
|
+
npm i x_ite-sog-parser
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Converter
|
|
35
|
+
|
|
36
|
+
There is a converter at: https://superspl.at/convert
|
|
37
|
+
|
|
38
|
+
## License
|
|
39
|
+
|
|
40
|
+
x_ite-sog-parser is free software and licensed under the [MIT License](LICENSE.md).
|