@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,40 @@
|
|
|
1
|
+
import type { IAutoMovieLight } from "@automovie/interface";
|
|
2
|
+
import type * as THREE from "three";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Project one actual punctual light into the Engine's shadow-caster identity. The caller supplies the authored or runtime identity. Native class markers own the kind and castShadow owns participation, independent of visibility. Other scene objects and non-punctual lights return null rather than a fabricated shadow source. Admission and allocation formulas stay in Engine.
|
|
6
|
+
*
|
|
7
|
+
* @evidence contracts/development/implementation.md#principled-implementation Projects actual point/directional/spot native markers and castShadow into one Engine shadow source under the caller-supplied identity.
|
|
8
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Small host identity projection stays separate from Engine compatibility admission and viewer target planning.
|
|
9
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Nonpunctual objects return null and visibility does not silently erase a retained caster; marker/identity facts do not themselves prove shadow allocation or rendered appearance.
|
|
10
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents native kind, castShadow participation, unsupported object null result and caller identity responsibility.
|
|
11
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Three marker checks and one castShadow read are fixed work with at most one small result record.
|
|
12
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Every supplied object current participation is observed; equal id text alone does not cache another light allocation.
|
|
13
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Only copied id/kind/flag values escape, and no scene object, shadow target or native handle is acquired or retained.
|
|
14
|
+
*/
|
|
15
|
+
export const readAutoMovieShadowLightSource: (
|
|
16
|
+
id: string,
|
|
17
|
+
object: THREE.Object3D,
|
|
18
|
+
) => Pick<IAutoMovieLight, "id" | "type" | "castShadow"> | null = (
|
|
19
|
+
id: string,
|
|
20
|
+
object: THREE.Object3D,
|
|
21
|
+
): Pick<IAutoMovieLight, "id" | "type" | "castShadow"> | null => {
|
|
22
|
+
const light: THREE.Light & {
|
|
23
|
+
isPointLight?: boolean;
|
|
24
|
+
isDirectionalLight?: boolean;
|
|
25
|
+
isSpotLight?: boolean;
|
|
26
|
+
} = object as THREE.Light & {
|
|
27
|
+
isPointLight?: boolean;
|
|
28
|
+
isDirectionalLight?: boolean;
|
|
29
|
+
isSpotLight?: boolean;
|
|
30
|
+
};
|
|
31
|
+
const type: "point" | "directional" | "spot" | null =
|
|
32
|
+
light.isPointLight === true
|
|
33
|
+
? "point"
|
|
34
|
+
: light.isDirectionalLight === true
|
|
35
|
+
? "directional"
|
|
36
|
+
: light.isSpotLight === true
|
|
37
|
+
? "spot"
|
|
38
|
+
: null;
|
|
39
|
+
return type === null ? null : { id, type, castShadow: light.castShadow };
|
|
40
|
+
};
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import {
|
|
2
|
+
type IAutoMovieRenderTextureTarget,
|
|
3
|
+
resolveAutoMovieShadowProfile,
|
|
4
|
+
} from "@automovie/engine";
|
|
5
|
+
import type { IAutoMovieSceneEnvironment } from "@automovie/interface";
|
|
6
|
+
import * as THREE from "three";
|
|
7
|
+
|
|
8
|
+
import type { IAutoMovieShadowTextureHost } from "./IAutoMovieShadowTextureHost.js";
|
|
9
|
+
import { guardAutoMovieSceneShadowRetirement } from "./guardAutoMovieSceneShadowRetirement.js";
|
|
10
|
+
import { matchesAutoMovieShadowTextureProfile } from "./matchesAutoMovieShadowTextureProfile.js";
|
|
11
|
+
import { planAutoMovieShadowTextureTarget } from "./planAutoMovieShadowTextureTarget.js";
|
|
12
|
+
import { readAutoMovieRenderTextureTarget } from "./readAutoMovieRenderTextureTarget.js";
|
|
13
|
+
import { readAutoMovieShadowLightSource } from "./readAutoMovieShadowLightSource.js";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describe retained light targets and required native shadow factory bounds. Hidden and noncasting lights keep their actual retained map/blur rows. An enabled caster whose next factory differs also supplies a distinct planned row; this conservative phase union is neither an observed GLuint count nor a claim that every retained and planned attachment is simultaneously live. Supply the scene's effective override before configuring its render pass. Otherwise the current host selects the native VSM or legacy PCF allocator family. Compatibility admission remains the Engine's single policy owner. Caller scope and light keys identify distinct retained light-owned slots; include each scope once when assembling a context's renderTargets closure.
|
|
17
|
+
*
|
|
18
|
+
* @evidence contracts/development/implementation.md#principled-implementation Admits the effective Engine shadow profile, reports every actual retained punctual map/blur target and adds distinct planned factory rows only when an enabled caster lacks an equivalent retained profile.
|
|
19
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Actual source projection, retained target reading, native factory planning and representation comparison keep their existing single owners; scope/light/role labels distinguish phases.
|
|
20
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Hidden/noncasting retained storage remains reported, failed retirement under the same original renderer key refuses before reading cleared slots, unsupported profile refuses and phase union is a potential bound rather than measured native lifetimes.
|
|
21
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents effective override ordering, installed allocator family, phase semantics and one-scope-once assembly responsibility.
|
|
22
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms L lights are projected once and each has at most two retained/planned roles; attachment-profile comparisons cost their format counts, with O(L) coordinator rows and no shadow texel allocation.
|
|
23
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work A retained target covers planned work only when dimensions, representation, faces, samples and attachments match; matching owner text or a prior observation alone is insufficient.
|
|
24
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Rows are scalar profiles over borrowed lights/targets and this observer acquires no resource; target owners retain/release actual shadows and hosts preserve earlier phase facts until their retirement is observed.
|
|
25
|
+
*/
|
|
26
|
+
export const readAutoMovieShadowTextureTargets: (
|
|
27
|
+
scope: string,
|
|
28
|
+
renderer: IAutoMovieShadowTextureHost,
|
|
29
|
+
lights: ReadonlyMap<string, THREE.Light>,
|
|
30
|
+
effectiveShadows?: IAutoMovieSceneEnvironment["shadows"],
|
|
31
|
+
) => IAutoMovieRenderTextureTarget[] = (
|
|
32
|
+
scope: string,
|
|
33
|
+
renderer: IAutoMovieShadowTextureHost,
|
|
34
|
+
lights: ReadonlyMap<string, THREE.Light>,
|
|
35
|
+
effectiveShadows?: IAutoMovieSceneEnvironment["shadows"],
|
|
36
|
+
): IAutoMovieRenderTextureTarget[] => {
|
|
37
|
+
guardAutoMovieSceneShadowRetirement(undefined, renderer);
|
|
38
|
+
const records: {
|
|
39
|
+
id: string;
|
|
40
|
+
light: THREE.Light;
|
|
41
|
+
source: NonNullable<ReturnType<typeof readAutoMovieShadowLightSource>>;
|
|
42
|
+
}[] = [...lights].flatMap(
|
|
43
|
+
([id, light]: [string, THREE.Light]): {
|
|
44
|
+
id: string;
|
|
45
|
+
light: THREE.Light;
|
|
46
|
+
source: NonNullable<ReturnType<typeof readAutoMovieShadowLightSource>>;
|
|
47
|
+
}[] => {
|
|
48
|
+
const source: ReturnType<typeof readAutoMovieShadowLightSource> =
|
|
49
|
+
readAutoMovieShadowLightSource(id, light);
|
|
50
|
+
return source === null ? [] : [{ id, light, source }];
|
|
51
|
+
},
|
|
52
|
+
);
|
|
53
|
+
const profile: ReturnType<typeof resolveAutoMovieShadowProfile> =
|
|
54
|
+
resolveAutoMovieShadowProfile({
|
|
55
|
+
lights: records.map(
|
|
56
|
+
(record: {
|
|
57
|
+
id: string;
|
|
58
|
+
light: THREE.Light;
|
|
59
|
+
source: NonNullable<
|
|
60
|
+
ReturnType<typeof readAutoMovieShadowLightSource>
|
|
61
|
+
>;
|
|
62
|
+
}): NonNullable<ReturnType<typeof readAutoMovieShadowLightSource>> =>
|
|
63
|
+
record.source,
|
|
64
|
+
),
|
|
65
|
+
shadows: effectiveShadows ?? {
|
|
66
|
+
enabled: renderer.shadowMap.enabled,
|
|
67
|
+
type: renderer.shadowMap.type === THREE.VSMShadowMap ? "vsm" : "pcf",
|
|
68
|
+
},
|
|
69
|
+
});
|
|
70
|
+
if (!profile.success)
|
|
71
|
+
throw new Error(
|
|
72
|
+
"Unsupported shadow profile: " + JSON.stringify(profile.violations),
|
|
73
|
+
);
|
|
74
|
+
const rows: IAutoMovieRenderTextureTarget[] = [];
|
|
75
|
+
for (const { id, light, source } of records) {
|
|
76
|
+
const shadow:
|
|
77
|
+
| THREE.DirectionalLight["shadow"]
|
|
78
|
+
| THREE.SpotLight["shadow"]
|
|
79
|
+
| THREE.PointLight["shadow"] = (
|
|
80
|
+
light as THREE.DirectionalLight | THREE.SpotLight | THREE.PointLight
|
|
81
|
+
).shadow;
|
|
82
|
+
const retained: Map<"map" | "blur", IAutoMovieRenderTextureTarget> =
|
|
83
|
+
new Map<"map" | "blur", IAutoMovieRenderTextureTarget>();
|
|
84
|
+
for (const [role, target] of [
|
|
85
|
+
["map", shadow.map],
|
|
86
|
+
["blur", shadow.mapPass],
|
|
87
|
+
] as const) {
|
|
88
|
+
if (target === null) continue;
|
|
89
|
+
const actual: IAutoMovieRenderTextureTarget | undefined = {
|
|
90
|
+
...readAutoMovieRenderTextureTarget(
|
|
91
|
+
`shadow-target:${JSON.stringify([scope, id, role, "retained"])}`,
|
|
92
|
+
target,
|
|
93
|
+
),
|
|
94
|
+
shadow: { scope, light: id, role },
|
|
95
|
+
};
|
|
96
|
+
rows.push(actual);
|
|
97
|
+
retained.set(role, actual);
|
|
98
|
+
}
|
|
99
|
+
if (!profile.enabled || !source.castShadow) continue;
|
|
100
|
+
for (const role of profile.type === "vsm"
|
|
101
|
+
? (["map", "blur"] as const)
|
|
102
|
+
: (["map"] as const)) {
|
|
103
|
+
const planned: IAutoMovieRenderTextureTarget =
|
|
104
|
+
planAutoMovieShadowTextureTarget(
|
|
105
|
+
scope,
|
|
106
|
+
id,
|
|
107
|
+
shadow,
|
|
108
|
+
source.type === "point",
|
|
109
|
+
profile.type,
|
|
110
|
+
role,
|
|
111
|
+
renderer.capabilities.maxTextureSize,
|
|
112
|
+
);
|
|
113
|
+
const actual: IAutoMovieRenderTextureTarget | undefined =
|
|
114
|
+
retained.get(role);
|
|
115
|
+
if (
|
|
116
|
+
actual === undefined ||
|
|
117
|
+
!matchesAutoMovieShadowTextureProfile(actual, planned)
|
|
118
|
+
)
|
|
119
|
+
rows.push(planned);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
return rows;
|
|
123
|
+
};
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import type { IAutoMovieRenderTextureSource } from "@automovie/engine";
|
|
2
|
+
import type { IAutoMovieTextureReference } from "@automovie/interface";
|
|
3
|
+
import * as THREE from "three";
|
|
4
|
+
|
|
5
|
+
import { AutoMovieEnvironmentTextureOwnership } from "./AutoMovieEnvironmentTextureOwnership.js";
|
|
6
|
+
import { AutoMovieTextureCacheAllocationAuthority } from "./AutoMovieTextureCacheAllocationAuthority.js";
|
|
7
|
+
import { readAutoMovieEnvironmentColorSpace } from "./readAutoMovieEnvironmentColorSpace.js";
|
|
8
|
+
import { readAutoMovieTextureUploadFormat } from "./readAutoMovieTextureUploadFormat.js";
|
|
9
|
+
|
|
10
|
+
const objectIdentities: WeakMap<object, string> = new WeakMap<object, string>();
|
|
11
|
+
let nextObjectIdentity: number = 0;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Observe positive two-dimensional decoded texture extents and current supported upload declarations without changing image, sampling or GPU state. Compressed, array/volume, depth, framebuffer and render-target products remain unsupported or allocation-uncertain under this ordinary decoded-image path. Manual mip data and intrinsic/factory extent disagreement cannot certify native history.
|
|
15
|
+
*
|
|
16
|
+
* Weak object tokens describe actual Source/Texture sharing in this host, independently of mutable UUID text. Engine retains the sharing relation rather than token spelling; current representation and upload-state metadata still determine allocation equivalence.
|
|
17
|
+
*
|
|
18
|
+
* Cache and environment owners are consulted before extent checks so malformed image data cannot hide either sticky input history. They acknowledge only supported owned writes and successful exclusive transitions. Restoring observed uncontrolled drift does not repair its history; writes fully restored between observation boundaries are not detected. Unregistered objects retain this observer's prospective before-upload premise.
|
|
19
|
+
*
|
|
20
|
+
* Environment conversion reports configured and factory sampler intent because sharp conversion can temporarily upload with another sampler without a later version change. Current properties do not prove an old native state was retired. Hosts retain previous upload phases until their owning release/transition is observed; this read reports neither GLuint count nor independent kernel storage.
|
|
21
|
+
*
|
|
22
|
+
* @evidence contracts/development/implementation.md#principled-implementation Combines actual cache/environment input-history authority before extent checks, projects supported decoded base/format/sampler/mip and factory intent, and assigns host-local weak object tokens for real Source/Texture equality.
|
|
23
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Decoded image observation, shared upload-format/environment decisions and existing history owners remain distinct from Engine byte closure and renderer-native allocation.
|
|
24
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Manual/framebuffer/array/volume/compressed/depth or divergent intrinsic layouts cannot certify ordinary allocation state; current properties, restored flags and equal labels do not invent historical native release.
|
|
25
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents positive 2D extent, manual-base selection, unsupported representation, configured/factory sampler union and host responsibility for earlier retained upload phases.
|
|
26
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Fixed property/tuple work plus bounded sampler checks and small upload-state string generation avoid pixel hashing and mip-data copies; actual intrinsic metadata lookup is fixed, while history owners account for copied manual-mip references.
|
|
27
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Weak object identity tokens preserve actual sharing across observations while current metadata is recomputed; source-token equality alone cannot reuse an incompatible upload/factory state.
|
|
28
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Weak keys retain neither texture nor source, returned metadata retains scalar tokens only and this observer acquires no GPU wrapper; cache/environment/context owners must retain uncertain historical storage until release is observed.
|
|
29
|
+
*/
|
|
30
|
+
export function readAutoMovieTextureSource(
|
|
31
|
+
asset: string,
|
|
32
|
+
texture: THREE.Texture,
|
|
33
|
+
): IAutoMovieRenderTextureSource {
|
|
34
|
+
const cacheAllocationKnown: boolean =
|
|
35
|
+
AutoMovieTextureCacheAllocationAuthority.current(texture);
|
|
36
|
+
const environmentAllocationKnown: boolean =
|
|
37
|
+
AutoMovieEnvironmentTextureOwnership.current(texture);
|
|
38
|
+
const image: unknown = texture.image;
|
|
39
|
+
const data: boolean =
|
|
40
|
+
"isDataTexture" in texture && texture.isDataTexture === true;
|
|
41
|
+
const original: ReturnType<typeof decodedExtent> = decodedExtent(image, data);
|
|
42
|
+
if (typeof image !== "object" || image === null || original === undefined)
|
|
43
|
+
throw new Error(
|
|
44
|
+
`Texture asset "${asset}" has no decoded two-dimensional extent.`,
|
|
45
|
+
);
|
|
46
|
+
const mipmaps: unknown = texture.mipmaps;
|
|
47
|
+
const manual: boolean = !Array.isArray(mipmaps) || mipmaps.length !== 0;
|
|
48
|
+
const framebuffer: boolean = "isFramebufferTexture" in texture;
|
|
49
|
+
const usesManualBase: boolean =
|
|
50
|
+
manual &&
|
|
51
|
+
!framebuffer &&
|
|
52
|
+
!("isDepthTexture" in texture) &&
|
|
53
|
+
!texture.isRenderTargetTexture;
|
|
54
|
+
const extent: { width: number; height: number } =
|
|
55
|
+
usesManualBase && Array.isArray(mipmaps)
|
|
56
|
+
? (decodedExtent(mipmaps[0], data) ?? original)
|
|
57
|
+
: original;
|
|
58
|
+
const unsupportedExtent: boolean =
|
|
59
|
+
("depth" in image && image.depth !== 1) ||
|
|
60
|
+
"isDataArrayTexture" in texture ||
|
|
61
|
+
"isData3DTexture" in texture ||
|
|
62
|
+
"isCompressedArrayTexture" in texture ||
|
|
63
|
+
texture.isRenderTargetTexture;
|
|
64
|
+
const format: ReturnType<typeof readAutoMovieTextureUploadFormat> =
|
|
65
|
+
unsupportedExtent ? undefined : readAutoMovieTextureUploadFormat(texture);
|
|
66
|
+
const wrap: (
|
|
67
|
+
value: THREE.Wrapping,
|
|
68
|
+
) => "clamp" | "repeat" | "mirror" | undefined = (
|
|
69
|
+
value: THREE.Wrapping,
|
|
70
|
+
): "clamp" | "repeat" | "mirror" | undefined =>
|
|
71
|
+
value === THREE.RepeatWrapping
|
|
72
|
+
? "repeat"
|
|
73
|
+
: value === THREE.MirroredRepeatWrapping
|
|
74
|
+
? "mirror"
|
|
75
|
+
: value === THREE.ClampToEdgeWrapping
|
|
76
|
+
? "clamp"
|
|
77
|
+
: undefined;
|
|
78
|
+
const minFilter:
|
|
79
|
+
| NonNullable<IAutoMovieTextureReference["sampler"]>["minFilter"]
|
|
80
|
+
| undefined =
|
|
81
|
+
texture.minFilter === THREE.NearestFilter
|
|
82
|
+
? "nearest"
|
|
83
|
+
: texture.minFilter === THREE.LinearFilter
|
|
84
|
+
? "linear"
|
|
85
|
+
: texture.minFilter === THREE.NearestMipmapLinearFilter
|
|
86
|
+
? "nearestMipmapLinear"
|
|
87
|
+
: texture.minFilter === THREE.LinearMipmapLinearFilter
|
|
88
|
+
? "linearMipmapLinear"
|
|
89
|
+
: undefined;
|
|
90
|
+
const wrapS: ReturnType<typeof wrap> = wrap(texture.wrapS);
|
|
91
|
+
const wrapT: ReturnType<typeof wrap> = wrap(texture.wrapT);
|
|
92
|
+
const magFilter:
|
|
93
|
+
| NonNullable<IAutoMovieTextureReference["sampler"]>["magFilter"]
|
|
94
|
+
| undefined =
|
|
95
|
+
texture.magFilter === THREE.NearestFilter
|
|
96
|
+
? "nearest"
|
|
97
|
+
: texture.magFilter === THREE.LinearFilter
|
|
98
|
+
? "linear"
|
|
99
|
+
: undefined;
|
|
100
|
+
const sampler: IAutoMovieTextureReference["sampler"] =
|
|
101
|
+
minFilter === undefined ||
|
|
102
|
+
wrapS === undefined ||
|
|
103
|
+
wrapT === undefined ||
|
|
104
|
+
magFilter === undefined
|
|
105
|
+
? undefined
|
|
106
|
+
: {
|
|
107
|
+
wrapS,
|
|
108
|
+
wrapT,
|
|
109
|
+
minFilter,
|
|
110
|
+
magFilter,
|
|
111
|
+
};
|
|
112
|
+
const nativeMinFilter: boolean = [
|
|
113
|
+
THREE.NearestFilter,
|
|
114
|
+
THREE.LinearFilter,
|
|
115
|
+
THREE.NearestMipmapNearestFilter,
|
|
116
|
+
THREE.NearestMipmapLinearFilter,
|
|
117
|
+
THREE.LinearMipmapNearestFilter,
|
|
118
|
+
THREE.LinearMipmapLinearFilter,
|
|
119
|
+
].includes(texture.minFilter);
|
|
120
|
+
const samplerState: string | null =
|
|
121
|
+
wrapS === undefined ||
|
|
122
|
+
wrapT === undefined ||
|
|
123
|
+
magFilter === undefined ||
|
|
124
|
+
!nativeMinFilter
|
|
125
|
+
? null
|
|
126
|
+
: JSON.stringify([
|
|
127
|
+
texture.wrapS,
|
|
128
|
+
texture.wrapT,
|
|
129
|
+
texture.minFilter,
|
|
130
|
+
texture.magFilter,
|
|
131
|
+
]);
|
|
132
|
+
const conversionMinFilter: THREE.MinificationTextureFilter =
|
|
133
|
+
texture.minFilter === THREE.LinearMipmapLinearFilter
|
|
134
|
+
? THREE.LinearFilter
|
|
135
|
+
: texture.minFilter;
|
|
136
|
+
const environmentSampler: IAutoMovieTextureReference["sampler"] =
|
|
137
|
+
sampler === undefined
|
|
138
|
+
? undefined
|
|
139
|
+
: {
|
|
140
|
+
...sampler,
|
|
141
|
+
minFilter:
|
|
142
|
+
texture.minFilter === THREE.LinearMipmapLinearFilter
|
|
143
|
+
? ("linear" as const)
|
|
144
|
+
: sampler.minFilter,
|
|
145
|
+
};
|
|
146
|
+
return {
|
|
147
|
+
asset,
|
|
148
|
+
width: extent.width,
|
|
149
|
+
height: extent.height,
|
|
150
|
+
format,
|
|
151
|
+
sampler,
|
|
152
|
+
samplerState,
|
|
153
|
+
allocationStateKnown:
|
|
154
|
+
cacheAllocationKnown &&
|
|
155
|
+
environmentAllocationKnown &&
|
|
156
|
+
!manual &&
|
|
157
|
+
!framebuffer &&
|
|
158
|
+
!unsupportedExtent &&
|
|
159
|
+
!("isCompressedTexture" in texture) &&
|
|
160
|
+
!("isDepthTexture" in texture) &&
|
|
161
|
+
"width" in image &&
|
|
162
|
+
"height" in image &&
|
|
163
|
+
original.width === image.width &&
|
|
164
|
+
original.height === image.height,
|
|
165
|
+
colorSpace:
|
|
166
|
+
texture.colorSpace === THREE.SRGBColorSpace
|
|
167
|
+
? "srgb"
|
|
168
|
+
: texture.colorSpace === THREE.NoColorSpace
|
|
169
|
+
? "linear"
|
|
170
|
+
: texture.colorSpace === THREE.LinearSRGBColorSpace
|
|
171
|
+
? "linear-environment"
|
|
172
|
+
: undefined,
|
|
173
|
+
environmentColorSpace: readAutoMovieEnvironmentColorSpace(texture),
|
|
174
|
+
environmentSampler,
|
|
175
|
+
environmentSamplerState:
|
|
176
|
+
samplerState === null
|
|
177
|
+
? null
|
|
178
|
+
: JSON.stringify([
|
|
179
|
+
texture.wrapS,
|
|
180
|
+
texture.wrapT,
|
|
181
|
+
conversionMinFilter,
|
|
182
|
+
texture.magFilter,
|
|
183
|
+
]),
|
|
184
|
+
environmentBackgroundFormat:
|
|
185
|
+
texture.type === THREE.UnsignedByteType
|
|
186
|
+
? "rgba8"
|
|
187
|
+
: texture.type === THREE.HalfFloatType
|
|
188
|
+
? "rgba16f"
|
|
189
|
+
: texture.type === THREE.FloatType
|
|
190
|
+
? "rgba32f"
|
|
191
|
+
: undefined,
|
|
192
|
+
sourceIdentity: objectIdentity(texture.source),
|
|
193
|
+
textureIdentity: objectIdentity(texture),
|
|
194
|
+
uploadState: JSON.stringify(
|
|
195
|
+
[
|
|
196
|
+
texture.format,
|
|
197
|
+
texture.type,
|
|
198
|
+
texture.internalFormat,
|
|
199
|
+
texture.anisotropy,
|
|
200
|
+
texture.flipY,
|
|
201
|
+
texture.premultiplyAlpha,
|
|
202
|
+
texture.unpackAlignment,
|
|
203
|
+
texture.generateMipmaps,
|
|
204
|
+
"wrapR" in texture ? texture.wrapR || 0 : 0,
|
|
205
|
+
].map((value: unknown): string => (value === null ? "" : String(value))),
|
|
206
|
+
),
|
|
207
|
+
generateMipmaps: texture.generateMipmaps,
|
|
208
|
+
explicitMipmaps: Array.isArray(mipmaps) && mipmaps.length > 1,
|
|
209
|
+
mipmapped:
|
|
210
|
+
(Array.isArray(mipmaps) && mipmaps.length > 1) ||
|
|
211
|
+
texture.generateMipmaps ||
|
|
212
|
+
(framebuffer &&
|
|
213
|
+
texture.minFilter !== THREE.NearestFilter &&
|
|
214
|
+
texture.minFilter !== THREE.LinearFilter),
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/** Decode the native base metadata; manual history remains uncertified. */
|
|
219
|
+
const decodedExtent: (
|
|
220
|
+
image: unknown,
|
|
221
|
+
data: boolean,
|
|
222
|
+
) => { width: number; height: number } | undefined = (
|
|
223
|
+
image: unknown,
|
|
224
|
+
data: boolean,
|
|
225
|
+
): { width: number; height: number } | undefined => {
|
|
226
|
+
if (typeof image !== "object" || image === null) return undefined;
|
|
227
|
+
const rawWidth: unknown = "width" in image ? image.width : undefined;
|
|
228
|
+
const rawHeight: unknown = "height" in image ? image.height : undefined;
|
|
229
|
+
const width: unknown =
|
|
230
|
+
!data && "displayWidth" in image
|
|
231
|
+
? image.displayWidth
|
|
232
|
+
: !data && "naturalWidth" in image
|
|
233
|
+
? image.naturalWidth || rawWidth
|
|
234
|
+
: rawWidth;
|
|
235
|
+
const height: unknown =
|
|
236
|
+
!data && "displayHeight" in image
|
|
237
|
+
? image.displayHeight
|
|
238
|
+
: !data && "naturalHeight" in image
|
|
239
|
+
? image.naturalHeight || rawHeight
|
|
240
|
+
: rawHeight;
|
|
241
|
+
return typeof width === "number" &&
|
|
242
|
+
typeof height === "number" &&
|
|
243
|
+
Number.isSafeInteger(width) &&
|
|
244
|
+
width > 0 &&
|
|
245
|
+
Number.isSafeInteger(height) &&
|
|
246
|
+
height > 0
|
|
247
|
+
? { width, height }
|
|
248
|
+
: undefined;
|
|
249
|
+
};
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* Host-local equality follows the actual object reference, not a mutable label
|
|
253
|
+
* or copied UUID. Weak keys retain no texture after its host releases it.
|
|
254
|
+
*/
|
|
255
|
+
const objectIdentity: (value: object) => string = (value: object): string => {
|
|
256
|
+
let identity: string | undefined = objectIdentities.get(value);
|
|
257
|
+
if (identity === undefined) {
|
|
258
|
+
identity = `texture-object:${nextObjectIdentity++}`;
|
|
259
|
+
objectIdentities.set(value, identity);
|
|
260
|
+
}
|
|
261
|
+
return identity;
|
|
262
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as THREE from "three";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Read supported R16F, RG16F and RGBA storage from the actual upload declaration. An explicit internal format owns storage width; otherwise format and component type identifies it. Unsupported formats stay unknown rather than becoming an assumed four-byte texel. This does not certify dimensions or allocation.
|
|
5
|
+
*
|
|
6
|
+
* @evidence contracts/development/implementation.md#principled-implementation Maps supported explicit R16F/RG16F/RGBA storage first, otherwise uses actual format/component type to report the corresponding upload representation.
|
|
7
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure One shared representation decoder serves source and target profiles without decoding images or mixing authored sampler semantics into native storage width.
|
|
8
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Unknown explicit format, unsupported channel layout and unsupported component remain undefined rather than assumed RGBA8; this is a declaration profile, not dimension or upload proof.
|
|
9
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents explicit-format priority, supported native layouts and the separate extent/allocation obligations.
|
|
10
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms A fixed number of format/type comparisons return one fixed union with no texel or attachment traversal.
|
|
11
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Current declared representation is observed afresh; no stale profile survives a mutable texture format/type change.
|
|
12
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The texture stays borrowed and only a string or undefined escapes; no image, native texture or retention record is acquired.
|
|
13
|
+
*/
|
|
14
|
+
export function readAutoMovieTextureUploadFormat(
|
|
15
|
+
texture: THREE.Texture,
|
|
16
|
+
): "r16f" | "rgba8" | "rg16f" | "rgba16f" | "rgba32f" | undefined {
|
|
17
|
+
return texture.internalFormat === "RGBA32F"
|
|
18
|
+
? "rgba32f"
|
|
19
|
+
: texture.internalFormat === "RGBA16F"
|
|
20
|
+
? "rgba16f"
|
|
21
|
+
: texture.internalFormat === "R16F"
|
|
22
|
+
? "r16f"
|
|
23
|
+
: texture.internalFormat === "RG16F"
|
|
24
|
+
? "rg16f"
|
|
25
|
+
: texture.internalFormat === "RGBA8" ||
|
|
26
|
+
texture.internalFormat === "SRGB8_ALPHA8"
|
|
27
|
+
? "rgba8"
|
|
28
|
+
: texture.internalFormat !== null
|
|
29
|
+
? undefined
|
|
30
|
+
: texture.format === THREE.RedFormat &&
|
|
31
|
+
texture.type === THREE.HalfFloatType
|
|
32
|
+
? "r16f"
|
|
33
|
+
: texture.format === THREE.RGFormat &&
|
|
34
|
+
texture.type === THREE.HalfFloatType
|
|
35
|
+
? "rg16f"
|
|
36
|
+
: texture.format !== THREE.RGBAFormat
|
|
37
|
+
? undefined
|
|
38
|
+
: texture.type === THREE.UnsignedByteType
|
|
39
|
+
? "rgba8"
|
|
40
|
+
: texture.type === THREE.HalfFloatType
|
|
41
|
+
? "rgba16f"
|
|
42
|
+
: texture.type === THREE.FloatType
|
|
43
|
+
? "rgba32f"
|
|
44
|
+
: undefined;
|
|
45
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { IAutoMovieRenderTextureTarget } from "@automovie/engine";
|
|
2
|
+
import * as THREE from "three";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Bound the r186 scene/camera transmission target from the current host state. The native factory uses the physical viewport times transmission scale, a half-float color attachment when supported, full mips and at least four requested samples. D24/D24S8 depth is bounded by four bytes per sample. This is a conservative factory profile, not a driver allocation measurement. The host retains one record per live native scene/camera target, including earlier cameras whose cache survives material removal, until context release.
|
|
6
|
+
*
|
|
7
|
+
* @evidence contracts/development/implementation.md#principled-implementation Uses a truthy native camera viewport or current physical renderer viewport, resolution scale and actual half-float extensions/sample capability to bound the installed transmission factory.
|
|
8
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure One prospective scene/camera factory profile supplies Engine accounting while actual native target allocation and host retention remain outside this helper.
|
|
9
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Malformed structural extents remain NaN for downstream admission instead of an invented size; scale/sample metadata and supported extensions do not prove a current driver allocation.
|
|
10
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents viewport scaling, floor-to-pixels, color capability fallback, full mips, minimum four samples, depth bound and retained earlier-camera ownership.
|
|
11
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Fixed viewport/component/extension reads and one Vector4 scratch allocate no pixel arrays or transmission target.
|
|
12
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work The current camera/host profile must be observed after viewport or capability changes; an earlier camera row cannot replace a different retained scene/camera target.
|
|
13
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Returned scalar metadata acquires no framebuffer; caller retains each live native scene/camera target profile, including removed-material histories, until actual context/target release.
|
|
14
|
+
*/
|
|
15
|
+
export function readAutoMovieTransmissionTextureTarget(
|
|
16
|
+
owner: string,
|
|
17
|
+
transmissionScope: string,
|
|
18
|
+
renderer: {
|
|
19
|
+
getCurrentViewport: THREE.WebGLRenderer["getCurrentViewport"];
|
|
20
|
+
transmissionResolutionScale: number;
|
|
21
|
+
capabilities: Pick<THREE.WebGLRenderer["capabilities"], "samples">;
|
|
22
|
+
extensions: Pick<THREE.WebGLRenderer["extensions"], "has">;
|
|
23
|
+
},
|
|
24
|
+
camera: THREE.Camera,
|
|
25
|
+
): IAutoMovieRenderTextureTarget {
|
|
26
|
+
const viewport: unknown =
|
|
27
|
+
("viewport" in camera ? camera.viewport : undefined) ||
|
|
28
|
+
renderer.getCurrentViewport(new THREE.Vector4());
|
|
29
|
+
const width: number =
|
|
30
|
+
typeof viewport === "object" &&
|
|
31
|
+
viewport !== null &&
|
|
32
|
+
"z" in viewport &&
|
|
33
|
+
typeof viewport.z === "number"
|
|
34
|
+
? viewport.z
|
|
35
|
+
: NaN;
|
|
36
|
+
const height: number =
|
|
37
|
+
typeof viewport === "object" &&
|
|
38
|
+
viewport !== null &&
|
|
39
|
+
"w" in viewport &&
|
|
40
|
+
typeof viewport.w === "number"
|
|
41
|
+
? viewport.w
|
|
42
|
+
: NaN;
|
|
43
|
+
const half: boolean =
|
|
44
|
+
renderer.extensions.has("EXT_color_buffer_half_float") ||
|
|
45
|
+
renderer.extensions.has("EXT_color_buffer_float");
|
|
46
|
+
return {
|
|
47
|
+
owner,
|
|
48
|
+
transmissionScope,
|
|
49
|
+
width: Math.floor(width * renderer.transmissionResolutionScale),
|
|
50
|
+
height: Math.floor(height * renderer.transmissionResolutionScale),
|
|
51
|
+
formats: [half ? "rgba16f" : "rgba8"],
|
|
52
|
+
mipmapped: true,
|
|
53
|
+
samples: Math.max(4, renderer.capabilities.samples),
|
|
54
|
+
depthBytesPerTexel: 4,
|
|
55
|
+
depthTexture: false,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { IAutoMovieViewerCompletedFrame } from "./IAutoMovieViewerCompletedFrame.js";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Admit an original synchronous redraw only from a new completed observation.
|
|
5
|
+
* Explicit completion is preferred. A legacy void callback may instead expose
|
|
6
|
+
* a new completed-frame record; an unchanged prior record cannot attest a draw.
|
|
7
|
+
* An absent record time inherits the requested original-producer time, while a
|
|
8
|
+
* supplied time must agree exactly. The producer must throw on refusal.
|
|
9
|
+
*
|
|
10
|
+
* @evidence contracts/development/implementation.md#principled-implementation Compares the completed revision around the original producer call; explicit completion must report requested seconds. Without explicit completion, only a distinct newly supplied producer record can be published, and its declared clock must match. No previous observation is relabeled as a new draw.
|
|
11
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Extracts mountViewer's actual redraw-admission boundary while leaving rendering, source admission and completion publication with their existing owners.
|
|
12
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Fulfilled void remains supported and thrown refusal propagates unchanged; stale or mismatched records cannot become successful requested frames. Record freshness is producer attestation, not independent pixel or physical-admission proof.
|
|
13
|
+
* @evidence contracts/development/common.md#meaningful-documentation States explicit and legacy completion paths, exact clock agreement, absent-clock inheritance and original-producer refusal responsibility.
|
|
14
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Fixed-count revision/record/clock reads and one original producer invocation use O(1) coordination without traversing scenes or reading pixels.
|
|
15
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Reuses the original completed observation but never reuses an old record to stand in for a new effect; distinct requested redraws invoke the producer separately.
|
|
16
|
+
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Borrows callbacks and frame records only for this synchronous invocation and acquires no task, renderer or resource lease.
|
|
17
|
+
*/
|
|
18
|
+
export function redrawViewerCompletedFrame(
|
|
19
|
+
seconds: number,
|
|
20
|
+
options: {
|
|
21
|
+
/** Actual completed publication count. */
|
|
22
|
+
completedCount: () => number;
|
|
23
|
+
/** Actual last completed scene seconds. */
|
|
24
|
+
completedSeconds: () => number;
|
|
25
|
+
/** Current original-producer observation, absent before any completed draw. */
|
|
26
|
+
readFrame: () =>
|
|
27
|
+
| Omit<IAutoMovieViewerCompletedFrame, "control">
|
|
28
|
+
| undefined;
|
|
29
|
+
/** Original draw; must throw if it refuses the requested state. */
|
|
30
|
+
produce: (seconds: number) => void;
|
|
31
|
+
/** Publish a newly supplied legacy producer observation at these seconds. */
|
|
32
|
+
publish: (
|
|
33
|
+
frame: Omit<IAutoMovieViewerCompletedFrame, "control">,
|
|
34
|
+
seconds: number,
|
|
35
|
+
) => void;
|
|
36
|
+
},
|
|
37
|
+
): void {
|
|
38
|
+
if (!Number.isFinite(seconds) || seconds < 0)
|
|
39
|
+
throw new Error("A redraw requires finite nonnegative seconds.");
|
|
40
|
+
const before: number = options.completedCount();
|
|
41
|
+
const previous: Omit<IAutoMovieViewerCompletedFrame, "control"> | undefined =
|
|
42
|
+
options.readFrame();
|
|
43
|
+
options.produce(seconds);
|
|
44
|
+
if (options.completedCount() === before) {
|
|
45
|
+
const current: Omit<IAutoMovieViewerCompletedFrame, "control"> | undefined =
|
|
46
|
+
options.readFrame();
|
|
47
|
+
if (current === undefined || current === previous)
|
|
48
|
+
throw new Error(
|
|
49
|
+
"The original viewer producer did not complete a new redraw.",
|
|
50
|
+
);
|
|
51
|
+
if (
|
|
52
|
+
current.elapsedSeconds !== undefined &&
|
|
53
|
+
current.elapsedSeconds !== seconds
|
|
54
|
+
)
|
|
55
|
+
throw new Error(
|
|
56
|
+
"The original viewer producer completed a different scene time.",
|
|
57
|
+
);
|
|
58
|
+
options.publish(current, seconds);
|
|
59
|
+
}
|
|
60
|
+
if (
|
|
61
|
+
options.completedCount() === before ||
|
|
62
|
+
options.completedSeconds() !== seconds
|
|
63
|
+
)
|
|
64
|
+
throw new Error(
|
|
65
|
+
"The original viewer producer did not complete the requested scene time.",
|
|
66
|
+
);
|
|
67
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { compiledFormationSlot } from "@automovie/engine";
|
|
2
|
+
import type {
|
|
3
|
+
IAutoMovieCompiledFormation,
|
|
4
|
+
IAutoMovieFormationSlot,
|
|
5
|
+
} from "@automovie/interface";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Regenerate one exact slot from compact runtime parameters.
|
|
9
|
+
*
|
|
10
|
+
* The placement itself is the engine's. A viewer that re-derived the layout arithmetic would be a second answer to the question the builder already answered, and the pixels would be the second one: that is how a dressed unit came to be drawn on the exact lattice its builder had deliberately broken, and it is how a crowd on a rise would come to be drawn flat. What stays here is only what a compiled record spells differently from a design: heroes are promoted slots rather than overrides.
|
|
11
|
+
*
|
|
12
|
+
* @evidence contracts/development/implementation.md#principled-implementation Delegates one compiled formation slot to the Engine compiledFormationSlot law, including promoted-hero semantics rather than rederiving viewer layout arithmetic.
|
|
13
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure A thin representation boundary leaves placement/admission in the Engine and consumes the compiled record directly in formation batch construction.
|
|
14
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No viewer-specific lattice, height or permissive fallback substitutes a refused Engine member; exact rendered appearance remains unobserved here.
|
|
15
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents why compiled hero representation differs from design overrides and why one canonical placement law prevents divergent displayed members.
|
|
16
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Adapter work is fixed beyond the Engine slot law and returned member construction; it does not enumerate the whole formation to produce one slot.
|
|
17
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Each requested slot follows current compiled inputs; no viewer placement memo can disagree with changed Engine parameters.
|
|
18
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The compiled input is borrowed and the returned value has no geometry/texture handle; batch owner later acquires and retires its native projection.
|
|
19
|
+
*/
|
|
20
|
+
export const regenerateFormationSlot: (
|
|
21
|
+
formation: IAutoMovieCompiledFormation,
|
|
22
|
+
slot: number,
|
|
23
|
+
) => IAutoMovieFormationSlot = (
|
|
24
|
+
formation: IAutoMovieCompiledFormation,
|
|
25
|
+
slot: number,
|
|
26
|
+
): IAutoMovieFormationSlot => compiledFormationSlot(formation, slot);
|