@threepipe/plugin-gltf-transform 0.1.2 → 0.2.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.
@@ -1,5 +1,6 @@
1
1
  import { AssetExporterPlugin, AViewerPluginSync, IExporter, ThreeViewer } from 'threepipe';
2
2
  import { EncoderOptions } from '@gltf-transform/extensions/dist/khr-draco-mesh-compression/encoder';
3
+ import { Extension } from '@gltf-transform/core';
3
4
  export declare enum EncoderMethod {
4
5
  EDGEBREAKER = 1,
5
6
  SEQUENTIAL = 0
@@ -20,6 +21,7 @@ export declare class GLTFDracoExportPlugin extends AViewerPluginSync {
20
21
  * To explicitly remove the data, use `removeExtension` with the name of the extension
21
22
  */
22
23
  extraExtensions: [string, Record<string, string | number> | undefined][];
24
+ get gltfTransformExtensions(): (typeof Extension)[];
23
25
  addExtension(name: string, textures?: Record<string, string | number>): void;
24
26
  /**
25
27
  * Note - don't remove an extension when removing a plugin.
@@ -1 +1 @@
1
- {"version":3,"file":"GLTFDracoExportPlugin.d.ts","sourceRoot":"","sources":["../src/GLTFDracoExportPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,mBAAmB,EACnB,iBAAiB,EAUjB,SAAS,EACT,WAAW,EAKd,MAAM,WAAW,CAAA;AAGlB,OAAO,EAAC,cAAc,EAAC,MAAM,oEAAoE,CAAA;AAEjG,oBAAY,aAAa;IACrB,WAAW,IAAI;IACf,UAAU,IAAI;CACjB;AAED;;;;;;;GAOG;AACH,qBAAa,qBAAsB,SAAQ,iBAAiB;IACxD,gBAAuB,UAAU,2BAA0B;IAC3D,OAAO,UAAO;IAEd;;;OAGG;IACH,eAAe,EAyBV,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAC,MAAM,CAAC,GAAC,SAAS,CAAC,EAAE,CAAA;IAExD,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MA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AE,SAAS,CAAC,MAAM,CAAC,CASjC;IAED,OAAO,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI;IA6ClC,QAAQ,CAAC,MAAM,EAAE,WAAW;IAS5B,SAAS,CAAC,OAAO,GAAI,UAAU,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SA2CjD;CACJ"}
@@ -1,12 +1,12 @@
1
1
  import { Extension, ReaderContext, WriterContext } from '@gltf-transform/core';
2
2
  import { EncoderOptions } from '@gltf-transform/extensions/dist/khr-draco-mesh-compression/encoder';
3
- import { DRACOLoader2, GLTFExporter2, GLTFExporter2Options, IExportParser } from 'threepipe';
3
+ import { DRACOLoader2, GLTFExporter2, GLTFExporter2Options, IExportWriter } from 'threepipe';
4
4
  /**
5
5
  * GLTF Draco Exporter
6
6
  *
7
7
  * Extension of GLTFExporter2 that runs the output through gltf-transform for draco compression.
8
8
  */
9
- export declare class GLTFDracoExporter extends GLTFExporter2 implements IExportParser {
9
+ export declare class GLTFDracoExporter extends GLTFExporter2 implements IExportWriter {
10
10
  loader?: DRACOLoader2;
11
11
  private _io;
12
12
  private _loadedLibs;
@@ -17,9 +17,10 @@ export declare class GLTFDracoExporter extends GLTFExporter2 implements IExportP
17
17
  parseAsync(obj: any, { compress, dracoOptions, ...options }: {
18
18
  compress: boolean;
19
19
  dracoOptions?: EncoderOptions;
20
- } & GLTFExporter2Options): Promise<Blob>;
21
- addExtension(extension: typeof Extension): this;
20
+ } & GLTFExporter2Options, throwOnError?: boolean): Promise<Blob>;
21
+ addExtension(...extension: (typeof Extension)[]): this;
22
22
  createAndAddExtension(name: string, textures?: Record<string, string | number>): this;
23
+ createAndAddExtensions(extensions: [string, Record<string, string | number> | undefined][]): this;
23
24
  }
24
25
  declare module 'threepipe' {
25
26
  interface GLTFExporter2Options {
@@ -27,6 +28,14 @@ declare module 'threepipe' {
27
28
  dracoOptions?: EncoderOptions;
28
29
  }
29
30
  }
31
+ export declare class GLTFViewerConfigExtensionGP extends Extension {
32
+ readonly extensionName = "WEBGI_viewer";
33
+ static readonly EXTENSION_NAME = "WEBGI_viewer";
34
+ private _viewerConfig;
35
+ read(context: ReaderContext): this;
36
+ write(context: WriterContext): this;
37
+ required: boolean;
38
+ }
30
39
  declare abstract class GenericExtension extends Extension {
31
40
  abstract readonly extensionName: string;
32
41
  textureChannels: Record<string, number>;
@@ -1 +1 @@
1
- {"version":3,"file":"GLTFDracoExporter.d.ts","sourceRoot":"","sources":["../src/GLTFDracoExporter.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,SAAS,EAMT,aAAa,EAKb,aAAa,EAChB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAC,cAAc,EAAC,MAAM,oEAAoE,CAAA;AAEjG,OAAO,EAAC,YAAY,EAAE,aAAa,EAAE,oBAAoB,EAA6B,aAAa,EAAC,MAAM,WAAW,CAAA;AAErH;;;;GAIG;AACH,qBAAa,iBAAkB,SAAQ,aAAc,YAAW,aAAa;IAClE,MAAM,CAAC,EAAE,YAAY,CAAA;IAC5B,OAAO,CAAC,GAAG,CAAO;IAClB,OAAO,CAAC,WAAW,CAAQ;IAC3B,OAAO,CAAC,eAAe,CAAgB;gBAE3B,cAAc,CAAC,EAAE,cAAc,EAAE,MAAM,CAAC,EAAE,YAAY;IAoBlE,OAAO,IAAI,IAAI;YAKD,SAAS;IAejB,UAAU,CAAC,GAAG,EAAE,GAAG,EAAE,EAAC,QAAgB,EAAE,YAAY,EAAE,GAAG,OAAO,EAAC,EAAE;QAAC,QAAQ,EAAE,OAAO,CAAC;QAAC,YAAY,CAAC,EAAE,cAAc,CAAA;KAAC,GAAG,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;IAyDlK,YAAY,CAAC,SAAS,EAAE,OAAO,SAAS,GAAG,IAAI;IAI/C,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAC,MAAM,CAAC,GAA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AAM,CAAC,MAAM,EAAE,MAAM,GAAC,MAAM,CAAC,GAAG,OAAO,gBAAgB,CAU3H"}
@@ -0,0 +1,43 @@
1
+ import { AViewerPluginSync, GLTFParser, ThreeViewer } from 'threepipe';
2
+ import { Extension } from '@gltf-transform/core';
3
+ /**
4
+ * GLTFSpecGlossinessConverterPlugin
5
+ *
6
+ * Plugin that adds a gltf loader extension that automatically converts GLTF files with specular glossiness materials ([KHR_materials_pbrSpecularGlossiness](https://kcoley.github.io/glTF/extensions/2.0/Khronos/KHR_materials_pbrSpecularGlossiness/)) to metallic roughness during import.
7
+ *
8
+ * To use this plugin, simply add it to the viewer and import a file with specular glossiness materials.
9
+ * If `confirm` is set to true, a confirmation dialog will be shown before the conversion.
10
+ */
11
+ export declare class GLTFSpecGlossinessConverterPlugin extends AViewerPluginSync {
12
+ enabled: boolean;
13
+ static readonly PluginType = "GLTFSpecGlossinessConverterPlugin";
14
+ toJSON: any;
15
+ /**
16
+ * Whether to show the confirmation dialog when loading a GLTF file with specular glossiness materials.
17
+ * If set to false, the conversion will be done automatically without confirmation.
18
+ * To disable the conversion entirely, disable the plugin.
19
+ */
20
+ confirm: boolean;
21
+ /**
22
+ * The message to show in the confirmation dialog when loading a GLTF file with specular glossiness materials.
23
+ */
24
+ confirmMessage: string;
25
+ private _loaderCreate;
26
+ constructor();
27
+ onAdded(v: ThreeViewer): void;
28
+ onRemove(v: ThreeViewer): void;
29
+ }
30
+ export declare const gltfKhrPbrSpecularGlossinessConverter: (confirm?: (s: string) => Promise<boolean>, extensions?: (typeof Extension)[]) => (parser: GLTFParser) => {
31
+ name: string;
32
+ beforeRoot: () => Promise<void>;
33
+ };
34
+ declare module 'threepipe' {
35
+ interface ImportAddOptions {
36
+ /**
37
+ * Whether to confirm the conversion of specular glossiness materials to metallic roughness.
38
+ * @default true
39
+ */
40
+ confirmSpecGlossConversion?: boolean;
41
+ }
42
+ }
43
+ //# sourceMappingURL=GLTFSpecGlossinessConverterPlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GLTFSpecGlossinessConverterPlugin.d.ts","sourceRoot":"","sources":["../src/GLTFSpecGlossinessConverterPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAkD,UAAU,EAAE,WAAW,EAAC,MAAM,WAAW,CAAA;AACpH,OAAO,EAAC,SAAS,EAAQ,MAAM,sBAAsB,CAAA;AAKrD;;;;;;;GAOG;AACH,qBAAa,iCAAkC,SAAQ,iBAAiB;IACpE,OAAO,UAAO;IAEd,MAAM,CAAC,QAAQ,CAAC,UAAU,uCAAsC;IAChE,MAAM,EAAE,GAAG,CAAY;IAIvB;;;;OAIG;IACH,OAAO,UAAO;IACd;;OAEG;IACH,cAAc,SAA8H;IAE5I,OAAO,CAAC,aAAa;;IAerB,OAAO,CAAC,CAAC,EAAE,WAAW;IAKtB,QAAQ,CAAC,CAAC,EAAE,WAAW;CAI1B;AAGD,eAAO,MAAM,qCAAqC,GAAI,UAAU,CAAC,CAAC,EAAE,MAAM,KAAG,OAAO,CAAC,OAAO,CAAC,EAAE,aAAa,CAAC,OAAO,SAAS,CAAC,EAAE,MAAI,QAAQ,UAAU;;;CAuDpJ,CAAA;AAEF,OAAO,QAAQ,WAAW,CAAA;IACtB,UAAU,gBAAgB;QACtB;;;WAGG;QACH,0BAA0B,CAAC,EAAE,OAAO,CAAA;KACvC;CACJ"}
@@ -1,5 +1,5 @@
1
1
  Name: property-graph
2
- Version: 1.3.1
2
+ Version: 3.0.0
3
3
  License: MIT
4
4
  Private: false
5
5
  Description: Base for creating objects that behave like a Property Graph.
@@ -33,19 +33,19 @@ SOFTWARE.
33
33
  ---
34
34
 
35
35
  Name: @gltf-transform/core
36
- Version: 3.2.1
36
+ Version: 4.2.0
37
37
  License: MIT
38
38
  Private: false
39
39
  Description: glTF 2.0 SDK for JavaScript and TypeScript, on Web and Node.js.
40
40
  Repository: undefined
41
- Homepage: https://gltf-transform.donmccurdy.com/
41
+ Homepage: https://gltf-transform.dev/
42
42
  Author: Don McCurdy <dm@donmccurdy.com>
43
43
  License Copyright:
44
44
  ===
45
45
 
46
46
  The MIT License (MIT)
47
47
 
48
- Copyright (c) 2023 Don McCurdy
48
+ Copyright (c) 2024 Don McCurdy
49
49
 
50
50
  Permission is hereby granted, free of charge, to any person obtaining a copy
51
51
  of this software and associated documentation files (the "Software"), to deal
@@ -68,7 +68,7 @@ SOFTWARE.
68
68
  ---
69
69
 
70
70
  Name: ktx-parse
71
- Version: 0.5.0
71
+ Version: 1.0.1
72
72
  License: MIT
73
73
  Private: false
74
74
  Description: KTX 2.0 (.ktx2) parser and serializer.
@@ -102,19 +102,299 @@ SOFTWARE.
102
102
  ---
103
103
 
104
104
  Name: @gltf-transform/extensions
105
- Version: 3.2.1
105
+ Version: 4.2.0
106
106
  License: MIT
107
107
  Private: false
108
108
  Description: Adds extension support to @gltf-transform/core
109
109
  Repository: undefined
110
- Homepage: https://gltf-transform.donmccurdy.com/extensions.html
110
+ Homepage: https://gltf-transform.dev/extensions.html
111
111
  Author: Don McCurdy <dm@donmccurdy.com>
112
112
  License Copyright:
113
113
  ===
114
114
 
115
115
  The MIT License (MIT)
116
116
 
117
- Copyright (c) 2023 Don McCurdy
117
+ Copyright (c) 2024 Don McCurdy
118
+
119
+ Permission is hereby granted, free of charge, to any person obtaining a copy
120
+ of this software and associated documentation files (the "Software"), to deal
121
+ in the Software without restriction, including without limitation the rights
122
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
123
+ copies of the Software, and to permit persons to whom the Software is
124
+ furnished to do so, subject to the following conditions:
125
+
126
+ The above copyright notice and this permission notice shall be included in all
127
+ copies or substantial portions of the Software.
128
+
129
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
130
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
131
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
132
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
133
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
134
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
135
+ SOFTWARE.
136
+
137
+ ---
138
+
139
+ Name: iota-array
140
+ Version: 1.0.0
141
+ License: MIT
142
+ Private: false
143
+ Description: Generates an array of consecutive integers starting at 0
144
+ Repository: git://github.com/mikolalysenko/iota-array.git
145
+ Author: Mikola Lysenko
146
+ License Copyright:
147
+ ===
148
+
149
+
150
+ The MIT License (MIT)
151
+
152
+ Copyright (c) 2013 Mikola Lysenko
153
+
154
+ Permission is hereby granted, free of charge, to any person obtaining a copy
155
+ of this software and associated documentation files (the "Software"), to deal
156
+ in the Software without restriction, including without limitation the rights
157
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
158
+ copies of the Software, and to permit persons to whom the Software is
159
+ furnished to do so, subject to the following conditions:
160
+
161
+ The above copyright notice and this permission notice shall be included in
162
+ all copies or substantial portions of the Software.
163
+
164
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
165
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
166
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
167
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
168
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
169
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
170
+ THE SOFTWARE.
171
+
172
+ ---
173
+
174
+ Name: is-buffer
175
+ Version: 1.1.6
176
+ License: MIT
177
+ Private: false
178
+ Description: Determine if an object is a Buffer
179
+ Repository: git://github.com/feross/is-buffer.git
180
+ Author: Feross Aboukhadijeh <feross@feross.org> (http://feross.org/)
181
+ License Copyright:
182
+ ===
183
+
184
+ The MIT License (MIT)
185
+
186
+ Copyright (c) Feross Aboukhadijeh
187
+
188
+ Permission is hereby granted, free of charge, to any person obtaining a copy
189
+ of this software and associated documentation files (the "Software"), to deal
190
+ in the Software without restriction, including without limitation the rights
191
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
192
+ copies of the Software, and to permit persons to whom the Software is
193
+ furnished to do so, subject to the following conditions:
194
+
195
+ The above copyright notice and this permission notice shall be included in
196
+ all copies or substantial portions of the Software.
197
+
198
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
199
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
200
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
201
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
202
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
203
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
204
+ THE SOFTWARE.
205
+
206
+ ---
207
+
208
+ Name: ndarray
209
+ Version: 1.0.19
210
+ License: MIT
211
+ Private: false
212
+ Description: Multidimensional Arrays
213
+ Repository: git://github.com/mikolalysenko/ndarray.git
214
+ Author: Mikola Lysenko
215
+ License Copyright:
216
+ ===
217
+
218
+
219
+ The MIT License (MIT)
220
+
221
+ Copyright (c) 2013-2016 Mikola Lysenko
222
+
223
+ Permission is hereby granted, free of charge, to any person obtaining a copy
224
+ of this software and associated documentation files (the "Software"), to deal
225
+ in the Software without restriction, including without limitation the rights
226
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
227
+ copies of the Software, and to permit persons to whom the Software is
228
+ furnished to do so, subject to the following conditions:
229
+
230
+ The above copyright notice and this permission notice shall be included in
231
+ all copies or substantial portions of the Software.
232
+
233
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
234
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
235
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
236
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
237
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
238
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
239
+ THE SOFTWARE.
240
+
241
+ ---
242
+
243
+ Name: ndarray-ops
244
+ Version: 1.2.2
245
+ License: MIT
246
+ Private: false
247
+ Description: Common operations for ndarray arrays
248
+ Repository: git://github.com/mikolalysenko/ndarray-ops.git
249
+ Author: Mikola Lysenko
250
+ License Copyright:
251
+ ===
252
+
253
+
254
+ The MIT License (MIT)
255
+
256
+ Copyright (c) 2013 Mikola Lysenko
257
+
258
+ Permission is hereby granted, free of charge, to any person obtaining a copy
259
+ of this software and associated documentation files (the "Software"), to deal
260
+ in the Software without restriction, including without limitation the rights
261
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
262
+ copies of the Software, and to permit persons to whom the Software is
263
+ furnished to do so, subject to the following conditions:
264
+
265
+ The above copyright notice and this permission notice shall be included in
266
+ all copies or substantial portions of the Software.
267
+
268
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
269
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
270
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
271
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
272
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
273
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
274
+ THE SOFTWARE.
275
+
276
+ ---
277
+
278
+ Name: uniq
279
+ Version: 1.0.1
280
+ License: MIT
281
+ Private: false
282
+ Description: Removes duplicates from a sorted array in place
283
+ Repository: git://github.com/mikolalysenko/uniq.git
284
+ Author: Mikola Lysenko
285
+ License Copyright:
286
+ ===
287
+
288
+
289
+ The MIT License (MIT)
290
+
291
+ Copyright (c) 2013 Mikola Lysenko
292
+
293
+ Permission is hereby granted, free of charge, to any person obtaining a copy
294
+ of this software and associated documentation files (the "Software"), to deal
295
+ in the Software without restriction, including without limitation the rights
296
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
297
+ copies of the Software, and to permit persons to whom the Software is
298
+ furnished to do so, subject to the following conditions:
299
+
300
+ The above copyright notice and this permission notice shall be included in
301
+ all copies or substantial portions of the Software.
302
+
303
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
304
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
305
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
306
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
307
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
308
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
309
+ THE SOFTWARE.
310
+
311
+ ---
312
+
313
+ Name: cwise-compiler
314
+ Version: 1.1.3
315
+ License: MIT
316
+ Private: false
317
+ Description: cwise's internal compiler
318
+ Repository: git://github.com/scijs/cwise-compiler.git
319
+ Author: Mikola Lysenko
320
+ Contributors:
321
+ Jasper van de Gronde <th.v.d.gronde@hccnet.nl>
322
+ License Copyright:
323
+ ===
324
+
325
+
326
+ The MIT License (MIT)
327
+
328
+ Copyright (c) 2013 Mikola Lysenko
329
+
330
+ Permission is hereby granted, free of charge, to any person obtaining a copy
331
+ of this software and associated documentation files (the "Software"), to deal
332
+ in the Software without restriction, including without limitation the rights
333
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
334
+ copies of the Software, and to permit persons to whom the Software is
335
+ furnished to do so, subject to the following conditions:
336
+
337
+ The above copyright notice and this permission notice shall be included in
338
+ all copies or substantial portions of the Software.
339
+
340
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
341
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
342
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
343
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
344
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
345
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
346
+ THE SOFTWARE.
347
+
348
+ ---
349
+
350
+ Name: ndarray-pixels
351
+ Version: 4.1.0
352
+ License: MIT
353
+ Private: false
354
+ Description: ndarray-pixels
355
+ Repository: undefined
356
+ Author: Don McCurdy <dm@donmccurdy.com>
357
+ License Copyright:
358
+ ===
359
+
360
+ The MIT License (MIT)
361
+
362
+ Copyright (c) 2021 Don McCurdy
363
+
364
+ Permission is hereby granted, free of charge, to any person obtaining a copy
365
+ of this software and associated documentation files (the "Software"), to deal
366
+ in the Software without restriction, including without limitation the rights
367
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
368
+ copies of the Software, and to permit persons to whom the Software is
369
+ furnished to do so, subject to the following conditions:
370
+
371
+ The above copyright notice and this permission notice shall be included in all
372
+ copies or substantial portions of the Software.
373
+
374
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
375
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
376
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
377
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
378
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
379
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
380
+ SOFTWARE.
381
+
382
+ ---
383
+
384
+ Name: @gltf-transform/functions
385
+ Version: 4.2.0
386
+ License: MIT
387
+ Private: false
388
+ Description: Functions for common glTF modifications, written using the core API
389
+ Repository: undefined
390
+ Homepage: https://gltf-transform.dev/functions.html
391
+ Author: Don McCurdy <dm@donmccurdy.com>
392
+ License Copyright:
393
+ ===
394
+
395
+ The MIT License (MIT)
396
+
397
+ Copyright (c) 2024 Don McCurdy
118
398
 
119
399
  Permission is hereby granted, free of charge, to any person obtaining a copy
120
400
  of this software and associated documentation files (the "Software"), to deal
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export { GLTFDracoExporter, createGenericExtensionClass } from './GLTFDracoExporter';
2
- export { GLTFDracoExportPlugin } from './GLTFDracoExportPlugin';
2
+ export { GLTFDracoExportPlugin, EncoderMethod } from './GLTFDracoExportPlugin';
3
+ export { GLTFSpecGlossinessConverterPlugin, gltfKhrPbrSpecularGlossinessConverter } from './GLTFSpecGlossinessConverterPlugin';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAE,2BAA2B,EAAC,MAAM,qBAAqB,CAAA;AAClF,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAE,2BAA2B,EAAC,MAAM,qBAAqB,CAAA;AAClF,OAAO,EAAC,qBAAqB,EAAE,aAAa,EAAC,MAAM,yBAAyB,CAAA;AAC5E,OAAO,EAAC,iCAAiC,EAAE,qCAAqC,EAAC,MAAM,qCAAqC,CAAA"}