@aura3d/assets 1.3.3 → 1.4.1

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.
Files changed (73) hide show
  1. package/dist/GLTFLoader.js +1 -0
  2. package/dist/GLTFLoader.js.map +1 -1
  3. package/dist/GLTFRenderResources.d.ts.map +1 -1
  4. package/dist/GLTFRenderResources.js +1 -0
  5. package/dist/GLTFRenderResources.js.map +1 -1
  6. package/package.json +38 -5
  7. package/src/AdvancedAssetCorpus.ts +0 -454
  8. package/src/AssetBundleCacheFixtures.ts +0 -290
  9. package/src/AssetCache.ts +0 -76
  10. package/src/AssetCompatibility.ts +0 -224
  11. package/src/AssetCorpus.ts +0 -329
  12. package/src/AssetDependencyGraph.ts +0 -83
  13. package/src/AssetHandle.ts +0 -74
  14. package/src/AssetImportPreflight.ts +0 -179
  15. package/src/AssetInspection.ts +0 -706
  16. package/src/AssetLoader.ts +0 -36
  17. package/src/AssetManager.ts +0 -211
  18. package/src/AssetRegistry.ts +0 -44
  19. package/src/AssetRenderDefaults.ts +0 -36
  20. package/src/AudioLoader.ts +0 -41
  21. package/src/BlenderExportValidation.ts +0 -227
  22. package/src/CarConceptMaterialStability.ts +0 -1405
  23. package/src/EXRLoader.ts +0 -1
  24. package/src/ExternalParityGLTFCorpus.ts +0 -65
  25. package/src/GLTFAnimationRuntime.ts +0 -1416
  26. package/src/GLTFAutoFit.ts +0 -133
  27. package/src/GLTFCompressionDecoders.ts +0 -190
  28. package/src/GLTFExtensionSupport.ts +0 -138
  29. package/src/GLTFLoader.ts +0 -4059
  30. package/src/GLTFRenderResources.ts +0 -2269
  31. package/src/HDRLoader.ts +0 -1
  32. package/src/ImageLoader.ts +0 -52
  33. package/src/ImportPipeline.ts +0 -148
  34. package/src/KTX2BasisTextureTranscoder.ts +0 -225
  35. package/src/LoadContext.ts +0 -60
  36. package/src/MaterialLoader.ts +0 -166
  37. package/src/MeshOptimization.ts +0 -93
  38. package/src/OBJLoader.ts +0 -551
  39. package/src/SceneAnalysisFixtures.ts +0 -438
  40. package/src/SceneLoader.ts +0 -62
  41. package/src/ShaderLoader.ts +0 -30
  42. package/src/TextureLoader.ts +0 -30
  43. package/src/TexturePipeline.ts +0 -96
  44. package/src/TextureStreaming.ts +0 -20
  45. package/src/WorkerAssetJobs.ts +0 -56
  46. package/src/advanced-gallery/index.ts +0 -18
  47. package/src/asset-corpus/GLTFSceneLoader.ts +0 -9
  48. package/src/asset-corpus/ProductionAssetCorpus.ts +0 -230
  49. package/src/asset-corpus/ProductionAssetPipeline.ts +0 -5
  50. package/src/asset-corpus/ProductionGLTFRenderPipeline.ts +0 -182
  51. package/src/asset-corpus/ProductionHDRTextureLoader.ts +0 -2
  52. package/src/asset-corpus/ProductionKTX2TextureLoader.ts +0 -2
  53. package/src/asset-corpus/ProductionTextureLoader.ts +0 -2
  54. package/src/asset-corpus/index.ts +0 -29
  55. package/src/browser-index.ts +0 -229
  56. package/src/createRenderableScene.ts +0 -128
  57. package/src/index.ts +0 -325
  58. package/src/loadRenderableAsset.ts +0 -67
  59. package/src/loaders/CubeTextureLoader.ts +0 -8
  60. package/src/loaders/EXRLoader.ts +0 -10
  61. package/src/loaders/HDRLoader.ts +0 -7
  62. package/src/loaders/KTX2Loader.ts +0 -7
  63. package/src/loaders/LoaderDiagnostics.ts +0 -36
  64. package/src/loaders/MTLLoader.ts +0 -20
  65. package/src/loaders/OBJLoader.ts +0 -24
  66. package/src/loaders/TextureLoader.ts +0 -14
  67. package/src/loaders/ThreeCompatGLTFLoader.ts +0 -19
  68. package/src/loaders/index.ts +0 -14
  69. package/src/threejs-compatibility/ThreeCompatAssetProvenance.ts +0 -51
  70. package/src/threejs-compatibility/ThreeCompatAssetRegistry.ts +0 -61
  71. package/src/threejs-example-parity/index.ts +0 -262
  72. package/tests/assets.test.ts +0 -393
  73. package/tsconfig.json +0 -7
