rhodonite 0.17.5 → 0.17.7
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 +11 -13
- package/VERSION-FILE +1 -1
- package/dist/esm/index.d.ts +7813 -7874
- package/dist/esm/index.js +373 -373
- package/dist/esmdev/index.d.ts +7813 -7874
- package/dist/esmdev/index.js +4607 -2178
- package/package.json +11 -10
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ https://librn.com/
|
|
|
21
21
|
* Support loading the following 3D model files: [glTF2](https://github.com/KhronosGroup/glTF), glTF1, [VRM](https://vrm.dev/en/)
|
|
22
22
|
* Support [Draco compression](https://google.github.io/draco/), [Basis Universal](https://github.com/BinomialLLC/basis_universal) and [KTX2](http://github.khronos.org/KTX-Specification/), etc
|
|
23
23
|
* WebGPU Support
|
|
24
|
-
* WebXR(VR) Support (in WebGL
|
|
24
|
+
* WebXR(VR) Support (in both WebGL & WebGPU)
|
|
25
25
|
|
|
26
26
|
## What's the "Blittable Memory Architecture"
|
|
27
27
|
|
|
@@ -49,7 +49,7 @@ VRM avatar model and VRMA animation
|
|
|
49
49
|
Shader Node Editor
|
|
50
50
|

|
|
51
51
|
|
|
52
|
-
WebXR(VR) with [multiview](https://
|
|
52
|
+
WebXR(VR) with [multiview](https://developers.meta.com/horizon/documentation/web/web-multiview/) extension
|
|
53
53
|

|
|
54
54
|
|
|
55
55
|
## Supported Browsers
|
|
@@ -162,21 +162,19 @@ See the last part of https://github.com/actnwit/RhodoniteTS/wiki/Install .
|
|
|
162
162
|
### Setup Project
|
|
163
163
|
|
|
164
164
|
```bash
|
|
165
|
-
$
|
|
165
|
+
$ pnpm install
|
|
166
166
|
```
|
|
167
167
|
|
|
168
|
-
You can use yarn instead.
|
|
169
|
-
|
|
170
168
|
### Build command for Rhodonite library
|
|
171
169
|
|
|
172
170
|
```bash
|
|
173
|
-
$
|
|
171
|
+
$ pnpm run build
|
|
174
172
|
```
|
|
175
173
|
|
|
176
174
|
### Build command for samples
|
|
177
175
|
|
|
178
176
|
```bash
|
|
179
|
-
$
|
|
177
|
+
$ pnpm run build-samples
|
|
180
178
|
```
|
|
181
179
|
|
|
182
180
|
## Try Samples
|
|
@@ -184,7 +182,7 @@ $ yarn build-samples
|
|
|
184
182
|
After building Rhodonite, try:
|
|
185
183
|
|
|
186
184
|
```bash
|
|
187
|
-
$
|
|
185
|
+
$ pnpm run watch-samples
|
|
188
186
|
```
|
|
189
187
|
|
|
190
188
|
Then, access http://localhost:8082/ with your web browser.
|
|
@@ -193,7 +191,7 @@ When you are finished, press ctrl + c.
|
|
|
193
191
|
## Build command for API documents
|
|
194
192
|
|
|
195
193
|
```bash
|
|
196
|
-
$
|
|
194
|
+
$ pnpm run doc
|
|
197
195
|
```
|
|
198
196
|
|
|
199
197
|
## Testing Rhodonite
|
|
@@ -201,7 +199,7 @@ $ yarn doc
|
|
|
201
199
|
The following command runs unit tests and E2E tests.
|
|
202
200
|
|
|
203
201
|
```bash
|
|
204
|
-
$
|
|
202
|
+
$ pnpm run test
|
|
205
203
|
```
|
|
206
204
|
|
|
207
205
|
The E2E test uses a headless browser for rendering. Because the results are GPU hardware-dependent rather than software-dependent, results will vary depending on your environment.
|
|
@@ -212,17 +210,17 @@ You can execute a part of tests like this.
|
|
|
212
210
|
### For unit test
|
|
213
211
|
|
|
214
212
|
```bash
|
|
215
|
-
$
|
|
213
|
+
$ pnpm run test-unit-part -- ./src/foundation/core
|
|
216
214
|
```
|
|
217
215
|
|
|
218
216
|
```bash
|
|
219
|
-
$
|
|
217
|
+
$ pnpm run test-unit-part -- ./src/foundation/core/Entity.test.ts
|
|
220
218
|
```
|
|
221
219
|
|
|
222
220
|
### For E2E (visual) test
|
|
223
221
|
|
|
224
222
|
```bash
|
|
225
|
-
$
|
|
223
|
+
$ pnpm run test-e2e-part -- ./samples/test_e2e/DataTextureInstancedDrawing
|
|
226
224
|
```
|
|
227
225
|
|
|
228
226
|
## Development using VSCode devcontainer
|
package/VERSION-FILE
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
v0.17.
|
|
1
|
+
v0.17.7-0-gfa8450279-dirty
|
|
2
2
|
main
|