@babylonjs/loaders 5.0.0-alpha.9 → 5.0.0-beta.4
Sign up to get free protection for your applications and to get access to all the features.
- package/OBJ/index.d.ts +2 -0
- package/OBJ/index.js +4 -2
- package/OBJ/index.js.map +1 -1
- package/OBJ/mtlFileLoader.d.ts +4 -2
- package/OBJ/mtlFileLoader.js +7 -6
- package/OBJ/mtlFileLoader.js.map +1 -1
- package/OBJ/objFileLoader.d.ts +12 -84
- package/OBJ/objFileLoader.js +50 -667
- package/OBJ/objFileLoader.js.map +1 -1
- package/OBJ/objLoadingOptions.d.ts +43 -0
- package/OBJ/objLoadingOptions.js +2 -0
- package/OBJ/objLoadingOptions.js.map +1 -0
- package/OBJ/solidParser.d.ts +153 -0
- package/OBJ/solidParser.js +700 -0
- package/OBJ/solidParser.js.map +1 -0
- package/STL/index.js +1 -1
- package/STL/stlFileLoader.d.ts +6 -0
- package/STL/stlFileLoader.js +38 -11
- package/STL/stlFileLoader.js.map +1 -1
- package/glTF/1.0/glTFBinaryExtension.js +4 -4
- package/glTF/1.0/glTFLoader.d.ts +4 -4
- package/glTF/1.0/glTFLoader.js +60 -55
- package/glTF/1.0/glTFLoader.js.map +1 -1
- package/glTF/1.0/glTFLoaderInterfaces.d.ts +3 -1
- package/glTF/1.0/glTFLoaderInterfaces.js.map +1 -1
- package/glTF/1.0/glTFLoaderUtils.js +6 -6
- package/glTF/1.0/glTFMaterialsCommonExtension.js +12 -12
- package/glTF/1.0/index.js +5 -5
- package/glTF/2.0/Extensions/EXT_lights_image_based.js +8 -5
- package/glTF/2.0/Extensions/EXT_lights_image_based.js.map +1 -1
- package/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js +3 -3
- package/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js.map +1 -1
- package/glTF/2.0/Extensions/EXT_meshopt_compression.d.ts +1 -5
- package/glTF/2.0/Extensions/EXT_meshopt_compression.js +5 -21
- package/glTF/2.0/Extensions/EXT_meshopt_compression.js.map +1 -1
- package/glTF/2.0/Extensions/EXT_texture_webp.js +2 -2
- package/glTF/2.0/Extensions/EXT_texture_webp.js.map +1 -1
- package/glTF/2.0/Extensions/ExtrasAsMetadata.js +1 -1
- package/glTF/2.0/Extensions/KHR_draco_mesh_compression.js +8 -4
- package/glTF/2.0/Extensions/KHR_draco_mesh_compression.js.map +1 -1
- package/glTF/2.0/Extensions/KHR_lights_punctual.js +9 -8
- package/glTF/2.0/Extensions/KHR_lights_punctual.js.map +1 -1
- package/glTF/2.0/Extensions/KHR_materials_clearcoat.js +2 -2
- package/glTF/2.0/Extensions/KHR_materials_emissive_strength.d.ts +30 -0
- package/glTF/2.0/Extensions/KHR_materials_emissive_strength.js +46 -0
- package/glTF/2.0/Extensions/KHR_materials_emissive_strength.js.map +1 -0
- package/glTF/2.0/Extensions/KHR_materials_ior.d.ts +1 -2
- package/glTF/2.0/Extensions/KHR_materials_ior.js +3 -4
- package/glTF/2.0/Extensions/KHR_materials_ior.js.map +1 -1
- package/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js +3 -4
- package/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js.map +1 -1
- package/glTF/2.0/Extensions/KHR_materials_sheen.d.ts +0 -1
- package/glTF/2.0/Extensions/KHR_materials_sheen.js +3 -4
- package/glTF/2.0/Extensions/KHR_materials_sheen.js.map +1 -1
- package/glTF/2.0/Extensions/KHR_materials_specular.d.ts +1 -2
- package/glTF/2.0/Extensions/KHR_materials_specular.js +12 -6
- package/glTF/2.0/Extensions/KHR_materials_specular.js.map +1 -1
- package/glTF/2.0/Extensions/KHR_materials_translucency.js +6 -6
- package/glTF/2.0/Extensions/KHR_materials_translucency.js.map +1 -1
- package/glTF/2.0/Extensions/KHR_materials_transmission.js +93 -84
- package/glTF/2.0/Extensions/KHR_materials_transmission.js.map +1 -1
- package/glTF/2.0/Extensions/KHR_materials_unlit.js +3 -3
- package/glTF/2.0/Extensions/KHR_materials_variants.js +70 -5
- package/glTF/2.0/Extensions/KHR_materials_variants.js.map +1 -1
- package/glTF/2.0/Extensions/KHR_materials_volume.d.ts +31 -0
- package/glTF/2.0/Extensions/KHR_materials_volume.js +79 -0
- package/glTF/2.0/Extensions/KHR_materials_volume.js.map +1 -0
- package/glTF/2.0/Extensions/KHR_mesh_quantization.js +1 -1
- package/glTF/2.0/Extensions/KHR_texture_basisu.d.ts +1 -2
- package/glTF/2.0/Extensions/KHR_texture_basisu.js +3 -4
- package/glTF/2.0/Extensions/KHR_texture_basisu.js.map +1 -1
- package/glTF/2.0/Extensions/KHR_texture_transform.js +2 -2
- package/glTF/2.0/Extensions/KHR_xmp_json_ld.d.ts +2 -2
- package/glTF/2.0/Extensions/KHR_xmp_json_ld.js +6 -3
- package/glTF/2.0/Extensions/KHR_xmp_json_ld.js.map +1 -1
- package/glTF/2.0/Extensions/MSFT_audio_emitter.js +6 -7
- package/glTF/2.0/Extensions/MSFT_audio_emitter.js.map +1 -1
- package/glTF/2.0/Extensions/MSFT_lod.d.ts +2 -1
- package/glTF/2.0/Extensions/MSFT_lod.js +48 -8
- package/glTF/2.0/Extensions/MSFT_lod.js.map +1 -1
- package/glTF/2.0/Extensions/MSFT_minecraftMesh.js +2 -2
- package/glTF/2.0/Extensions/MSFT_sRGBFactors.js +2 -2
- package/glTF/2.0/Extensions/index.d.ts +2 -0
- package/glTF/2.0/Extensions/index.js +26 -24
- package/glTF/2.0/Extensions/index.js.map +1 -1
- package/glTF/2.0/glTFLoader.d.ts +6 -11
- package/glTF/2.0/glTFLoader.js +129 -95
- package/glTF/2.0/glTFLoader.js.map +1 -1
- package/glTF/2.0/glTFLoaderInterfaces.d.ts +4 -2
- package/glTF/2.0/glTFLoaderInterfaces.js.map +1 -1
- package/glTF/2.0/index.d.ts +1 -1
- package/glTF/2.0/index.js +4 -4
- package/glTF/2.0/index.js.map +1 -1
- package/glTF/glTFFileLoader.d.ts +15 -9
- package/glTF/glTFFileLoader.js +62 -76
- package/glTF/glTFFileLoader.js.map +1 -1
- package/glTF/glTFValidation.js +1 -1
- package/glTF/glTFValidation.js.map +1 -1
- package/glTF/index.d.ts +2 -2
- package/glTF/index.js +4 -4
- package/glTF/index.js.map +1 -1
- package/index.d.ts +3 -3
- package/index.js +3 -3
- package/index.js.map +1 -1
- package/legacy/legacy-glTF.js +4 -4
- package/legacy/legacy-glTF1.d.ts +1 -1
- package/legacy/legacy-glTF1.js +1 -1
- package/legacy/legacy-glTF1.js.map +1 -1
- package/legacy/legacy-glTF1FileLoader.js +2 -2
- package/legacy/legacy-glTF2.d.ts +1 -1
- package/legacy/legacy-glTF2.js +3 -3
- package/legacy/legacy-glTF2.js.map +1 -1
- package/legacy/legacy-glTF2FileLoader.js +2 -2
- package/legacy/legacy-glTFFileLoader.js +3 -3
- package/legacy/legacy-objFileLoader.d.ts +1 -1
- package/legacy/legacy-objFileLoader.js +2 -2
- package/legacy/legacy-objFileLoader.js.map +1 -1
- package/legacy/legacy-stlFileLoader.d.ts +1 -1
- package/legacy/legacy-stlFileLoader.js +2 -2
- package/legacy/legacy-stlFileLoader.js.map +1 -1
- package/legacy/legacy.js +6 -6
- package/package.json +16 -4
package/legacy/legacy.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import "../index";
|
2
|
-
export * from "./legacy-glTF";
|
3
|
-
export * from "./legacy-glTF1";
|
4
|
-
export * from "./legacy-glTF2";
|
5
|
-
export * from "./legacy-objFileLoader";
|
6
|
-
export * from "./legacy-stlFileLoader";
|
1
|
+
import "../index.js";
|
2
|
+
export * from "./legacy-glTF.js";
|
3
|
+
export * from "./legacy-glTF1.js";
|
4
|
+
export * from "./legacy-glTF2.js";
|
5
|
+
export * from "./legacy-objFileLoader.js";
|
6
|
+
export * from "./legacy-stlFileLoader.js";
|
7
7
|
//# sourceMappingURL=legacy.js.map
|
package/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
},
|
5
5
|
"name": "@babylonjs/loaders",
|
6
6
|
"description": "The Babylon.js file loaders library is an extension you can use to load different 3D file types into a Babylon scene.",
|
7
|
-
"version": "5.0.0-
|
7
|
+
"version": "5.0.0-beta.4",
|
8
8
|
"repository": {
|
9
9
|
"type": "git",
|
10
10
|
"url": "https://github.com/BabylonJS/Babylon.js.git"
|
@@ -56,6 +56,9 @@
|
|
56
56
|
"glTF/2.0/Extensions/KHR_materials_clearcoat.d.ts",
|
57
57
|
"glTF/2.0/Extensions/KHR_materials_clearcoat.js",
|
58
58
|
"glTF/2.0/Extensions/KHR_materials_clearcoat.js.map",
|
59
|
+
"glTF/2.0/Extensions/KHR_materials_emissive_strength.d.ts",
|
60
|
+
"glTF/2.0/Extensions/KHR_materials_emissive_strength.js",
|
61
|
+
"glTF/2.0/Extensions/KHR_materials_emissive_strength.js.map",
|
59
62
|
"glTF/2.0/Extensions/KHR_materials_ior.d.ts",
|
60
63
|
"glTF/2.0/Extensions/KHR_materials_ior.js",
|
61
64
|
"glTF/2.0/Extensions/KHR_materials_ior.js.map",
|
@@ -80,6 +83,9 @@
|
|
80
83
|
"glTF/2.0/Extensions/KHR_materials_variants.d.ts",
|
81
84
|
"glTF/2.0/Extensions/KHR_materials_variants.js",
|
82
85
|
"glTF/2.0/Extensions/KHR_materials_variants.js.map",
|
86
|
+
"glTF/2.0/Extensions/KHR_materials_volume.d.ts",
|
87
|
+
"glTF/2.0/Extensions/KHR_materials_volume.js",
|
88
|
+
"glTF/2.0/Extensions/KHR_materials_volume.js.map",
|
83
89
|
"glTF/2.0/Extensions/KHR_mesh_quantization.d.ts",
|
84
90
|
"glTF/2.0/Extensions/KHR_mesh_quantization.js",
|
85
91
|
"glTF/2.0/Extensions/KHR_mesh_quantization.js.map",
|
@@ -164,6 +170,12 @@
|
|
164
170
|
"OBJ/objFileLoader.d.ts",
|
165
171
|
"OBJ/objFileLoader.js",
|
166
172
|
"OBJ/objFileLoader.js.map",
|
173
|
+
"OBJ/objLoadingOptions.d.ts",
|
174
|
+
"OBJ/objLoadingOptions.js",
|
175
|
+
"OBJ/objLoadingOptions.js.map",
|
176
|
+
"OBJ/solidParser.d.ts",
|
177
|
+
"OBJ/solidParser.js",
|
178
|
+
"OBJ/solidParser.js.map",
|
167
179
|
"readme.md",
|
168
180
|
"STL/index.d.ts",
|
169
181
|
"STL/index.js",
|
@@ -182,9 +194,9 @@
|
|
182
194
|
],
|
183
195
|
"license": "Apache-2.0",
|
184
196
|
"dependencies": {
|
185
|
-
"babylonjs-gltf2interface": "5.0.0-
|
186
|
-
"@babylonjs/core": "5.0.0-
|
187
|
-
"tslib": "
|
197
|
+
"babylonjs-gltf2interface": "5.0.0-beta.4",
|
198
|
+
"@babylonjs/core": "5.0.0-beta.4",
|
199
|
+
"tslib": "^2.3.1"
|
188
200
|
},
|
189
201
|
"engines": {
|
190
202
|
"node": "*"
|