@@ -1,229 +0,0 @@
1
- export { AssetCache } from "./AssetCache";
2
- export type { AssetCacheSnapshot } from "./AssetCache";
3
- export { AssetDependencyGraph } from "./AssetDependencyGraph";
4
- export { AssetHandle } from "./AssetHandle";
5
- export type { AssetHandleOptions, AssetHandleStatus } from "./AssetHandle";
6
- export { AssetLoadError } from "./AssetLoader";
7
- export type { AssetLoader, AssetLoadProgress, AssetLoadRequest } from "./AssetLoader";
8
- export { AssetManager } from "./AssetManager";
9
- export type { AssetLoadOptions, AssetManagerOptions } from "./AssetManager";
10
- export { AssetRegistry } from "./AssetRegistry";
11
- export { ImageLoader } from "./ImageLoader";
12
- export type { ImageAsset } from "./ImageLoader";
13
- export { createAssetBundleCacheEvidence } from "./AssetBundleCacheFixtures";
14
- export type {
15
- AssetBundleCacheEvidence,
16
- AssetBundleCacheInput,
17
- AssetBundleManifestEvidenceEntry
18
- } from "./AssetBundleCacheFixtures";
19
- export { createGLTFSceneAnalysisEvidence } from "./SceneAnalysisFixtures";
20
- export type {
21
- GLTFObjectDetectionEvidence,
22
- GLTFObjectTrackEvidence,
23
- GLTFPoseEvidence,
24
- GLTFPoseKeypointEvidence,
25
- GLTFSceneAnalysisEvidence,
26
- GLTFSceneAnalysisOptions
27
- } from "./SceneAnalysisFixtures";
28
- export { GLTFLoader, normalizeSkinWeights } from "./GLTFLoader";
29
- export { autoFitGLTFScene, computeAutoFitTransform } from "./GLTFAutoFit";
30
- export type { AutoFitOptions, AutoFitTransform, GLTFUpAxis } from "./GLTFAutoFit";
31
- export type {
32
- GLTFAsset,
33
- GLTFCameraAsset,
34
- GLTFClearcoatMaterialExtension,
35
- GLTFDracoDecodeDescriptor,
36
- GLTFDracoDecodedPrimitive,
37
- GLTFDracoDecoder,
38
- GLTFGeometryAsset,
39
- GLTFImageAsset,
40
- GLTFLightAsset,
41
- GLTFAccessorLoadProfileEntry,
42
- GLTFLoaderDiagnostics,
43
- GLTFLoaderLoadProfileDiagnostics,
44
- GLTFLoaderOptions,
45
- GLTFMaterialAsset,
46
- GLTFMaterialVariantAsset,
47
- GLTFMaterialVariantMappingAsset,
48
- GLTFMeshAsset,
49
- GLTFMeshoptDecodeDescriptor,
50
- GLTFMeshoptDecoder,
51
- GLTFPBRSpecularGlossinessMaterialExtension,
52
- GLTFResolvedTextureInfo,
53
- GLTFSamplerAsset,
54
- GLTFSceneAsset,
55
- GLTFSceneCreateOptions,
56
- GLTFSheenMaterialExtension,
57
- GLTFSkinAsset,
58
- GLTFSpecularMaterialExtension,
59
- GLTFTextureAsset,
60
- GLTFTransmissionMaterialExtension,
61
- GLTFVolumeMaterialExtension,
62
- SerializedGLTFAsset,
63
- SkinWeightNormalizationStats
64
- } from "./GLTFLoader";
65
- export { inspectGLTFAsset } from "./AssetInspection";
66
- export type {
67
- GLTFAssetInspectionReport,
68
- GLTFAnimationInspection,
69
- GLTFDependencyInspection,
70
- GLTFMaterialInspection,
71
- GLTFMeshInspection,
72
- GLTFMorphTargetInspection,
73
- GLTFSceneHierarchyNodeInspection,
74
- GLTFSkinInspection,
75
- GLTFTextureInspection
76
- } from "./AssetInspection";
77
- export { OBJLoader } from "./OBJLoader";
78
- export {
79
- GLTF_DECODER_REQUIRED_EXTENSION_NAMES,
80
- GLTF_DIAGNOSTIC_ONLY_EXTENSION_NAMES,
81
- GLTF_EXTENSION_SUPPORT_MATRIX,
82
- GLTF_PARSED_WITH_LIMITS_EXTENSION_NAMES,
83
- GLTF_REQUIRED_ACCEPTED_EXTENSION_NAMES,
84
- GLTF_RUNTIME_SUPPORTED_EXTENSION_NAMES,
85
- GLTF_SUPPORTED_EXTENSION_NAMES,
86
- evaluateGLTFExtensionSupport,
87
- getGLTFExtensionSupport
88
- } from "./GLTFExtensionSupport";
89
- export type {
90
- GLTFExtensionSupportEntry,
91
- GLTFExtensionSupportEvaluation,
92
- GLTFExtensionSupportFamily,
93
- GLTFExtensionSupportStatus
94
- } from "./GLTFExtensionSupport";
95
- export { createGLTFSceneAnimationMixer, createGLTFSceneAnimationRuntime, GLTFImportedSkeletonIKController, GLTFSceneAnimationCloneSampler, GLTFSceneAnimationMixerBinding, GLTFSceneAnimationRuntime, GLTFSceneMorphTargetController, resolveGLTFClipName } from "./GLTFAnimationRuntime";
96
- export type {
97
- GLTFImportedSkeletonIKControllerOptions,
98
- GLTFImportedSkeletonIKControllerSnapshot,
99
- GLTFImportedSkeletonIKOptions,
100
- GLTFImportedSkeletonIKResult,
101
- GLTFSceneAnimationApplyResult,
102
- GLTFSceneAnimationActionSnapshot,
103
- GLTFSceneAnimationCloneSample,
104
- GLTFSceneAnimationCloneSampleResult,
105
- GLTFSceneAnimationCloneSamplerSnapshot,
106
- GLTFSceneAnimationClipBindingDiagnostics,
107
- GLTFSceneAnimationMixerOptions,
108
- GLTFSceneAnimationPlayOptions,
109
- GLTFSceneAnimationMixerSnapshot,
110
- GLTFSceneAnimationMixerUpdateResult,
111
- GLTFSceneAnimationRuntimeOptions,
112
- GLTFSceneAnimationRuntimeSnapshot,
113
- GLTFSceneMorphTargetControllerOptions,
114
- GLTFSceneMorphTargetControllerSnapshot,
115
- GLTFScenePose,
116
- GLTFScenePoseBoneTransform
117
- } from "./GLTFAnimationRuntime";
118
- export {
119
- DEFAULT_GLTF_RENDER_ENVIRONMENT_LIGHTING,
120
- DEFAULT_GLTF_HDR_STUDIO_PREVIEW_POSTPROCESS,
121
- DEFAULT_GLTF_STUDIO_PREVIEW_FRAME,
122
- DEFAULT_GLTF_STUDIO_PREVIEW_ENVIRONMENT_LIGHTING,
123
- DEFAULT_GLTF_STUDIO_PREVIEW_POSTPROCESS,
124
- createDefaultGLTFHdrStudioPreviewEnvironmentLighting,
125
- createGLTFRenderResourceDiagnostics,
126
- createGLTFRenderResources,
127
- createGLTFRenderSource
128
- } from "./GLTFRenderResources";
129
- export {
130
- applyCarConceptMaterialStability,
131
- carConceptMaterialVisualRole,
132
- carConceptMaterialRenderStateOverrides
133
- } from "./CarConceptMaterialStability";
134
- export type {
135
- CarConceptMaterialBaseline,
136
- CarConceptMaterialVisualRole,
137
- CarConceptMaterialStabilityOptions,
138
- CarConceptMaterialStabilityProfile
139
- } from "./CarConceptMaterialStability";
140
- export type {
141
- DecodedGLTFImage,
142
- GLTFImageDecoder,
143
- GLTFMaterialRenderStateOverride,
144
- GLTFRenderResourceDiagnostics,
145
- GLTFRenderResourceDiagnosticsOptions,
146
- GLTFRenderResourceTextureSlotDiagnostic,
147
- GLTFRenderQualityPreset,
148
- GLTFRenderResourceOptions,
149
- GLTFRenderResources,
150
- GLTFRenderSourceOptions,
151
- GLTFRendererInput,
152
- GLTFRendererInputOptions
153
- } from "./GLTFRenderResources";
154
- export { LoadContext } from "./LoadContext";
155
- export type { LoadContextOptions } from "./LoadContext";
156
- export { TextureLoader } from "./TextureLoader";
157
- export type { TextureDescriptorAsset } from "./TextureLoader";
158
- export {
159
- assertValidGLTFCorpusManifest,
160
- createGLTFCorpusReport,
161
- normalizeAssetImportSettings,
162
- validateGLTFCorpusManifest
163
- } from "./AssetCorpus";
164
- export type {
165
- AssetDiagnostic,
166
- AssetDiagnosticSeverity,
167
- AssetImportSettings,
168
- GLTFCorpusAsset,
169
- GLTFCorpusAssetFormat,
170
- GLTFCorpusAssetReport,
171
- GLTFCorpusExpectedStatus,
172
- GLTFCorpusManifest,
173
- GLTFCorpusReport,
174
- GLTFCorpusSchemaVersion,
175
- GLTFCorpusSource,
176
- GLTFCorpusValidationResult
177
- } from "./AssetCorpus";
178
- export {
179
- createAssetCompatibilityReport
180
- } from "./AssetCompatibility";
181
- export type {
182
- AssetCompatibilityLoaderName,
183
- AssetCompatibilityReport,
184
- AssetCompatibilityReportAsset,
185
- AssetCompatibilityReportOptions,
186
- AssetCompatibilityStatus,
187
- AssetLoaderCompatibilityResult,
188
- BlenderExportCompatibilityResult,
189
- ExternalAssetLoaderCompatibilityResult
190
- } from "./AssetCompatibility";
191
- export {
192
- summarizeExternalParityGLTFCorpus,
193
- summarizeExternalParityCorpus,
194
- validateExternalParityGLTFCorpusManifest,
195
- validateExternalParityCorpusManifest
196
- } from "./ExternalParityGLTFCorpus";
197
- export type {
198
- ExternalParityGLTFCorpusAsset,
199
- ExternalParityGLTFCorpusManifest,
200
- ExternalParityGLTFCorpusSummary,
201
- ExternalParityCorpusAsset,
202
- ExternalParityCorpusManifest,
203
- ExternalParityCorpusSummary
204
- } from "./ExternalParityGLTFCorpus";
205
- export { loadRenderableAsset } from "./loadRenderableAsset";
206
- export type { LoadRenderableAssetOptions, RenderableAsset, RenderableAssetKind } from "./loadRenderableAsset";
207
- export { createRenderableScene } from "./createRenderableScene";
208
- export type { CreateRenderableSceneOptions, RenderableScene } from "./createRenderableScene";
209
- export {
210
- createProductionGLTFRenderMetadata,
211
- loadProductionGLTFRenderPipeline
212
- } from "./asset-corpus/ProductionGLTFRenderPipeline";
213
- export type {
214
- ProductionGLTFRenderMetadata,
215
- ProductionGLTFRenderWarning,
216
- ProductionGLTFRenderPipeline,
217
- ProductionGLTFRenderPipelineOptions
218
- } from "./asset-corpus/ProductionGLTFRenderPipeline";
219
- export { createDracoDecoder, createMeshoptDecoder } from "./GLTFCompressionDecoders";
220
- export type {
221
- GLTFDracoAttribute,
222
- GLTFDracoDecoderBuffer,
223
- GLTFDracoDecoderInstance,
224
- GLTFDracoDecoderModule,
225
- GLTFDracoMesh,
226
- GLTFDracoNumericArray,
227
- GLTFDracoStatus,
228
- GLTFMeshoptDecoderModule
229
- } from "./GLTFCompressionDecoders";
@@ -1,128 +0,0 @@
1
- import {
2
- type CollectedLight,
3
- createCanonicalProductSceneRenderKit,
4
- type CameraFrameViewport,
5
- type RenderSource,
6
- type RendererPostProcessOptions,
7
- type RendererShadowOptions
8
- } from "@aura3d/rendering";
9
- import { DirectionalLight } from "@aura3d/scene";
10
- import { createAssetRenderDefaults, type AssetRenderLightingPreset } from "./AssetRenderDefaults";
11
- import { createGLTFRenderResources, type GLTFRendererInput, type GLTFRenderQualityPreset, type GLTFRenderResourceOptions, type GLTFRenderResources } from "./GLTFRenderResources";
12
- import type { RenderableAsset } from "./loadRenderableAsset";
13
-
14
- export interface CreateRenderableSceneOptions {
15
- readonly camera?: "auto-frame";
16
- readonly lighting?: AssetRenderLightingPreset;
17
- readonly shadows?: boolean | RendererShadowOptions;
18
- readonly postprocess?: "product-default" | RendererPostProcessOptions | false;
19
- readonly viewport?: CameraFrameViewport;
20
- readonly qualityPreset?: GLTFRenderQualityPreset;
21
- readonly renderResources?: GLTFRenderResourceOptions;
22
- }
23
-
24
- export interface RenderableScene {
25
- readonly source: RenderSource;
26
- readonly rendererInput?: GLTFRendererInput;
27
- readonly kind: RenderableAsset["kind"];
28
- readonly setupLineBudget: number;
29
- readonly warnings: readonly string[];
30
- dispose(): void;
31
- }
32
-
33
- export async function createRenderableScene(
34
- asset: RenderableAsset,
35
- options: CreateRenderableSceneOptions = {}
36
- ): Promise<RenderableScene> {
37
- const defaults = createAssetRenderDefaults(options.lighting);
38
- if (asset.kind === "canonical-product-scene") {
39
- const kit = createCanonicalProductSceneRenderKit({
40
- lightingPreset: canonicalLightingPreset(options.lighting)
41
- });
42
- return {
43
- kind: asset.kind,
44
- source: {
45
- ...kit.source,
46
- ...(options.shadows === false ? { shadow: false } : {}),
47
- ...(typeof options.shadows === "object" ? { shadow: options.shadows } : {}),
48
- ...(options.postprocess === false ? { postprocess: false } : {}),
49
- ...(typeof options.postprocess === "object" ? { postprocess: options.postprocess } : {})
50
- },
51
- setupLineBudget: kit.canonical.publicSetupLineBudget,
52
- warnings: asset.warnings,
53
- dispose: () => kit.dispose()
54
- };
55
- }
56
-
57
- if (!asset.gltf) {
58
- throw new Error("Renderable glTF asset is missing its parsed GLTFAsset payload.");
59
- }
60
- const resources = await createGLTFRenderResources(asset.gltf, options.renderResources);
61
- const viewport = options.viewport ?? defaults.viewport;
62
- const shadow = options.shadows === false
63
- ? false
64
- : typeof options.shadows === "object"
65
- ? options.shadows
66
- : defaults.shadows;
67
- const postprocess = options.postprocess === false
68
- ? false
69
- : typeof options.postprocess === "object"
70
- ? options.postprocess
71
- : defaults.postprocess;
72
- const rendererInput = resources.toRendererInput(viewport, {
73
- qualityPreset: options.qualityPreset ?? "studio-preview",
74
- frame: defaults.frame,
75
- shadow,
76
- postprocess
77
- });
78
- const source = {
79
- ...rendererInput.source,
80
- ...(shadow !== false ? { collectedLights: createAssetDefaultCollectedLights() } : {})
81
- };
82
- return gltfRenderableScene(asset, resources, { ...rendererInput, source });
83
- }
84
-
85
- function canonicalLightingPreset(lighting: AssetRenderLightingPreset | undefined): "studio" | "soft" | "inspection" | "dramatic" | "neutral" {
86
- switch (lighting) {
87
- case "gameNight":
88
- return "dramatic";
89
- case "outdoorDay":
90
- return "inspection";
91
- case "interiorGallery":
92
- return "soft";
93
- case "studioProduct":
94
- case undefined:
95
- return "studio";
96
- }
97
- }
98
-
99
- function createAssetDefaultCollectedLights(): readonly CollectedLight[] {
100
- const key = new DirectionalLight("asset-default-key-light");
101
- key.intensity = 2.4;
102
- key.color = [1, 0.93, 0.8];
103
- key.castsShadow = true;
104
- return [{
105
- kind: "directional",
106
- color: [1, 0.93, 0.8],
107
- intensity: 2.4,
108
- position: [0, 0, 0],
109
- direction: [0.42, -0.7, -0.58],
110
- range: 0,
111
- spotAngle: 0,
112
- penumbra: 0,
113
- castsShadow: true,
114
- layerMask: 0xffffffff,
115
- source: key
116
- }];
117
- }
118
-
119
- function gltfRenderableScene(asset: RenderableAsset, resources: GLTFRenderResources, rendererInput: GLTFRendererInput): RenderableScene {
120
- return {
121
- kind: asset.kind,
122
- source: rendererInput.source,
123
- rendererInput,
124
- setupLineBudget: 30,
125
- warnings: asset.warnings,
126
- dispose: () => resources.dispose()
127
- };
128
- }
package/src/index.ts DELETED
@@ -1,325 +0,0 @@
1
- export { AssetCache } from "./AssetCache";
2
- export type { AssetCacheSnapshot } from "./AssetCache";
3
- export { createAssetBundleCacheEvidence } from "./AssetBundleCacheFixtures";
4
- export type {
5
- AssetBundleCacheEvictionPolicy,
6
- AssetBundleCacheEvidence,
7
- AssetBundleCacheInput,
8
- AssetBundleManifestEvidenceEntry
9
- } from "./AssetBundleCacheFixtures";
10
- export { createGLTFSceneAnalysisEvidence } from "./SceneAnalysisFixtures";
11
- export type {
12
- GLTFComputerVisionBoundingBox,
13
- GLTFObjectDetectionEvidence,
14
- GLTFObjectTrackEvidence,
15
- GLTFPoseEvidence,
16
- GLTFPoseKeypointEvidence,
17
- GLTFSceneAnalysisEvidence,
18
- GLTFSceneAnalysisOptions,
19
- GLTFSemanticSegment
20
- } from "./SceneAnalysisFixtures";
21
- export { AssetDependencyGraph } from "./AssetDependencyGraph";
22
- export { inspectGLTFAsset } from "./AssetInspection";
23
- export type {
24
- GLTFAnimationInspection,
25
- GLTFAssetInspectionReport,
26
- GLTFDependencyInspection,
27
- GLTFMaterialInspection,
28
- GLTFMaterialTextureSlotInspection,
29
- GLTFMeshInspection,
30
- GLTFMorphTargetInspection,
31
- GLTFSceneHierarchyNodeInspection,
32
- GLTFSkinInspection,
33
- GLTFTextureInspection
34
- } from "./AssetInspection";
35
- export {
36
- GLTF_DECODER_REQUIRED_EXTENSION_NAMES,
37
- GLTF_DIAGNOSTIC_ONLY_EXTENSION_NAMES,
38
- GLTF_EXTENSION_SUPPORT_MATRIX,
39
- GLTF_PARSED_WITH_LIMITS_EXTENSION_NAMES,
40
- GLTF_REQUIRED_ACCEPTED_EXTENSION_NAMES,
41
- GLTF_RUNTIME_SUPPORTED_EXTENSION_NAMES,
42
- GLTF_SUPPORTED_EXTENSION_NAMES,
43
- evaluateGLTFExtensionSupport,
44
- getGLTFExtensionSupport
45
- } from "./GLTFExtensionSupport";
46
- export type {
47
- GLTFExtensionSupportEntry,
48
- GLTFExtensionSupportEvaluation,
49
- GLTFExtensionSupportFamily,
50
- GLTFExtensionSupportStatus
51
- } from "./GLTFExtensionSupport";
52
- export { createGLTFSceneAnimationMixer, createGLTFSceneAnimationRuntime, GLTFImportedSkeletonIKController, GLTFSceneAnimationCloneSampler, GLTFSceneAnimationMixerBinding, GLTFSceneAnimationRuntime, GLTFSceneMorphTargetController, resolveGLTFClipName } from "./GLTFAnimationRuntime";
53
- export type {
54
- GLTFImportedSkeletonIKControllerOptions,
55
- GLTFImportedSkeletonIKControllerSnapshot,
56
- GLTFImportedSkeletonIKOptions,
57
- GLTFImportedSkeletonIKResult,
58
- GLTFSceneAnimationApplyResult,
59
- GLTFSceneAnimationClipSample,
60
- GLTFSceneAnimationClipBoneMask,
61
- GLTFSceneAnimationActionSnapshot,
62
- GLTFSceneAnimationCloneSample,
63
- GLTFSceneAnimationCloneSampleResult,
64
- GLTFSceneAnimationCloneSamplerSnapshot,
65
- GLTFSceneAnimationClipBindingDiagnostics,
66
- GLTFSceneAnimationMixerOptions,
67
- GLTFSceneAnimationPlayOptions,
68
- GLTFSceneAnimationMixerSnapshot,
69
- GLTFSceneAnimationMixerUpdateResult,
70
- GLTFSceneAnimationRuntimeOptions,
71
- GLTFSceneAnimationRuntimeSnapshot,
72
- GLTFSceneMorphTargetControllerOptions,
73
- GLTFSceneMorphTargetControllerSnapshot,
74
- GLTFScenePose,
75
- GLTFScenePoseBoneTransform
76
- } from "./GLTFAnimationRuntime";
77
- export { AssetHandle } from "./AssetHandle";
78
- export type { AssetHandleOptions, AssetHandleStatus } from "./AssetHandle";
79
- export { AssetLoadError } from "./AssetLoader";
80
- export type { AssetLoader, AssetLoadProgress, AssetLoadRequest } from "./AssetLoader";
81
- export { AssetManager } from "./AssetManager";
82
- export type { AssetLoadOptions, AssetManagerOptions } from "./AssetManager";
83
- export { AssetRegistry } from "./AssetRegistry";
84
- export { createAssetImportPreflightReport, detectAssetImportFormat } from "./AssetImportPreflight";
85
- export type {
86
- AssetImportPreflightFormat,
87
- AssetImportPreflightOptions,
88
- AssetImportPreflightProfile,
89
- AssetImportPreflightReport,
90
- AssetImportPreflightSettings,
91
- AssetImportPreflightStatus
92
- } from "./AssetImportPreflight";
93
- export {
94
- createAssetCompatibilityReport
95
- } from "./AssetCompatibility";
96
- export type {
97
- AssetCompatibilityLoaderName,
98
- AssetCompatibilityReport,
99
- AssetCompatibilityReportAsset,
100
- AssetCompatibilityReportOptions,
101
- AssetCompatibilityStatus,
102
- AssetLoaderCompatibilityResult,
103
- BlenderExportCompatibilityResult,
104
- ExternalAssetLoaderCompatibilityResult
105
- } from "./AssetCompatibility";
106
- export {
107
- summarizeExternalParityGLTFCorpus,
108
- summarizeExternalParityCorpus,
109
- validateExternalParityGLTFCorpusManifest,
110
- validateExternalParityCorpusManifest
111
- } from "./ExternalParityGLTFCorpus";
112
- export type {
113
- ExternalParityGLTFCorpusAsset,
114
- ExternalParityGLTFCorpusManifest,
115
- ExternalParityGLTFCorpusSummary,
116
- ExternalParityCorpusAsset,
117
- ExternalParityCorpusManifest,
118
- ExternalParityCorpusSummary
119
- } from "./ExternalParityGLTFCorpus";
120
- export {
121
- loadThreeCompatAssetManifest,
122
- loadThreeCompatAssetRegistry,
123
- summarizeThreeCompatAssetRegistry
124
- } from "./threejs-compatibility/ThreeCompatAssetRegistry";
125
- export {
126
- createThreeCompatAssetProvenance
127
- } from "./threejs-compatibility/ThreeCompatAssetProvenance";
128
- export type {
129
- ThreeCompatAssetManifest,
130
- ThreeCompatAssetRegistrySummary
131
- } from "./threejs-compatibility/ThreeCompatAssetRegistry";
132
- export type {
133
- ThreeCompatAssetProvenance,
134
- ThreeCompatSourceAsset,
135
- ThreeCompatTrackedAssetInput
136
- } from "./threejs-compatibility/ThreeCompatAssetProvenance";
137
- export {
138
- createProductionGLTFRenderMetadata,
139
- createProductionAssetCorpusSummary,
140
- inspectProductionGlb,
141
- loadProductionGLTFRenderPipeline,
142
- loadProductionAssetManifest
143
- } from "./asset-corpus";
144
- export type {
145
- ProductionAssetClass,
146
- ProductionAssetCorpusRequirements,
147
- ProductionAssetCorpusSummary,
148
- ProductionAssetManifest,
149
- ProductionAssetManifestEntry,
150
- ProductionAssetReadinessEntry,
151
- ProductionGLTFRenderMetadata,
152
- ProductionGLTFRenderWarning,
153
- ProductionGLTFRenderPipeline,
154
- ProductionGLTFRenderPipelineOptions,
155
- ProductionGlbInspection
156
- } from "./asset-corpus";
157
- export {
158
- createAdvancedAssetCorpusSummary,
159
- inspectCurrentRoutesGlb,
160
- loadCurrentRoutesAssetManifest,
161
- writeAdvancedAssetCorpusReport
162
- } from "./AdvancedAssetCorpus";
163
- export type {
164
- CurrentRoutesAssetClass,
165
- AdvancedAssetCorpusSummary,
166
- CurrentRoutesAssetManifest,
167
- CurrentRoutesAssetManifestEntry,
168
- CurrentRoutesAssetReadinessEntry,
169
- CurrentRoutesAssetRequirement,
170
- CurrentRoutesEnvironmentManifestEntry,
171
- CurrentRoutesEnvironmentReadinessEntry,
172
- CurrentRoutesGlbInspection
173
- } from "./AdvancedAssetCorpus";
174
- export * from "./loaders";
175
- export {
176
- DEFAULT_ASSET_IMPORT_SETTINGS,
177
- assertValidGLTFCorpusManifest,
178
- createGLTFCorpusReport,
179
- normalizeAssetImportSettings,
180
- validateGLTFCorpusManifest
181
- } from "./AssetCorpus";
182
- export type {
183
- AssetDiagnostic,
184
- AssetDiagnosticSeverity,
185
- AssetImportSettings,
186
- GLTFCorpusAsset,
187
- GLTFCorpusAssetFormat,
188
- GLTFCorpusAssetReport,
189
- GLTFCorpusExpectedStatus,
190
- GLTFCorpusManifest,
191
- GLTFCorpusReport,
192
- GLTFCorpusSchemaVersion,
193
- GLTFCorpusSource,
194
- GLTFCorpusValidationResult
195
- } from "./AssetCorpus";
196
- export { AudioLoader } from "./AudioLoader";
197
- export type { AudioAsset, AudioDecodeContext } from "./AudioLoader";
198
- export { assertValidBlenderExportFixtureManifest, createBlenderExportValidationReport } from "./BlenderExportValidation";
199
- export type {
200
- BlenderExportFixture,
201
- BlenderExportFixtureInput,
202
- BlenderExportFixtureManifest,
203
- BlenderExportValidationDiagnostic,
204
- BlenderExportValidationFixtureResult,
205
- BlenderExportValidationReport,
206
- BlenderExportValidationStatus
207
- } from "./BlenderExportValidation";
208
- export { createDracoDecoder, createMeshoptDecoder } from "./GLTFCompressionDecoders";
209
- export type {
210
- GLTFDracoAttribute,
211
- GLTFDracoDecoderBuffer,
212
- GLTFDracoDecoderInstance,
213
- GLTFDracoDecoderModule,
214
- GLTFDracoMesh,
215
- GLTFDracoNumericArray,
216
- GLTFDracoStatus,
217
- GLTFMeshoptDecoderModule
218
- } from "./GLTFCompressionDecoders";
219
- export {
220
- applyCarConceptMaterialStability,
221
- carConceptMaterialVisualRole,
222
- carConceptMaterialRenderStateOverrides
223
- } from "./CarConceptMaterialStability";
224
- export type {
225
- CarConceptMaterialBaseline,
226
- CarConceptMaterialVisualRole,
227
- CarConceptMaterialStabilityOptions,
228
- CarConceptMaterialStabilityProfile
229
- } from "./CarConceptMaterialStability";
230
- export { ImageLoader } from "./ImageLoader";
231
- export type { ImageAsset } from "./ImageLoader";
232
- export { GLTFLoader, normalizeSkinWeights } from "./GLTFLoader";
233
- export { autoFitGLTFScene, computeAutoFitTransform } from "./GLTFAutoFit";
234
- export type { AutoFitOptions, AutoFitTransform, GLTFUpAxis } from "./GLTFAutoFit";
235
- export type {
236
- GLTFAsset,
237
- GLTFCameraAsset,
238
- GLTFClearcoatMaterialExtension,
239
- GLTFDracoDecodeDescriptor,
240
- GLTFDracoDecodedPrimitive,
241
- GLTFDracoDecoder,
242
- GLTFGeometryAsset,
243
- GLTFImageAsset,
244
- GLTFLightAsset,
245
- GLTFLoaderOptions,
246
- GLTFLoaderDiagnostics,
247
- SkinWeightNormalizationStats,
248
- GLTFMaterialAsset,
249
- GLTFMaterialVariantAsset,
250
- GLTFMaterialVariantMappingAsset,
251
- GLTFMeshAsset,
252
- GLTFMeshoptDecodeDescriptor,
253
- GLTFMeshoptDecoder,
254
- GLTFPBRSpecularGlossinessMaterialExtension,
255
- GLTFResolvedTextureInfo,
256
- GLTFSamplerAsset,
257
- GLTFSceneAsset,
258
- GLTFSceneCreateOptions,
259
- GLTFSheenMaterialExtension,
260
- GLTFSkinAsset,
261
- GLTFSpecularMaterialExtension,
262
- GLTFTextureAsset,
263
- GLTFTransmissionMaterialExtension,
264
- GLTFVolumeMaterialExtension,
265
- SerializedGLTFAsset
266
- } from "./GLTFLoader";
267
- export { OBJLoader } from "./OBJLoader";
268
- export {
269
- DEFAULT_GLTF_RENDER_ENVIRONMENT_LIGHTING,
270
- DEFAULT_GLTF_HDR_STUDIO_PREVIEW_POSTPROCESS,
271
- DEFAULT_GLTF_STUDIO_PREVIEW_FRAME,
272
- DEFAULT_GLTF_STUDIO_PREVIEW_ENVIRONMENT_LIGHTING,
273
- DEFAULT_GLTF_STUDIO_PREVIEW_POSTPROCESS,
274
- createDefaultGLTFHdrStudioPreviewEnvironmentLighting,
275
- createGLTFRenderResourceDiagnostics,
276
- createGLTFRenderResources,
277
- createGLTFRenderSource,
278
- renderStateForGLTFMaterial
279
- } from "./GLTFRenderResources";
280
- export type {
281
- DecodedGLTFImage,
282
- GLTFImageDecoder,
283
- GLTFMaterialRenderStateOverride,
284
- GLTFMaterialOverrideQuery,
285
- GLTFMaterialOverrideTarget,
286
- GLTFRenderableBinding,
287
- GLTFRenderResourceDiagnostics,
288
- GLTFRenderResourceDiagnosticsOptions,
289
- GLTFRenderResourceTextureSlotDiagnostic,
290
- GLTFRenderQualityPreset,
291
- GLTFRendererInput,
292
- GLTFRendererInputOptions,
293
- GLTFRenderResourceOptions,
294
- GLTFRenderSourceOptions,
295
- GLTFRenderResources
296
- } from "./GLTFRenderResources";
297
- export { createAssetRenderDefaults, DEFAULT_ASSET_RENDER_VIEWPORT } from "./AssetRenderDefaults";
298
- export type { AssetRenderDefaults, AssetRenderLightingPreset } from "./AssetRenderDefaults";
299
- export { loadRenderableAsset } from "./loadRenderableAsset";
300
- export type { LoadRenderableAssetOptions, RenderableAsset, RenderableAssetKind } from "./loadRenderableAsset";
301
- export { createRenderableScene } from "./createRenderableScene";
302
- export type { CreateRenderableSceneOptions, RenderableScene } from "./createRenderableScene";
303
- export { transcodeKTX2BasisTexture } from "./KTX2BasisTextureTranscoder";
304
- export type { KTX2BasisTargetFormat, KTX2BasisTextureTranscoderOptions } from "./KTX2BasisTextureTranscoder";
305
- export { ImportPipeline, ImportPipelineError } from "./ImportPipeline";
306
- export type { ImportPipelineContext, ImportPipelineProgressEvent, ImportPipelineProgressStatus, ImportStage } from "./ImportPipeline";
307
- export { LoadContext } from "./LoadContext";
308
- export type { LoadContextOptions } from "./LoadContext";
309
- export { MaterialLoader, createMaterialFromDescriptor } from "./MaterialLoader";
310
- export type { MaterialDescriptorAsset } from "./MaterialLoader";
311
- export { createMeshOptimizationStage, optimizeIndexedMesh } from "./MeshOptimization";
312
- export type { MeshAttributeValue, MeshOptimizationInput, MeshOptimizationResult, MeshOptimizationStageOptions } from "./MeshOptimization";
313
- export { SceneLoader } from "./SceneLoader";
314
- export type { NativeSceneAsset, NativeSceneNodeDescriptor } from "./SceneLoader";
315
- export { ShaderLoader } from "./ShaderLoader";
316
- export type { ShaderSourceAsset } from "./ShaderLoader";
317
- export { createTextureMipGenerationStage, generateTextureMipChain } from "./TexturePipeline";
318
- export type { TextureMipGenerationInput, TextureMipGenerationResult, TextureMipGenerationStageOptions, TextureMipLevel } from "./TexturePipeline";
319
- export { TextureLoader } from "./TextureLoader";
320
- export type { TextureDescriptorAsset } from "./TextureLoader";
321
- export { WorkerAssetJobs } from "./WorkerAssetJobs";
322
- export type { WorkerAssetJob, WorkerAssetJobRunner } from "./WorkerAssetJobs";
323
- export * from "./HDRLoader.js";
324
- export * from "./EXRLoader.js";
325
- export * from "./TextureStreaming.js";