|
11 | 11 | <script type="importmap"> |
12 | 12 | { |
13 | 13 | "imports": { |
14 | | - "three": "https://cdn.jsdelivr.net/npm/three@0.174.0/build/three.webgpu.min.js", |
15 | | - "three/webgpu": "https://cdn.jsdelivr.net/npm/three@0.174.0/build/three.webgpu.min.js", |
16 | | - "three/tsl": "https://cdn.jsdelivr.net/npm/three@0.174.0/build/three.tsl.min.js", |
17 | | - "three/addons/": "https://cdn.jsdelivr.net/npm/three@0.174.0/examples/jsm/", |
18 | | - "three/examples/jsm/": "https://cdn.jsdelivr.net/npm/three@0.174.0/examples/jsm/", |
| 14 | + "three": "https://cdn.jsdelivr.net/npm/three@0.178.0/build/three.webgpu.min.js", |
| 15 | + "three/webgpu": "https://cdn.jsdelivr.net/npm/three@0.178.0/build/three.webgpu.min.js", |
| 16 | + "three/tsl": "https://cdn.jsdelivr.net/npm/three@0.178.0/build/three.tsl.min.js", |
| 17 | + "three/addons/": "https://cdn.jsdelivr.net/npm/three@0.178.0/examples/jsm/", |
| 18 | + "three/examples/jsm/": "https://cdn.jsdelivr.net/npm/three@0.178.0/examples/jsm/", |
19 | 19 | "@gltf-transform/core": "https://esm.sh/@gltf-transform/core@3.10.1", |
20 | 20 | "@gltf-transform/extensions": "https://esm.sh/@gltf-transform/extensions@3.10.1", |
21 | 21 | "@gltf-transform/functions": "https://esm.sh/@gltf-transform/functions@3.10.1", |
22 | | - "meshoptimizer_encoder": "https://cdn.jsdelivr.net/npm/meshoptimizer@0.22.0/meshopt_encoder.module.min.js", |
23 | | - "meshoptimizer_simplifier": "https://cdn.jsdelivr.net/npm/meshoptimizer@0.22.0/meshopt_simplifier.module.min.js", |
| 22 | + "meshoptimizer_encoder": "https://cdn.jsdelivr.net/npm/meshoptimizer@0.24.0/meshopt_encoder.module.min.js", |
| 23 | + "meshoptimizer_simplifier": "https://cdn.jsdelivr.net/npm/meshoptimizer@0.24.0/meshopt_simplifier.module.min.js", |
24 | 24 | "ktx2-encoder": "https://esm.sh/ktx2-encoder@0.1.1", |
25 | | - "@jsquash/avif": "https://esm.sh/@jsquash/avif@2.0.0" |
| 25 | + "@jsquash/avif": "https://esm.sh/@jsquash/avif@2.1.1" |
26 | 26 | } |
27 | 27 | } |
28 | 28 | </script> |
|
32 | 32 | <script src="../static/assimpjs/assimpjs.min.js" defer></script> |
33 | 33 |
|
34 | 34 | <!-- For encoding GLB exports with draco compression --> |
35 | | - <script src="https://cdn.jsdelivr.net/npm/three@0.174.0/examples/jsm/libs/draco/draco_encoder.min.js" defer></script> |
| 35 | + <script src="https://cdn.jsdelivr.net/npm/three@0.178.0/examples/jsm/libs/draco/draco_encoder.min.js" defer></script> |
36 | 36 |
|
37 | 37 | <script> |
38 | 38 | var THREE, gpu, gl2, strU8, uSync, manager, file_loader, obj_loader, mtl_loader; |
|
1623 | 1623 |
|
1624 | 1624 | <!-- mouse_wheel variable is used throughout as a trigger for rendering --> |
1625 | 1625 |
|
1626 | | - <title>OBJ+MTL WebGPU (r174)</title> |
| 1626 | + <title>OBJ+MTL WebGPU (r178)</title> |
1627 | 1627 | </head> |
1628 | 1628 | <body onload="reset_all(); document_ready();" onresize="resize();"> |
1629 | 1629 | <div id="fixed_menu" class="fixed-menu"> |
|
3767 | 3767 | if (ktx2_loader === undefined) { |
3768 | 3768 | const { KTX2Loader } = await import( "three/addons/loaders/KTX2Loader.min.js" ); |
3769 | 3769 | ktx2_loader = new KTX2Loader( manager ); |
3770 | | - ktx2_loader.setTranscoderPath( "https://cdn.jsdelivr.net/npm/three@0.174.0/examples/jsm/libs/basis/" ); |
| 3770 | + ktx2_loader.setTranscoderPath( "https://cdn.jsdelivr.net/npm/three@0.178.0/examples/jsm/libs/basis/" ); |
3771 | 3771 | manager.addHandler( /\.ktx2$/i, ktx2_loader ); |
3772 | 3772 | } |
3773 | 3773 |
|
|
0 commit comments