@automovie/viewer 0.0.0-stage → 0.1.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 +140 -0
- package/lib/index.js +141 -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/raster/AutoMovieRasterLighting.d.ts +43 -0
- package/lib/raster/AutoMovieRasterLighting.js +179 -0
- package/lib/raster/AutoMovieRasterLighting.js.map +1 -0
- package/lib/raster/AutoMovieRasterSheet.d.ts +68 -0
- package/lib/raster/AutoMovieRasterSheet.js +141 -0
- package/lib/raster/AutoMovieRasterSheet.js.map +1 -0
- package/lib/raster/AutoMovieRasterTarget.d.ts +87 -0
- package/lib/raster/AutoMovieRasterTarget.js +227 -0
- package/lib/raster/AutoMovieRasterTarget.js.map +1 -0
- package/lib/raster/IAutoMovieSceneRaster.d.ts +52 -0
- package/lib/raster/IAutoMovieSceneRaster.js +2 -0
- package/lib/raster/IAutoMovieSceneRaster.js.map +1 -0
- package/lib/raster/IRasterizeAutoMovieSceneProps.d.ts +28 -0
- package/lib/raster/IRasterizeAutoMovieSceneProps.js +2 -0
- package/lib/raster/IRasterizeAutoMovieSceneProps.js.map +1 -0
- package/lib/raster/encodeAutoMovieRasterPng.d.ts +17 -0
- package/lib/raster/encodeAutoMovieRasterPng.js +71 -0
- package/lib/raster/encodeAutoMovieRasterPng.js.map +1 -0
- package/lib/raster/index.d.ts +8 -0
- package/lib/raster/index.js +9 -0
- package/lib/raster/index.js.map +1 -0
- package/lib/raster/rasterizeAutoMovieScene.d.ts +33 -0
- package/lib/raster/rasterizeAutoMovieScene.js +409 -0
- package/lib/raster/rasterizeAutoMovieScene.js.map +1 -0
- package/lib/raster/stampAutoMovieRasterLabel.d.ts +19 -0
- package/lib/raster/stampAutoMovieRasterLabel.js +88 -0
- package/lib/raster/stampAutoMovieRasterLabel.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 +140 -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/raster/AutoMovieRasterLighting.ts +221 -0
- package/src/raster/AutoMovieRasterSheet.ts +175 -0
- package/src/raster/AutoMovieRasterTarget.ts +282 -0
- package/src/raster/IAutoMovieSceneRaster.ts +62 -0
- package/src/raster/IRasterizeAutoMovieSceneProps.ts +34 -0
- package/src/raster/encodeAutoMovieRasterPng.ts +77 -0
- package/src/raster/index.ts +8 -0
- package/src/raster/rasterizeAutoMovieScene.ts +594 -0
- package/src/raster/stampAutoMovieRasterLabel.ts +120 -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,516 @@
|
|
|
1
|
+
import * as THREE from "three";
|
|
2
|
+
|
|
3
|
+
type Inputs = {
|
|
4
|
+
source: THREE.Texture["source"];
|
|
5
|
+
capacity: unknown[];
|
|
6
|
+
fixed: unknown[];
|
|
7
|
+
sampling: unknown[];
|
|
8
|
+
state: unknown[];
|
|
9
|
+
copied: unknown[];
|
|
10
|
+
version: number;
|
|
11
|
+
};
|
|
12
|
+
type Claim = {
|
|
13
|
+
owner: object;
|
|
14
|
+
texture: THREE.Texture;
|
|
15
|
+
initialSource: THREE.Texture["source"];
|
|
16
|
+
baseline?: Inputs;
|
|
17
|
+
issued: Set<Wrapper>;
|
|
18
|
+
known: boolean;
|
|
19
|
+
active: boolean;
|
|
20
|
+
detached: boolean;
|
|
21
|
+
};
|
|
22
|
+
type Wrapper = {
|
|
23
|
+
texture: THREE.Texture;
|
|
24
|
+
claim: Claim;
|
|
25
|
+
inputs: Inputs;
|
|
26
|
+
known: boolean;
|
|
27
|
+
detached: boolean;
|
|
28
|
+
closed: boolean;
|
|
29
|
+
};
|
|
30
|
+
type BindingReceipt = { wrapper: Wrapper; before: Inputs; clean: boolean };
|
|
31
|
+
type EnvironmentReceipt = {
|
|
32
|
+
wrapper: Wrapper;
|
|
33
|
+
before: Inputs;
|
|
34
|
+
permitted: boolean;
|
|
35
|
+
};
|
|
36
|
+
type IssueReceipt = { claim: Claim; before: Inputs; clean: boolean };
|
|
37
|
+
type BindingWrites = {
|
|
38
|
+
colorSpace: THREE.ColorSpace;
|
|
39
|
+
sampler?: {
|
|
40
|
+
wrapS: THREE.Wrapping;
|
|
41
|
+
wrapT: THREE.Wrapping;
|
|
42
|
+
minFilter: THREE.MinificationTextureFilter;
|
|
43
|
+
magFilter: THREE.MagnificationTextureFilter;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Own the factual creation inputs of cache originals and issued wrappers.
|
|
49
|
+
* Source sharing is preserved, but a mutable original cannot stand in for
|
|
50
|
+
* earlier clones. Binding completion acknowledges only the ordinary resolver's
|
|
51
|
+
* sampler/decoding writes and one own upload-version increment. Uncontrolled
|
|
52
|
+
* history remains uncertified after properties are restored. Shared Source
|
|
53
|
+
* version increments from normal cloning are deliberately not an input.
|
|
54
|
+
*
|
|
55
|
+
* A successful exclusive environment retirement may refresh that wrapper's
|
|
56
|
+
* same-capacity tuple; it cannot repair an original or another issued wrapper.
|
|
57
|
+
* Detached Source history cannot certify native retirement: r186 disposal
|
|
58
|
+
* looks up the current Source and can leave the previous allocation alive.
|
|
59
|
+
* Listeners never throw or assert physical release; owners mark uncertainty
|
|
60
|
+
* before disposal and report indeterminate history after independent attempts.
|
|
61
|
+
* These are owned object inputs, not native keys, handles or byte estimates.
|
|
62
|
+
* A binding-issued wrapper cannot become a decoder original, including within
|
|
63
|
+
* its own cache; this prevents an alias from laundering its earlier history.
|
|
64
|
+
*
|
|
65
|
+
* History is observed at these transition/read boundaries, not by intercepting every texture write. A mutation fully restored between observations is not detected; only observed drift becomes sticky uncertainty.
|
|
66
|
+
*
|
|
67
|
+
* @evidence contracts/development/design.md#principled-representation Weak identity registries bind decoded originals to one cache and issued wrappers to one original claim; fixed, sampling and version tuples preserve sticky mutation/detachment history without treating shared Source.version as private wrapper state.
|
|
68
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface Begin/finish receipts isolate issuance, ordinary binding and exclusive environment transitions, while retirement records close ownership; native keys, handles and byte pricing remain outside this factual input owner.
|
|
69
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts A wrapper cannot become a decoder original, observed uncontrolled drift stays uncertain after fields are restored, and observed Source detachment remains uncertified after public disposal because prior native storage may survive. Unobserved mutation/restoration between boundaries is not detected by this tuple observer.
|
|
70
|
+
* @evidence contracts/development/common.md#meaningful-documentation Explains decoded-source sharing, input-history authority, limited binding/environment acknowledgement and detached-Source retirement uncertainty; each public transition documents its ordering role.
|
|
71
|
+
*/
|
|
72
|
+
export class AutoMovieTextureCacheAllocationAuthority {
|
|
73
|
+
private static readonly originals: WeakMap<THREE.Texture, Claim> =
|
|
74
|
+
new WeakMap<THREE.Texture, Claim>();
|
|
75
|
+
private static readonly wrappers: WeakMap<THREE.Texture, Wrapper> =
|
|
76
|
+
new WeakMap<THREE.Texture, Wrapper>();
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Transfer a returned original once, before a decode becomes cache-owned.
|
|
80
|
+
*
|
|
81
|
+
* @evidence contracts/development/implementation.md#principled-implementation Establishes exclusive cache ownership by Texture identity before loading publishes it, rejecting issued wrappers and originals owned by another cache. Reclaiming for the same owner returns its existing claim even after retirement; the cache caller owns live-work admission.
|
|
82
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure A single original claim stores owner, initial Source and disposal invalidation; subsequent issuance records its immutable baseline separately.
|
|
83
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Returning an alias from a loader cannot launder an issued binding wrapper into a new decoded original.
|
|
84
|
+
* @evidence contracts/development/common.md#meaningful-documentation Specifies transfer before cache-owned decode publication, one claim per original wrapper and the caller's separate live-work admission responsibility.
|
|
85
|
+
* @evidenceExclude contracts/development/implementation.md#efficient-algorithms Two weak registry lookups and one claim/listener allocation are fixed-size ownership bookkeeping.
|
|
86
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Reclaiming the same original for the same owner preserves its existing claim instead of installing another listener or baseline.
|
|
87
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The texture owns its invalidation listener; the weak original registry does not extend an otherwise unreachable texture lifetime.
|
|
88
|
+
*/
|
|
89
|
+
public static claim(owner: object, texture: THREE.Texture): void {
|
|
90
|
+
const issued: Wrapper | undefined = this.wrappers.get(texture);
|
|
91
|
+
if (issued !== undefined)
|
|
92
|
+
throw new Error(
|
|
93
|
+
"An issued binding wrapper cannot become a decoded cache original; return an owned decoder original or fresh wrapper.",
|
|
94
|
+
);
|
|
95
|
+
const previous: Claim | undefined = this.originals.get(texture);
|
|
96
|
+
if (previous !== undefined) {
|
|
97
|
+
if (previous.owner !== owner)
|
|
98
|
+
throw new Error(
|
|
99
|
+
"Decoded texture wrapper already belongs to another or closed cache; return a fresh owned wrapper.",
|
|
100
|
+
);
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
const claim: Claim = {
|
|
104
|
+
owner,
|
|
105
|
+
texture,
|
|
106
|
+
initialSource: texture.source,
|
|
107
|
+
issued: new Set(),
|
|
108
|
+
known: true,
|
|
109
|
+
active: true,
|
|
110
|
+
detached: false,
|
|
111
|
+
};
|
|
112
|
+
this.originals.set(texture, claim);
|
|
113
|
+
texture.addEventListener("dispose", (): void => {
|
|
114
|
+
claim.known = false;
|
|
115
|
+
if (texture.source !== (claim.baseline?.source ?? claim.initialSource))
|
|
116
|
+
claim.detached = true;
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Fix the original before native copy can evaluate host userData accessors.
|
|
122
|
+
*
|
|
123
|
+
* @evidence contracts/development/implementation.md#principled-implementation Captures original inputs and fixes the first baseline before Texture.clone can invoke effectful userData serialization, returning the observed clean state with its claim.
|
|
124
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure The receipt carries one pre-copy tuple to finishIssue, keeping the copy operation itself with the cache resolver.
|
|
125
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Original history is recorded before foreign copy effects rather than trusting properties only after copying succeeds.
|
|
126
|
+
* @evidence contracts/development/common.md#meaningful-documentation Explains why this ordering precedes native copy and host userData accessor evaluation.
|
|
127
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Captures one bounded texture-state tuple plus any manual mip references, without reading or hashing decoded pixels.
|
|
128
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work The first issue baseline is reused for every later original-history check; each issuance still captures its actual pre-copy tuple.
|
|
129
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The claim retains one baseline while the caller owns a temporary receipt through copy completion; no native resource is acquired by beginning issuance.
|
|
130
|
+
*/
|
|
131
|
+
public static beginIssue(original: THREE.Texture): IssueReceipt {
|
|
132
|
+
const claim: Claim = this.originals.get(original)!;
|
|
133
|
+
const before: Inputs = inputs(original);
|
|
134
|
+
if (claim.baseline === undefined) claim.baseline = before;
|
|
135
|
+
return { claim, before, clean: this.originalCurrent(claim) };
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Observe completion or failure and validate the actual copied fields.
|
|
140
|
+
*
|
|
141
|
+
* @evidence contracts/development/implementation.md#principled-implementation Rechecks original history even after a failed copy; successful clones compare actual copied allocation/sampling fields against pre-copy inputs before a wrapper claim can be known.
|
|
142
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure One completion path records original drift and optionally registers the actual returned wrapper with its disposal listener.
|
|
143
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A copy that mutates source inputs or returns mismatching fields remains unknown instead of being blessed merely because clone returned.
|
|
144
|
+
* @evidence contracts/development/common.md#meaningful-documentation Describes observation of both copy completion and failure and validation of the fields actually copied.
|
|
145
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Captures one clone tuple and compares the copied field sequence, with work linear only in manual mip reference count.
|
|
146
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Shares the pre-copy receipt with original/clone completion checks; each issued wrapper receives its own baseline because later sampler writes are independent.
|
|
147
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Successful issuance adds one wrapper to its original claim's Set and a weak registry entry; finishRetirement clears the Set when the original cache closes.
|
|
148
|
+
*/
|
|
149
|
+
public static finishIssue(
|
|
150
|
+
receipt: IssueReceipt,
|
|
151
|
+
texture?: THREE.Texture,
|
|
152
|
+
): void {
|
|
153
|
+
const { claim, before }: IssueReceipt = receipt;
|
|
154
|
+
const originalKnown: boolean = this.originalCurrent(claim);
|
|
155
|
+
if (texture === undefined) return;
|
|
156
|
+
const copied: Inputs = inputs(texture);
|
|
157
|
+
const copiedKnown: boolean = same(before.copied, copied.copied);
|
|
158
|
+
const wrapper: Wrapper = {
|
|
159
|
+
texture,
|
|
160
|
+
claim,
|
|
161
|
+
inputs: copied,
|
|
162
|
+
known: receipt.clean && originalKnown && copiedKnown,
|
|
163
|
+
detached: false,
|
|
164
|
+
closed: false,
|
|
165
|
+
};
|
|
166
|
+
claim.issued.add(wrapper);
|
|
167
|
+
this.wrappers.set(texture, wrapper);
|
|
168
|
+
texture.addEventListener("dispose", (): void => {
|
|
169
|
+
wrapper.known = false;
|
|
170
|
+
if (texture.source !== wrapper.inputs.source) wrapper.detached = true;
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Unmanaged objects retain the reader's documented before-upload contract.
|
|
176
|
+
*
|
|
177
|
+
* @evidence contracts/development/implementation.md#principled-implementation Original authority combines its sticky baseline history with every issued wrapper, while a wrapper combines its own state with the original; unregistered textures retain prospective observer authority without claiming historical GPU inspection.
|
|
178
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure One boolean feeds readAutoMovieTextureSource and hides mutable claim records from downstream budget code.
|
|
179
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Restoring mutated fields does not clear known=false or detached history, and one valid issued wrapper cannot certify a changed original or sibling.
|
|
180
|
+
* @evidence contracts/development/common.md#meaningful-documentation States the before-upload interpretation for unmanaged objects rather than implying native allocation history is observed.
|
|
181
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Wrapper lookup and fixed-tuple checks are constant-size; original observation scans issued wrappers once so aggregate authority includes every live issued object.
|
|
182
|
+
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Mutable wrapper inputs are reobserved on each authority request; a previously true answer cannot certify later writes.
|
|
183
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Observation may mark existing history uncertain but creates no additional claim, wrapper or retained native handle.
|
|
184
|
+
*/
|
|
185
|
+
public static current(texture: THREE.Texture): boolean {
|
|
186
|
+
const original: Claim | undefined = this.originals.get(texture);
|
|
187
|
+
if (original !== undefined) {
|
|
188
|
+
const known: boolean = this.originalCurrent(original);
|
|
189
|
+
let issuedKnown: boolean = true;
|
|
190
|
+
for (const wrapper of original.issued)
|
|
191
|
+
if (!this.wrapperCurrent(wrapper)) issuedKnown = false;
|
|
192
|
+
return known && issuedKnown;
|
|
193
|
+
}
|
|
194
|
+
const wrapper: Wrapper | undefined = this.wrappers.get(texture);
|
|
195
|
+
return wrapper === undefined || this.wrapperCurrent(wrapper);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Stable environment reuse concerns its own tuple, not another user's drift.
|
|
200
|
+
*
|
|
201
|
+
* @evidence contracts/development/implementation.md#principled-implementation Checks only an issued environment wrapper's own baseline because unrelated sibling drift cannot invalidate the scene's unchanged conversion inputs; unregistered wrappers remain prospective.
|
|
202
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Separates environment reuse eligibility from aggregate cache-original authority required for certification.
|
|
203
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A wrapper's own closed, detached or uncontrolled-input history still refuses reuse; excluding sibling history does not clear its own uncertainty.
|
|
204
|
+
* @evidence contracts/development/common.md#meaningful-documentation States that environment reuse concerns the actual wrapper rather than another user's drift.
|
|
205
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Performs one weak lookup and one current-input tuple comparison, without scanning sibling wrappers.
|
|
206
|
+
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work This method observes eligibility; prepare owns the decision to reuse an existing environment conversion.
|
|
207
|
+
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Checking one wrapper acquires no new texture or lifecycle record.
|
|
208
|
+
*/
|
|
209
|
+
public static environmentStable(texture: THREE.Texture): boolean {
|
|
210
|
+
const wrapper: Wrapper | undefined = this.wrappers.get(texture);
|
|
211
|
+
return wrapper === undefined || this.wrapperOwnCurrent(wrapper);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Only a clean pre-write tuple can acknowledge ordinary binding changes.
|
|
216
|
+
*
|
|
217
|
+
* @evidence contracts/development/implementation.md#principled-implementation Captures the issued wrapper's pre-write inputs together with current original/wrapper authority; unregistered bindings need no cache receipt.
|
|
218
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure The temporary receipt separates observation before resolveAutoMovieMaterialTexture writes from finishBinding's post-write validation.
|
|
219
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Existing uncertainty remains in the clean flag, preventing ordinary sampler writes from laundering uncontrolled earlier mutation.
|
|
220
|
+
* @evidence contracts/development/common.md#meaningful-documentation States that only a clean pre-write tuple can authorize acknowledgement of ordinary binding changes.
|
|
221
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms One weak lookup and a bounded tuple capture precede baseline comparison; decoded pixel bytes are neither copied nor hashed.
|
|
222
|
+
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each binding transition needs its own pre-write receipt because texture version and sampling may differ between operations.
|
|
223
|
+
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The returned receipt temporarily borrows an existing wrapper claim and acquires no GPU allocation.
|
|
224
|
+
*/
|
|
225
|
+
public static beginBinding(
|
|
226
|
+
texture: THREE.Texture,
|
|
227
|
+
): BindingReceipt | undefined {
|
|
228
|
+
const wrapper: Wrapper | undefined = this.wrappers.get(texture);
|
|
229
|
+
return wrapper === undefined
|
|
230
|
+
? undefined
|
|
231
|
+
: {
|
|
232
|
+
wrapper,
|
|
233
|
+
before: inputs(texture),
|
|
234
|
+
clean: this.wrapperCurrent(wrapper),
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Fixed inputs cannot be blessed by changing sampler, decoding or UVs.
|
|
240
|
+
*
|
|
241
|
+
* @evidence contracts/development/implementation.md#principled-implementation Accepts only the requested color-space/sampler tuple, unchanged fixed allocation inputs, current original authority and exactly one wrapper upload-version increment; any mismatch marks wrapper history unknown.
|
|
242
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Requested writes are compared against the receipt's prior sampling rather than reconstructing material semantics inside the authority owner.
|
|
243
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Ordinary binding completion cannot certify changed capacity, Source or other fixed inputs; restoring sampler properties does not reset sticky uncertainty.
|
|
244
|
+
* @evidence contracts/development/common.md#meaningful-documentation Explains that sampler, decoding and UV work cannot bless changes to fixed allocation inputs.
|
|
245
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Builds and compares a fixed-size expected sampling tuple plus actual texture inputs, with no traversal of other issued bindings or pixel storage.
|
|
246
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Successful completion refreshes this wrapper's accepted baseline for subsequent stable observations; failures preserve the prior history as unknown.
|
|
247
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Replaces one wrapper input tuple on success and retains no receipt afterward; the existing cache owner still owns wrapper retirement.
|
|
248
|
+
*/
|
|
249
|
+
public static finishBinding(
|
|
250
|
+
receipt: BindingReceipt | undefined,
|
|
251
|
+
writes: BindingWrites,
|
|
252
|
+
): void {
|
|
253
|
+
if (receipt === undefined) return;
|
|
254
|
+
const { wrapper, before }: BindingReceipt = receipt;
|
|
255
|
+
const after: Inputs = inputs(wrapper.texture);
|
|
256
|
+
const expectedSampling: unknown[] = [
|
|
257
|
+
writes.colorSpace,
|
|
258
|
+
...(writes.sampler === undefined
|
|
259
|
+
? before.sampling.slice(1)
|
|
260
|
+
: [
|
|
261
|
+
writes.sampler.wrapS,
|
|
262
|
+
writes.sampler.wrapT,
|
|
263
|
+
writes.sampler.minFilter,
|
|
264
|
+
writes.sampler.magFilter,
|
|
265
|
+
]),
|
|
266
|
+
];
|
|
267
|
+
if (
|
|
268
|
+
!receipt.clean ||
|
|
269
|
+
!wrapper.known ||
|
|
270
|
+
!this.originalCurrent(wrapper.claim) ||
|
|
271
|
+
!same(before.fixed, after.fixed) ||
|
|
272
|
+
!same(expectedSampling, after.sampling) ||
|
|
273
|
+
after.version !== before.version + 1
|
|
274
|
+
) {
|
|
275
|
+
wrapper.known = false;
|
|
276
|
+
if (after.source !== wrapper.inputs.source) wrapper.detached = true;
|
|
277
|
+
return;
|
|
278
|
+
}
|
|
279
|
+
wrapper.inputs = after;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Mark uncertainty before the exclusive scene owner starts retirement.
|
|
284
|
+
*
|
|
285
|
+
* @evidence contracts/development/implementation.md#principled-implementation Captures current inputs, records sticky Source detachment and computes same-capacity/open eligibility before setting wrapper authority unknown for the pending retirement.
|
|
286
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure The receipt grants only a later environment completion check; AutoMovieEnvironmentTextureOwnership still performs actual scene-conversion disposal.
|
|
287
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Known authority is withdrawn before effectful disposal so a throwing listener cannot leave the conversion falsely certified.
|
|
288
|
+
* @evidence contracts/development/common.md#meaningful-documentation Specifies uncertainty publication before exclusive scene-owner retirement starts.
|
|
289
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms One wrapper lookup and fixed capacity/current-original comparisons require no scene scan or sibling iteration.
|
|
290
|
+
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each retirement attempt gets a pre-transition receipt because current Source and version determine eligibility.
|
|
291
|
+
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Beginning environment retirement creates only a caller-held receipt and does not allocate or dispose native storage itself.
|
|
292
|
+
*/
|
|
293
|
+
public static beginEnvironment(
|
|
294
|
+
texture: THREE.Texture,
|
|
295
|
+
): EnvironmentReceipt | undefined {
|
|
296
|
+
const wrapper: Wrapper | undefined = this.wrappers.get(texture);
|
|
297
|
+
if (wrapper === undefined) return undefined;
|
|
298
|
+
const before: Inputs = inputs(texture);
|
|
299
|
+
if (before.source !== wrapper.inputs.source) wrapper.detached = true;
|
|
300
|
+
const permitted: boolean =
|
|
301
|
+
!wrapper.closed &&
|
|
302
|
+
!wrapper.detached &&
|
|
303
|
+
same(wrapper.inputs.capacity, before.capacity) &&
|
|
304
|
+
this.originalCurrent(wrapper.claim);
|
|
305
|
+
wrapper.known = false;
|
|
306
|
+
return { wrapper, before, permitted };
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* A successful same-capacity retirement refreshes this environment only.
|
|
311
|
+
*
|
|
312
|
+
* @evidence contracts/development/implementation.md#principled-implementation Requires the prior permitted receipt, no sticky detachment, current original authority, unchanged capacity and one upload-version increment before replacing this wrapper's baseline and setting known=true.
|
|
313
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Returns explicit acknowledgement to the scene owner while retaining original and sibling histories under their own claims.
|
|
314
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A successful public dispose cannot recover detached Source history or a changed original, and no unrelated wrapper receives certification.
|
|
315
|
+
* @evidence contracts/development/common.md#meaningful-documentation States same-capacity success and the restriction that only this environment wrapper is refreshed.
|
|
316
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Captures one post-transition tuple and checks constant-size capacity/version conditions without inspecting GPU handles.
|
|
317
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work An accepted environment baseline enables later stable conversion reuse; rejected receipts leave authority unknown rather than caching success.
|
|
318
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Replaces one retained wrapper tuple and ends the receipt's role; physical conversion lifetime remains with the scene owner that performed disposal.
|
|
319
|
+
*/
|
|
320
|
+
public static finishEnvironment(
|
|
321
|
+
receipt: EnvironmentReceipt | undefined,
|
|
322
|
+
): boolean {
|
|
323
|
+
if (receipt === undefined) return true;
|
|
324
|
+
const { wrapper, before }: EnvironmentReceipt = receipt;
|
|
325
|
+
const after: Inputs = inputs(wrapper.texture);
|
|
326
|
+
if (after.source !== wrapper.inputs.source) wrapper.detached = true;
|
|
327
|
+
if (
|
|
328
|
+
!receipt.permitted ||
|
|
329
|
+
wrapper.detached ||
|
|
330
|
+
!this.originalCurrent(wrapper.claim) ||
|
|
331
|
+
!same(before.capacity, after.capacity) ||
|
|
332
|
+
after.version !== before.version + 1
|
|
333
|
+
)
|
|
334
|
+
return false;
|
|
335
|
+
wrapper.inputs = after;
|
|
336
|
+
wrapper.known = true;
|
|
337
|
+
return true;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Call before a cache's public disposal, including originals with listeners.
|
|
342
|
+
*
|
|
343
|
+
* @evidence contracts/development/implementation.md#principled-implementation Observes Source identity and marks both possible original and issued-wrapper claims unknown before any public dispose listener can run or throw.
|
|
344
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Pre-retirement history recording is separate from finishRetirement's closure and uncertainty report.
|
|
345
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Disposal order cannot hide detached Source history by allowing a listener to restore properties before authority is withdrawn.
|
|
346
|
+
* @evidence contracts/development/common.md#meaningful-documentation States that this call precedes public disposal even for originals carrying external listeners.
|
|
347
|
+
* @evidenceExclude contracts/development/implementation.md#efficient-algorithms Two weak lookups and identity checks perform fixed-size bookkeeping.
|
|
348
|
+
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work This operation records a lifecycle transition and shares no completed retirement effect.
|
|
349
|
+
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources No new resource is retained; existing claims become uncertain before their owner attempts physical release.
|
|
350
|
+
*/
|
|
351
|
+
public static beginRetirement(texture: THREE.Texture): void {
|
|
352
|
+
const original: Claim | undefined = this.originals.get(texture);
|
|
353
|
+
if (original !== undefined) {
|
|
354
|
+
if (
|
|
355
|
+
texture.source !== (original.baseline?.source ?? original.initialSource)
|
|
356
|
+
)
|
|
357
|
+
original.detached = true;
|
|
358
|
+
original.known = false;
|
|
359
|
+
}
|
|
360
|
+
const wrapper: Wrapper | undefined = this.wrappers.get(texture);
|
|
361
|
+
if (wrapper !== undefined) {
|
|
362
|
+
if (texture.source !== wrapper.inputs.source) wrapper.detached = true;
|
|
363
|
+
wrapper.known = false;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* Preserve an old detached footprint even after public dispose returns.
|
|
369
|
+
*
|
|
370
|
+
* @evidence contracts/development/implementation.md#principled-implementation Marks originals inactive and wrappers closed, rechecks sticky Source detachment and returns an uncertainty Error when public disposal cannot certify earlier native storage retirement.
|
|
371
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Closure updates remain with allocation authority while AutoMovieTextureCache combines this uncertainty with independent native-listener failures.
|
|
372
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Empty issued bookkeeping or a returned dispose call never becomes proof that a detached Source's old native footprint was freed.
|
|
373
|
+
* @evidence contracts/development/common.md#meaningful-documentation States that detached history survives public disposal completion and requires retaining unknown residency until context release.
|
|
374
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Performs two weak lookups and clears the original's issued Set; release work follows issued wrapper references rather than decoded pixel size.
|
|
375
|
+
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Completion records one retirement result; the cache's disposal promise owns deduplication of physical attempts.
|
|
376
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Clears the original's strong issued-wrapper population and closes claims; returned Errors keep uncertainty visible while weak registry entries remain only as long as actual wrappers remain reachable.
|
|
377
|
+
*/
|
|
378
|
+
public static finishRetirement(texture: THREE.Texture): Error | undefined {
|
|
379
|
+
const original: Claim | undefined = this.originals.get(texture);
|
|
380
|
+
if (original !== undefined) {
|
|
381
|
+
if (
|
|
382
|
+
texture.source !== (original.baseline?.source ?? original.initialSource)
|
|
383
|
+
)
|
|
384
|
+
original.detached = true;
|
|
385
|
+
original.active = false;
|
|
386
|
+
original.issued.clear();
|
|
387
|
+
if (original.detached)
|
|
388
|
+
return new Error(
|
|
389
|
+
"Texture cache cannot certify retirement after its original Source was detached; retain the unknown footprint until context release.",
|
|
390
|
+
);
|
|
391
|
+
}
|
|
392
|
+
const wrapper: Wrapper | undefined = this.wrappers.get(texture);
|
|
393
|
+
if (wrapper !== undefined) {
|
|
394
|
+
if (texture.source !== wrapper.inputs.source) wrapper.detached = true;
|
|
395
|
+
wrapper.closed = true;
|
|
396
|
+
if (wrapper.detached)
|
|
397
|
+
return new Error(
|
|
398
|
+
"Texture cache cannot certify retirement after an issued Source was detached; retain the unknown footprint until context release.",
|
|
399
|
+
);
|
|
400
|
+
}
|
|
401
|
+
return undefined;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
private static originalCurrent(claim: Claim): boolean {
|
|
405
|
+
if (!claim.active) return false;
|
|
406
|
+
if (
|
|
407
|
+
claim.texture.source !== (claim.baseline?.source ?? claim.initialSource)
|
|
408
|
+
) {
|
|
409
|
+
claim.detached = true;
|
|
410
|
+
claim.known = false;
|
|
411
|
+
}
|
|
412
|
+
if (
|
|
413
|
+
claim.baseline !== undefined &&
|
|
414
|
+
!equivalent(claim.baseline, inputs(claim.texture))
|
|
415
|
+
)
|
|
416
|
+
claim.known = false;
|
|
417
|
+
return claim.known;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
private static wrapperCurrent(wrapper: Wrapper): boolean {
|
|
421
|
+
return (
|
|
422
|
+
this.wrapperOwnCurrent(wrapper) && this.originalCurrent(wrapper.claim)
|
|
423
|
+
);
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
private static wrapperOwnCurrent(wrapper: Wrapper): boolean {
|
|
427
|
+
const current: Inputs = inputs(wrapper.texture);
|
|
428
|
+
if (current.source !== wrapper.inputs.source) wrapper.detached = true;
|
|
429
|
+
if (!equivalent(wrapper.inputs, current)) wrapper.known = false;
|
|
430
|
+
return !wrapper.closed && !wrapper.detached && wrapper.known;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/** Actual owned fields; image references are observed without hashing pixels. */
|
|
435
|
+
const inputs: (texture: THREE.Texture) => Inputs = (
|
|
436
|
+
texture: THREE.Texture,
|
|
437
|
+
): Inputs => {
|
|
438
|
+
const image: unknown = texture.image;
|
|
439
|
+
const record: object | undefined =
|
|
440
|
+
typeof image === "object" && image !== null ? image : undefined;
|
|
441
|
+
const width: unknown =
|
|
442
|
+
record !== undefined && "width" in record ? record.width : undefined;
|
|
443
|
+
const height: unknown =
|
|
444
|
+
record !== undefined && "height" in record ? record.height : undefined;
|
|
445
|
+
const data: unknown =
|
|
446
|
+
record !== undefined && "data" in record ? record.data : undefined;
|
|
447
|
+
const mipmaps: unknown = texture.mipmaps;
|
|
448
|
+
const capacity: unknown[] = [
|
|
449
|
+
texture.source,
|
|
450
|
+
width,
|
|
451
|
+
height,
|
|
452
|
+
texture.type,
|
|
453
|
+
texture.format,
|
|
454
|
+
texture.internalFormat,
|
|
455
|
+
];
|
|
456
|
+
const fixed: unknown[] = [
|
|
457
|
+
...capacity,
|
|
458
|
+
image,
|
|
459
|
+
data,
|
|
460
|
+
texture.generateMipmaps,
|
|
461
|
+
mipmaps,
|
|
462
|
+
Array.isArray(mipmaps) ? mipmaps.length : undefined,
|
|
463
|
+
texture.flipY,
|
|
464
|
+
texture.premultiplyAlpha,
|
|
465
|
+
texture.unpackAlignment,
|
|
466
|
+
texture.anisotropy,
|
|
467
|
+
texture.mapping,
|
|
468
|
+
"wrapR" in texture ? texture.wrapR || 0 : 0,
|
|
469
|
+
];
|
|
470
|
+
const sampling: unknown[] = [
|
|
471
|
+
texture.colorSpace,
|
|
472
|
+
texture.wrapS,
|
|
473
|
+
texture.wrapT,
|
|
474
|
+
texture.minFilter,
|
|
475
|
+
texture.magFilter,
|
|
476
|
+
];
|
|
477
|
+
const copied: unknown[] = [
|
|
478
|
+
...capacity,
|
|
479
|
+
image,
|
|
480
|
+
data,
|
|
481
|
+
texture.generateMipmaps,
|
|
482
|
+
Array.isArray(mipmaps) ? mipmaps.length : undefined,
|
|
483
|
+
...(Array.isArray(mipmaps) ? mipmaps : []),
|
|
484
|
+
texture.flipY,
|
|
485
|
+
texture.premultiplyAlpha,
|
|
486
|
+
texture.unpackAlignment,
|
|
487
|
+
texture.anisotropy,
|
|
488
|
+
texture.mapping,
|
|
489
|
+
"wrapR" in texture ? texture.wrapR || 0 : 0,
|
|
490
|
+
...sampling,
|
|
491
|
+
];
|
|
492
|
+
return {
|
|
493
|
+
source: texture.source,
|
|
494
|
+
capacity,
|
|
495
|
+
fixed,
|
|
496
|
+
sampling,
|
|
497
|
+
copied,
|
|
498
|
+
state: [...fixed, ...sampling],
|
|
499
|
+
version: texture.version,
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
/** Object.is distinguishes numeric flags without inventing a native cache key. */
|
|
504
|
+
const same: (left: readonly unknown[], right: readonly unknown[]) => boolean = (
|
|
505
|
+
left: readonly unknown[],
|
|
506
|
+
right: readonly unknown[],
|
|
507
|
+
): boolean =>
|
|
508
|
+
left.every((value: unknown, index: number): boolean =>
|
|
509
|
+
Object.is(value, right[index]),
|
|
510
|
+
);
|
|
511
|
+
|
|
512
|
+
/** Shared Source.version is absent; each original/wrapper has its own version. */
|
|
513
|
+
const equivalent: (left: Inputs, right: Inputs) => boolean = (
|
|
514
|
+
left: Inputs,
|
|
515
|
+
right: Inputs,
|
|
516
|
+
): boolean => left.version === right.version && same(left.state, right.state);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Default 20-metre camera-space depth range for clamp(1 - viewZ / range, 0, 1): white at zero and black at the range or beyond. The shader's normalization is independent of near/far clips, while changing camera pose changes viewZ for the same world point; this constant does not certify identical raster bytes across shots or renderers.
|
|
3
|
+
*/
|
|
4
|
+
export const DEPTH_NORMALIZATION_RANGE = 20;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Default 0.02 model-space normal extrusion for the inverted-hull outline pass. For geometry expressed in metres with object and instance scales of one, this is two centimetres; scaling changes world thickness and camera projection changes screen line weight.
|
|
3
|
+
*/
|
|
4
|
+
export const EDGE_WIDTH = 0.02;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { IAutoMovieSectionPlane } from "@automovie/engine";
|
|
2
|
+
import type * as THREE from "three";
|
|
3
|
+
|
|
4
|
+
import type { IAutoMovieSectionRenderer } from "./IAutoMovieSectionRenderer.js";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Inspection clipping applied to existing material state without deleting or
|
|
8
|
+
* rebuilding source geometry. One converted plane set is shared by the subtree.
|
|
9
|
+
*
|
|
10
|
+
* @evidence contracts/development/design.md#principled-representation Separates the borrowed renderer switch, existing scene subtree and engine world-space remove-side half-spaces so applyAutoMovieSectionPlanes converts clipping convention without altering authored geometry.
|
|
11
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface One props record keeps clipping application inputs together; the narrow renderer interface exposes only the mutable switch this operation needs.
|
|
12
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts Empty planes mean release for every subtree; no geometry deletion or special scene identity is encoded in the input.
|
|
13
|
+
* @evidence contracts/development/common.md#meaningful-documentation Members state renderer mutation, caller ownership of root/geometry, world-space convention and empty-list release behavior.
|
|
14
|
+
*/
|
|
15
|
+
export interface IApplyAutoMovieSectionPlanesProps {
|
|
16
|
+
/**
|
|
17
|
+
* Renderer switch mutated to reflect whether the supplied plane list is empty.
|
|
18
|
+
*/
|
|
19
|
+
renderer: IAutoMovieSectionRenderer;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Caller-owned subtree whose materials receive the plane set; geometry and
|
|
23
|
+
* hierarchy remain owned by their builders.
|
|
24
|
+
*/
|
|
25
|
+
root: THREE.Object3D;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* World-space engine half-spaces; an empty list releases clipping. The runtime
|
|
29
|
+
* converts their remove-side normal once without changing these records.
|
|
30
|
+
*/
|
|
31
|
+
planes: readonly IAutoMovieSectionPlane[];
|
|
32
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type * as THREE from "three";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* A viewer-owned field overlay bound to one analysis run.
|
|
5
|
+
*
|
|
6
|
+
* @evidence contracts/development/design.md#principled-representation Associates one Points object with its exact selected-sample count and normalization range; the count/range describe this overlay rather than claiming solver completeness or metric success independently of its admitted artifact.
|
|
7
|
+
* @evidence contracts/development/design.md#minimal-and-owned-surface Exposes the scene attachment and small inspection/retirement surface; measurement stays in the analysis run and geometry/material creation stays in buildAnalysisOverlayObject.
|
|
8
|
+
* @evidence contracts/development/design.md#prohibited-design-shortcuts Contains no fabricated verdict or fixture marker; borrowed-material distinction is explicit and no renderer method is replaced.
|
|
9
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents attachment, selected sample count, color normalization domain and geometry/default-material ownership.
|
|
10
|
+
*/
|
|
11
|
+
export interface IAutoMovieAnalysisOverlayObject {
|
|
12
|
+
/** Add these points to the current scene. */
|
|
13
|
+
object: THREE.Points;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Release the geometry, and the material when this object created it.
|
|
17
|
+
*
|
|
18
|
+
* @evidence contracts/development/implementation.md#principled-implementation Calls actual geometry disposal and conditionally disposes only the builder-created material; borrowed material is preserved, but throwing geometry disposal prevents the subsequent owned-material call.
|
|
19
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Keeps overlay retirement on its returned handle rather than requiring the scene host to infer material ownership from the Points object.
|
|
20
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Material ownership follows whether the caller supplied it, not object names or disposal-event fixtures; no foreign disposal method is replaced.
|
|
21
|
+
* @evidence contracts/development/common.md#meaningful-documentation States exact geometry/default-material scope; the builder's lifetime answer records that calls are not memoized or failure-independent.
|
|
22
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Calls at most two fixed-resource disposers; no scene or sample traversal is required.
|
|
23
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Performs actual retirement each invocation rather than caching success; repeated calls are not made equivalent by this contract.
|
|
24
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Owns the geometry and optionally default material release while preserving borrowed material; the returned handle still references its closed resources and samples until the caller releases the handle.
|
|
25
|
+
*/
|
|
26
|
+
dispose: () => void;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Points drawn, one per spatial sample of the chosen metric.
|
|
30
|
+
*
|
|
31
|
+
* @evidence contracts/development/implementation.md#principled-implementation Reads the selected sample array length rather than counting rendered pixels or reporting all run samples.
|
|
32
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Exposes the construction count without requiring consumers to inspect buffer attribute layout.
|
|
33
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Returns the actual selected collection length, with no precomputed fixture answer or substituted resource method.
|
|
34
|
+
* @evidence contracts/development/common.md#meaningful-documentation States the metric-selected sample unit and its one-point correspondence.
|
|
35
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Reads one array length in constant time and allocates no result object.
|
|
36
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Reads the already selected collection instead of refiltering the run per inspection.
|
|
37
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Its closure keeps the selected sample references with the overlay handle, bounded by the metric's sample count and released only when that handle becomes unreachable.
|
|
38
|
+
*/
|
|
39
|
+
count: () => number;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* The value range the colour ramp was normalized over.
|
|
43
|
+
*
|
|
44
|
+
* @evidence contracts/development/implementation.md#principled-implementation Returns the exact validated construction min/max, including a caller-pinned domain; it is not a fresh minimum/maximum of current GPU attributes.
|
|
45
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Exposes the scale beside the points so reports can interpret colors without reconstructing their domain.
|
|
46
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Reports authored/resolved scale values without fixture bounds, approximate equality or a hidden rescan.
|
|
47
|
+
* @evidence contracts/development/common.md#meaningful-documentation Identifies normalization-domain meaning rather than implying this pair is necessarily the sample extrema.
|
|
48
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Returns two captured scalars in a fresh constant-size record with no sample traversal.
|
|
49
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Reuses the domain computed once during construction; changing original run/domain objects cannot mutate these captured values.
|
|
50
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Retains only two scalar bounds through the handle and transfers each returned small record to the caller; acquires no renderer handle or task.
|
|
51
|
+
*/
|
|
52
|
+
range: () => { min: number; max: number };
|
|
53
|
+
}
|