@automovie/viewer 0.0.0-stage → 0.0.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.
- package/LICENSE +21 -0
- package/README.md +54 -2
- package/lib/AUTOMOVIE_FORMATION_CYCLE_SAMPLES.d.ts +4 -0
- package/lib/AUTOMOVIE_FORMATION_CYCLE_SAMPLES.js +5 -0
- package/lib/AUTOMOVIE_FORMATION_CYCLE_SAMPLES.js.map +1 -0
- package/lib/AutoMovieDisplayCompositor.d.ts +105 -0
- package/lib/AutoMovieDisplayCompositor.js +342 -0
- package/lib/AutoMovieDisplayCompositor.js.map +1 -0
- package/lib/AutoMovieDissolveCompositorState.d.ts +4 -0
- package/lib/AutoMovieDissolveCompositorState.js +3 -0
- package/lib/AutoMovieDissolveCompositorState.js.map +1 -0
- package/lib/AutoMovieEnvironmentTextureOwnership.d.ts +52 -0
- package/lib/AutoMovieEnvironmentTextureOwnership.js +187 -0
- package/lib/AutoMovieEnvironmentTextureOwnership.js.map +1 -0
- package/lib/AutoMovieFadeCompositorState.d.ts +4 -0
- package/lib/AutoMovieFadeCompositorState.js +3 -0
- package/lib/AutoMovieFadeCompositorState.js.map +1 -0
- package/lib/AutoMovieFilmBeautyComposition.d.ts +25 -0
- package/lib/AutoMovieFilmBeautyComposition.js +2 -0
- package/lib/AutoMovieFilmBeautyComposition.js.map +1 -0
- package/lib/AutoMovieGeometryPhysicalVertices.d.ts +48 -0
- package/lib/AutoMovieGeometryPhysicalVertices.js +134 -0
- package/lib/AutoMovieGeometryPhysicalVertices.js.map +1 -0
- package/lib/AutoMoviePlayer.d.ts +99 -0
- package/lib/AutoMoviePlayer.js +192 -0
- package/lib/AutoMoviePlayer.js.map +1 -0
- package/lib/AutoMovieRenderModeMesh.d.ts +13 -0
- package/lib/AutoMovieRenderModeMesh.js +2 -0
- package/lib/AutoMovieRenderModeMesh.js.map +1 -0
- package/lib/AutoMovieResourceRetirementScope.d.ts +108 -0
- package/lib/AutoMovieResourceRetirementScope.js +169 -0
- package/lib/AutoMovieResourceRetirementScope.js.map +1 -0
- package/lib/AutoMovieSkinBlend.d.ts +83 -0
- package/lib/AutoMovieSkinBlend.js +195 -0
- package/lib/AutoMovieSkinBlend.js.map +1 -0
- package/lib/AutoMovieSkinPose.d.ts +119 -0
- package/lib/AutoMovieSkinPose.js +365 -0
- package/lib/AutoMovieSkinPose.js.map +1 -0
- package/lib/AutoMovieSkinnedMesh.d.ts +182 -0
- package/lib/AutoMovieSkinnedMesh.js +246 -0
- package/lib/AutoMovieSkinnedMesh.js.map +1 -0
- package/lib/AutoMovieTextureCache.d.ts +178 -0
- package/lib/AutoMovieTextureCache.js +321 -0
- package/lib/AutoMovieTextureCache.js.map +1 -0
- package/lib/AutoMovieTextureCacheAllocationAuthority.d.ts +217 -0
- package/lib/AutoMovieTextureCacheAllocationAuthority.js +417 -0
- package/lib/AutoMovieTextureCacheAllocationAuthority.js.map +1 -0
- package/lib/DEPTH_NORMALIZATION_RANGE.d.ts +4 -0
- package/lib/DEPTH_NORMALIZATION_RANGE.js +5 -0
- package/lib/DEPTH_NORMALIZATION_RANGE.js.map +1 -0
- package/lib/EDGE_SHELL_NAME.d.ts +2 -0
- package/lib/EDGE_SHELL_NAME.js +3 -0
- package/lib/EDGE_SHELL_NAME.js.map +1 -0
- package/lib/EDGE_WIDTH.d.ts +4 -0
- package/lib/EDGE_WIDTH.js +5 -0
- package/lib/EDGE_WIDTH.js.map +1 -0
- package/lib/IApplyAutoMovieSectionPlanesProps.d.ts +28 -0
- package/lib/IApplyAutoMovieSectionPlanesProps.js +2 -0
- package/lib/IApplyAutoMovieSectionPlanesProps.js.map +1 -0
- package/lib/IAutoMovieAnalysisOverlayObject.d.ts +52 -0
- package/lib/IAutoMovieAnalysisOverlayObject.js +2 -0
- package/lib/IAutoMovieAnalysisOverlayObject.js.map +1 -0
- package/lib/IAutoMovieBuiltPropArticulation.d.ts +34 -0
- package/lib/IAutoMovieBuiltPropArticulation.js +2 -0
- package/lib/IAutoMovieBuiltPropArticulation.js.map +1 -0
- package/lib/IAutoMovieEffectViewerObject.d.ts +28 -0
- package/lib/IAutoMovieEffectViewerObject.js +2 -0
- package/lib/IAutoMovieEffectViewerObject.js.map +1 -0
- package/lib/IAutoMovieEffectViewerStats.d.ts +18 -0
- package/lib/IAutoMovieEffectViewerStats.js +2 -0
- package/lib/IAutoMovieEffectViewerStats.js.map +1 -0
- package/lib/IAutoMovieExpressionTarget.d.ts +22 -0
- package/lib/IAutoMovieExpressionTarget.js +2 -0
- package/lib/IAutoMovieExpressionTarget.js.map +1 -0
- package/lib/IAutoMovieFilmBeautyLayer.d.ts +12 -0
- package/lib/IAutoMovieFilmBeautyLayer.js +2 -0
- package/lib/IAutoMovieFilmBeautyLayer.js.map +1 -0
- package/lib/IAutoMovieFluidSprayObject.d.ts +50 -0
- package/lib/IAutoMovieFluidSprayObject.js +2 -0
- package/lib/IAutoMovieFluidSprayObject.js.map +1 -0
- package/lib/IAutoMovieFluidSurfaceObject.d.ts +38 -0
- package/lib/IAutoMovieFluidSurfaceObject.js +2 -0
- package/lib/IAutoMovieFluidSurfaceObject.js.map +1 -0
- package/lib/IAutoMovieFormationCadence.d.ts +17 -0
- package/lib/IAutoMovieFormationCadence.js +2 -0
- package/lib/IAutoMovieFormationCadence.js.map +1 -0
- package/lib/IAutoMovieFormationCycle.d.ts +38 -0
- package/lib/IAutoMovieFormationCycle.js +2 -0
- package/lib/IAutoMovieFormationCycle.js.map +1 -0
- package/lib/IAutoMovieFormationCycleTake.d.ts +47 -0
- package/lib/IAutoMovieFormationCycleTake.js +2 -0
- package/lib/IAutoMovieFormationCycleTake.js.map +1 -0
- package/lib/IAutoMovieFormationCycleUniforms.d.ts +21 -0
- package/lib/IAutoMovieFormationCycleUniforms.js +2 -0
- package/lib/IAutoMovieFormationCycleUniforms.js.map +1 -0
- package/lib/IAutoMovieFormationViewerObject.d.ts +62 -0
- package/lib/IAutoMovieFormationViewerObject.js +2 -0
- package/lib/IAutoMovieFormationViewerObject.js.map +1 -0
- package/lib/IAutoMovieFormationViewerStats.d.ts +34 -0
- package/lib/IAutoMovieFormationViewerStats.js +2 -0
- package/lib/IAutoMovieFormationViewerStats.js.map +1 -0
- package/lib/IAutoMovieImportedModelOptions.d.ts +44 -0
- package/lib/IAutoMovieImportedModelOptions.js +2 -0
- package/lib/IAutoMovieImportedModelOptions.js.map +1 -0
- package/lib/IAutoMovieInstanceSetViewerObject.d.ts +42 -0
- package/lib/IAutoMovieInstanceSetViewerObject.js +2 -0
- package/lib/IAutoMovieInstanceSetViewerObject.js.map +1 -0
- package/lib/IAutoMovieInstanceSetViewerStats.d.ts +17 -0
- package/lib/IAutoMovieInstanceSetViewerStats.js +2 -0
- package/lib/IAutoMovieInstanceSetViewerStats.js.map +1 -0
- package/lib/IAutoMovieInstancedGeometry.d.ts +24 -0
- package/lib/IAutoMovieInstancedGeometry.js +2 -0
- package/lib/IAutoMovieInstancedGeometry.js.map +1 -0
- package/lib/IAutoMovieInstancedModelRepresentation.d.ts +16 -0
- package/lib/IAutoMovieInstancedModelRepresentation.js +2 -0
- package/lib/IAutoMovieInstancedModelRepresentation.js.map +1 -0
- package/lib/IAutoMovieMaterialLibrary.d.ts +42 -0
- package/lib/IAutoMovieMaterialLibrary.js +2 -0
- package/lib/IAutoMovieMaterialLibrary.js.map +1 -0
- package/lib/IAutoMovieModelObject.d.ts +51 -0
- package/lib/IAutoMovieModelObject.js +2 -0
- package/lib/IAutoMovieModelObject.js.map +1 -0
- package/lib/IAutoMoviePlantingObject.d.ts +33 -0
- package/lib/IAutoMoviePlantingObject.js +2 -0
- package/lib/IAutoMoviePlantingObject.js.map +1 -0
- package/lib/IAutoMovieRenderModeHandle.d.ts +44 -0
- package/lib/IAutoMovieRenderModeHandle.js +2 -0
- package/lib/IAutoMovieRenderModeHandle.js.map +1 -0
- package/lib/IAutoMovieRendererEnvironmentHandle.d.ts +22 -0
- package/lib/IAutoMovieRendererEnvironmentHandle.js +2 -0
- package/lib/IAutoMovieRendererEnvironmentHandle.js.map +1 -0
- package/lib/IAutoMovieRigLocalTransform.d.ts +15 -0
- package/lib/IAutoMovieRigLocalTransform.js +2 -0
- package/lib/IAutoMovieRigLocalTransform.js.map +1 -0
- package/lib/IAutoMovieSceneObject.d.ts +26 -0
- package/lib/IAutoMovieSceneObject.js +2 -0
- package/lib/IAutoMovieSceneObject.js.map +1 -0
- package/lib/IAutoMovieSectionRenderer.d.ts +17 -0
- package/lib/IAutoMovieSectionRenderer.js +2 -0
- package/lib/IAutoMovieSectionRenderer.js.map +1 -0
- package/lib/IAutoMovieShadowTextureHost.d.ts +17 -0
- package/lib/IAutoMovieShadowTextureHost.js +2 -0
- package/lib/IAutoMovieShadowTextureHost.js.map +1 -0
- package/lib/IAutoMovieSoftBodyObject.d.ts +43 -0
- package/lib/IAutoMovieSoftBodyObject.js +2 -0
- package/lib/IAutoMovieSoftBodyObject.js.map +1 -0
- package/lib/IAutoMovieSpringAxisSettlement.d.ts +19 -0
- package/lib/IAutoMovieSpringAxisSettlement.js +2 -0
- package/lib/IAutoMovieSpringAxisSettlement.js.map +1 -0
- package/lib/IAutoMovieSpringConfig.d.ts +22 -0
- package/lib/IAutoMovieSpringConfig.js +2 -0
- package/lib/IAutoMovieSpringConfig.js.map +1 -0
- package/lib/IAutoMovieTextureLoader.d.ts +13 -0
- package/lib/IAutoMovieTextureLoader.js +2 -0
- package/lib/IAutoMovieTextureLoader.js.map +1 -0
- package/lib/IAutoMovieTextureResolver.d.ts +16 -0
- package/lib/IAutoMovieTextureResolver.js +2 -0
- package/lib/IAutoMovieTextureResolver.js.map +1 -0
- package/lib/IAutoMovieViewerCameraDepthPrecisionReport.d.ts +30 -0
- package/lib/IAutoMovieViewerCameraDepthPrecisionReport.js +2 -0
- package/lib/IAutoMovieViewerCameraDepthPrecisionReport.js.map +1 -0
- package/lib/IAutoMovieViewerCompletedFrame.d.ts +51 -0
- package/lib/IAutoMovieViewerCompletedFrame.js +2 -0
- package/lib/IAutoMovieViewerCompletedFrame.js.map +1 -0
- package/lib/IAutoMovieViewerDisplayMetadata.d.ts +22 -0
- package/lib/IAutoMovieViewerDisplayMetadata.js +2 -0
- package/lib/IAutoMovieViewerDisplayMetadata.js.map +1 -0
- package/lib/IAutoMovieViewerFrame.d.ts +19 -0
- package/lib/IAutoMovieViewerFrame.js +2 -0
- package/lib/IAutoMovieViewerFrame.js.map +1 -0
- package/lib/IAutoMovieViewerHandle.d.ts +42 -0
- package/lib/IAutoMovieViewerHandle.js +2 -0
- package/lib/IAutoMovieViewerHandle.js.map +1 -0
- package/lib/IAutoMovieViewerSnapshot.d.ts +18 -0
- package/lib/IAutoMovieViewerSnapshot.js +2 -0
- package/lib/IAutoMovieViewerSnapshot.js.map +1 -0
- package/lib/IAutoMovieViewerSnapshotOptions.d.ts +14 -0
- package/lib/IAutoMovieViewerSnapshotOptions.js +2 -0
- package/lib/IAutoMovieViewerSnapshotOptions.js.map +1 -0
- package/lib/IAutoMovieViewerSnapshotRenderer.d.ts +32 -0
- package/lib/IAutoMovieViewerSnapshotRenderer.js +2 -0
- package/lib/IAutoMovieViewerSnapshotRenderer.js.map +1 -0
- package/lib/IBakeFormationCycleProps.d.ts +31 -0
- package/lib/IBakeFormationCycleProps.js +2 -0
- package/lib/IBakeFormationCycleProps.js.map +1 -0
- package/lib/IBuildAutoMovieMaterialLibraryProps.d.ts +30 -0
- package/lib/IBuildAutoMovieMaterialLibraryProps.js +2 -0
- package/lib/IBuildAutoMovieMaterialLibraryProps.js.map +1 -0
- package/lib/IBuildInstancedFormationProps.d.ts +34 -0
- package/lib/IBuildInstancedFormationProps.js +2 -0
- package/lib/IBuildInstancedFormationProps.js.map +1 -0
- package/lib/IBuildInstancedInstanceSetProps.d.ts +29 -0
- package/lib/IBuildInstancedInstanceSetProps.js +2 -0
- package/lib/IBuildInstancedInstanceSetProps.js.map +1 -0
- package/lib/IBuildPlantingObjectProps.d.ts +22 -0
- package/lib/IBuildPlantingObjectProps.js +2 -0
- package/lib/IBuildPlantingObjectProps.js.map +1 -0
- package/lib/IBuildPropArticulationProps.d.ts +30 -0
- package/lib/IBuildPropArticulationProps.js +2 -0
- package/lib/IBuildPropArticulationProps.js.map +1 -0
- package/lib/IBuildSoftBodyObjectProps.d.ts +18 -0
- package/lib/IBuildSoftBodyObjectProps.js +2 -0
- package/lib/IBuildSoftBodyObjectProps.js.map +1 -0
- package/lib/IChunkObject.d.ts +32 -0
- package/lib/IChunkObject.js +2 -0
- package/lib/IChunkObject.js.map +1 -0
- package/lib/IFormationTierRepresentation.d.ts +17 -0
- package/lib/IFormationTierRepresentation.js +2 -0
- package/lib/IFormationTierRepresentation.js.map +1 -0
- package/lib/IMaterialShaderPatch.d.ts +28 -0
- package/lib/IMaterialShaderPatch.js +2 -0
- package/lib/IMaterialShaderPatch.js.map +1 -0
- package/lib/IMountViewerOptions.d.ts +61 -0
- package/lib/IMountViewerOptions.js +2 -0
- package/lib/IMountViewerOptions.js.map +1 -0
- package/lib/ISlotException.d.ts +26 -0
- package/lib/ISlotException.js +2 -0
- package/lib/ISlotException.js.map +1 -0
- package/lib/IViewerCameraStateSnapshot.d.ts +49 -0
- package/lib/IViewerCameraStateSnapshot.js +2 -0
- package/lib/IViewerCameraStateSnapshot.js.map +1 -0
- package/lib/POSE_OVERLAY_NAME.d.ts +2 -0
- package/lib/POSE_OVERLAY_NAME.js +3 -0
- package/lib/POSE_OVERLAY_NAME.js.map +1 -0
- package/lib/SPACE_GROUP_NAME.d.ts +12 -0
- package/lib/SPACE_GROUP_NAME.js +13 -0
- package/lib/SPACE_GROUP_NAME.js.map +1 -0
- package/lib/addMaterialShaderPatch.d.ts +21 -0
- package/lib/addMaterialShaderPatch.js +31 -0
- package/lib/addMaterialShaderPatch.js.map +1 -0
- package/lib/analysisOverlay.d.ts +3 -0
- package/lib/analysisOverlay.js +3 -0
- package/lib/analysisOverlay.js.map +1 -0
- package/lib/applyAutoMovieDeliveryCrop.d.ts +22 -0
- package/lib/applyAutoMovieDeliveryCrop.js +34 -0
- package/lib/applyAutoMovieDeliveryCrop.js.map +1 -0
- package/lib/applyAutoMovieRigLocals.d.ts +27 -0
- package/lib/applyAutoMovieRigLocals.js +89 -0
- package/lib/applyAutoMovieRigLocals.js.map +1 -0
- package/lib/applyAutoMovieSectionPlanes.d.ts +24 -0
- package/lib/applyAutoMovieSectionPlanes.js +42 -0
- package/lib/applyAutoMovieSectionPlanes.js.map +1 -0
- package/lib/applyAutoMovieShadowParticipation.d.ts +42 -0
- package/lib/applyAutoMovieShadowParticipation.js +62 -0
- package/lib/applyAutoMovieShadowParticipation.js.map +1 -0
- package/lib/applyCaptureCanvasSize.d.ts +12 -0
- package/lib/applyCaptureCanvasSize.js +21 -0
- package/lib/applyCaptureCanvasSize.js.map +1 -0
- package/lib/applyDepthMode.d.ts +20 -0
- package/lib/applyDepthMode.js +81 -0
- package/lib/applyDepthMode.js.map +1 -0
- package/lib/applyEdgeMode.d.ts +20 -0
- package/lib/applyEdgeMode.js +114 -0
- package/lib/applyEdgeMode.js.map +1 -0
- package/lib/applyExpression.d.ts +20 -0
- package/lib/applyExpression.js +138 -0
- package/lib/applyExpression.js.map +1 -0
- package/lib/applyFormationCycleCadence.d.ts +20 -0
- package/lib/applyFormationCycleCadence.js +26 -0
- package/lib/applyFormationCycleCadence.js.map +1 -0
- package/lib/applyFormationCycleMaterial.d.ts +31 -0
- package/lib/applyFormationCycleMaterial.js +100 -0
- package/lib/applyFormationCycleMaterial.js.map +1 -0
- package/lib/applyLightMotion.d.ts +38 -0
- package/lib/applyLightMotion.js +46 -0
- package/lib/applyLightMotion.js.map +1 -0
- package/lib/applyLightState.d.ts +38 -0
- package/lib/applyLightState.js +57 -0
- package/lib/applyLightState.js.map +1 -0
- package/lib/applyMaskMode.d.ts +20 -0
- package/lib/applyMaskMode.js +90 -0
- package/lib/applyMaskMode.js.map +1 -0
- package/lib/applyMaterialShaderPatches.d.ts +22 -0
- package/lib/applyMaterialShaderPatches.js +24 -0
- package/lib/applyMaterialShaderPatches.js.map +1 -0
- package/lib/applyObjectMotion.d.ts +30 -0
- package/lib/applyObjectMotion.js +33 -0
- package/lib/applyObjectMotion.js.map +1 -0
- package/lib/applyObjectMotions.d.ts +14 -0
- package/lib/applyObjectMotions.js +17 -0
- package/lib/applyObjectMotions.js.map +1 -0
- package/lib/applyPose.d.ts +40 -0
- package/lib/applyPose.js +85 -0
- package/lib/applyPose.js.map +1 -0
- package/lib/applyPoseMode.d.ts +20 -0
- package/lib/applyPoseMode.js +80 -0
- package/lib/applyPoseMode.js.map +1 -0
- package/lib/applyRenderMode.d.ts +48 -0
- package/lib/applyRenderMode.js +191 -0
- package/lib/applyRenderMode.js.map +1 -0
- package/lib/applyRendererEnvironment.d.ts +25 -0
- package/lib/applyRendererEnvironment.js +107 -0
- package/lib/applyRendererEnvironment.js.map +1 -0
- package/lib/applySampledObjectMotion.d.ts +16 -0
- package/lib/applySampledObjectMotion.js +71 -0
- package/lib/applySampledObjectMotion.js.map +1 -0
- package/lib/applySceneEnvironment.d.ts +16 -0
- package/lib/applySceneEnvironment.js +47 -0
- package/lib/applySceneEnvironment.js.map +1 -0
- package/lib/applySceneFog.d.ts +34 -0
- package/lib/applySceneFog.js +42 -0
- package/lib/applySceneFog.js.map +1 -0
- package/lib/applySemanticMaskMode.d.ts +22 -0
- package/lib/applySemanticMaskMode.js +37 -0
- package/lib/applySemanticMaskMode.js.map +1 -0
- package/lib/applyTransform.d.ts +16 -0
- package/lib/applyTransform.js +19 -0
- package/lib/applyTransform.js.map +1 -0
- package/lib/assertAutoMovieSceneShadowProfile.d.ts +19 -0
- package/lib/assertAutoMovieSceneShadowProfile.js +30 -0
- package/lib/assertAutoMovieSceneShadowProfile.js.map +1 -0
- package/lib/assertAutoMovieViewerCameraDepthPrecision.d.ts +18 -0
- package/lib/assertAutoMovieViewerCameraDepthPrecision.js +27 -0
- package/lib/assertAutoMovieViewerCameraDepthPrecision.js.map +1 -0
- package/lib/audio/IAutoMovieAudioCue.d.ts +26 -0
- package/lib/audio/IAutoMovieAudioCue.js +2 -0
- package/lib/audio/IAutoMovieAudioCue.js.map +1 -0
- package/lib/audio/index.d.ts +3 -0
- package/lib/audio/index.js +3 -0
- package/lib/audio/index.js.map +1 -0
- package/lib/audio/planAutoMovieAudioPlayback.d.ts +51 -0
- package/lib/audio/planAutoMovieAudioPlayback.js +49 -0
- package/lib/audio/planAutoMovieAudioPlayback.js.map +1 -0
- package/lib/audio/playAutoMovieAudioCues.d.ts +23 -0
- package/lib/audio/playAutoMovieAudioCues.js +58 -0
- package/lib/audio/playAutoMovieAudioCues.js.map +1 -0
- package/lib/autoMovieAnalysisRampColor.d.ts +22 -0
- package/lib/autoMovieAnalysisRampColor.js +27 -0
- package/lib/autoMovieAnalysisRampColor.js.map +1 -0
- package/lib/bakeFormationCycle.d.ts +31 -0
- package/lib/bakeFormationCycle.js +101 -0
- package/lib/bakeFormationCycle.js.map +1 -0
- package/lib/bindFormationTierCycle.d.ts +18 -0
- package/lib/bindFormationTierCycle.js +32 -0
- package/lib/bindFormationTierCycle.js.map +1 -0
- package/lib/buildAnalysisOverlayObject.d.ts +38 -0
- package/lib/buildAnalysisOverlayObject.js +97 -0
- package/lib/buildAnalysisOverlayObject.js.map +1 -0
- package/lib/buildAutoMovieConstruction.d.ts +27 -0
- package/lib/buildAutoMovieConstruction.js +74 -0
- package/lib/buildAutoMovieConstruction.js.map +1 -0
- package/lib/buildAutoMovieMaterialLibrary.d.ts +30 -0
- package/lib/buildAutoMovieMaterialLibrary.js +92 -0
- package/lib/buildAutoMovieMaterialLibrary.js.map +1 -0
- package/lib/buildFluidSprayObject.d.ts +22 -0
- package/lib/buildFluidSprayObject.js +67 -0
- package/lib/buildFluidSprayObject.js.map +1 -0
- package/lib/buildFluidSurfaceObject.d.ts +23 -0
- package/lib/buildFluidSurfaceObject.js +74 -0
- package/lib/buildFluidSurfaceObject.js.map +1 -0
- package/lib/buildGeometry.d.ts +20 -0
- package/lib/buildGeometry.js +89 -0
- package/lib/buildGeometry.js.map +1 -0
- package/lib/buildInstancedEffect.d.ts +18 -0
- package/lib/buildInstancedEffect.js +103 -0
- package/lib/buildInstancedEffect.js.map +1 -0
- package/lib/buildInstancedFormation.d.ts +23 -0
- package/lib/buildInstancedFormation.js +340 -0
- package/lib/buildInstancedFormation.js.map +1 -0
- package/lib/buildInstancedInstanceSet.d.ts +29 -0
- package/lib/buildInstancedInstanceSet.js +321 -0
- package/lib/buildInstancedInstanceSet.js.map +1 -0
- package/lib/buildLight.d.ts +31 -0
- package/lib/buildLight.js +105 -0
- package/lib/buildLight.js.map +1 -0
- package/lib/buildMaterial.d.ts +22 -0
- package/lib/buildMaterial.js +98 -0
- package/lib/buildMaterial.js.map +1 -0
- package/lib/buildModel.d.ts +63 -0
- package/lib/buildModel.js +243 -0
- package/lib/buildModel.js.map +1 -0
- package/lib/buildPlantingObject.d.ts +22 -0
- package/lib/buildPlantingObject.js +155 -0
- package/lib/buildPlantingObject.js.map +1 -0
- package/lib/buildPropArticulation.d.ts +55 -0
- package/lib/buildPropArticulation.js +130 -0
- package/lib/buildPropArticulation.js.map +1 -0
- package/lib/buildScene.d.ts +44 -0
- package/lib/buildScene.js +102 -0
- package/lib/buildScene.js.map +1 -0
- package/lib/buildSoftBodyObject.d.ts +14 -0
- package/lib/buildSoftBodyObject.js +148 -0
- package/lib/buildSoftBodyObject.js.map +1 -0
- package/lib/buildSpace.d.ts +2 -0
- package/lib/buildSpace.js +3 -0
- package/lib/buildSpace.js.map +1 -0
- package/lib/buildSpaceObject.d.ts +43 -0
- package/lib/buildSpaceObject.js +71 -0
- package/lib/buildSpaceObject.js.map +1 -0
- package/lib/cameraDepthPrecision.d.ts +3 -0
- package/lib/cameraDepthPrecision.js +3 -0
- package/lib/cameraDepthPrecision.js.map +1 -0
- package/lib/captureAutoMovieFramebufferRestore.d.ts +18 -0
- package/lib/captureAutoMovieFramebufferRestore.js +70 -0
- package/lib/captureAutoMovieFramebufferRestore.js.map +1 -0
- package/lib/captureAutoMovieMetricFrame.d.ts +27 -0
- package/lib/captureAutoMovieMetricFrame.js +93 -0
- package/lib/captureAutoMovieMetricFrame.js.map +1 -0
- package/lib/captureSize.d.ts +1 -0
- package/lib/captureSize.js +2 -0
- package/lib/captureSize.js.map +1 -0
- package/lib/captureViewerSnapshot.d.ts +16 -0
- package/lib/captureViewerSnapshot.js +22 -0
- package/lib/captureViewerSnapshot.js.map +1 -0
- package/lib/collectAutoMovieOwnedResources.d.ts +29 -0
- package/lib/collectAutoMovieOwnedResources.js +56 -0
- package/lib/collectAutoMovieOwnedResources.js.map +1 -0
- package/lib/collectAutoMovieRenderModeMeshes.d.ts +14 -0
- package/lib/collectAutoMovieRenderModeMeshes.js +21 -0
- package/lib/collectAutoMovieRenderModeMeshes.js.map +1 -0
- package/lib/constructAutoMovieOwnedResources.d.ts +24 -0
- package/lib/constructAutoMovieOwnedResources.js +35 -0
- package/lib/constructAutoMovieOwnedResources.js.map +1 -0
- package/lib/createAutoMovieClosedSphereGeometry.d.ts +25 -0
- package/lib/createAutoMovieClosedSphereGeometry.js +80 -0
- package/lib/createAutoMovieClosedSphereGeometry.js.map +1 -0
- package/lib/createAutoMovieMetricOrthographicCamera.d.ts +28 -0
- package/lib/createAutoMovieMetricOrthographicCamera.js +61 -0
- package/lib/createAutoMovieMetricOrthographicCamera.js.map +1 -0
- package/lib/createAutoMoviePerformanceOverlay.d.ts +36 -0
- package/lib/createAutoMoviePerformanceOverlay.js +132 -0
- package/lib/createAutoMoviePerformanceOverlay.js.map +1 -0
- package/lib/createAutoMoviePhysicalPoseAdapter.d.ts +14 -0
- package/lib/createAutoMoviePhysicalPoseAdapter.js +89 -0
- package/lib/createAutoMoviePhysicalPoseAdapter.js.map +1 -0
- package/lib/createAutoMovieResourceRetirement.d.ts +25 -0
- package/lib/createAutoMovieResourceRetirement.js +16 -0
- package/lib/createAutoMovieResourceRetirement.js.map +1 -0
- package/lib/createAutoMovieSurfaceAppearance.d.ts +30 -0
- package/lib/createAutoMovieSurfaceAppearance.js +180 -0
- package/lib/createAutoMovieSurfaceAppearance.js.map +1 -0
- package/lib/createAutoMovieSurfaceVertexAdapter.d.ts +17 -0
- package/lib/createAutoMovieSurfaceVertexAdapter.js +49 -0
- package/lib/createAutoMovieSurfaceVertexAdapter.js.map +1 -0
- package/lib/createFormationCycleShadowMaterials.d.ts +29 -0
- package/lib/createFormationCycleShadowMaterials.js +56 -0
- package/lib/createFormationCycleShadowMaterials.js.map +1 -0
- package/lib/createFormationRepresentations.d.ts +17 -0
- package/lib/createFormationRepresentations.js +53 -0
- package/lib/createFormationRepresentations.js.map +1 -0
- package/lib/createImportedModelObject.d.ts +14 -0
- package/lib/createImportedModelObject.js +50 -0
- package/lib/createImportedModelObject.js.map +1 -0
- package/lib/createViewerCameraState.d.ts +21 -0
- package/lib/createViewerCameraState.js +213 -0
- package/lib/createViewerCameraState.js.map +1 -0
- package/lib/createViewerDisplayClock.d.ts +20 -0
- package/lib/createViewerDisplayClock.js +44 -0
- package/lib/createViewerDisplayClock.js.map +1 -0
- package/lib/createViewerDisplayPublication.d.ts +28 -0
- package/lib/createViewerDisplayPublication.js +56 -0
- package/lib/createViewerDisplayPublication.js.map +1 -0
- package/lib/createViewerDisplaySave.d.ts +33 -0
- package/lib/createViewerDisplaySave.js +150 -0
- package/lib/createViewerDisplaySave.js.map +1 -0
- package/lib/createViewerFrameControl.d.ts +36 -0
- package/lib/createViewerFrameControl.js +109 -0
- package/lib/createViewerFrameControl.js.map +1 -0
- package/lib/createViewerViewportResize.d.ts +16 -0
- package/lib/createViewerViewportResize.js +42 -0
- package/lib/createViewerViewportResize.js.map +1 -0
- package/lib/decodeAutoMovieImage.d.ts +16 -0
- package/lib/decodeAutoMovieImage.js +119 -0
- package/lib/decodeAutoMovieImage.js.map +1 -0
- package/lib/defaultMaterial.d.ts +14 -0
- package/lib/defaultMaterial.js +19 -0
- package/lib/defaultMaterial.js.map +1 -0
- package/lib/deliveryCrop.d.ts +2 -0
- package/lib/deliveryCrop.js +3 -0
- package/lib/deliveryCrop.js.map +1 -0
- package/lib/describeFormationTextureSources.d.ts +20 -0
- package/lib/describeFormationTextureSources.js +31 -0
- package/lib/describeFormationTextureSources.js.map +1 -0
- package/lib/detailNormalShading/DETAIL_NORMAL_TARGET.d.ts +5 -0
- package/lib/detailNormalShading/DETAIL_NORMAL_TARGET.js +6 -0
- package/lib/detailNormalShading/DETAIL_NORMAL_TARGET.js.map +1 -0
- package/lib/detailNormalShading/applyDetailNormal.d.ts +18 -0
- package/lib/detailNormalShading/applyDetailNormal.js +24 -0
- package/lib/detailNormalShading/applyDetailNormal.js.map +1 -0
- package/lib/detailNormalShading/createDetailNormalShaderPatch.d.ts +21 -0
- package/lib/detailNormalShading/createDetailNormalShaderPatch.js +35 -0
- package/lib/detailNormalShading/createDetailNormalShaderPatch.js.map +1 -0
- package/lib/detailNormalShading/detailNormalFragment.d.ts +14 -0
- package/lib/detailNormalShading/detailNormalFragment.js +18 -0
- package/lib/detailNormalShading/detailNormalFragment.js.map +1 -0
- package/lib/detailNormalShading/detailNormalVertex.d.ts +13 -0
- package/lib/detailNormalShading/detailNormalVertex.js +16 -0
- package/lib/detailNormalShading/detailNormalVertex.js.map +1 -0
- package/lib/detailNormalShading/index.d.ts +6 -0
- package/lib/detailNormalShading/index.js +7 -0
- package/lib/detailNormalShading/index.js.map +1 -0
- package/lib/detailNormalShading/spliceTangentNormal.d.ts +15 -0
- package/lib/detailNormalShading/spliceTangentNormal.js +25 -0
- package/lib/detailNormalShading/spliceTangentNormal.js.map +1 -0
- package/lib/disposeCrossDissolve.d.ts +15 -0
- package/lib/disposeCrossDissolve.js +22 -0
- package/lib/disposeCrossDissolve.js.map +1 -0
- package/lib/disposeFadeToBlack.d.ts +15 -0
- package/lib/disposeFadeToBlack.js +22 -0
- package/lib/disposeFadeToBlack.js.map +1 -0
- package/lib/disposeFormationRepresentations.d.ts +15 -0
- package/lib/disposeFormationRepresentations.js +37 -0
- package/lib/disposeFormationRepresentations.js.map +1 -0
- package/lib/dualQuaternionSkinning/applyDualQuaternionSkinning.d.ts +16 -0
- package/lib/dualQuaternionSkinning/applyDualQuaternionSkinning.js +20 -0
- package/lib/dualQuaternionSkinning/applyDualQuaternionSkinning.js.map +1 -0
- package/lib/dualQuaternionSkinning/createDualQuaternionSkinningShaderPatch.d.ts +15 -0
- package/lib/dualQuaternionSkinning/createDualQuaternionSkinningShaderPatch.js +21 -0
- package/lib/dualQuaternionSkinning/createDualQuaternionSkinningShaderPatch.js.map +1 -0
- package/lib/dualQuaternionSkinning/dualQuaternionSkinningOf.d.ts +16 -0
- package/lib/dualQuaternionSkinning/dualQuaternionSkinningOf.js +16 -0
- package/lib/dualQuaternionSkinning/dualQuaternionSkinningOf.js.map +1 -0
- package/lib/dualQuaternionSkinning/dualQuaternionSkinningVertex.d.ts +30 -0
- package/lib/dualQuaternionSkinning/dualQuaternionSkinningVertex.js +132 -0
- package/lib/dualQuaternionSkinning/dualQuaternionSkinningVertex.js.map +1 -0
- package/lib/dualQuaternionSkinning/index.d.ts +4 -0
- package/lib/dualQuaternionSkinning/index.js +5 -0
- package/lib/dualQuaternionSkinning/index.js.map +1 -0
- package/lib/effect.d.ts +4 -0
- package/lib/effect.js +3 -0
- package/lib/effect.js.map +1 -0
- package/lib/evaluateAutoMovieViewerCameraDepthPrecision.d.ts +29 -0
- package/lib/evaluateAutoMovieViewerCameraDepthPrecision.js +71 -0
- package/lib/evaluateAutoMovieViewerCameraDepthPrecision.js.map +1 -0
- package/lib/flattenInstancedModel.d.ts +29 -0
- package/lib/flattenInstancedModel.js +91 -0
- package/lib/flattenInstancedModel.js.map +1 -0
- package/lib/flattenInstancedObject.d.ts +18 -0
- package/lib/flattenInstancedObject.js +25 -0
- package/lib/flattenInstancedObject.js.map +1 -0
- package/lib/flattenRigidParts.d.ts +19 -0
- package/lib/flattenRigidParts.js +91 -0
- package/lib/flattenRigidParts.js.map +1 -0
- package/lib/fluidSurface.d.ts +4 -0
- package/lib/fluidSurface.js +3 -0
- package/lib/fluidSurface.js.map +1 -0
- package/lib/formation/index.d.ts +12 -0
- package/lib/formation/index.js +10 -0
- package/lib/formation/index.js.map +1 -0
- package/lib/formationCycle/index.d.ts +17 -0
- package/lib/formationCycle/index.js +18 -0
- package/lib/formationCycle/index.js.map +1 -0
- package/lib/formationCycleCadence.d.ts +32 -0
- package/lib/formationCycleCadence.js +46 -0
- package/lib/formationCycleCadence.js.map +1 -0
- package/lib/formationCycleGait.d.ts +22 -0
- package/lib/formationCycleGait.js +23 -0
- package/lib/formationCycleGait.js.map +1 -0
- package/lib/formationCycleOf.d.ts +16 -0
- package/lib/formationCycleOf.js +15 -0
- package/lib/formationCycleOf.js.map +1 -0
- package/lib/formationCyclePosition.d.ts +21 -0
- package/lib/formationCyclePosition.js +26 -0
- package/lib/formationCyclePosition.js.map +1 -0
- package/lib/formationCycleStride.d.ts +26 -0
- package/lib/formationCycleStride.js +49 -0
- package/lib/formationCycleStride.js.map +1 -0
- package/lib/formationGeometry/index.d.ts +5 -0
- package/lib/formationGeometry/index.js +6 -0
- package/lib/formationGeometry/index.js.map +1 -0
- package/lib/formationSpacingOffset.d.ts +32 -0
- package/lib/formationSpacingOffset.js +45 -0
- package/lib/formationSpacingOffset.js.map +1 -0
- package/lib/guardAutoMovieRenderModeRetirement.d.ts +18 -0
- package/lib/guardAutoMovieRenderModeRetirement.js +60 -0
- package/lib/guardAutoMovieRenderModeRetirement.js.map +1 -0
- package/lib/guardAutoMovieSceneShadowRetirement.d.ts +17 -0
- package/lib/guardAutoMovieSceneShadowRetirement.js +35 -0
- package/lib/guardAutoMovieSceneShadowRetirement.js.map +1 -0
- package/lib/human-polygon/AutoMovieHumanCartoon.d.ts +78 -0
- package/lib/human-polygon/AutoMovieHumanCartoon.js +2 -0
- package/lib/human-polygon/AutoMovieHumanCartoon.js.map +1 -0
- package/lib/human-polygon/AutoMovieHumanPolygon.d.ts +137 -0
- package/lib/human-polygon/AutoMovieHumanPolygon.js +2 -0
- package/lib/human-polygon/AutoMovieHumanPolygon.js.map +1 -0
- package/lib/human-polygon/applyHumanPolygonPose.d.ts +16 -0
- package/lib/human-polygon/applyHumanPolygonPose.js +46 -0
- package/lib/human-polygon/applyHumanPolygonPose.js.map +1 -0
- package/lib/human-polygon/buildHumanCartoonFace.d.ts +43 -0
- package/lib/human-polygon/buildHumanCartoonFace.js +319 -0
- package/lib/human-polygon/buildHumanCartoonFace.js.map +1 -0
- package/lib/human-polygon/buildHumanPolygon.d.ts +38 -0
- package/lib/human-polygon/buildHumanPolygon.js +265 -0
- package/lib/human-polygon/buildHumanPolygon.js.map +1 -0
- package/lib/human-polygon/buildHumanPolygonModule.d.ts +71 -0
- package/lib/human-polygon/buildHumanPolygonModule.js +206 -0
- package/lib/human-polygon/buildHumanPolygonModule.js.map +1 -0
- package/lib/human-polygon/buildHumanPolygonParts.d.ts +21 -0
- package/lib/human-polygon/buildHumanPolygonParts.js +140 -0
- package/lib/human-polygon/buildHumanPolygonParts.js.map +1 -0
- package/lib/human-polygon/createAutoMovieHumanPolygonFigure.d.ts +60 -0
- package/lib/human-polygon/createAutoMovieHumanPolygonFigure.js +67 -0
- package/lib/human-polygon/createAutoMovieHumanPolygonFigure.js.map +1 -0
- package/lib/human-polygon/createHumanPolygonPalette.d.ts +62 -0
- package/lib/human-polygon/createHumanPolygonPalette.js +131 -0
- package/lib/human-polygon/createHumanPolygonPalette.js.map +1 -0
- package/lib/human-polygon/humanPolygonSections.d.ts +49 -0
- package/lib/human-polygon/humanPolygonSections.js +63 -0
- package/lib/human-polygon/humanPolygonSections.js.map +1 -0
- package/lib/human-polygon/humanPolygonTopology.d.ts +62 -0
- package/lib/human-polygon/humanPolygonTopology.js +111 -0
- package/lib/human-polygon/humanPolygonTopology.js.map +1 -0
- package/lib/human-polygon/index.d.ts +5 -0
- package/lib/human-polygon/index.js +4 -0
- package/lib/human-polygon/index.js.map +1 -0
- package/lib/human-polygon/mountHumanCartoonFace.d.ts +14 -0
- package/lib/human-polygon/mountHumanCartoonFace.js +70 -0
- package/lib/human-polygon/mountHumanCartoonFace.js.map +1 -0
- package/lib/importedModel/index.d.ts +4 -0
- package/lib/importedModel/index.js +5 -0
- package/lib/importedModel/index.js.map +1 -0
- package/lib/index.d.ts +139 -0
- package/lib/index.js +140 -0
- package/lib/index.js.map +1 -0
- package/lib/instanceSet/index.d.ts +6 -0
- package/lib/instanceSet/index.js +7 -0
- package/lib/instanceSet/index.js.map +1 -0
- package/lib/instancedModelParts.d.ts +15 -0
- package/lib/instancedModelParts.js +22 -0
- package/lib/instancedModelParts.js.map +1 -0
- package/lib/invalidateAutoMovieSceneShadowPrograms.d.ts +13 -0
- package/lib/invalidateAutoMovieSceneShadowPrograms.js +27 -0
- package/lib/invalidateAutoMovieSceneShadowPrograms.js.map +1 -0
- package/lib/invalidateAutoMovieSkinnedPose.d.ts +22 -0
- package/lib/invalidateAutoMovieSkinnedPose.js +31 -0
- package/lib/invalidateAutoMovieSkinnedPose.js.map +1 -0
- package/lib/mapImportedHumanoidBones.d.ts +16 -0
- package/lib/mapImportedHumanoidBones.js +57 -0
- package/lib/mapImportedHumanoidBones.js.map +1 -0
- package/lib/maskColor.d.ts +13 -0
- package/lib/maskColor.js +14 -0
- package/lib/maskColor.js.map +1 -0
- package/lib/matchesAutoMovieShadowTextureProfile.d.ts +13 -0
- package/lib/matchesAutoMovieShadowTextureProfile.js +21 -0
- package/lib/matchesAutoMovieShadowTextureProfile.js.map +1 -0
- package/lib/materialOverlayShading/IMaterialOverlayShading.d.ts +29 -0
- package/lib/materialOverlayShading/IMaterialOverlayShading.js +2 -0
- package/lib/materialOverlayShading/IMaterialOverlayShading.js.map +1 -0
- package/lib/materialOverlayShading/IMaterialOverlayShape.d.ts +16 -0
- package/lib/materialOverlayShading/IMaterialOverlayShape.js +2 -0
- package/lib/materialOverlayShading/IMaterialOverlayShape.js.map +1 -0
- package/lib/materialOverlayShading/applyMaterialOverlays.d.ts +16 -0
- package/lib/materialOverlayShading/applyMaterialOverlays.js +66 -0
- package/lib/materialOverlayShading/applyMaterialOverlays.js.map +1 -0
- package/lib/materialOverlayShading/getOverlayFlatNormal.d.ts +13 -0
- package/lib/materialOverlayShading/getOverlayFlatNormal.js +24 -0
- package/lib/materialOverlayShading/getOverlayFlatNormal.js.map +1 -0
- package/lib/materialOverlayShading/index.d.ts +6 -0
- package/lib/materialOverlayShading/index.js +4 -0
- package/lib/materialOverlayShading/index.js.map +1 -0
- package/lib/materialOverlayShading/materialOverlayFragment.d.ts +13 -0
- package/lib/materialOverlayShading/materialOverlayFragment.js +50 -0
- package/lib/materialOverlayShading/materialOverlayFragment.js.map +1 -0
- package/lib/materialOverlayShading/materialOverlayVertex.d.ts +13 -0
- package/lib/materialOverlayShading/materialOverlayVertex.js +27 -0
- package/lib/materialOverlayShading/materialOverlayVertex.js.map +1 -0
- package/lib/materialTextureBindings.d.ts +13 -0
- package/lib/materialTextureBindings.js +26 -0
- package/lib/materialTextureBindings.js.map +1 -0
- package/lib/morphTargetDriversOf.d.ts +17 -0
- package/lib/morphTargetDriversOf.js +16 -0
- package/lib/morphTargetDriversOf.js.map +1 -0
- package/lib/motion-overlay/applyAutoMovieGhost.d.ts +25 -0
- package/lib/motion-overlay/applyAutoMovieGhost.js +42 -0
- package/lib/motion-overlay/applyAutoMovieGhost.js.map +1 -0
- package/lib/motion-overlay/createAutoMovieDriftMarkers.d.ts +27 -0
- package/lib/motion-overlay/createAutoMovieDriftMarkers.js +47 -0
- package/lib/motion-overlay/createAutoMovieDriftMarkers.js.map +1 -0
- package/lib/motion-overlay/createAutoMovieTargetMarker.d.ts +24 -0
- package/lib/motion-overlay/createAutoMovieTargetMarker.js +51 -0
- package/lib/motion-overlay/createAutoMovieTargetMarker.js.map +1 -0
- package/lib/motion-overlay/createAutoMovieTrail.d.ts +23 -0
- package/lib/motion-overlay/createAutoMovieTrail.js +35 -0
- package/lib/motion-overlay/createAutoMovieTrail.js.map +1 -0
- package/lib/motion-overlay/index.d.ts +4 -0
- package/lib/motion-overlay/index.js +5 -0
- package/lib/motion-overlay/index.js.map +1 -0
- package/lib/mountViewer.d.ts +20 -0
- package/lib/mountViewer.js +179 -0
- package/lib/mountViewer.js.map +1 -0
- package/lib/objectTransform.d.ts +14 -0
- package/lib/objectTransform.js +28 -0
- package/lib/objectTransform.js.map +1 -0
- package/lib/observeAutoMovieRendererFrame.d.ts +21 -0
- package/lib/observeAutoMovieRendererFrame.js +40 -0
- package/lib/observeAutoMovieRendererFrame.js.map +1 -0
- package/lib/overrideAutoMovieRenderModeMaterials.d.ts +17 -0
- package/lib/overrideAutoMovieRenderModeMaterials.js +61 -0
- package/lib/overrideAutoMovieRenderModeMaterials.js.map +1 -0
- package/lib/planAutoMovieShadowTextureTarget.d.ts +14 -0
- package/lib/planAutoMovieShadowTextureTarget.js +33 -0
- package/lib/planAutoMovieShadowTextureTarget.js.map +1 -0
- package/lib/propArticulation/index.d.ts +4 -0
- package/lib/propArticulation/index.js +5 -0
- package/lib/propArticulation/index.js.map +1 -0
- package/lib/publishViewerCompletedFrame.d.ts +18 -0
- package/lib/publishViewerCompletedFrame.js +19 -0
- package/lib/publishViewerCompletedFrame.js.map +1 -0
- package/lib/readAutoMovieCubeShadowDepth.d.ts +13 -0
- package/lib/readAutoMovieCubeShadowDepth.js +37 -0
- package/lib/readAutoMovieCubeShadowDepth.js.map +1 -0
- package/lib/readAutoMovieDeliveryCrop.d.ts +20 -0
- package/lib/readAutoMovieDeliveryCrop.js +36 -0
- package/lib/readAutoMovieDeliveryCrop.js.map +1 -0
- package/lib/readAutoMovieDisplayDestinationEncoding.d.ts +13 -0
- package/lib/readAutoMovieDisplayDestinationEncoding.js +52 -0
- package/lib/readAutoMovieDisplayDestinationEncoding.js.map +1 -0
- package/lib/readAutoMovieEnvironmentColorSpace.d.ts +13 -0
- package/lib/readAutoMovieEnvironmentColorSpace.js +18 -0
- package/lib/readAutoMovieEnvironmentColorSpace.js.map +1 -0
- package/lib/readAutoMovieFilmDisplayTextureResidency.d.ts +20 -0
- package/lib/readAutoMovieFilmDisplayTextureResidency.js +29 -0
- package/lib/readAutoMovieFilmDisplayTextureResidency.js.map +1 -0
- package/lib/readAutoMovieMaterialTextureSources.d.ts +23 -0
- package/lib/readAutoMovieMaterialTextureSources.js +94 -0
- package/lib/readAutoMovieMaterialTextureSources.js.map +1 -0
- package/lib/readAutoMovieRenderTextureTarget.d.ts +14 -0
- package/lib/readAutoMovieRenderTextureTarget.js +52 -0
- package/lib/readAutoMovieRenderTextureTarget.js.map +1 -0
- package/lib/readAutoMovieShadowLightSource.d.ts +14 -0
- package/lib/readAutoMovieShadowLightSource.js +23 -0
- package/lib/readAutoMovieShadowLightSource.js.map +1 -0
- package/lib/readAutoMovieShadowTextureTargets.d.ts +16 -0
- package/lib/readAutoMovieShadowTextureTargets.js +65 -0
- package/lib/readAutoMovieShadowTextureTargets.js.map +1 -0
- package/lib/readAutoMovieTextureSource.d.ts +20 -0
- package/lib/readAutoMovieTextureSource.js +214 -0
- package/lib/readAutoMovieTextureSource.js.map +1 -0
- package/lib/readAutoMovieTextureUploadFormat.d.ts +13 -0
- package/lib/readAutoMovieTextureUploadFormat.js +43 -0
- package/lib/readAutoMovieTextureUploadFormat.js.map +1 -0
- package/lib/readAutoMovieTransmissionTextureTarget.d.ts +19 -0
- package/lib/readAutoMovieTransmissionTextureTarget.js +42 -0
- package/lib/readAutoMovieTransmissionTextureTarget.js.map +1 -0
- package/lib/redrawViewerCompletedFrame.d.ts +28 -0
- package/lib/redrawViewerCompletedFrame.js +35 -0
- package/lib/redrawViewerCompletedFrame.js.map +1 -0
- package/lib/regenerateFormationSlot.d.ts +15 -0
- package/lib/regenerateFormationSlot.js +16 -0
- package/lib/regenerateFormationSlot.js.map +1 -0
- package/lib/regenerateInstanceSlot.d.ts +17 -0
- package/lib/regenerateInstanceSlot.js +18 -0
- package/lib/regenerateInstanceSlot.js.map +1 -0
- package/lib/releaseMountedViewer.d.ts +13 -0
- package/lib/releaseMountedViewer.js +24 -0
- package/lib/releaseMountedViewer.js.map +1 -0
- package/lib/releaseViewerRenderer.d.ts +13 -0
- package/lib/releaseViewerRenderer.js +26 -0
- package/lib/releaseViewerRenderer.js.map +1 -0
- package/lib/reliefWeightShading/RELIEF_WEIGHT_TARGET.d.ts +5 -0
- package/lib/reliefWeightShading/RELIEF_WEIGHT_TARGET.js +6 -0
- package/lib/reliefWeightShading/RELIEF_WEIGHT_TARGET.js.map +1 -0
- package/lib/reliefWeightShading/applyReliefWeights.d.ts +13 -0
- package/lib/reliefWeightShading/applyReliefWeights.js +17 -0
- package/lib/reliefWeightShading/applyReliefWeights.js.map +1 -0
- package/lib/reliefWeightShading/createReliefWeightShaderPatch.d.ts +18 -0
- package/lib/reliefWeightShading/createReliefWeightShaderPatch.js +21 -0
- package/lib/reliefWeightShading/createReliefWeightShaderPatch.js.map +1 -0
- package/lib/reliefWeightShading/index.d.ts +5 -0
- package/lib/reliefWeightShading/index.js +6 -0
- package/lib/reliefWeightShading/index.js.map +1 -0
- package/lib/reliefWeightShading/reliefWeightFragment.d.ts +12 -0
- package/lib/reliefWeightShading/reliefWeightFragment.js +24 -0
- package/lib/reliefWeightShading/reliefWeightFragment.js.map +1 -0
- package/lib/reliefWeightShading/reliefWeightVertex.d.ts +12 -0
- package/lib/reliefWeightShading/reliefWeightVertex.js +15 -0
- package/lib/reliefWeightShading/reliefWeightVertex.js.map +1 -0
- package/lib/renderAutoMovieFilmFrame.d.ts +22 -0
- package/lib/renderAutoMovieFilmFrame.js +33 -0
- package/lib/renderAutoMovieFilmFrame.js.map +1 -0
- package/lib/renderAutoMovieScenePass.d.ts +14 -0
- package/lib/renderAutoMovieScenePass.js +103 -0
- package/lib/renderAutoMovieScenePass.js.map +1 -0
- package/lib/renderCrossDissolve.d.ts +13 -0
- package/lib/renderCrossDissolve.js +26 -0
- package/lib/renderCrossDissolve.js.map +1 -0
- package/lib/renderCrossDissolveFrames.d.ts +15 -0
- package/lib/renderCrossDissolveFrames.js +30 -0
- package/lib/renderCrossDissolveFrames.js.map +1 -0
- package/lib/renderFadeToBlackFrame.d.ts +13 -0
- package/lib/renderFadeToBlackFrame.js +28 -0
- package/lib/renderFadeToBlackFrame.js.map +1 -0
- package/lib/reportAutoMovieResourceRetirement.d.ts +14 -0
- package/lib/reportAutoMovieResourceRetirement.js +47 -0
- package/lib/reportAutoMovieResourceRetirement.js.map +1 -0
- package/lib/resetAutoMovieSceneShadowTargets.d.ts +15 -0
- package/lib/resetAutoMovieSceneShadowTargets.js +83 -0
- package/lib/resetAutoMovieSceneShadowTargets.js.map +1 -0
- package/lib/resolveAutoMovieFilmBeautyComposition.d.ts +16 -0
- package/lib/resolveAutoMovieFilmBeautyComposition.js +31 -0
- package/lib/resolveAutoMovieFilmBeautyComposition.js.map +1 -0
- package/lib/resolveAutoMovieMaterialTexture.d.ts +17 -0
- package/lib/resolveAutoMovieMaterialTexture.js +77 -0
- package/lib/resolveAutoMovieMaterialTexture.js.map +1 -0
- package/lib/restoreAutoMovieRenderModeOnce.d.ts +12 -0
- package/lib/restoreAutoMovieRenderModeOnce.js +31 -0
- package/lib/restoreAutoMovieRenderModeOnce.js.map +1 -0
- package/lib/restoreAutoMovieRenderModeState.d.ts +15 -0
- package/lib/restoreAutoMovieRenderModeState.js +49 -0
- package/lib/restoreAutoMovieRenderModeState.js.map +1 -0
- package/lib/retireAutoMovieCubeShadowDepth.d.ts +13 -0
- package/lib/retireAutoMovieCubeShadowDepth.js +28 -0
- package/lib/retireAutoMovieCubeShadowDepth.js.map +1 -0
- package/lib/sampleFormationCycleMatrix.d.ts +15 -0
- package/lib/sampleFormationCycleMatrix.js +27 -0
- package/lib/sampleFormationCycleMatrix.js.map +1 -0
- package/lib/semanticMask/IAutoMovieSemanticMaskBinding.d.ts +19 -0
- package/lib/semanticMask/IAutoMovieSemanticMaskBinding.js +2 -0
- package/lib/semanticMask/IAutoMovieSemanticMaskBinding.js.map +1 -0
- package/lib/semanticMask/IAutoMovieSemanticMaskHandle.d.ts +42 -0
- package/lib/semanticMask/IAutoMovieSemanticMaskHandle.js +2 -0
- package/lib/semanticMask/IAutoMovieSemanticMaskHandle.js.map +1 -0
- package/lib/semanticMask/SCENE_MASK_KEY.d.ts +6 -0
- package/lib/semanticMask/SCENE_MASK_KEY.js +7 -0
- package/lib/semanticMask/SCENE_MASK_KEY.js.map +1 -0
- package/lib/semanticMask/applyAutoMovieSemanticMask.d.ts +34 -0
- package/lib/semanticMask/applyAutoMovieSemanticMask.js +177 -0
- package/lib/semanticMask/applyAutoMovieSemanticMask.js.map +1 -0
- package/lib/semanticMask/attachAutoMovieSemanticMask.d.ts +16 -0
- package/lib/semanticMask/attachAutoMovieSemanticMask.js +18 -0
- package/lib/semanticMask/attachAutoMovieSemanticMask.js.map +1 -0
- package/lib/semanticMask/auditAutoMovieSemanticMaskScene.d.ts +21 -0
- package/lib/semanticMask/auditAutoMovieSemanticMaskScene.js +27 -0
- package/lib/semanticMask/auditAutoMovieSemanticMaskScene.js.map +1 -0
- package/lib/semanticMask/autoMovieSemanticMaskOf.d.ts +14 -0
- package/lib/semanticMask/autoMovieSemanticMaskOf.js +14 -0
- package/lib/semanticMask/autoMovieSemanticMaskOf.js.map +1 -0
- package/lib/semanticMask/index.d.ts +7 -0
- package/lib/semanticMask/index.js +7 -0
- package/lib/semanticMask/index.js.map +1 -0
- package/lib/semanticMask/maskRoots.d.ts +23 -0
- package/lib/semanticMask/maskRoots.js +33 -0
- package/lib/semanticMask/maskRoots.js.map +1 -0
- package/lib/semanticMask/nearest.d.ts +14 -0
- package/lib/semanticMask/nearest.js +22 -0
- package/lib/semanticMask/nearest.js.map +1 -0
- package/lib/semanticMask/unresolvedOf.d.ts +14 -0
- package/lib/semanticMask/unresolvedOf.js +21 -0
- package/lib/semanticMask/unresolvedOf.js.map +1 -0
- package/lib/slotMatrix.d.ts +17 -0
- package/lib/slotMatrix.js +15 -0
- package/lib/slotMatrix.js.map +1 -0
- package/lib/subjectViewpoint/AutoMovieViewerSubjectKind.d.ts +9 -0
- package/lib/subjectViewpoint/AutoMovieViewerSubjectKind.js +2 -0
- package/lib/subjectViewpoint/AutoMovieViewerSubjectKind.js.map +1 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubject.d.ts +25 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubject.js +2 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubject.js.map +1 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectBounds.d.ts +26 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectBounds.js +2 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectBounds.js.map +1 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectLens.d.ts +20 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectLens.js +2 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectLens.js.map +1 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectPose.d.ts +39 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectPose.js +2 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectPose.js.map +1 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectView.d.ts +37 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectView.js +2 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectView.js.map +1 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectViewRequest.d.ts +55 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectViewRequest.js +2 -0
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectViewRequest.js.map +1 -0
- package/lib/subjectViewpoint/IAutoMovieViewerTurntableOptions.d.ts +22 -0
- package/lib/subjectViewpoint/IAutoMovieViewerTurntableOptions.js +2 -0
- package/lib/subjectViewpoint/IAutoMovieViewerTurntableOptions.js.map +1 -0
- package/lib/subjectViewpoint/IAutoMovieViewerViewpoint.d.ts +28 -0
- package/lib/subjectViewpoint/IAutoMovieViewerViewpoint.js +2 -0
- package/lib/subjectViewpoint/IAutoMovieViewerViewpoint.js.map +1 -0
- package/lib/subjectViewpoint/applyAutoMovieViewerSubjectPose.d.ts +14 -0
- package/lib/subjectViewpoint/applyAutoMovieViewerSubjectPose.js +25 -0
- package/lib/subjectViewpoint/applyAutoMovieViewerSubjectPose.js.map +1 -0
- package/lib/subjectViewpoint/autoMovieViewerPoseFromHeading.d.ts +24 -0
- package/lib/subjectViewpoint/autoMovieViewerPoseFromHeading.js +33 -0
- package/lib/subjectViewpoint/autoMovieViewerPoseFromHeading.js.map +1 -0
- package/lib/subjectViewpoint/autoMovieViewerSubjectKey.d.ts +13 -0
- package/lib/subjectViewpoint/autoMovieViewerSubjectKey.js +17 -0
- package/lib/subjectViewpoint/autoMovieViewerSubjectKey.js.map +1 -0
- package/lib/subjectViewpoint/autoMovieViewerTurntableViewpoints.d.ts +14 -0
- package/lib/subjectViewpoint/autoMovieViewerTurntableViewpoints.js +41 -0
- package/lib/subjectViewpoint/autoMovieViewerTurntableViewpoints.js.map +1 -0
- package/lib/subjectViewpoint/captureAutoMovieViewerSubjectView.d.ts +14 -0
- package/lib/subjectViewpoint/captureAutoMovieViewerSubjectView.js +25 -0
- package/lib/subjectViewpoint/captureAutoMovieViewerSubjectView.js.map +1 -0
- package/lib/subjectViewpoint/frameAutoMovieViewerSubject.d.ts +16 -0
- package/lib/subjectViewpoint/frameAutoMovieViewerSubject.js +57 -0
- package/lib/subjectViewpoint/frameAutoMovieViewerSubject.js.map +1 -0
- package/lib/subjectViewpoint/index.d.ts +16 -0
- package/lib/subjectViewpoint/index.js +17 -0
- package/lib/subjectViewpoint/index.js.map +1 -0
- package/lib/subjectViewpoint/parseAutoMovieViewerSubjectKey.d.ts +13 -0
- package/lib/subjectViewpoint/parseAutoMovieViewerSubjectKey.js +49 -0
- package/lib/subjectViewpoint/parseAutoMovieViewerSubjectKey.js.map +1 -0
- package/lib/subsurfaceShading/SUBSURFACE_TARGET.d.ts +2 -0
- package/lib/subsurfaceShading/SUBSURFACE_TARGET.js +3 -0
- package/lib/subsurfaceShading/SUBSURFACE_TARGET.js.map +1 -0
- package/lib/subsurfaceShading/SUBSURFACE_TEXTURE_SIZE.d.ts +5 -0
- package/lib/subsurfaceShading/SUBSURFACE_TEXTURE_SIZE.js +3 -0
- package/lib/subsurfaceShading/SUBSURFACE_TEXTURE_SIZE.js.map +1 -0
- package/lib/subsurfaceShading/applySubsurfaceShading.d.ts +17 -0
- package/lib/subsurfaceShading/applySubsurfaceShading.js +34 -0
- package/lib/subsurfaceShading/applySubsurfaceShading.js.map +1 -0
- package/lib/subsurfaceShading/getSubsurfaceTexture.d.ts +13 -0
- package/lib/subsurfaceShading/getSubsurfaceTexture.js +36 -0
- package/lib/subsurfaceShading/getSubsurfaceTexture.js.map +1 -0
- package/lib/subsurfaceShading/index.d.ts +6 -0
- package/lib/subsurfaceShading/index.js +7 -0
- package/lib/subsurfaceShading/index.js.map +1 -0
- package/lib/subsurfaceShading/subsurfaceFragment.d.ts +12 -0
- package/lib/subsurfaceShading/subsurfaceFragment.js +26 -0
- package/lib/subsurfaceShading/subsurfaceFragment.js.map +1 -0
- package/lib/subsurfaceShading/subsurfacePhysicalChunk.d.ts +12 -0
- package/lib/subsurfaceShading/subsurfacePhysicalChunk.js +34 -0
- package/lib/subsurfaceShading/subsurfacePhysicalChunk.js.map +1 -0
- package/lib/subsurfaceShading/subsurfaceTable.d.ts +12 -0
- package/lib/subsurfaceShading/subsurfaceTable.js +45 -0
- package/lib/subsurfaceShading/subsurfaceTable.js.map +1 -0
- package/lib/textureBindingAsset.d.ts +13 -0
- package/lib/textureBindingAsset.js +15 -0
- package/lib/textureBindingAsset.js.map +1 -0
- package/lib/transport/AutoMovieViewerTransport.d.ts +216 -0
- package/lib/transport/AutoMovieViewerTransport.js +243 -0
- package/lib/transport/AutoMovieViewerTransport.js.map +1 -0
- package/lib/transport/configureAutoMovieReviewControls.d.ts +27 -0
- package/lib/transport/configureAutoMovieReviewControls.js +35 -0
- package/lib/transport/configureAutoMovieReviewControls.js.map +1 -0
- package/lib/transport/index.d.ts +5 -0
- package/lib/transport/index.js +6 -0
- package/lib/transport/index.js.map +1 -0
- package/lib/transport/mountAutoMovieTransportControls.d.ts +64 -0
- package/lib/transport/mountAutoMovieTransportControls.js +124 -0
- package/lib/transport/mountAutoMovieTransportControls.js.map +1 -0
- package/lib/transport/parseAutoMovieInspectionView.d.ts +20 -0
- package/lib/transport/parseAutoMovieInspectionView.js +29 -0
- package/lib/transport/parseAutoMovieInspectionView.js.map +1 -0
- package/lib/transport/readAutoMovieReviewInterval.d.ts +23 -0
- package/lib/transport/readAutoMovieReviewInterval.js +39 -0
- package/lib/transport/readAutoMovieReviewInterval.js.map +1 -0
- package/lib/updateAutoMovieComparisonCamera.d.ts +27 -0
- package/lib/updateAutoMovieComparisonCamera.js +79 -0
- package/lib/updateAutoMovieComparisonCamera.js.map +1 -0
- package/lib/vector.d.ts +17 -0
- package/lib/vector.js +16 -0
- package/lib/vector.js.map +1 -0
- package/package.json +51 -3
- package/src/AUTOMOVIE_FORMATION_CYCLE_SAMPLES.ts +4 -0
- package/src/AutoMovieDisplayCompositor.ts +379 -0
- package/src/AutoMovieDissolveCompositorState.ts +9 -0
- package/src/AutoMovieEnvironmentTextureOwnership.ts +262 -0
- package/src/AutoMovieFadeCompositorState.ts +9 -0
- package/src/AutoMovieFilmBeautyComposition.ts +24 -0
- package/src/AutoMovieGeometryPhysicalVertices.ts +187 -0
- package/src/AutoMoviePlayer.ts +281 -0
- package/src/AutoMovieRenderModeMesh.ts +14 -0
- package/src/AutoMovieResourceRetirementScope.ts +203 -0
- package/src/AutoMovieSkinBlend.ts +251 -0
- package/src/AutoMovieSkinPose.ts +453 -0
- package/src/AutoMovieSkinnedMesh.ts +333 -0
- package/src/AutoMovieTextureCache.ts +389 -0
- package/src/AutoMovieTextureCacheAllocationAuthority.ts +516 -0
- package/src/DEPTH_NORMALIZATION_RANGE.ts +4 -0
- package/src/EDGE_SHELL_NAME.ts +2 -0
- package/src/EDGE_WIDTH.ts +4 -0
- package/src/IApplyAutoMovieSectionPlanesProps.ts +32 -0
- package/src/IAutoMovieAnalysisOverlayObject.ts +53 -0
- package/src/IAutoMovieBuiltPropArticulation.ts +36 -0
- package/src/IAutoMovieEffectViewerObject.ts +32 -0
- package/src/IAutoMovieEffectViewerStats.ts +21 -0
- package/src/IAutoMovieExpressionTarget.ts +22 -0
- package/src/IAutoMovieFilmBeautyLayer.ts +12 -0
- package/src/IAutoMovieFluidSprayObject.ts +54 -0
- package/src/IAutoMovieFluidSurfaceObject.ts +41 -0
- package/src/IAutoMovieFormationCadence.ts +20 -0
- package/src/IAutoMovieFormationCycle.ts +44 -0
- package/src/IAutoMovieFormationCycleTake.ts +52 -0
- package/src/IAutoMovieFormationCycleUniforms.ts +26 -0
- package/src/IAutoMovieFormationViewerObject.ts +74 -0
- package/src/IAutoMovieFormationViewerStats.ts +38 -0
- package/src/IAutoMovieImportedModelOptions.ts +51 -0
- package/src/IAutoMovieInstanceSetViewerObject.ts +47 -0
- package/src/IAutoMovieInstanceSetViewerStats.ts +20 -0
- package/src/IAutoMovieInstancedGeometry.ts +26 -0
- package/src/IAutoMovieInstancedModelRepresentation.ts +20 -0
- package/src/IAutoMovieMaterialLibrary.ts +44 -0
- package/src/IAutoMovieModelObject.ts +61 -0
- package/src/IAutoMoviePlantingObject.ts +39 -0
- package/src/IAutoMovieRenderModeHandle.ts +47 -0
- package/src/IAutoMovieRendererEnvironmentHandle.ts +22 -0
- package/src/IAutoMovieRigLocalTransform.ts +16 -0
- package/src/IAutoMovieSceneObject.ts +29 -0
- package/src/IAutoMovieSectionRenderer.ts +17 -0
- package/src/IAutoMovieShadowTextureHost.ts +19 -0
- package/src/IAutoMovieSoftBodyObject.ts +49 -0
- package/src/IAutoMovieSpringAxisSettlement.ts +21 -0
- package/src/IAutoMovieSpringConfig.ts +25 -0
- package/src/IAutoMovieTextureLoader.ts +14 -0
- package/src/IAutoMovieTextureResolver.ts +19 -0
- package/src/IAutoMovieViewerCameraDepthPrecisionReport.ts +45 -0
- package/src/IAutoMovieViewerCompletedFrame.ts +62 -0
- package/src/IAutoMovieViewerDisplayMetadata.ts +26 -0
- package/src/IAutoMovieViewerFrame.ts +26 -0
- package/src/IAutoMovieViewerHandle.ts +45 -0
- package/src/IAutoMovieViewerSnapshot.ts +21 -0
- package/src/IAutoMovieViewerSnapshotOptions.ts +15 -0
- package/src/IAutoMovieViewerSnapshotRenderer.ts +36 -0
- package/src/IBakeFormationCycleProps.ts +36 -0
- package/src/IBuildAutoMovieMaterialLibraryProps.ts +34 -0
- package/src/IBuildInstancedFormationProps.ts +45 -0
- package/src/IBuildInstancedInstanceSetProps.ts +36 -0
- package/src/IBuildPlantingObjectProps.ts +30 -0
- package/src/IBuildPropArticulationProps.ts +35 -0
- package/src/IBuildSoftBodyObjectProps.ts +24 -0
- package/src/IChunkObject.ts +42 -0
- package/src/IFormationTierRepresentation.ts +18 -0
- package/src/IMaterialShaderPatch.ts +30 -0
- package/src/IMountViewerOptions.ts +69 -0
- package/src/ISlotException.ts +31 -0
- package/src/IViewerCameraStateSnapshot.ts +60 -0
- package/src/POSE_OVERLAY_NAME.ts +2 -0
- package/src/SPACE_GROUP_NAME.ts +12 -0
- package/src/addMaterialShaderPatch.ts +42 -0
- package/src/analysisOverlay.ts +3 -0
- package/src/applyAutoMovieDeliveryCrop.ts +51 -0
- package/src/applyAutoMovieRigLocals.ts +111 -0
- package/src/applyAutoMovieSectionPlanes.ts +73 -0
- package/src/applyAutoMovieShadowParticipation.ts +69 -0
- package/src/applyCaptureCanvasSize.ts +30 -0
- package/src/applyDepthMode.ts +101 -0
- package/src/applyEdgeMode.ts +153 -0
- package/src/applyExpression.ts +203 -0
- package/src/applyFormationCycleCadence.ts +39 -0
- package/src/applyFormationCycleMaterial.ts +121 -0
- package/src/applyLightMotion.ts +58 -0
- package/src/applyLightState.ts +61 -0
- package/src/applyMaskMode.ts +130 -0
- package/src/applyMaterialShaderPatches.ts +28 -0
- package/src/applyObjectMotion.ts +44 -0
- package/src/applyObjectMotions.ts +28 -0
- package/src/applyPose.ts +127 -0
- package/src/applyPoseMode.ts +115 -0
- package/src/applyRenderMode.ts +248 -0
- package/src/applyRendererEnvironment.ts +141 -0
- package/src/applySampledObjectMotion.ts +79 -0
- package/src/applySceneEnvironment.ts +72 -0
- package/src/applySceneFog.ts +49 -0
- package/src/applySemanticMaskMode.ts +50 -0
- package/src/applyTransform.ts +24 -0
- package/src/assertAutoMovieSceneShadowProfile.ts +45 -0
- package/src/assertAutoMovieViewerCameraDepthPrecision.ts +35 -0
- package/src/audio/IAutoMovieAudioCue.ts +32 -0
- package/src/audio/index.ts +3 -0
- package/src/audio/planAutoMovieAudioPlayback.ts +87 -0
- package/src/audio/playAutoMovieAudioCues.ts +76 -0
- package/src/autoMovieAnalysisRampColor.ts +30 -0
- package/src/bakeFormationCycle.ts +221 -0
- package/src/bindFormationTierCycle.ts +62 -0
- package/src/buildAnalysisOverlayObject.ts +163 -0
- package/src/buildAutoMovieConstruction.ts +114 -0
- package/src/buildAutoMovieMaterialLibrary.ts +150 -0
- package/src/buildFluidSprayObject.ts +96 -0
- package/src/buildFluidSurfaceObject.ts +127 -0
- package/src/buildGeometry.ts +149 -0
- package/src/buildInstancedEffect.ts +152 -0
- package/src/buildInstancedFormation.ts +599 -0
- package/src/buildInstancedInstanceSet.ts +637 -0
- package/src/buildLight.ts +129 -0
- package/src/buildMaterial.ts +215 -0
- package/src/buildModel.ts +333 -0
- package/src/buildPlantingObject.ts +234 -0
- package/src/buildPropArticulation.ts +181 -0
- package/src/buildScene.ts +136 -0
- package/src/buildSoftBodyObject.ts +191 -0
- package/src/buildSpace.ts +2 -0
- package/src/buildSpaceObject.ts +100 -0
- package/src/cameraDepthPrecision.ts +3 -0
- package/src/captureAutoMovieFramebufferRestore.ts +84 -0
- package/src/captureAutoMovieMetricFrame.ts +111 -0
- package/src/captureSize.ts +1 -0
- package/src/captureViewerSnapshot.ts +37 -0
- package/src/collectAutoMovieOwnedResources.ts +73 -0
- package/src/collectAutoMovieRenderModeMeshes.ts +32 -0
- package/src/constructAutoMovieOwnedResources.ts +47 -0
- package/src/createAutoMovieClosedSphereGeometry.ts +113 -0
- package/src/createAutoMovieMetricOrthographicCamera.ts +95 -0
- package/src/createAutoMoviePerformanceOverlay.ts +239 -0
- package/src/createAutoMoviePhysicalPoseAdapter.ts +125 -0
- package/src/createAutoMovieResourceRetirement.ts +59 -0
- package/src/createAutoMovieSurfaceAppearance.ts +260 -0
- package/src/createAutoMovieSurfaceVertexAdapter.ts +66 -0
- package/src/createFormationCycleShadowMaterials.ts +111 -0
- package/src/createFormationRepresentations.ts +101 -0
- package/src/createImportedModelObject.ts +67 -0
- package/src/createViewerCameraState.ts +291 -0
- package/src/createViewerDisplayClock.ts +48 -0
- package/src/createViewerDisplayPublication.ts +59 -0
- package/src/createViewerDisplaySave.ts +224 -0
- package/src/createViewerFrameControl.ts +130 -0
- package/src/createViewerViewportResize.ts +58 -0
- package/src/decodeAutoMovieImage.ts +152 -0
- package/src/defaultMaterial.ts +21 -0
- package/src/deliveryCrop.ts +2 -0
- package/src/describeFormationTextureSources.ts +54 -0
- package/src/detailNormalShading/DETAIL_NORMAL_TARGET.ts +5 -0
- package/src/detailNormalShading/applyDetailNormal.ts +42 -0
- package/src/detailNormalShading/createDetailNormalShaderPatch.ts +71 -0
- package/src/detailNormalShading/detailNormalFragment.ts +27 -0
- package/src/detailNormalShading/detailNormalVertex.ts +24 -0
- package/src/detailNormalShading/index.ts +6 -0
- package/src/detailNormalShading/spliceTangentNormal.ts +39 -0
- package/src/disposeCrossDissolve.ts +25 -0
- package/src/disposeFadeToBlack.ts +25 -0
- package/src/disposeFormationRepresentations.ts +59 -0
- package/src/dualQuaternionSkinning/applyDualQuaternionSkinning.ts +24 -0
- package/src/dualQuaternionSkinning/createDualQuaternionSkinningShaderPatch.ts +23 -0
- package/src/dualQuaternionSkinning/dualQuaternionSkinningOf.ts +19 -0
- package/src/dualQuaternionSkinning/dualQuaternionSkinningVertex.ts +146 -0
- package/src/dualQuaternionSkinning/index.ts +4 -0
- package/src/effect.ts +4 -0
- package/src/evaluateAutoMovieViewerCameraDepthPrecision.ts +114 -0
- package/src/flattenInstancedModel.ts +127 -0
- package/src/flattenInstancedObject.ts +33 -0
- package/src/flattenRigidParts.ts +174 -0
- package/src/fluidSurface.ts +4 -0
- package/src/formation/index.ts +22 -0
- package/src/formationCycle/index.ts +17 -0
- package/src/formationCycleCadence.ts +55 -0
- package/src/formationCycleGait.ts +27 -0
- package/src/formationCycleOf.ts +25 -0
- package/src/formationCyclePosition.ts +34 -0
- package/src/formationCycleStride.ts +57 -0
- package/src/formationGeometry/index.ts +5 -0
- package/src/formationSpacingOffset.ts +65 -0
- package/src/guardAutoMovieRenderModeRetirement.ts +66 -0
- package/src/guardAutoMovieSceneShadowRetirement.ts +50 -0
- package/src/human-polygon/AutoMovieHumanCartoon.ts +109 -0
- package/src/human-polygon/AutoMovieHumanPolygon.ts +160 -0
- package/src/human-polygon/applyHumanPolygonPose.ts +59 -0
- package/src/human-polygon/buildHumanCartoonFace.ts +466 -0
- package/src/human-polygon/buildHumanPolygon.ts +347 -0
- package/src/human-polygon/buildHumanPolygonModule.ts +300 -0
- package/src/human-polygon/buildHumanPolygonParts.ts +254 -0
- package/src/human-polygon/createAutoMovieHumanPolygonFigure.ts +120 -0
- package/src/human-polygon/createHumanPolygonPalette.ts +169 -0
- package/src/human-polygon/humanPolygonSections.ts +70 -0
- package/src/human-polygon/humanPolygonTopology.ts +147 -0
- package/src/human-polygon/index.ts +5 -0
- package/src/human-polygon/mountHumanCartoonFace.ts +92 -0
- package/src/importedModel/index.ts +4 -0
- package/src/index.ts +139 -0
- package/src/instanceSet/index.ts +6 -0
- package/src/instancedModelParts.ts +25 -0
- package/src/invalidateAutoMovieSceneShadowPrograms.ts +28 -0
- package/src/invalidateAutoMovieSkinnedPose.ts +31 -0
- package/src/mapImportedHumanoidBones.ts +73 -0
- package/src/maskColor.ts +17 -0
- package/src/matchesAutoMovieShadowTextureProfile.ts +34 -0
- package/src/materialOverlayShading/IMaterialOverlayShading.ts +32 -0
- package/src/materialOverlayShading/IMaterialOverlayShape.ts +18 -0
- package/src/materialOverlayShading/applyMaterialOverlays.ts +88 -0
- package/src/materialOverlayShading/getOverlayFlatNormal.ts +25 -0
- package/src/materialOverlayShading/index.ts +6 -0
- package/src/materialOverlayShading/materialOverlayFragment.ts +85 -0
- package/src/materialOverlayShading/materialOverlayVertex.ts +50 -0
- package/src/materialTextureBindings.ts +44 -0
- package/src/morphTargetDriversOf.ts +25 -0
- package/src/motion-overlay/applyAutoMovieGhost.ts +46 -0
- package/src/motion-overlay/createAutoMovieDriftMarkers.ts +59 -0
- package/src/motion-overlay/createAutoMovieTargetMarker.ts +62 -0
- package/src/motion-overlay/createAutoMovieTrail.ts +44 -0
- package/src/motion-overlay/index.ts +4 -0
- package/src/mountViewer.ts +248 -0
- package/src/objectTransform.ts +42 -0
- package/src/observeAutoMovieRendererFrame.ts +47 -0
- package/src/overrideAutoMovieRenderModeMaterials.ts +87 -0
- package/src/planAutoMovieShadowTextureTarget.ts +55 -0
- package/src/propArticulation/index.ts +4 -0
- package/src/publishViewerCompletedFrame.ts +31 -0
- package/src/readAutoMovieCubeShadowDepth.ts +57 -0
- package/src/readAutoMovieDeliveryCrop.ts +41 -0
- package/src/readAutoMovieDisplayDestinationEncoding.ts +98 -0
- package/src/readAutoMovieEnvironmentColorSpace.ts +20 -0
- package/src/readAutoMovieFilmDisplayTextureResidency.ts +52 -0
- package/src/readAutoMovieMaterialTextureSources.ts +154 -0
- package/src/readAutoMovieRenderTextureTarget.ts +70 -0
- package/src/readAutoMovieShadowLightSource.ts +40 -0
- package/src/readAutoMovieShadowTextureTargets.ts +123 -0
- package/src/readAutoMovieTextureSource.ts +262 -0
- package/src/readAutoMovieTextureUploadFormat.ts +45 -0
- package/src/readAutoMovieTransmissionTextureTarget.ts +57 -0
- package/src/redrawViewerCompletedFrame.ts +67 -0
- package/src/regenerateFormationSlot.ts +26 -0
- package/src/regenerateInstanceSlot.ts +28 -0
- package/src/releaseMountedViewer.ts +35 -0
- package/src/releaseViewerRenderer.ts +31 -0
- package/src/reliefWeightShading/RELIEF_WEIGHT_TARGET.ts +5 -0
- package/src/reliefWeightShading/applyReliefWeights.ts +21 -0
- package/src/reliefWeightShading/createReliefWeightShaderPatch.ts +50 -0
- package/src/reliefWeightShading/index.ts +5 -0
- package/src/reliefWeightShading/reliefWeightFragment.ts +40 -0
- package/src/reliefWeightShading/reliefWeightVertex.ts +23 -0
- package/src/renderAutoMovieFilmFrame.ts +63 -0
- package/src/renderAutoMovieScenePass.ts +121 -0
- package/src/renderCrossDissolve.ts +50 -0
- package/src/renderCrossDissolveFrames.ts +41 -0
- package/src/renderFadeToBlackFrame.ts +37 -0
- package/src/reportAutoMovieResourceRetirement.ts +48 -0
- package/src/resetAutoMovieSceneShadowTargets.ts +106 -0
- package/src/resolveAutoMovieFilmBeautyComposition.ts +52 -0
- package/src/resolveAutoMovieMaterialTexture.ts +113 -0
- package/src/restoreAutoMovieRenderModeOnce.ts +30 -0
- package/src/restoreAutoMovieRenderModeState.ts +71 -0
- package/src/retireAutoMovieCubeShadowDepth.ts +33 -0
- package/src/sampleFormationCycleMatrix.ts +70 -0
- package/src/semanticMask/IAutoMovieSemanticMaskBinding.ts +24 -0
- package/src/semanticMask/IAutoMovieSemanticMaskHandle.ts +45 -0
- package/src/semanticMask/SCENE_MASK_KEY.ts +6 -0
- package/src/semanticMask/applyAutoMovieSemanticMask.ts +262 -0
- package/src/semanticMask/attachAutoMovieSemanticMask.ts +27 -0
- package/src/semanticMask/auditAutoMovieSemanticMaskScene.ts +50 -0
- package/src/semanticMask/autoMovieSemanticMaskOf.ts +24 -0
- package/src/semanticMask/index.ts +7 -0
- package/src/semanticMask/maskRoots.ts +67 -0
- package/src/semanticMask/nearest.ts +29 -0
- package/src/semanticMask/unresolvedOf.ts +34 -0
- package/src/slotMatrix.ts +38 -0
- package/src/subjectViewpoint/AutoMovieViewerSubjectKind.ts +23 -0
- package/src/subjectViewpoint/IAutoMovieViewerSubject.ts +28 -0
- package/src/subjectViewpoint/IAutoMovieViewerSubjectBounds.ts +19 -0
- package/src/subjectViewpoint/IAutoMovieViewerSubjectLens.ts +21 -0
- package/src/subjectViewpoint/IAutoMovieViewerSubjectPose.ts +36 -0
- package/src/subjectViewpoint/IAutoMovieViewerSubjectView.ts +42 -0
- package/src/subjectViewpoint/IAutoMovieViewerSubjectViewRequest.ts +67 -0
- package/src/subjectViewpoint/IAutoMovieViewerTurntableOptions.ts +24 -0
- package/src/subjectViewpoint/IAutoMovieViewerViewpoint.ts +31 -0
- package/src/subjectViewpoint/applyAutoMovieViewerSubjectPose.ts +31 -0
- package/src/subjectViewpoint/autoMovieViewerPoseFromHeading.ts +43 -0
- package/src/subjectViewpoint/autoMovieViewerSubjectKey.ts +20 -0
- package/src/subjectViewpoint/autoMovieViewerTurntableViewpoints.ts +54 -0
- package/src/subjectViewpoint/captureAutoMovieViewerSubjectView.ts +34 -0
- package/src/subjectViewpoint/frameAutoMovieViewerSubject.ts +77 -0
- package/src/subjectViewpoint/index.ts +16 -0
- package/src/subjectViewpoint/parseAutoMovieViewerSubjectKey.ts +59 -0
- package/src/subsurfaceShading/SUBSURFACE_TARGET.ts +3 -0
- package/src/subsurfaceShading/SUBSURFACE_TEXTURE_SIZE.ts +2 -0
- package/src/subsurfaceShading/applySubsurfaceShading.ts +38 -0
- package/src/subsurfaceShading/getSubsurfaceTexture.ts +46 -0
- package/src/subsurfaceShading/index.ts +6 -0
- package/src/subsurfaceShading/subsurfaceFragment.ts +30 -0
- package/src/subsurfaceShading/subsurfacePhysicalChunk.ts +43 -0
- package/src/subsurfaceShading/subsurfaceTable.ts +47 -0
- package/src/textureBindingAsset.ts +16 -0
- package/src/transport/AutoMovieViewerTransport.ts +356 -0
- package/src/transport/configureAutoMovieReviewControls.ts +44 -0
- package/src/transport/index.ts +5 -0
- package/src/transport/mountAutoMovieTransportControls.ts +254 -0
- package/src/transport/parseAutoMovieInspectionView.ts +35 -0
- package/src/transport/readAutoMovieReviewInterval.ts +45 -0
- package/src/updateAutoMovieComparisonCamera.ts +92 -0
- package/src/vector.ts +20 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { IAutoMovieRenderTextureResidency } from "@automovie/engine";
|
|
2
|
+
import * as THREE from "three";
|
|
3
|
+
type RuntimeSource = NonNullable<IAutoMovieRenderTextureResidency["runtimeTextures"]>[number];
|
|
4
|
+
/**
|
|
5
|
+
* Read actual implicit material and area-light lookup objects for one scope. Shader factories publish the same Texture reference they bind. The area pair follows WebGLLights' real extension choice without initializing tables. Caller-retained rows belong to this same renderer, survive material removal, and are dropped only after actual texture/context release. Current scope use labels are replaced on each observation; obsolete rows remain retained-only. Each row follows an actual Texture wrapper, not mutable UUIDs. Distinct wrappers retain their own current upload keys; the engine shares equivalent Source/key pairs. Reobserving one wrapper replaces its old state, matching native cache-key reference retirement after upload. This is a reachable current-state bound; a host requiring upload-transition peak storage supplies the previous phase separately until that phase's native release is observed. These are reachable-storage bounds, never a claim of current GLuint count. No shader, texture state or GPU lifetime is changed by the observation.
|
|
6
|
+
*
|
|
7
|
+
* @evidence contracts/development/implementation.md#principled-implementation Observes actual material-published lookup textures and native area-light extension selection, updates current scope use and replaces each actual wrapper current upload metadata while retaining prior context-owned rows.
|
|
8
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Call-local first-row identity and owner/count indexes separate efficient row matching from actual shader producers and Engine allocation-equivalence grouping.
|
|
9
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Wrapper identity rather than mutable UUID names governs updates; first duplicate row and generated owner order are preserved, removed use retains potential context facts and reobservation does not independently prove native upload transition retirement.
|
|
10
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents reachable storage versus GLuint/history proof, current live labels, retained-only rows and no texture/program mutation by this observer.
|
|
11
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms R retained rows are indexed once and N scene nodes/material roles scanned; expected indexed row matching avoids repeated whole-row scans, with scope-list copies/deduplication and metadata string generation costing their actual lengths.
|
|
12
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Equal actual purpose/wrapper tokens replace the same first retained row while separate wrappers stay distinct; Engine decides Source/upload-equivalent allocation sharing, and no lookup table is initialized merely to observe it.
|
|
13
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Indexes are call-local and returned rows borrow live Texture identity facts through scalar tokens; caller explicitly prunes after actual texture/context release, and there is no independent row-count cap in this observer.
|
|
14
|
+
*/
|
|
15
|
+
export declare function readAutoMovieMaterialTextureSources(props: {
|
|
16
|
+
scope: string;
|
|
17
|
+
renderer: {
|
|
18
|
+
extensions: Pick<THREE.WebGLRenderer["extensions"], "has">;
|
|
19
|
+
};
|
|
20
|
+
scene: THREE.Scene;
|
|
21
|
+
retained?: readonly RuntimeSource[];
|
|
22
|
+
}): RuntimeSource[];
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import * as THREE from "three";
|
|
2
|
+
import { readAutoMovieTextureSource } from "./readAutoMovieTextureSource.js";
|
|
3
|
+
/**
|
|
4
|
+
* Read actual implicit material and area-light lookup objects for one scope. Shader factories publish the same Texture reference they bind. The area pair follows WebGLLights' real extension choice without initializing tables. Caller-retained rows belong to this same renderer, survive material removal, and are dropped only after actual texture/context release. Current scope use labels are replaced on each observation; obsolete rows remain retained-only. Each row follows an actual Texture wrapper, not mutable UUIDs. Distinct wrappers retain their own current upload keys; the engine shares equivalent Source/key pairs. Reobserving one wrapper replaces its old state, matching native cache-key reference retirement after upload. This is a reachable current-state bound; a host requiring upload-transition peak storage supplies the previous phase separately until that phase's native release is observed. These are reachable-storage bounds, never a claim of current GLuint count. No shader, texture state or GPU lifetime is changed by the observation.
|
|
5
|
+
*
|
|
6
|
+
* @evidence contracts/development/implementation.md#principled-implementation Observes actual material-published lookup textures and native area-light extension selection, updates current scope use and replaces each actual wrapper current upload metadata while retaining prior context-owned rows.
|
|
7
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Call-local first-row identity and owner/count indexes separate efficient row matching from actual shader producers and Engine allocation-equivalence grouping.
|
|
8
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Wrapper identity rather than mutable UUID names governs updates; first duplicate row and generated owner order are preserved, removed use retains potential context facts and reobservation does not independently prove native upload transition retirement.
|
|
9
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents reachable storage versus GLuint/history proof, current live labels, retained-only rows and no texture/program mutation by this observer.
|
|
10
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms R retained rows are indexed once and N scene nodes/material roles scanned; expected indexed row matching avoids repeated whole-row scans, with scope-list copies/deduplication and metadata string generation costing their actual lengths.
|
|
11
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Equal actual purpose/wrapper tokens replace the same first retained row while separate wrappers stay distinct; Engine decides Source/upload-equivalent allocation sharing, and no lookup table is initialized merely to observe it.
|
|
12
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Indexes are call-local and returned rows borrow live Texture identity facts through scalar tokens; caller explicitly prunes after actual texture/context release, and there is no independent row-count cap in this observer.
|
|
13
|
+
*/
|
|
14
|
+
export function readAutoMovieMaterialTextureSources(props) {
|
|
15
|
+
const rows = (props.retained ?? []).map((row) => ({
|
|
16
|
+
...row,
|
|
17
|
+
residents: (row.residents ?? []).filter((scope) => scope !== props.scope),
|
|
18
|
+
}));
|
|
19
|
+
const byTexture = new Map();
|
|
20
|
+
const owners = new Set();
|
|
21
|
+
const counts = new Map();
|
|
22
|
+
const key = (purpose, identity) => JSON.stringify([purpose, identity]);
|
|
23
|
+
for (const row of rows) {
|
|
24
|
+
const identity = key(row.purpose, row.texture.textureIdentity);
|
|
25
|
+
if (!byTexture.has(identity))
|
|
26
|
+
byTexture.set(identity, row);
|
|
27
|
+
owners.add(row.owner);
|
|
28
|
+
counts.set(row.purpose, (counts.get(row.purpose) ?? 0) + 1);
|
|
29
|
+
}
|
|
30
|
+
const observe = (purpose, value) => {
|
|
31
|
+
if (!isTexture(value))
|
|
32
|
+
return;
|
|
33
|
+
const { asset: _asset, ...texture } = readAutoMovieTextureSource(purpose, value);
|
|
34
|
+
const identity = key(purpose, texture.textureIdentity);
|
|
35
|
+
const previous = byTexture.get(identity);
|
|
36
|
+
if (previous !== undefined) {
|
|
37
|
+
previous.residents = [...new Set([...previous.residents, props.scope])];
|
|
38
|
+
previous.texture = texture;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
let ordinal = counts.get(purpose) ?? 0;
|
|
42
|
+
while (owners.has(`builtin:${purpose}:${ordinal}`))
|
|
43
|
+
ordinal++;
|
|
44
|
+
const row = {
|
|
45
|
+
owner: `builtin:${purpose}:${ordinal}`,
|
|
46
|
+
purpose,
|
|
47
|
+
texture,
|
|
48
|
+
residents: [props.scope],
|
|
49
|
+
};
|
|
50
|
+
rows.push(row);
|
|
51
|
+
byTexture.set(identity, row);
|
|
52
|
+
owners.add(row.owner);
|
|
53
|
+
counts.set(purpose, (counts.get(purpose) ?? 0) + 1);
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
let area = false;
|
|
57
|
+
let pbr = false;
|
|
58
|
+
props.scene.traverse((object) => {
|
|
59
|
+
if ("isRectAreaLight" in object && object.isRectAreaLight === true)
|
|
60
|
+
area = true;
|
|
61
|
+
if (!("material" in object))
|
|
62
|
+
return;
|
|
63
|
+
for (const material of Array.isArray(object.material)
|
|
64
|
+
? object.material
|
|
65
|
+
: [object.material]) {
|
|
66
|
+
if (!isMaterial(material))
|
|
67
|
+
continue;
|
|
68
|
+
if ("isMeshStandardMaterial" in material &&
|
|
69
|
+
material.isMeshStandardMaterial === true)
|
|
70
|
+
pbr = true;
|
|
71
|
+
observe("subsurface-lut", material.userData.autoMovieSubsurfaceTexture);
|
|
72
|
+
if ("normalMap" in material &&
|
|
73
|
+
material.normalMap === material.userData.autoMovieOverlayFlatNormal)
|
|
74
|
+
observe("overlay-flat-normal", material.userData.autoMovieOverlayFlatNormal);
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
if (area && pbr) {
|
|
78
|
+
const float = props.renderer.extensions.has("OES_texture_float_linear");
|
|
79
|
+
observe("area-ltc-1", Reflect.get(THREE.UniformsLib, float ? "LTC_FLOAT_1" : "LTC_HALF_1"));
|
|
80
|
+
observe("area-ltc-2", Reflect.get(THREE.UniformsLib, float ? "LTC_FLOAT_2" : "LTC_HALF_2"));
|
|
81
|
+
}
|
|
82
|
+
return rows;
|
|
83
|
+
}
|
|
84
|
+
/** Native markers keep the actual SDK objects usable across ESM/CJS realms. */
|
|
85
|
+
const isTexture = (value) => typeof value === "object" &&
|
|
86
|
+
value !== null &&
|
|
87
|
+
"isTexture" in value &&
|
|
88
|
+
value.isTexture === true;
|
|
89
|
+
/** Material user data and native features belong to the actual material object. */
|
|
90
|
+
const isMaterial = (value) => typeof value === "object" &&
|
|
91
|
+
value !== null &&
|
|
92
|
+
"isMaterial" in value &&
|
|
93
|
+
value.isMaterial === true;
|
|
94
|
+
//# sourceMappingURL=readAutoMovieMaterialTextureSources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readAutoMovieMaterialTextureSources.js","sourceRoot":"","sources":["../src/readAutoMovieMaterialTextureSources.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAQ7E;;;;;;;;;;GAUG;AACH,MAAM,UAAU,mCAAmC,CAAC,KAKnD;IACC,MAAM,IAAI,GAA4B,CAAC,KAAK,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,GAAG,CAC9D,CAAC,GAAkB,EAAyB,EAAE,CAAC,CAAC;QAC9C,GAAG,GAAG;QACN,SAAS,EAAE,CAAC,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC,C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WAAW,IAAI,KAAK;IACpB,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;AAE3B,mFAAmF;AACnF,MAAM,UAAU,GAAgD,CAC9D,KAAc,EACW,EAAE,CAC3B,OAAO,KAAK,KAAK,QAAQ;IACzB,KAAK,KAAK,IAAI;IACd,YAAY,IAAI,KAAK;IACrB,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { IAutoMovieRenderTextureTarget } from "@automovie/engine";
|
|
2
|
+
import * as THREE from "three";
|
|
3
|
+
/**
|
|
4
|
+
* Read a host-owned 2D target's complete attachment profile before drawing. Cube targets retain six color/depth faces; array and volume targets stay unknown. Depth without a custom texture uses the r186 D24/D24S8 four-byte bound; custom float-depth plus stencil uses the eight-byte D32FS8 profile. Native GL dimensions truncate positive fractional target declarations; the reported extents follow that physical pixel population rather than preserving a fractional JavaScript width as an unmeasurable texture. The target owns allocation identity independently of its texture's Source. No target state, pixels or caller lifetime is changed.
|
|
5
|
+
*
|
|
6
|
+
* @evidence contracts/development/implementation.md#principled-implementation Projects actual target attachments, integer physical extents, sample/mip requests, cube faces and supported depth/component profiles into Engine target metadata without drawing.
|
|
7
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Texture representation decoding remains shared with readAutoMovieTextureUploadFormat while target allocation identity is separately supplied by its owner.
|
|
8
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Array/volume representations remain unknown, unsupported custom depth stays null and declared fields do not certify native allocation history; depth byte profiles are conservative installed-r186 bounds.
|
|
9
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents target-owned allocation identity, fractional extent truncation, cube faces, custom/default depth and no pixel/lifetime mutation.
|
|
10
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms A bounded set of scalar checks plus three attachment scans is O(A) for A color attachments, producing one format list without allocating attachment texels.
|
|
11
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Current target representation is read afresh and no earlier profile is reused after resize/attachment change; sharing must follow target identity rather than its Texture Source.
|
|
12
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The target and textures stay borrowed and the returned row holds only scalar metadata; caller owns native allocation, observed retirement and retained phase facts.
|
|
13
|
+
*/
|
|
14
|
+
export declare function readAutoMovieRenderTextureTarget(owner: string, target: THREE.RenderTarget, transmissionScope?: string): IAutoMovieRenderTextureTarget;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as THREE from "three";
|
|
2
|
+
import { readAutoMovieTextureUploadFormat } from "./readAutoMovieTextureUploadFormat.js";
|
|
3
|
+
/**
|
|
4
|
+
* Read a host-owned 2D target's complete attachment profile before drawing. Cube targets retain six color/depth faces; array and volume targets stay unknown. Depth without a custom texture uses the r186 D24/D24S8 four-byte bound; custom float-depth plus stencil uses the eight-byte D32FS8 profile. Native GL dimensions truncate positive fractional target declarations; the reported extents follow that physical pixel population rather than preserving a fractional JavaScript width as an unmeasurable texture. The target owns allocation identity independently of its texture's Source. No target state, pixels or caller lifetime is changed.
|
|
5
|
+
*
|
|
6
|
+
* @evidence contracts/development/implementation.md#principled-implementation Projects actual target attachments, integer physical extents, sample/mip requests, cube faces and supported depth/component profiles into Engine target metadata without drawing.
|
|
7
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Texture representation decoding remains shared with readAutoMovieTextureUploadFormat while target allocation identity is separately supplied by its owner.
|
|
8
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Array/volume representations remain unknown, unsupported custom depth stays null and declared fields do not certify native allocation history; depth byte profiles are conservative installed-r186 bounds.
|
|
9
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents target-owned allocation identity, fractional extent truncation, cube faces, custom/default depth and no pixel/lifetime mutation.
|
|
10
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms A bounded set of scalar checks plus three attachment scans is O(A) for A color attachments, producing one format list without allocating attachment texels.
|
|
11
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Current target representation is read afresh and no earlier profile is reused after resize/attachment change; sharing must follow target identity rather than its Texture Source.
|
|
12
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The target and textures stay borrowed and the returned row holds only scalar metadata; caller owns native allocation, observed retirement and retained phase facts.
|
|
13
|
+
*/
|
|
14
|
+
export function readAutoMovieRenderTextureTarget(owner, target, transmissionScope) {
|
|
15
|
+
const cube = "isWebGLCubeRenderTarget" in target;
|
|
16
|
+
const unsupported = target.depth !== 1 ||
|
|
17
|
+
target.textures.some((texture) => "isDataArrayTexture" in texture || "isData3DTexture" in texture);
|
|
18
|
+
const depth = target.depthTexture;
|
|
19
|
+
const depthBytesPerTexel = !target.depthBuffer
|
|
20
|
+
? 0
|
|
21
|
+
: depth === null
|
|
22
|
+
? 4
|
|
23
|
+
: depth.format !== THREE.DepthFormat &&
|
|
24
|
+
depth.format !== THREE.DepthStencilFormat
|
|
25
|
+
? null
|
|
26
|
+
: depth.type === THREE.FloatType
|
|
27
|
+
? target.stencilBuffer || depth.format === THREE.DepthStencilFormat
|
|
28
|
+
? 8
|
|
29
|
+
: 4
|
|
30
|
+
: depth.type === THREE.UnsignedIntType ||
|
|
31
|
+
depth.type === THREE.UnsignedInt248Type
|
|
32
|
+
? 4
|
|
33
|
+
: depth.type === THREE.UnsignedShortType
|
|
34
|
+
? target.stencilBuffer ||
|
|
35
|
+
depth.format === THREE.DepthStencilFormat
|
|
36
|
+
? 4
|
|
37
|
+
: 2
|
|
38
|
+
: null;
|
|
39
|
+
return {
|
|
40
|
+
owner,
|
|
41
|
+
transmissionScope,
|
|
42
|
+
width: Math.floor(target.width),
|
|
43
|
+
height: Math.floor(target.height),
|
|
44
|
+
formats: target.textures.map((texture) => unsupported ? undefined : readAutoMovieTextureUploadFormat(texture)),
|
|
45
|
+
mipmapped: target.textures.some((texture) => texture.generateMipmaps || texture.mipmaps.length > 1),
|
|
46
|
+
samples: target.samples,
|
|
47
|
+
depthBytesPerTexel,
|
|
48
|
+
depthTexture: target.depthBuffer && depth !== null,
|
|
49
|
+
...(cube ? { faces: 6 } : {}),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=readAutoMovieRenderTextureTarget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readAutoMovieRenderTextureTarget.js","sourceRoot":"","sources":["../src/readAutoMovieRenderTextureTarget.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAEzF;;;;;;;;;;GAUG;AACH,MAAM,UAAU,gCAAgC,CAC9C,KAAa,EACb,MAA0B,EAC1B,iBAA0B;IAE1B,MAAM,IAAI,GAAY,yBAAyB,IAAI,MAAM,CAAC;IAC1D,MAAM,WAAW,GACf,MAAM,CAAC,KAAK,KAAK,CAAC;QAClB,MAAM,CAAC,QAAQ,CAAC,IAAI,CAClB,CAAC,OAAsB,EAAW,EAAE,CAClC,oBAAoB,IAAI,OAAO,IAAI,iBAAiB,IAAI,OAAO,CAClE,CAAC;IACJ,MAAM,KAAK,GAA8B,MAAM,CAAC,YAAY,CAAC;IAC7D,MAAM,kBAAkB,GAAkB,CAAC,MAAM,CAAC,WAAW;QAC3D,CAAC,CAAC,CAAC;QACH,CAAC,CAAC,KAAK,KAAK,IAAI;YACd,CAAC,CAAC,CAAC;YACH,CAAC,CAAC,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,WAAW;gBAChC,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,kBAAkB;gBAC3C,CAAC,CAAC,IAAI;gBACN,CAAC,CAAC,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,SAAS;oBAC9B,CAAC,CAAC,MAAM,CAAC,aAAa,IAAI,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,kBAAkB;wBACjE,CAAC,CAAC,CAAC;wBACH,CAAC,CAAC,CAAC;oBACL,CAAC,CAAC,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,eAAe;wBAClC,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,kBAAkB;wBACzC,CAAC,CAAC,CAAC;wBACH,CAAC,CAAC,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,iBAAiB;4BACtC,CAAC,CAAC,MAAM,CAAC,aAAa;gCACpB,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,kBAAkB;gCACzC,CAAC,CAAC,CAAC;gCACH,CAAC,CAAC,CAAC;4BACL,CAAC,CAAC,IAAI,CAAC;IACnB,OAAO;QACL,KAAK;QACL,iBAAiB;QACjB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;QAC/B,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;QACjC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,GAAG,CAC1B,CACE,OAAsB,EAC+B,EAAE,CACvD,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,gCAAgC,CAAC,OAAO,CAAC,CACtE;QACD,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,IAAI,CAC7B,CAAC,OAAsB,EAAW,EAAE,CAClC,OAAO,CAAC,eAAe,IAAI,OAAO,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CACxD;QACD,OAAO,EAAE,MAAM,CAAC,OAAO;QACvB,kBAAkB;QAClB,YAAY,EAAE,MAAM,CAAC,WAAW,IAAI,KAAK,KAAK,IAAI;QAClD,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACvC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { IAutoMovieLight } from "@automovie/interface";
|
|
2
|
+
import type * as THREE from "three";
|
|
3
|
+
/**
|
|
4
|
+
* Project one actual punctual light into the Engine's shadow-caster identity. The caller supplies the authored or runtime identity. Native class markers own the kind and castShadow owns participation, independent of visibility. Other scene objects and non-punctual lights return null rather than a fabricated shadow source. Admission and allocation formulas stay in Engine.
|
|
5
|
+
*
|
|
6
|
+
* @evidence contracts/development/implementation.md#principled-implementation Projects actual point/directional/spot native markers and castShadow into one Engine shadow source under the caller-supplied identity.
|
|
7
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Small host identity projection stays separate from Engine compatibility admission and viewer target planning.
|
|
8
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Nonpunctual objects return null and visibility does not silently erase a retained caster; marker/identity facts do not themselves prove shadow allocation or rendered appearance.
|
|
9
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents native kind, castShadow participation, unsupported object null result and caller identity responsibility.
|
|
10
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Three marker checks and one castShadow read are fixed work with at most one small result record.
|
|
11
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Every supplied object current participation is observed; equal id text alone does not cache another light allocation.
|
|
12
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Only copied id/kind/flag values escape, and no scene object, shadow target or native handle is acquired or retained.
|
|
13
|
+
*/
|
|
14
|
+
export declare const readAutoMovieShadowLightSource: (id: string, object: THREE.Object3D) => Pick<IAutoMovieLight, "id" | "type" | "castShadow"> | null;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Project one actual punctual light into the Engine's shadow-caster identity. The caller supplies the authored or runtime identity. Native class markers own the kind and castShadow owns participation, independent of visibility. Other scene objects and non-punctual lights return null rather than a fabricated shadow source. Admission and allocation formulas stay in Engine.
|
|
3
|
+
*
|
|
4
|
+
* @evidence contracts/development/implementation.md#principled-implementation Projects actual point/directional/spot native markers and castShadow into one Engine shadow source under the caller-supplied identity.
|
|
5
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Small host identity projection stays separate from Engine compatibility admission and viewer target planning.
|
|
6
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Nonpunctual objects return null and visibility does not silently erase a retained caster; marker/identity facts do not themselves prove shadow allocation or rendered appearance.
|
|
7
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents native kind, castShadow participation, unsupported object null result and caller identity responsibility.
|
|
8
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Three marker checks and one castShadow read are fixed work with at most one small result record.
|
|
9
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Every supplied object current participation is observed; equal id text alone does not cache another light allocation.
|
|
10
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Only copied id/kind/flag values escape, and no scene object, shadow target or native handle is acquired or retained.
|
|
11
|
+
*/
|
|
12
|
+
export const readAutoMovieShadowLightSource = (id, object) => {
|
|
13
|
+
const light = object;
|
|
14
|
+
const type = light.isPointLight === true
|
|
15
|
+
? "point"
|
|
16
|
+
: light.isDirectionalLight === true
|
|
17
|
+
? "directional"
|
|
18
|
+
: light.isSpotLight === true
|
|
19
|
+
? "spot"
|
|
20
|
+
: null;
|
|
21
|
+
return type === null ? null : { id, type, castShadow: light.castShadow };
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=readAutoMovieShadowLightSource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readAutoMovieShadowLightSource.js","sourceRoot":"","sources":["../src/readAutoMovieShadowLightSource.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAGuB,CAChE,EAAU,EACV,MAAsB,EACsC,EAAE;IAC9D,MAAM,KAAK,GAIP,MAIH,CAAC;IACF,MAAM,IAAI,GACR,KAAK,CAAC,YAAY,KAAK,IAAI;QACzB,CAAC,CAAC,OAAO;QACT,CAAC,CAAC,KAAK,CAAC,kBAAkB,KAAK,IAAI;YACjC,CAAC,CAAC,aAAa;YACf,CAAC,CAAC,KAAK,CAAC,WAAW,KAAK,IAAI;gBAC1B,CAAC,CAAC,MAAM;gBACR,CAAC,CAAC,IAAI,CAAC;IACf,OAAO,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,CAAC,UAAU,EAAE,CAAC;AAC3E,CAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type IAutoMovieRenderTextureTarget } from "@automovie/engine";
|
|
2
|
+
import type { IAutoMovieSceneEnvironment } from "@automovie/interface";
|
|
3
|
+
import * as THREE from "three";
|
|
4
|
+
import type { IAutoMovieShadowTextureHost } from "./IAutoMovieShadowTextureHost.js";
|
|
5
|
+
/**
|
|
6
|
+
* Describe retained light targets and required native shadow factory bounds. Hidden and noncasting lights keep their actual retained map/blur rows. An enabled caster whose next factory differs also supplies a distinct planned row; this conservative phase union is neither an observed GLuint count nor a claim that every retained and planned attachment is simultaneously live. Supply the scene's effective override before configuring its render pass. Otherwise the current host selects the native VSM or legacy PCF allocator family. Compatibility admission remains the Engine's single policy owner. Caller scope and light keys identify distinct retained light-owned slots; include each scope once when assembling a context's renderTargets closure.
|
|
7
|
+
*
|
|
8
|
+
* @evidence contracts/development/implementation.md#principled-implementation Admits the effective Engine shadow profile, reports every actual retained punctual map/blur target and adds distinct planned factory rows only when an enabled caster lacks an equivalent retained profile.
|
|
9
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Actual source projection, retained target reading, native factory planning and representation comparison keep their existing single owners; scope/light/role labels distinguish phases.
|
|
10
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Hidden/noncasting retained storage remains reported, failed retirement under the same original renderer key refuses before reading cleared slots, unsupported profile refuses and phase union is a potential bound rather than measured native lifetimes.
|
|
11
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents effective override ordering, installed allocator family, phase semantics and one-scope-once assembly responsibility.
|
|
12
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms L lights are projected once and each has at most two retained/planned roles; attachment-profile comparisons cost their format counts, with O(L) coordinator rows and no shadow texel allocation.
|
|
13
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work A retained target covers planned work only when dimensions, representation, faces, samples and attachments match; matching owner text or a prior observation alone is insufficient.
|
|
14
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Rows are scalar profiles over borrowed lights/targets and this observer acquires no resource; target owners retain/release actual shadows and hosts preserve earlier phase facts until their retirement is observed.
|
|
15
|
+
*/
|
|
16
|
+
export declare const readAutoMovieShadowTextureTargets: (scope: string, renderer: IAutoMovieShadowTextureHost, lights: ReadonlyMap<string, THREE.Light>, effectiveShadows?: IAutoMovieSceneEnvironment["shadows"]) => IAutoMovieRenderTextureTarget[];
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { resolveAutoMovieShadowProfile, } from "@automovie/engine";
|
|
2
|
+
import * as THREE from "three";
|
|
3
|
+
import { guardAutoMovieSceneShadowRetirement } from "./guardAutoMovieSceneShadowRetirement.js";
|
|
4
|
+
import { matchesAutoMovieShadowTextureProfile } from "./matchesAutoMovieShadowTextureProfile.js";
|
|
5
|
+
import { planAutoMovieShadowTextureTarget } from "./planAutoMovieShadowTextureTarget.js";
|
|
6
|
+
import { readAutoMovieRenderTextureTarget } from "./readAutoMovieRenderTextureTarget.js";
|
|
7
|
+
import { readAutoMovieShadowLightSource } from "./readAutoMovieShadowLightSource.js";
|
|
8
|
+
/**
|
|
9
|
+
* Describe retained light targets and required native shadow factory bounds. Hidden and noncasting lights keep their actual retained map/blur rows. An enabled caster whose next factory differs also supplies a distinct planned row; this conservative phase union is neither an observed GLuint count nor a claim that every retained and planned attachment is simultaneously live. Supply the scene's effective override before configuring its render pass. Otherwise the current host selects the native VSM or legacy PCF allocator family. Compatibility admission remains the Engine's single policy owner. Caller scope and light keys identify distinct retained light-owned slots; include each scope once when assembling a context's renderTargets closure.
|
|
10
|
+
*
|
|
11
|
+
* @evidence contracts/development/implementation.md#principled-implementation Admits the effective Engine shadow profile, reports every actual retained punctual map/blur target and adds distinct planned factory rows only when an enabled caster lacks an equivalent retained profile.
|
|
12
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Actual source projection, retained target reading, native factory planning and representation comparison keep their existing single owners; scope/light/role labels distinguish phases.
|
|
13
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Hidden/noncasting retained storage remains reported, failed retirement under the same original renderer key refuses before reading cleared slots, unsupported profile refuses and phase union is a potential bound rather than measured native lifetimes.
|
|
14
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents effective override ordering, installed allocator family, phase semantics and one-scope-once assembly responsibility.
|
|
15
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms L lights are projected once and each has at most two retained/planned roles; attachment-profile comparisons cost their format counts, with O(L) coordinator rows and no shadow texel allocation.
|
|
16
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work A retained target covers planned work only when dimensions, representation, faces, samples and attachments match; matching owner text or a prior observation alone is insufficient.
|
|
17
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Rows are scalar profiles over borrowed lights/targets and this observer acquires no resource; target owners retain/release actual shadows and hosts preserve earlier phase facts until their retirement is observed.
|
|
18
|
+
*/
|
|
19
|
+
export const readAutoMovieShadowTextureTargets = (scope, renderer, lights, effectiveShadows) => {
|
|
20
|
+
guardAutoMovieSceneShadowRetirement(undefined, renderer);
|
|
21
|
+
const records = [...lights].flatMap(([id, light]) => {
|
|
22
|
+
const source = readAutoMovieShadowLightSource(id, light);
|
|
23
|
+
return source === null ? [] : [{ id, light, source }];
|
|
24
|
+
});
|
|
25
|
+
const profile = resolveAutoMovieShadowProfile({
|
|
26
|
+
lights: records.map((record) => record.source),
|
|
27
|
+
shadows: effectiveShadows ?? {
|
|
28
|
+
enabled: renderer.shadowMap.enabled,
|
|
29
|
+
type: renderer.shadowMap.type === THREE.VSMShadowMap ? "vsm" : "pcf",
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
if (!profile.success)
|
|
33
|
+
throw new Error("Unsupported shadow profile: " + JSON.stringify(profile.violations));
|
|
34
|
+
const rows = [];
|
|
35
|
+
for (const { id, light, source } of records) {
|
|
36
|
+
const shadow = light.shadow;
|
|
37
|
+
const retained = new Map();
|
|
38
|
+
for (const [role, target] of [
|
|
39
|
+
["map", shadow.map],
|
|
40
|
+
["blur", shadow.mapPass],
|
|
41
|
+
]) {
|
|
42
|
+
if (target === null)
|
|
43
|
+
continue;
|
|
44
|
+
const actual = {
|
|
45
|
+
...readAutoMovieRenderTextureTarget(`shadow-target:${JSON.stringify([scope, id, role, "retained"])}`, target),
|
|
46
|
+
shadow: { scope, light: id, role },
|
|
47
|
+
};
|
|
48
|
+
rows.push(actual);
|
|
49
|
+
retained.set(role, actual);
|
|
50
|
+
}
|
|
51
|
+
if (!profile.enabled || !source.castShadow)
|
|
52
|
+
continue;
|
|
53
|
+
for (const role of profile.type === "vsm"
|
|
54
|
+
? ["map", "blur"]
|
|
55
|
+
: ["map"]) {
|
|
56
|
+
const planned = planAutoMovieShadowTextureTarget(scope, id, shadow, source.type === "point", profile.type, role, renderer.capabilities.maxTextureSize);
|
|
57
|
+
const actual = retained.get(role);
|
|
58
|
+
if (actual === undefined ||
|
|
59
|
+
!matchesAutoMovieShadowTextureProfile(actual, planned))
|
|
60
|
+
rows.push(planned);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
return rows;
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=readAutoMovieShadowTextureTargets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readAutoMovieShadowTextureTargets.js","sourceRoot":"","sources":["../src/readAutoMovieShadowTextureTargets.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,6BAA6B,GAC9B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,mCAAmC,EAAE,MAAM,0CAA0C,CA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,MAAM,MAAM,GACV,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACrB,IACE,MAAM,KAAK,SAAS;gBACpB,CAAC,oCAAoC,CAAC,MAAM,EAAE,OAAO,CAAC;gBAEtD,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvB,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { IAutoMovieRenderTextureSource } from "@automovie/engine";
|
|
2
|
+
import * as THREE from "three";
|
|
3
|
+
/**
|
|
4
|
+
* Observe positive two-dimensional decoded texture extents and current supported upload declarations without changing image, sampling or GPU state. Compressed, array/volume, depth, framebuffer and render-target products remain unsupported or allocation-uncertain under this ordinary decoded-image path. Manual mip data and intrinsic/factory extent disagreement cannot certify native history.
|
|
5
|
+
*
|
|
6
|
+
* Weak object tokens describe actual Source/Texture sharing in this host, independently of mutable UUID text. Engine retains the sharing relation rather than token spelling; current representation and upload-state metadata still determine allocation equivalence.
|
|
7
|
+
*
|
|
8
|
+
* Cache and environment owners are consulted before extent checks so malformed image data cannot hide either sticky input history. They acknowledge only supported owned writes and successful exclusive transitions. Restoring observed uncontrolled drift does not repair its history; writes fully restored between observation boundaries are not detected. Unregistered objects retain this observer's prospective before-upload premise.
|
|
9
|
+
*
|
|
10
|
+
* Environment conversion reports configured and factory sampler intent because sharp conversion can temporarily upload with another sampler without a later version change. Current properties do not prove an old native state was retired. Hosts retain previous upload phases until their owning release/transition is observed; this read reports neither GLuint count nor independent kernel storage.
|
|
11
|
+
*
|
|
12
|
+
* @evidence contracts/development/implementation.md#principled-implementation Combines actual cache/environment input-history authority before extent checks, projects supported decoded base/format/sampler/mip and factory intent, and assigns host-local weak object tokens for real Source/Texture equality.
|
|
13
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Decoded image observation, shared upload-format/environment decisions and existing history owners remain distinct from Engine byte closure and renderer-native allocation.
|
|
14
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Manual/framebuffer/array/volume/compressed/depth or divergent intrinsic layouts cannot certify ordinary allocation state; current properties, restored flags and equal labels do not invent historical native release.
|
|
15
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents positive 2D extent, manual-base selection, unsupported representation, configured/factory sampler union and host responsibility for earlier retained upload phases.
|
|
16
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Fixed property/tuple work plus bounded sampler checks and small upload-state string generation avoid pixel hashing and mip-data copies; actual intrinsic metadata lookup is fixed, while history owners account for copied manual-mip references.
|
|
17
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Weak object identity tokens preserve actual sharing across observations while current metadata is recomputed; source-token equality alone cannot reuse an incompatible upload/factory state.
|
|
18
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Weak keys retain neither texture nor source, returned metadata retains scalar tokens only and this observer acquires no GPU wrapper; cache/environment/context owners must retain uncertain historical storage until release is observed.
|
|
19
|
+
*/
|
|
20
|
+
export declare function readAutoMovieTextureSource(asset: string, texture: THREE.Texture): IAutoMovieRenderTextureSource;
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import * as THREE from "three";
|
|
2
|
+
import { AutoMovieEnvironmentTextureOwnership } from "./AutoMovieEnvironmentTextureOwnership.js";
|
|
3
|
+
import { AutoMovieTextureCacheAllocationAuthority } from "./AutoMovieTextureCacheAllocationAuthority.js";
|
|
4
|
+
import { readAutoMovieEnvironmentColorSpace } from "./readAutoMovieEnvironmentColorSpace.js";
|
|
5
|
+
import { readAutoMovieTextureUploadFormat } from "./readAutoMovieTextureUploadFormat.js";
|
|
6
|
+
const objectIdentities = new WeakMap();
|
|
7
|
+
let nextObjectIdentity = 0;
|
|
8
|
+
/**
|
|
9
|
+
* Observe positive two-dimensional decoded texture extents and current supported upload declarations without changing image, sampling or GPU state. Compressed, array/volume, depth, framebuffer and render-target products remain unsupported or allocation-uncertain under this ordinary decoded-image path. Manual mip data and intrinsic/factory extent disagreement cannot certify native history.
|
|
10
|
+
*
|
|
11
|
+
* Weak object tokens describe actual Source/Texture sharing in this host, independently of mutable UUID text. Engine retains the sharing relation rather than token spelling; current representation and upload-state metadata still determine allocation equivalence.
|
|
12
|
+
*
|
|
13
|
+
* Cache and environment owners are consulted before extent checks so malformed image data cannot hide either sticky input history. They acknowledge only supported owned writes and successful exclusive transitions. Restoring observed uncontrolled drift does not repair its history; writes fully restored between observation boundaries are not detected. Unregistered objects retain this observer's prospective before-upload premise.
|
|
14
|
+
*
|
|
15
|
+
* Environment conversion reports configured and factory sampler intent because sharp conversion can temporarily upload with another sampler without a later version change. Current properties do not prove an old native state was retired. Hosts retain previous upload phases until their owning release/transition is observed; this read reports neither GLuint count nor independent kernel storage.
|
|
16
|
+
*
|
|
17
|
+
* @evidence contracts/development/implementation.md#principled-implementation Combines actual cache/environment input-history authority before extent checks, projects supported decoded base/format/sampler/mip and factory intent, and assigns host-local weak object tokens for real Source/Texture equality.
|
|
18
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Decoded image observation, shared upload-format/environment decisions and existing history owners remain distinct from Engine byte closure and renderer-native allocation.
|
|
19
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Manual/framebuffer/array/volume/compressed/depth or divergent intrinsic layouts cannot certify ordinary allocation state; current properties, restored flags and equal labels do not invent historical native release.
|
|
20
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents positive 2D extent, manual-base selection, unsupported representation, configured/factory sampler union and host responsibility for earlier retained upload phases.
|
|
21
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Fixed property/tuple work plus bounded sampler checks and small upload-state string generation avoid pixel hashing and mip-data copies; actual intrinsic metadata lookup is fixed, while history owners account for copied manual-mip references.
|
|
22
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Weak object identity tokens preserve actual sharing across observations while current metadata is recomputed; source-token equality alone cannot reuse an incompatible upload/factory state.
|
|
23
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Weak keys retain neither texture nor source, returned metadata retains scalar tokens only and this observer acquires no GPU wrapper; cache/environment/context owners must retain uncertain historical storage until release is observed.
|
|
24
|
+
*/
|
|
25
|
+
export function readAutoMovieTextureSource(asset, texture) {
|
|
26
|
+
const cacheAllocationKnown = AutoMovieTextureCacheAllocationAuthority.current(texture);
|
|
27
|
+
const environmentAllocationKnown = AutoMovieEnvironmentTextureOwnership.current(texture);
|
|
28
|
+
const image = texture.image;
|
|
29
|
+
const data = "isDataTexture" in texture && texture.isDataTexture === true;
|
|
30
|
+
const original = decodedExtent(image, data);
|
|
31
|
+
if (typeof image !== "object" || image === null || original === undefined)
|
|
32
|
+
throw new Error(`Texture asset "${asset}" has no decoded two-dimensional extent.`);
|
|
33
|
+
const mipmaps = texture.mipmaps;
|
|
34
|
+
const manual = !Array.isArray(mipmaps) || mipmaps.length !== 0;
|
|
35
|
+
const framebuffer = "isFramebufferTexture" in texture;
|
|
36
|
+
const usesManualBase = manual &&
|
|
37
|
+
!framebuffer &&
|
|
38
|
+
!("isDepthTexture" in texture) &&
|
|
39
|
+
!texture.isRenderTargetTexture;
|
|
40
|
+
const extent = usesManualBase && Array.isArray(mipmaps)
|
|
41
|
+
? (decodedExtent(mipmaps[0], data) ?? original)
|
|
42
|
+
: original;
|
|
43
|
+
const unsupportedExtent = ("depth" in image && image.depth !== 1) ||
|
|
44
|
+
"isDataArrayTexture" in texture ||
|
|
45
|
+
"isData3DTexture" in texture ||
|
|
46
|
+
"isCompressedArrayTexture" in texture ||
|
|
47
|
+
texture.isRenderTargetTexture;
|
|
48
|
+
const format = unsupportedExtent ? undefined : readAutoMovieTextureUploadFormat(texture);
|
|
49
|
+
const wrap = (value) => value === THREE.RepeatWrapping
|
|
50
|
+
? "repeat"
|
|
51
|
+
: value === THREE.MirroredRepeatWrapping
|
|
52
|
+
? "mirror"
|
|
53
|
+
: value === THREE.ClampToEdgeWrapping
|
|
54
|
+
? "clamp"
|
|
55
|
+
: undefined;
|
|
56
|
+
const minFilter = texture.minFilter === THREE.NearestFilter
|
|
57
|
+
? "nearest"
|
|
58
|
+
: texture.minFilter === THREE.LinearFilter
|
|
59
|
+
? "linear"
|
|
60
|
+
: texture.minFilter === THREE.NearestMipmapLinearFilter
|
|
61
|
+
? "nearestMipmapLinear"
|
|
62
|
+
: texture.minFilter === THREE.LinearMipmapLinearFilter
|
|
63
|
+
? "linearMipmapLinear"
|
|
64
|
+
: undefined;
|
|
65
|
+
const wrapS = wrap(texture.wrapS);
|
|
66
|
+
const wrapT = wrap(texture.wrapT);
|
|
67
|
+
const magFilter = texture.magFilter === THREE.NearestFilter
|
|
68
|
+
? "nearest"
|
|
69
|
+
: texture.magFilter === THREE.LinearFilter
|
|
70
|
+
? "linear"
|
|
71
|
+
: undefined;
|
|
72
|
+
const sampler = minFilter === undefined ||
|
|
73
|
+
wrapS === undefined ||
|
|
74
|
+
wrapT === undefined ||
|
|
75
|
+
magFilter === undefined
|
|
76
|
+
? undefined
|
|
77
|
+
: {
|
|
78
|
+
wrapS,
|
|
79
|
+
wrapT,
|
|
80
|
+
minFilter,
|
|
81
|
+
magFilter,
|
|
82
|
+
};
|
|
83
|
+
const nativeMinFilter = [
|
|
84
|
+
THREE.NearestFilter,
|
|
85
|
+
THREE.LinearFilter,
|
|
86
|
+
THREE.NearestMipmapNearestFilter,
|
|
87
|
+
THREE.NearestMipmapLinearFilter,
|
|
88
|
+
THREE.LinearMipmapNearestFilter,
|
|
89
|
+
THREE.LinearMipmapLinearFilter,
|
|
90
|
+
].includes(texture.minFilter);
|
|
91
|
+
const samplerState = wrapS === undefined ||
|
|
92
|
+
wrapT === undefined ||
|
|
93
|
+
magFilter === undefined ||
|
|
94
|
+
!nativeMinFilter
|
|
95
|
+
? null
|
|
96
|
+
: JSON.stringify([
|
|
97
|
+
texture.wrapS,
|
|
98
|
+
texture.wrapT,
|
|
99
|
+
texture.minFilter,
|
|
100
|
+
texture.magFilter,
|
|
101
|
+
]);
|
|
102
|
+
const conversionMinFilter = texture.minFilter === THREE.LinearMipmapLinearFilter
|
|
103
|
+
? THREE.LinearFilter
|
|
104
|
+
: texture.minFilter;
|
|
105
|
+
const environmentSampler = sampler === undefined
|
|
106
|
+
? undefined
|
|
107
|
+
: {
|
|
108
|
+
...sampler,
|
|
109
|
+
minFilter: texture.minFilter === THREE.LinearMipmapLinearFilter
|
|
110
|
+
? "linear"
|
|
111
|
+
: sampler.minFilter,
|
|
112
|
+
};
|
|
113
|
+
return {
|
|
114
|
+
asset,
|
|
115
|
+
width: extent.width,
|
|
116
|
+
height: extent.height,
|
|
117
|
+
format,
|
|
118
|
+
sampler,
|
|
119
|
+
samplerState,
|
|
120
|
+
allocationStateKnown: cacheAllocationKnown &&
|
|
121
|
+
environmentAllocationKnown &&
|
|
122
|
+
!manual &&
|
|
123
|
+
!framebuffer &&
|
|
124
|
+
!unsupportedExtent &&
|
|
125
|
+
!("isCompressedTexture" in texture) &&
|
|
126
|
+
!("isDepthTexture" in texture) &&
|
|
127
|
+
"width" in image &&
|
|
128
|
+
"height" in image &&
|
|
129
|
+
original.width === image.width &&
|
|
130
|
+
original.height === image.height,
|
|
131
|
+
colorSpace: texture.colorSpace === THREE.SRGBColorSpace
|
|
132
|
+
? "srgb"
|
|
133
|
+
: texture.colorSpace === THREE.NoColorSpace
|
|
134
|
+
? "linear"
|
|
135
|
+
: texture.colorSpace === THREE.LinearSRGBColorSpace
|
|
136
|
+
? "linear-environment"
|
|
137
|
+
: undefined,
|
|
138
|
+
environmentColorSpace: readAutoMovieEnvironmentColorSpace(texture),
|
|
139
|
+
environmentSampler,
|
|
140
|
+
environmentSamplerState: samplerState === null
|
|
141
|
+
? null
|
|
142
|
+
: JSON.stringify([
|
|
143
|
+
texture.wrapS,
|
|
144
|
+
texture.wrapT,
|
|
145
|
+
conversionMinFilter,
|
|
146
|
+
texture.magFilter,
|
|
147
|
+
]),
|
|
148
|
+
environmentBackgroundFormat: texture.type === THREE.UnsignedByteType
|
|
149
|
+
? "rgba8"
|
|
150
|
+
: texture.type === THREE.HalfFloatType
|
|
151
|
+
? "rgba16f"
|
|
152
|
+
: texture.type === THREE.FloatType
|
|
153
|
+
? "rgba32f"
|
|
154
|
+
: undefined,
|
|
155
|
+
sourceIdentity: objectIdentity(texture.source),
|
|
156
|
+
textureIdentity: objectIdentity(texture),
|
|
157
|
+
uploadState: JSON.stringify([
|
|
158
|
+
texture.format,
|
|
159
|
+
texture.type,
|
|
160
|
+
texture.internalFormat,
|
|
161
|
+
texture.anisotropy,
|
|
162
|
+
texture.flipY,
|
|
163
|
+
texture.premultiplyAlpha,
|
|
164
|
+
texture.unpackAlignment,
|
|
165
|
+
texture.generateMipmaps,
|
|
166
|
+
"wrapR" in texture ? texture.wrapR || 0 : 0,
|
|
167
|
+
].map((value) => (value === null ? "" : String(value)))),
|
|
168
|
+
generateMipmaps: texture.generateMipmaps,
|
|
169
|
+
explicitMipmaps: Array.isArray(mipmaps) && mipmaps.length > 1,
|
|
170
|
+
mipmapped: (Array.isArray(mipmaps) && mipmaps.length > 1) ||
|
|
171
|
+
texture.generateMipmaps ||
|
|
172
|
+
(framebuffer &&
|
|
173
|
+
texture.minFilter !== THREE.NearestFilter &&
|
|
174
|
+
texture.minFilter !== THREE.LinearFilter),
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
/** Decode the native base metadata; manual history remains uncertified. */
|
|
178
|
+
const decodedExtent = (image, data) => {
|
|
179
|
+
if (typeof image !== "object" || image === null)
|
|
180
|
+
return undefined;
|
|
181
|
+
const rawWidth = "width" in image ? image.width : undefined;
|
|
182
|
+
const rawHeight = "height" in image ? image.height : undefined;
|
|
183
|
+
const width = !data && "displayWidth" in image
|
|
184
|
+
? image.displayWidth
|
|
185
|
+
: !data && "naturalWidth" in image
|
|
186
|
+
? image.naturalWidth || rawWidth
|
|
187
|
+
: rawWidth;
|
|
188
|
+
const height = !data && "displayHeight" in image
|
|
189
|
+
? image.displayHeight
|
|
190
|
+
: !data && "naturalHeight" in image
|
|
191
|
+
? image.naturalHeight || rawHeight
|
|
192
|
+
: rawHeight;
|
|
193
|
+
return typeof width === "number" &&
|
|
194
|
+
typeof height === "number" &&
|
|
195
|
+
Number.isSafeInteger(width) &&
|
|
196
|
+
width > 0 &&
|
|
197
|
+
Number.isSafeInteger(height) &&
|
|
198
|
+
height > 0
|
|
199
|
+
? { width, height }
|
|
200
|
+
: undefined;
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Host-local equality follows the actual object reference, not a mutable label
|
|
204
|
+
* or copied UUID. Weak keys retain no texture after its host releases it.
|
|
205
|
+
*/
|
|
206
|
+
const objectIdentity = (value) => {
|
|
207
|
+
let identity = objectIdentities.get(value);
|
|
208
|
+
if (identity === undefined) {
|
|
209
|
+
identity = `texture-object:${nextObjectIdentity++}`;
|
|
210
|
+
objectIdentities.set(value, identity);
|
|
211
|
+
}
|
|
212
|
+
return identity;
|
|
213
|
+
};
|
|
214
|
+
//# sourceMappingURL=readAutoMovieTextureSource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readAutoMovieTextureSource.js","sourceRoot":"","sources":["../src/readAutoMovieTextureSource.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AACjG,OAAO,EAAE,wCAAwC,EAAE,MAAM,+CAA+C,CAAC;AACzG,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAEzF,MAAM,gBAAgB,GAA4B,IAAI,OAAO,EAAkB,CAAC;AAChF,IAAI,kBAAkB,GAAW,CAAC,CAAC;AAEnC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,0BAA0B,CACxC,KAAa,EACb,OAAsB;IAEtB,MAAM,oBAAoB,GACxB,wCAAwC,CAAC,OAAO,C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