@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,101 @@
|
|
|
1
|
+
import { autoMovieModelGaits, gaitMotion } from "@automovie/engine";
|
|
2
|
+
import * as THREE from "three";
|
|
3
|
+
import { AUTOMOVIE_FORMATION_CYCLE_SAMPLES } from "./AUTOMOVIE_FORMATION_CYCLE_SAMPLES.js";
|
|
4
|
+
import { applyPose } from "./applyPose.js";
|
|
5
|
+
import { constructAutoMovieOwnedResources } from "./constructAutoMovieOwnedResources.js";
|
|
6
|
+
import { formationCycleStride } from "./formationCycleStride.js";
|
|
7
|
+
/**
|
|
8
|
+
* Bake one runtime model's whole repertoire into rigid part-matrix tables.
|
|
9
|
+
*
|
|
10
|
+
* `built` must already be at rest with its world matrices current, because the
|
|
11
|
+
* merged instance geometry was baked from exactly those rest matrices: what is
|
|
12
|
+
* stored per sample is `posed * rest⁻¹`, the transform that carries a
|
|
13
|
+
* rest-space vertex to where the cycle puts it. The object is left at the last
|
|
14
|
+
* sampled pose; callers extract geometry before baking, never after.
|
|
15
|
+
*
|
|
16
|
+
* The pose comes from {@link gaitMotion}, whose keyframe `i` of `samples` sits
|
|
17
|
+
* exactly at cycle position `i / samples`, and is applied through the same
|
|
18
|
+
* {@link applyPose} used by named performers. This bake passes default
|
|
19
|
+
* joint axes and no clinical rest frames; a caller using different explicit
|
|
20
|
+
* axes/rest frames may therefore obtain a different attitude at the same phase.
|
|
21
|
+
*
|
|
22
|
+
* The table is a sampled Float32 affine approximation, not an exact continuous
|
|
23
|
+
* rigid rotation or a proof of no-slip foot contact. Its stride uses the
|
|
24
|
+
* existing lowest-part trajectory heuristic. Returned take textures transfer
|
|
25
|
+
* to the representation owner; a later take's refusal retires earlier textures.
|
|
26
|
+
*
|
|
27
|
+
* @evidence contracts/development/implementation.md#principled-implementation Samples canonical gaitMotion/applyPose and stores posedWorld*inverseRestWorld affine rows per rigid part; admitted invertible rest matrices, ordered parts and positive integral sample count are premises. Float32 matrix interpolation and lowest-part stride estimation remain approximate, and the caller's object stays at the last attempted pose even on refusal.
|
|
28
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Owns one figure repertoire bake after rigid rest geometry extraction; each take carries timing/stride/table/texture together and the returned uniform cells bind the same fallback/active take consumed by cadence/shader helpers.
|
|
29
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Uses actual gait declarations/rig parts and native nearest texture sampling, avoiding extension-dependent float linear filtering; sole box-bottom trajectory and fixed sample count are explicit bake heuristics, not asset-name exceptions or patched solvers.
|
|
30
|
+
* @evidence contracts/development/common.md#meaningful-documentation States rest-before-bake ordering, mutable final-pose effect, affine table meaning, sampled precision/contact limitations and take texture transfer/failure rollback.
|
|
31
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms For G gaits, S samples, P parts and B bones, baking costs gait synthesis/FK plus S world-graph updates and P matrix/trajectory writes per gait; matrix bytes are 48*G*S*P, with temporary Vector3 tracks proportional to S*P per take and no anonymous-member dimension.
|
|
32
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Computes inverse rest matrices/box-bottom anchors once and reuses one working Matrix4 across samples; all formation members borrow the baked tables later, while mutable rig/model inputs have no immutable revision key for cross-build memoization.
|
|
33
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Immediately registers each DataTexture during repertoire construction and independently retires all prior takes on later refusal; success transfers finite G table textures/arrays to the representation owner. Borrowed rig/part resources are not disposed or pose-restored by the bake, and returned arrays remain until their representation is released.
|
|
34
|
+
*/
|
|
35
|
+
export const bakeFormationCycle = (input) => {
|
|
36
|
+
const skeleton = input.model.skeleton;
|
|
37
|
+
const gaits = autoMovieModelGaits(input.model);
|
|
38
|
+
if (skeleton === null || gaits.length === 0)
|
|
39
|
+
return null;
|
|
40
|
+
const samples = input.samples ?? AUTOMOVIE_FORMATION_CYCLE_SAMPLES;
|
|
41
|
+
const rest = input.parts.map((part) => part.matrixWorld.clone().invert());
|
|
42
|
+
// The point of a part that can meet the ground: the bottom of its own box,
|
|
43
|
+
// in its own space, so the bake follows the surface a foot stands on rather
|
|
44
|
+
// than the pivot it swings about.
|
|
45
|
+
const soles = input.parts.map((part) => {
|
|
46
|
+
part.geometry.computeBoundingBox();
|
|
47
|
+
const box = part.geometry.boundingBox;
|
|
48
|
+
return new THREE.Vector3((box.min.x + box.max.x) / 2, box.min.y, (box.min.z + box.max.z) / 2);
|
|
49
|
+
});
|
|
50
|
+
const takes = constructAutoMovieOwnedResources((own) => gaits.map((gait) => {
|
|
51
|
+
const clip = gaitMotion(`${input.model.id}:${gait.name}`, skeleton.id, gait, samples);
|
|
52
|
+
const matrices = new Float32Array(input.parts.length * 3 * samples * 4);
|
|
53
|
+
const tracks = input.parts.map(() => []);
|
|
54
|
+
const posed = new THREE.Matrix4();
|
|
55
|
+
for (let sample = 0; sample < samples; ++sample) {
|
|
56
|
+
applyPose(input.built, clip.keyframes[sample].pose, skeleton);
|
|
57
|
+
input.built.object.updateMatrixWorld(true);
|
|
58
|
+
input.parts.forEach((part, index) => {
|
|
59
|
+
const elements = posed.multiplyMatrices(part.matrixWorld, rest[index]).elements;
|
|
60
|
+
for (let row = 0; row < 3; ++row)
|
|
61
|
+
for (let column = 0; column < 4; ++column)
|
|
62
|
+
matrices[((index * 3 + row) * samples + sample) * 4 + column] = elements[column * 4 + row];
|
|
63
|
+
tracks[index].push(soles[index].clone().applyMatrix4(part.matrixWorld));
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
const texture = own(new THREE.DataTexture(matrices, samples, input.parts.length * 3, THREE.RGBAFormat, THREE.FloatType));
|
|
67
|
+
// Nearest sampling on purpose: linear filtering of 32-bit float textures is
|
|
68
|
+
// an optional extension, and the two-step blend the shader performs itself
|
|
69
|
+
// is the same arithmetic with none of the capability risk.
|
|
70
|
+
texture.minFilter = THREE.NearestFilter;
|
|
71
|
+
texture.magFilter = THREE.NearestFilter;
|
|
72
|
+
texture.wrapS = THREE.ClampToEdgeWrapping;
|
|
73
|
+
texture.wrapT = THREE.ClampToEdgeWrapping;
|
|
74
|
+
texture.generateMipmaps = false;
|
|
75
|
+
texture.colorSpace = THREE.NoColorSpace;
|
|
76
|
+
texture.needsUpdate = true;
|
|
77
|
+
return {
|
|
78
|
+
gait: gait.name,
|
|
79
|
+
strideMeters: formationCycleStride(tracks),
|
|
80
|
+
periodSeconds: gait.period,
|
|
81
|
+
matrices,
|
|
82
|
+
texture,
|
|
83
|
+
};
|
|
84
|
+
}));
|
|
85
|
+
const fallback = takes[0];
|
|
86
|
+
return {
|
|
87
|
+
samples,
|
|
88
|
+
names: input.parts.map((part) => part.name),
|
|
89
|
+
takes: new Map(takes.map((take) => [take.gait, take])),
|
|
90
|
+
fallback,
|
|
91
|
+
active: fallback,
|
|
92
|
+
uniforms: {
|
|
93
|
+
automovieCycleTexture: { value: fallback.texture },
|
|
94
|
+
automovieCycleSamples: { value: samples },
|
|
95
|
+
automovieCycleRows: { value: input.parts.length * 3 },
|
|
96
|
+
automovieCycleAdvance: { value: 0 },
|
|
97
|
+
automovieCycleTurn: { value: 0 },
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
//# sourceMappingURL=bakeFormationCycle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bakeFormationCycle.js","sourceRoot":"","sources":["../src/bakeFormationCycle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAMpE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAI3F,OAAO,EAAE,SA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E,KAAK,CAAC,KAAK,CAAC,GAAG,CACpB,CACE,IAQC,EACO,EAAE,CAAC,IAAI,CAAC,IAAI,CACvB;QACD,KAAK,EAAE,IAAI,GAAG,CACZ,KAAK,CAAC,GAAG,CACP,CACE,IAAkC,EACe,EAAE,CACnD,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAU,CAC7B,CACF;QACD,QAAQ;QACR,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE;YACR,qBAAqB,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,OAAO,EAAE;YAClD,qBAAqB,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE;YACzC,kBAAkB,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;YACrD,qBAAqB,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;YACnC,kBAAkB,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;SACjC;KACF,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type * as THREE from "three";
|
|
2
|
+
import type { IFormationTierRepresentation } from "./IFormationTierRepresentation.js";
|
|
3
|
+
/**
|
|
4
|
+
* Bind one resident tier's cycle to its mesh and supported shadow projections.
|
|
5
|
+
* Structural overrides discover the same cycle through mesh metadata; shadow
|
|
6
|
+
* dispatch consumes the tier-owned pair. Static tiers keep Three's defaults.
|
|
7
|
+
* Original palette identities remain authoritative during temporary guide
|
|
8
|
+
* overrides, so no pass creates new shadow-program identities for this mesh.
|
|
9
|
+
*
|
|
10
|
+
* @evidence contracts/development/implementation.md#principled-implementation Attaches the tier's exact cycle metadata and custom depth/distance pair, then selects original palette identity using the actual geometry draw-group material index before native shadow draw; admitted group indices must match the tier palette and the pinned Three runtime's geometry-group callback differs from its declared scene-Group type.
|
|
11
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure One mesh binding exposes shared cycle identity to structural overrides and shadow resources to native dispatch, keeping palette-specific program policy with the tier shadow-material owner.
|
|
12
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Uses original palette identity rather than temporary guide material identity; the callback cast describes the pinned native runtime boundary, not a fixture group fallback, and no Three prototype method is replaced.
|
|
13
|
+
* @evidence contracts/development/common.md#meaningful-documentation States static omission, visible/structural/shadow identity sharing and original-palette authority; the inline cast comment records the native/declaration geometry-group mismatch.
|
|
14
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Installs fixed-count references/callback once per mesh; each shadow draw resolves one palette slot and performs the shadow owner's constant identity lookup, without per-member traversal.
|
|
15
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Meshes of one tier borrow the same cycle/shadow pair and palette identity table; temporary guide overrides do not create duplicate shadow program identities.
|
|
16
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Mesh callback/metadata retain borrowed tier resources through mesh lifetime; tier construction/runtime disposal owns physical materials/textures, and this binder allocates no separate GPU handle or task.
|
|
17
|
+
*/
|
|
18
|
+
export declare const bindFormationTierCycle: (mesh: THREE.InstancedMesh, representation: IFormationTierRepresentation) => void;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bind one resident tier's cycle to its mesh and supported shadow projections.
|
|
3
|
+
* Structural overrides discover the same cycle through mesh metadata; shadow
|
|
4
|
+
* dispatch consumes the tier-owned pair. Static tiers keep Three's defaults.
|
|
5
|
+
* Original palette identities remain authoritative during temporary guide
|
|
6
|
+
* overrides, so no pass creates new shadow-program identities for this mesh.
|
|
7
|
+
*
|
|
8
|
+
* @evidence contracts/development/implementation.md#principled-implementation Attaches the tier's exact cycle metadata and custom depth/distance pair, then selects original palette identity using the actual geometry draw-group material index before native shadow draw; admitted group indices must match the tier palette and the pinned Three runtime's geometry-group callback differs from its declared scene-Group type.
|
|
9
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure One mesh binding exposes shared cycle identity to structural overrides and shadow resources to native dispatch, keeping palette-specific program policy with the tier shadow-material owner.
|
|
10
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Uses original palette identity rather than temporary guide material identity; the callback cast describes the pinned native runtime boundary, not a fixture group fallback, and no Three prototype method is replaced.
|
|
11
|
+
* @evidence contracts/development/common.md#meaningful-documentation States static omission, visible/structural/shadow identity sharing and original-palette authority; the inline cast comment records the native/declaration geometry-group mismatch.
|
|
12
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Installs fixed-count references/callback once per mesh; each shadow draw resolves one palette slot and performs the shadow owner's constant identity lookup, without per-member traversal.
|
|
13
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Meshes of one tier borrow the same cycle/shadow pair and palette identity table; temporary guide overrides do not create duplicate shadow program identities.
|
|
14
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Mesh callback/metadata retain borrowed tier resources through mesh lifetime; tier construction/runtime disposal owns physical materials/textures, and this binder allocates no separate GPU handle or task.
|
|
15
|
+
*/
|
|
16
|
+
export const bindFormationTierCycle = (mesh, representation) => {
|
|
17
|
+
if (representation.cycle !== null)
|
|
18
|
+
mesh.userData.automovieFormationCycle = representation.cycle;
|
|
19
|
+
const shadows = representation.shadows;
|
|
20
|
+
if (shadows === null)
|
|
21
|
+
return;
|
|
22
|
+
mesh.customDepthMaterial = shadows.depth;
|
|
23
|
+
mesh.customDistanceMaterial = shadows.distance;
|
|
24
|
+
mesh.onBeforeShadow = (_renderer, _object, _camera, _shadowCamera, _geometry, material, group) => {
|
|
25
|
+
// Three r186 dispatches a geometry group. The installed Object3D
|
|
26
|
+
// declaration currently names the scene-graph Group at this boundary.
|
|
27
|
+
const drawGroup = group;
|
|
28
|
+
const palette = representation.materials[drawGroup?.materialIndex ?? 0];
|
|
29
|
+
shadows.beforeDraw(material, palette);
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=bindFormationTierCycle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bindFormationTierCycle.js","sourceRoot":"","sources":["../src/bindFormationTierCycle.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAGvB,CACV,IAAyB,EACzB,cAA4C,EACtC,EAAE;IACR,IAAI,cAAc,CAAC,KAAK,KAAK,IAAI;QAC/B,IAAI,CAAC,QAAQ,CAAC,uBAAuB,GAAG,cAAc,CAAC,KAAK,CAAC;IAC/D,MAAM,OAAO,GAQF,cAAc,CAAC,OAAO,CAAC;IAClC,IAAI,OAAO,KAAK,IAAI;QAAE,OAAO;IAC7B,IAAI,CAAC,mBAAmB,GAAG,OAAO,CAAC,KAAK,CAAC;IACzC,IAAI,CAAC,sBAAsB,GAAG,OAAO,CAAC,QAAQ,CAAC;IAC/C,IAAI,CAAC,cAAc,GAAG,CACpB,SAA8B,EAC9B,OAA4C,EAC5C,OAAqB,EACrB,aAA2B,EAC3B,SAGC,EACD,QAAgD,EAChD,KAA0C,EACpC,EAAE;QACR,iEAAiE;QACjE,sEAAsE;QACtE,MAAM,SAAS,GAA+B,KAEtC,CAAC;QACT,MAAM,OAAO,GACX,cAAc,CAAC,SAAS,CAAC,SAAS,EAAE,aAAa,IAAI,CAAC,CAAE,CAAC;QAC3D,OAAO,CAAC,UAAU,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IACxC,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { IAutoMovieAnalysisRun } from "@automovie/interface";
|
|
2
|
+
import * as THREE from "three";
|
|
3
|
+
import type { IAutoMovieAnalysisOverlayObject } from "./IAutoMovieAnalysisOverlayObject.js";
|
|
4
|
+
/**
|
|
5
|
+
* Draw one analysis result as a field of coloured points.
|
|
6
|
+
*
|
|
7
|
+
* The overlay consumes the artifact's selected metric samples rather than
|
|
8
|
+
* recomputing the measurement. That is also why it
|
|
9
|
+
* refuses more than it draws: an `unsupported` or `not-run` run, a metric key
|
|
10
|
+
* the run never carried, a metric that produced no value, and a metric with no
|
|
11
|
+
* spatial field each throw with the run's own reason attached. A picture is the
|
|
12
|
+
* most persuasive artifact a review sees, and a heatmap of an analysis nobody
|
|
13
|
+
* ran would be the most effective way to launder a missing result.
|
|
14
|
+
*
|
|
15
|
+
* The ramp is normalized over the drawn samples unless the caller pins a
|
|
16
|
+
* domain, which is what lets two instants of the same study be compared against
|
|
17
|
+
* one scale instead of each being stretched to its own. A field whose values
|
|
18
|
+
* are all equal is drawn at the middle of the ramp rather than dividing by a
|
|
19
|
+
* zero span.
|
|
20
|
+
*
|
|
21
|
+
* @evidence contracts/development/implementation.md#principled-implementation Requires a solved run, present nongapped metric and its spatial samples, then maps metric values linearly into a clamped blue/green/red ramp and Float32 point attributes; engine artifacts supply finite sample coordinates/values and meaningful units. Flat domains map to the middle; extreme finite domain subtraction and spread-argument limits remain unsupported numeric/population cases.
|
|
22
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Builds one Points object directly from the analysis artifact and attaches run/metric/unit/domain identity; the portable artifact owns measurement, while this declaration owns visualization and distinguishes borrowed from created point material.
|
|
23
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Refuses missing analysis/metric/field instead of manufacturing a successful image; ramp midpoint for a zero span is an explicit scale convention, and no fixture ids or foreign method replacement affect admission or color.
|
|
24
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents solved-field admission, sample/pinned domain scaling, point size metres, flat-field convention and the borrowed-material option; disposal API states exactly which resources this object owns.
|
|
25
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Finds one metric and filters S run samples, then performs linear range/attribute construction for N selected samples; retains two 3N Float32 attributes and N sample references. The intermediate value list and variadic min/max impose an argument-count limitation for very large fields.
|
|
26
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Reuses the artifact's completed measurement without rerunning its solver; each overlay has independent mutable geometry/material lifetime, and pinned versus automatic domains change colors so no artifact-id-only visualization cache is valid.
|
|
27
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Owns one geometry and only its default material, released by returned dispose; borrowed material remains caller-owned and the selected sample array stays reachable through count. Disposal is not memoized and a geometry-dispose failure skips default-material release; partial-construction rollback is not guaranteed.
|
|
28
|
+
*/
|
|
29
|
+
export declare const buildAnalysisOverlayObject: (props: {
|
|
30
|
+
run: IAutoMovieAnalysisRun;
|
|
31
|
+
metric: string;
|
|
32
|
+
size?: number;
|
|
33
|
+
domain?: {
|
|
34
|
+
min: number;
|
|
35
|
+
max: number;
|
|
36
|
+
};
|
|
37
|
+
material?: THREE.PointsMaterial;
|
|
38
|
+
}) => IAutoMovieAnalysisOverlayObject;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import * as THREE from "three";
|
|
2
|
+
import { autoMovieAnalysisRampColor } from "./autoMovieAnalysisRampColor.js";
|
|
3
|
+
/**
|
|
4
|
+
* Draw one analysis result as a field of coloured points.
|
|
5
|
+
*
|
|
6
|
+
* The overlay consumes the artifact's selected metric samples rather than
|
|
7
|
+
* recomputing the measurement. That is also why it
|
|
8
|
+
* refuses more than it draws: an `unsupported` or `not-run` run, a metric key
|
|
9
|
+
* the run never carried, a metric that produced no value, and a metric with no
|
|
10
|
+
* spatial field each throw with the run's own reason attached. A picture is the
|
|
11
|
+
* most persuasive artifact a review sees, and a heatmap of an analysis nobody
|
|
12
|
+
* ran would be the most effective way to launder a missing result.
|
|
13
|
+
*
|
|
14
|
+
* The ramp is normalized over the drawn samples unless the caller pins a
|
|
15
|
+
* domain, which is what lets two instants of the same study be compared against
|
|
16
|
+
* one scale instead of each being stretched to its own. A field whose values
|
|
17
|
+
* are all equal is drawn at the middle of the ramp rather than dividing by a
|
|
18
|
+
* zero span.
|
|
19
|
+
*
|
|
20
|
+
* @evidence contracts/development/implementation.md#principled-implementation Requires a solved run, present nongapped metric and its spatial samples, then maps metric values linearly into a clamped blue/green/red ramp and Float32 point attributes; engine artifacts supply finite sample coordinates/values and meaningful units. Flat domains map to the middle; extreme finite domain subtraction and spread-argument limits remain unsupported numeric/population cases.
|
|
21
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure Builds one Points object directly from the analysis artifact and attaches run/metric/unit/domain identity; the portable artifact owns measurement, while this declaration owns visualization and distinguishes borrowed from created point material.
|
|
22
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Refuses missing analysis/metric/field instead of manufacturing a successful image; ramp midpoint for a zero span is an explicit scale convention, and no fixture ids or foreign method replacement affect admission or color.
|
|
23
|
+
* @evidence contracts/development/common.md#meaningful-documentation Documents solved-field admission, sample/pinned domain scaling, point size metres, flat-field convention and the borrowed-material option; disposal API states exactly which resources this object owns.
|
|
24
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Finds one metric and filters S run samples, then performs linear range/attribute construction for N selected samples; retains two 3N Float32 attributes and N sample references. The intermediate value list and variadic min/max impose an argument-count limitation for very large fields.
|
|
25
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Reuses the artifact's completed measurement without rerunning its solver; each overlay has independent mutable geometry/material lifetime, and pinned versus automatic domains change colors so no artifact-id-only visualization cache is valid.
|
|
26
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Owns one geometry and only its default material, released by returned dispose; borrowed material remains caller-owned and the selected sample array stays reachable through count. Disposal is not memoized and a geometry-dispose failure skips default-material release; partial-construction rollback is not guaranteed.
|
|
27
|
+
*/
|
|
28
|
+
export const buildAnalysisOverlayObject = (props) => {
|
|
29
|
+
const run = props.run;
|
|
30
|
+
if (run.outcome.status !== "solved")
|
|
31
|
+
throw new Error(`analysis run "${run.id}" is "${run.outcome.status}", so it has no field to draw: ${run.outcome.reason}`);
|
|
32
|
+
const metric = run.outcome.metrics.find((entry) => entry.key === props.metric);
|
|
33
|
+
if (metric === undefined)
|
|
34
|
+
throw new Error(`analysis run "${run.id}" carries no metric "${props.metric}" to draw`);
|
|
35
|
+
if (metric.value === null)
|
|
36
|
+
throw new Error(`analysis run "${run.id}" produced no value for "${props.metric}", so it has no field to draw: ${metric.gap.reason}`);
|
|
37
|
+
const samples = run.outcome.samples.filter((sample) => sample.key === props.metric);
|
|
38
|
+
if (samples.length === 0)
|
|
39
|
+
throw new Error(`analysis run "${run.id}" measured "${props.metric}" but recorded no spatial samples of it, so there is no field to draw`);
|
|
40
|
+
const size = props.size ?? 0.1;
|
|
41
|
+
if (!Number.isFinite(size) || size <= 0)
|
|
42
|
+
throw new Error(`an analysis overlay point size must be a finite number above zero, but was ${size}`);
|
|
43
|
+
const values = samples.map((sample) => sample.value);
|
|
44
|
+
const min = props.domain?.min ?? Math.min(...values);
|
|
45
|
+
const max = props.domain?.max ?? Math.max(...values);
|
|
46
|
+
if (!Number.isFinite(min) || !Number.isFinite(max) || max < min)
|
|
47
|
+
throw new Error(`an analysis overlay ramp domain must be a finite range with max at or above min, but was [${min}, ${max}]`);
|
|
48
|
+
const span = max - min;
|
|
49
|
+
const positions = new Float32Array(samples.length * 3);
|
|
50
|
+
const colors = new Float32Array(samples.length * 3);
|
|
51
|
+
samples.forEach((sample, index) => {
|
|
52
|
+
positions[index * 3] = sample.position.x;
|
|
53
|
+
positions[index * 3 + 1] = sample.position.y;
|
|
54
|
+
positions[index * 3 + 2] = sample.position.z;
|
|
55
|
+
// A flat field has no spread to normalize, so it is drawn at the middle of
|
|
56
|
+
// the ramp: the alternative is a division by zero that paints every sample
|
|
57
|
+
// the same accidental colour.
|
|
58
|
+
const color = autoMovieAnalysisRampColor(span === 0 ? 0.5 : (sample.value - min) / span);
|
|
59
|
+
colors[index * 3] = color.r;
|
|
60
|
+
colors[index * 3 + 1] = color.g;
|
|
61
|
+
colors[index * 3 + 2] = color.b;
|
|
62
|
+
});
|
|
63
|
+
const geometry = new THREE.BufferGeometry();
|
|
64
|
+
geometry.setAttribute("position", new THREE.BufferAttribute(positions, 3));
|
|
65
|
+
geometry.setAttribute("color", new THREE.BufferAttribute(colors, 3));
|
|
66
|
+
geometry.computeBoundingSphere();
|
|
67
|
+
const owned = props.material === undefined;
|
|
68
|
+
const material = props.material ??
|
|
69
|
+
new THREE.PointsMaterial({
|
|
70
|
+
size,
|
|
71
|
+
vertexColors: true,
|
|
72
|
+
sizeAttenuation: true,
|
|
73
|
+
});
|
|
74
|
+
const object = new THREE.Points(geometry, material);
|
|
75
|
+
object.name = `analysis:${run.id}:${props.metric}`;
|
|
76
|
+
object.userData.autoMovieAnalysis = {
|
|
77
|
+
run: run.id,
|
|
78
|
+
domain: run.domain,
|
|
79
|
+
metric: metric.key,
|
|
80
|
+
unit: metric.unit,
|
|
81
|
+
status: metric.status,
|
|
82
|
+
min,
|
|
83
|
+
max,
|
|
84
|
+
digest: run.digest,
|
|
85
|
+
};
|
|
86
|
+
return {
|
|
87
|
+
object,
|
|
88
|
+
dispose: () => {
|
|
89
|
+
geometry.dispose();
|
|
90
|
+
if (owned)
|
|
91
|
+
material.dispose();
|
|
92
|
+
},
|
|
93
|
+
count: () => samples.length,
|
|
94
|
+
range: () => ({ min, max }),
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
//# sourceMappingURL=buildAnalysisOverlayObject.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildAnalysisOverlayObject.js","sourceRoot":"","sources":["../src/buildAnalysisOverlayObject.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAE7E;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAMC,CAAC,KAexC,EAAmC,EAAE;IACpC,MAAM,GAAG,GAA0B,KAAK,CAAC,GAAG,CAAC;IAC7C,IAAI,GAAG,CAAC,OAAO,CAAC,MAAM,KAAK,QAAQ;QACjC,MAAM,IAAI,KAAK,CACb,iBAAiB,GAAG,CAAC,EAAE,SAAS,GAAG,CAAC,OAAO,CAAC,MAAM,kCAAkC,GAAG,CAAC,OAAO,CAA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K;gBAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,EAAE,GAAW,EAAE,CAAC,OAAO,CAAC,MAAM;QACnC,KAAK,EAAE,GAAiC,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;KAC1D,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as THREE from "three";
|
|
2
|
+
/**
|
|
3
|
+
* Display caller-supplied generating polylines in model metres without refitting.
|
|
4
|
+
* Closed lines omit the repeated endpoint. The builder owns one material and one
|
|
5
|
+
* geometry per line, registers allocations before attachment and transfers an
|
|
6
|
+
* idempotent asynchronous disposer. Public disposal attempts every owned resource;
|
|
7
|
+
* it does not certify physical GPU-driver retirement. The caller owns mounting.
|
|
8
|
+
*
|
|
9
|
+
* @evidence contracts/development/implementation.md#principled-implementation Validated finite float32-representable generating samples become native Line/LineLoop objects; line closure and identity are explicit and geometry is never inferred from a displayed mesh.
|
|
10
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure This generic viewer producer owns rendering and resource lifetime for construction while recovery and other generators remain the authorities for the lines' numerical meaning.
|
|
11
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No curve refit, source overlay, coordinate weld, native method replacement or construction inferred from visible triangles enters display; invalid points and point budgets refuse before native allocation.
|
|
12
|
+
* @evidence contracts/development/common.md#meaningful-documentation States metre units, closed-line endpoint convention, float32 display admission, caller mounting, first-allocation rollback, owned resources and disposal limits.
|
|
13
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Validation and position conversion cost O(P) for P supplied points, bounded by maxPoints, with one geometry per line and one material shared by the call's lines.
|
|
14
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work All same-colour lines in this returned construction share one owned material; geometry is created once and no cross-request cache retains caller records.
|
|
15
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Construction rollback immediately owns every native allocation; successful output transfers geometries/material and one shared retirement promise to the caller, with no renderer, RAF, listener or global registry acquired.
|
|
16
|
+
*/
|
|
17
|
+
export declare function buildAutoMovieConstruction(lines: readonly {
|
|
18
|
+
id: string;
|
|
19
|
+
closed: boolean;
|
|
20
|
+
points: readonly [number, number, number][];
|
|
21
|
+
}[], options: {
|
|
22
|
+
color: number;
|
|
23
|
+
maxPoints: number;
|
|
24
|
+
}): {
|
|
25
|
+
object: THREE.Group;
|
|
26
|
+
dispose: () => Promise<void>;
|
|
27
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as THREE from "three";
|
|
2
|
+
import { constructAutoMovieOwnedResources } from "./constructAutoMovieOwnedResources.js";
|
|
3
|
+
import { createAutoMovieResourceRetirement } from "./createAutoMovieResourceRetirement.js";
|
|
4
|
+
/**
|
|
5
|
+
* Display caller-supplied generating polylines in model metres without refitting.
|
|
6
|
+
* Closed lines omit the repeated endpoint. The builder owns one material and one
|
|
7
|
+
* geometry per line, registers allocations before attachment and transfers an
|
|
8
|
+
* idempotent asynchronous disposer. Public disposal attempts every owned resource;
|
|
9
|
+
* it does not certify physical GPU-driver retirement. The caller owns mounting.
|
|
10
|
+
*
|
|
11
|
+
* @evidence contracts/development/implementation.md#principled-implementation Validated finite float32-representable generating samples become native Line/LineLoop objects; line closure and identity are explicit and geometry is never inferred from a displayed mesh.
|
|
12
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure This generic viewer producer owns rendering and resource lifetime for construction while recovery and other generators remain the authorities for the lines' numerical meaning.
|
|
13
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No curve refit, source overlay, coordinate weld, native method replacement or construction inferred from visible triangles enters display; invalid points and point budgets refuse before native allocation.
|
|
14
|
+
* @evidence contracts/development/common.md#meaningful-documentation States metre units, closed-line endpoint convention, float32 display admission, caller mounting, first-allocation rollback, owned resources and disposal limits.
|
|
15
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Validation and position conversion cost O(P) for P supplied points, bounded by maxPoints, with one geometry per line and one material shared by the call's lines.
|
|
16
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work All same-colour lines in this returned construction share one owned material; geometry is created once and no cross-request cache retains caller records.
|
|
17
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Construction rollback immediately owns every native allocation; successful output transfers geometries/material and one shared retirement promise to the caller, with no renderer, RAF, listener or global registry acquired.
|
|
18
|
+
*/
|
|
19
|
+
export function buildAutoMovieConstruction(lines, options) {
|
|
20
|
+
if (!Array.isArray(lines) ||
|
|
21
|
+
!options ||
|
|
22
|
+
!Number.isInteger(options.color) ||
|
|
23
|
+
options.color < 0 ||
|
|
24
|
+
options.color > 0xffffff ||
|
|
25
|
+
!Number.isSafeInteger(options.maxPoints) ||
|
|
26
|
+
options.maxPoints < 1)
|
|
27
|
+
throw new Error("Construction needs an explicit colour and positive point budget");
|
|
28
|
+
const names = new Set();
|
|
29
|
+
let count = 0;
|
|
30
|
+
for (let index = 0; index < lines.length; index++) {
|
|
31
|
+
const line = lines[index];
|
|
32
|
+
if (!line ||
|
|
33
|
+
typeof line.id !== "string" ||
|
|
34
|
+
!line.id ||
|
|
35
|
+
names.has(line.id) ||
|
|
36
|
+
typeof line.closed !== "boolean" ||
|
|
37
|
+
!Array.isArray(line.points) ||
|
|
38
|
+
line.points.length < (line.closed ? 3 : 2))
|
|
39
|
+
throw new Error("Construction lines need unique identities and enough ordered points");
|
|
40
|
+
names.add(line.id);
|
|
41
|
+
count += line.points.length;
|
|
42
|
+
if (!Number.isSafeInteger(count) || count > options.maxPoints)
|
|
43
|
+
throw new Error("Construction point population exceeds maxPoints");
|
|
44
|
+
for (let point = 0; point < line.points.length; point++) {
|
|
45
|
+
const position = line.points[point];
|
|
46
|
+
if (!Array.isArray(position) || position.length !== 3)
|
|
47
|
+
throw new Error("Construction points need three metre coordinates");
|
|
48
|
+
for (let axis = 0; axis < 3; axis++)
|
|
49
|
+
if (!Number.isFinite(position[axis]) ||
|
|
50
|
+
!Number.isFinite(Math.fround(position[axis])))
|
|
51
|
+
throw new Error("Construction coordinates must be finite and float32-representable");
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return constructAutoMovieOwnedResources((own) => {
|
|
55
|
+
const object = new THREE.Group();
|
|
56
|
+
const material = own(new THREE.LineBasicMaterial({ color: options.color }));
|
|
57
|
+
const resources = [material];
|
|
58
|
+
for (const line of lines) {
|
|
59
|
+
const geometry = own(new THREE.BufferGeometry());
|
|
60
|
+
resources.push(geometry);
|
|
61
|
+
geometry.setAttribute("position", new THREE.Float32BufferAttribute(line.points.flat(), 3));
|
|
62
|
+
const drawable = line.closed
|
|
63
|
+
? new THREE.LineLoop(geometry, material)
|
|
64
|
+
: new THREE.Line(geometry, material);
|
|
65
|
+
drawable.name = line.id;
|
|
66
|
+
object.add(drawable);
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
object,
|
|
70
|
+
dispose: createAutoMovieResourceRetirement(resources.map((resource) => () => resource.dispose())),
|
|
71
|
+
};
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=buildAutoMovieConstruction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildAutoMovieConstruction.js","sourceRoot":"","sources":["../src/buildAutoMovieConstruction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAE3F;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,0BAA0B,CACxC,KAIG,EACH,OAA6C;IAE7C,IACE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QACrB,CAAC,OAAO;QACR,CAAC,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC;QAChC,OAAO,CAAC,KAAK,GAAG,CAAC;QACjB,OAAO,CAAC,KAA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CAAC;gBACxC,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;YACvC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC,EAAE,CAAC;YACxB,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QACvB,CAAC;QACD,OAAO;YACL,MAAM;YACN,OAAO,EAAE,iCAAiC,CACxC,SAAS,CAAC,GAAG,CACX,CAAC,QAA6B,EAAgB,EAAE,CAC9C,GAAS,EAAE,CACT,QAAQ,CAAC,OAAO,EAAE,CACvB,CACF;SACF,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { IAutoMovieMaterialLibrary } from "./IAutoMovieMaterialLibrary.js";
|
|
2
|
+
import type { IBuildAutoMovieMaterialLibraryProps } from "./IBuildAutoMovieMaterialLibraryProps.js";
|
|
3
|
+
/**
|
|
4
|
+
* Build the exact model material identities requested by simulated surfaces.
|
|
5
|
+
*
|
|
6
|
+
* Model parts cite materials inside one model, but water, soft furnishing, and
|
|
7
|
+
* planting records cite only a material id. Such a citation therefore resolves
|
|
8
|
+
* across the compiled model population and must have exactly one definition.
|
|
9
|
+
* Repeated declarations are one definition only when their complete records are
|
|
10
|
+
* structurally equal. Missing and conflicting declarations are refused before
|
|
11
|
+
* any material is built, so model order can never decide a visible result.
|
|
12
|
+
*
|
|
13
|
+
* Each admitted id is built once and shared by every borrowing surface. Texture
|
|
14
|
+
* assets are primed through the shot cache before synchronous material
|
|
15
|
+
* construction, together with the images carried by the models that declare
|
|
16
|
+
* the requested materials; that cache owns binding-private texture clones and decoded
|
|
17
|
+
* sources, while the returned library owns only the `THREE.Material` objects.
|
|
18
|
+
* Construction refusal retires already-built materials independently. Disposal
|
|
19
|
+
* attempts every material once, retains failed ownership and preserves the same
|
|
20
|
+
* failure for repeated callers.
|
|
21
|
+
*
|
|
22
|
+
* @evidence contracts/development/implementation.md#principled-implementation Engine material resolution admits complete cross-model definitions before any material allocation; primed cache bindings feed synchronous construction, with immediate material ownership and failure-preserving independent retirement.
|
|
23
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure One shot library coordinates requested identities while engine owns definition equivalence, buildMaterial owns material setup and the cache owns decoded sources and binding wrappers.
|
|
24
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Null selects a real renderer default, while blank, absent, conflicting and unrequested ids refuse; construction or disposal failure never becomes an untextured substitute or successful empty-table claim.
|
|
25
|
+
* @evidence contracts/development/common.md#meaningful-documentation Explains cross-model identity admission, borrowed shared materials, separate texture ownership, construction rollback and repeated-disposal failure identity.
|
|
26
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Deduplicates requested ids before engine resolution and builds each admitted material once; definition admission searches model/material declarations per requested id, texture prime deduplicates assets, and retirement visits each built material once.
|
|
27
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work One material object per requested id is lent to all surfaces in the shot; the supplied cache shares decoded assets, and completed disposal or its stored failure is reused without native retries.
|
|
28
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned owner retains its material Map until dispose; successful releases remove entries while failed entries and their original completion remain retained. Construction rollback attempts every earlier built material, and texture lifetimes stay with the external shot cache.
|
|
29
|
+
*/
|
|
30
|
+
export declare const buildAutoMovieMaterialLibrary: (props: IBuildAutoMovieMaterialLibraryProps) => Promise<IAutoMovieMaterialLibrary>;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { resolveAutoMovieMaterial } from "@automovie/engine";
|
|
2
|
+
import { buildMaterial } from "./buildMaterial.js";
|
|
3
|
+
import { constructAutoMovieOwnedResources } from "./constructAutoMovieOwnedResources.js";
|
|
4
|
+
import { materialTextureBindings } from "./materialTextureBindings.js";
|
|
5
|
+
import { reportAutoMovieResourceRetirement } from "./reportAutoMovieResourceRetirement.js";
|
|
6
|
+
/**
|
|
7
|
+
* Build the exact model material identities requested by simulated surfaces.
|
|
8
|
+
*
|
|
9
|
+
* Model parts cite materials inside one model, but water, soft furnishing, and
|
|
10
|
+
* planting records cite only a material id. Such a citation therefore resolves
|
|
11
|
+
* across the compiled model population and must have exactly one definition.
|
|
12
|
+
* Repeated declarations are one definition only when their complete records are
|
|
13
|
+
* structurally equal. Missing and conflicting declarations are refused before
|
|
14
|
+
* any material is built, so model order can never decide a visible result.
|
|
15
|
+
*
|
|
16
|
+
* Each admitted id is built once and shared by every borrowing surface. Texture
|
|
17
|
+
* assets are primed through the shot cache before synchronous material
|
|
18
|
+
* construction, together with the images carried by the models that declare
|
|
19
|
+
* the requested materials; that cache owns binding-private texture clones and decoded
|
|
20
|
+
* sources, while the returned library owns only the `THREE.Material` objects.
|
|
21
|
+
* Construction refusal retires already-built materials independently. Disposal
|
|
22
|
+
* attempts every material once, retains failed ownership and preserves the same
|
|
23
|
+
* failure for repeated callers.
|
|
24
|
+
*
|
|
25
|
+
* @evidence contracts/development/implementation.md#principled-implementation Engine material resolution admits complete cross-model definitions before any material allocation; primed cache bindings feed synchronous construction, with immediate material ownership and failure-preserving independent retirement.
|
|
26
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure One shot library coordinates requested identities while engine owns definition equivalence, buildMaterial owns material setup and the cache owns decoded sources and binding wrappers.
|
|
27
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Null selects a real renderer default, while blank, absent, conflicting and unrequested ids refuse; construction or disposal failure never becomes an untextured substitute or successful empty-table claim.
|
|
28
|
+
* @evidence contracts/development/common.md#meaningful-documentation Explains cross-model identity admission, borrowed shared materials, separate texture ownership, construction rollback and repeated-disposal failure identity.
|
|
29
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Deduplicates requested ids before engine resolution and builds each admitted material once; definition admission searches model/material declarations per requested id, texture prime deduplicates assets, and retirement visits each built material once.
|
|
30
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work One material object per requested id is lent to all surfaces in the shot; the supplied cache shares decoded assets, and completed disposal or its stored failure is reused without native retries.
|
|
31
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned owner retains its material Map until dispose; successful releases remove entries while failed entries and their original completion remain retained. Construction rollback attempts every earlier built material, and texture lifetimes stay with the external shot cache.
|
|
32
|
+
*/
|
|
33
|
+
export const buildAutoMovieMaterialLibrary = async (props) => {
|
|
34
|
+
const requested = new Set();
|
|
35
|
+
for (const id of props.materialIds) {
|
|
36
|
+
if (id === null)
|
|
37
|
+
continue;
|
|
38
|
+
if (id.trim().length === 0)
|
|
39
|
+
throw new Error("A requested material id must not be blank.");
|
|
40
|
+
requested.add(id);
|
|
41
|
+
}
|
|
42
|
+
const definitions = new Map([...requested].map((id) => [
|
|
43
|
+
id,
|
|
44
|
+
resolveAutoMovieMaterial({ models: props.models, material: id }),
|
|
45
|
+
]));
|
|
46
|
+
const bindings = [
|
|
47
|
+
...definitions.values(),
|
|
48
|
+
].flatMap(materialTextureBindings);
|
|
49
|
+
if (bindings.length !== 0 && props.textures === undefined)
|
|
50
|
+
throw new Error("Requested materials bind texture assets but no shot texture cache was supplied.");
|
|
51
|
+
// A binding resolves against the images of the models that declare it.
|
|
52
|
+
await props.textures?.prime(bindings, props.models
|
|
53
|
+
.filter((model) => model.materials.some((material) => definitions.has(material.id)))
|
|
54
|
+
.flatMap((model) => model.images ?? []));
|
|
55
|
+
const materials = constructAutoMovieOwnedResources((own) => new Map([...definitions].map(([id, material]) => [
|
|
56
|
+
id,
|
|
57
|
+
own(buildMaterial(material, props.textures?.resolve)),
|
|
58
|
+
])));
|
|
59
|
+
let disposed = false;
|
|
60
|
+
let disposalFailure;
|
|
61
|
+
return {
|
|
62
|
+
resolve: (id) => {
|
|
63
|
+
if (disposed)
|
|
64
|
+
throw new Error("This shot material library has already been disposed.");
|
|
65
|
+
if (id === null)
|
|
66
|
+
return undefined;
|
|
67
|
+
const material = materials.get(id);
|
|
68
|
+
if (material === undefined)
|
|
69
|
+
throw new Error(`Material "${id}" was not requested by this library.`);
|
|
70
|
+
return material;
|
|
71
|
+
},
|
|
72
|
+
dispose: () => {
|
|
73
|
+
if (disposed) {
|
|
74
|
+
if (disposalFailure !== undefined)
|
|
75
|
+
throw disposalFailure.error;
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
disposed = true;
|
|
79
|
+
try {
|
|
80
|
+
reportAutoMovieResourceRetirement([...materials].map(([id, material]) => () => {
|
|
81
|
+
material.dispose();
|
|
82
|
+
materials.delete(id);
|
|
83
|
+
}));
|
|
84
|
+
}
|
|
85
|
+
catch (error) {
|
|
86
|
+
disposalFailure = { error };
|
|
87
|
+
throw error;
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
//# sourceMappingURL=buildAutoMovieMaterialLibrary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildAutoMovieMaterialLibrary.js","sourceRoot":"","sources":["../src/buildAutoMovieMaterialLibrary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAS7D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAE3F;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAEA,KAAK,EAC7C,KAA0C,EACN,EAAE;IACtC,MAAM,SAAS,GAAgB,IAAI,GAAG,EAAU,CAAC;IACjD,KAAK,MAAM,EAAE,IAAI,KAAK,CAAC,WAAW,EAAE,CAAC;QACnC,IAAI,EAAE,KAAK,IAAI;YAAE,SAAS;QAC1B,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC;YACxB,MAAM,IAAI,KAAK,CAAC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ACJ,CAAC;IACF,IAAI,QAAQ,GAAY,KAAK,CAAC;IAC9B,IAAI,eAA+C,CAAC;IACpD,OAAO;QACL,OAAO,EAAE,CACP,EAAiB,EAC6B,EAAE;YAChD,IAAI,QAAQ;gBACV,MAAM,IAAI,KAAK,CACb,uDAAuD,CACxD,CAAC;YACJ,IAAI,EAAE,KAAK,IAAI;gBAAE,OAAO,SAAS,CAAC;YAClC,MAAM,QAAQ,GACZ,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YACpB,IAAI,QAAQ,KAAK,SAAS;gBACxB,MAAM,IAAI,KAAK,CAAC,aAAa,EAAE,sCAAsC,CAAC,CAAC;YACzE,OAAO,QAAQ,CAAC;QAClB,CAAC;QACD,OAAO,EAAE,GAAS,EAAE;YAClB,IAAI,QAAQ,EAAE,CAAC;gBACb,IAAI,eAAe,KAAK,SAAS;oBAAE,MAAM,eAAe,CAAC,KAAK,CAAC;gBAC/D,OAAO;YACT,CAAC;YACD,QAAQ,GAAG,IAAI,CAAC;YAChB,IAAI,CAAC;gBACH,iCAAiC,CAC/B,CAAC,GAAG,SAAS,CAAC,CAAC,GAAG,CAChB,CAAC,CAAC,EAAE,EAAE,QAAQ,CAGb,EAAgB,EAAE,CACjB,GAAS,EAAE;oBACT,QAAQ,CAAC,OAAO,EAAE,CAAC;oBACnB,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;gBACvB,CAAC,CACJ,CACF,CAAC;YACJ,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,eAAe,GAAG,EAAE,KAAK,EAAE,CAAC;gBAC5B,MAAM,KAAK,CAAC;YACd,CAAC;QACH,CAAC;KACF,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { IAutoMovieFluidSpraySample } from "@automovie/interface";
|
|
2
|
+
import * as THREE from "three";
|
|
3
|
+
import type { IAutoMovieFluidSprayObject } from "./IAutoMovieFluidSprayObject.js";
|
|
4
|
+
/**
|
|
5
|
+
* Project one bounded spray sample into a `three.js` point cloud.
|
|
6
|
+
*
|
|
7
|
+
* The Engine's admitted sample supplies the capped and distance-thinned particle population. Structural guide passes hide this Points node because decorative mist does not represent solid mask/depth geometry.
|
|
8
|
+
*
|
|
9
|
+
* The default PointsMaterial uses normal blending, one fixed point size and opacity. Uploaded `aSize` and `aAge` require a supplied shader to affect beauty.
|
|
10
|
+
*
|
|
11
|
+
* @evidence contracts/development/implementation.md#principled-implementation The engine's admitted capped sample supplies each particle's position, size and age ratio. The builder copies those values to Float32 attributes, computes bounds from positions and hides empty samples; it does not enforce the cap or domain itself.
|
|
12
|
+
* @evidence contracts/development/implementation.md#clear-and-simple-structure A single Points node projects the sample; particle generation and thinning remain in the engine, while structural passes decide whether points contribute to their documented quantity.
|
|
13
|
+
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No minimum particle population is fabricated. The fixed color, opacity and 0.05 size are authored default display choices; default normal blending and unused custom attributes do not implement additive or per-particle appearance. Constructor and partial-upload rollback are not provided.
|
|
14
|
+
* @evidence contracts/development/common.md#meaningful-documentation The comment states engine population authority, structural-pass role and the stock material's limitations. Material props identify conditional ownership; count reports the upload length rather than observed visible particles.
|
|
15
|
+
* @evidence contracts/development/implementation.md#efficient-algorithms Upload builds three arrays and Float32 attributes and scans bounds, all linear in particle count. These complete copies match a complete replacement sample rather than a sparse-update protocol.
|
|
16
|
+
* @evidence contracts/development/implementation.md#reuse-equivalent-work Points, geometry identity and material persist across updates; each supplied sample rebuilds buffers and bounds. Matching step metadata is not used as a cache key for particle equivalence.
|
|
17
|
+
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller detaches the node and disposes owned geometry and the optional default material; supplied material stays borrowed. Each invocation independently attempts geometry then default material; ordered causes follow the existing reporter, including its unresolved diagnostic-coercion limit. Disposal remains unmemoized and later updates remain admitted. Engine sampling bounds population but this type imposes no byte cap, and public events are not physical GPU release proof. Maintained callers are tests rather than a production spray scene host.
|
|
18
|
+
*/
|
|
19
|
+
export declare const buildFluidSprayObject: (props: {
|
|
20
|
+
sample: IAutoMovieFluidSpraySample;
|
|
21
|
+
material?: THREE.PointsMaterial;
|
|
22
|
+
}) => IAutoMovieFluidSprayObject;
|