@automovie/viewer 0.1.0 → 0.3.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/README.md +60 -17
- package/lib/IAutoMovieViewerCompletedFrame.js +2 -1
- package/lib/IAutoMovieViewerCompletedFrame.mjs +0 -0
- package/lib/IAutoMovieViewerDisplayMetadata.js +2 -1
- package/lib/IAutoMovieViewerDisplayMetadata.mjs +0 -0
- package/lib/IAutoMovieViewerHandle.js +2 -1
- package/lib/IAutoMovieViewerHandle.mjs +0 -0
- package/lib/IMountViewerOptions.js +2 -1
- package/lib/IMountViewerOptions.mjs +0 -0
- package/lib/IViewerCameraStateSnapshot.js +2 -1
- package/lib/IViewerCameraStateSnapshot.mjs +0 -0
- package/lib/applyCaptureCanvasSize.js +5 -1
- package/lib/applyCaptureCanvasSize.js.map +1 -1
- package/lib/applyCaptureCanvasSize.mjs +20 -0
- package/lib/applyCaptureCanvasSize.mjs.map +1 -0
- package/lib/audio/IAutoMovieAudioCue.js +2 -1
- package/lib/audio/IAutoMovieAudioCue.mjs +0 -0
- package/lib/audio/index.js +7 -2
- package/lib/audio/index.js.map +1 -1
- package/lib/audio/index.mjs +3 -0
- package/lib/audio/planAutoMovieAudioPlayback.js +4 -1
- package/lib/audio/planAutoMovieAudioPlayback.js.map +1 -1
- package/lib/audio/planAutoMovieAudioPlayback.mjs +49 -0
- package/lib/audio/planAutoMovieAudioPlayback.mjs.map +1 -0
- package/lib/audio/playAutoMovieAudioCues.js +6 -3
- package/lib/audio/playAutoMovieAudioCues.js.map +1 -1
- package/lib/audio/playAutoMovieAudioCues.mjs +54 -0
- package/lib/audio/playAutoMovieAudioCues.mjs.map +1 -0
- package/lib/captureSize.js +5 -1
- package/lib/captureSize.js.map +1 -1
- package/lib/captureSize.mjs +1 -0
- package/lib/createViewerCameraState.js +38 -2
- package/lib/createViewerCameraState.js.map +1 -1
- package/lib/createViewerCameraState.mjs +169 -0
- package/lib/createViewerCameraState.mjs.map +1 -0
- package/lib/createViewerDisplayClock.js +4 -1
- package/lib/createViewerDisplayClock.js.map +1 -1
- package/lib/createViewerDisplayClock.mjs +45 -0
- package/lib/createViewerDisplayClock.mjs.map +1 -0
- package/lib/createViewerDisplayPublication.js +4 -1
- package/lib/createViewerDisplayPublication.js.map +1 -1
- package/lib/createViewerDisplayPublication.mjs +56 -0
- package/lib/createViewerDisplayPublication.mjs.map +1 -0
- package/lib/createViewerDisplaySave.js +6 -3
- package/lib/createViewerDisplaySave.js.map +1 -1
- package/lib/createViewerDisplaySave.mjs +137 -0
- package/lib/createViewerDisplaySave.mjs.map +1 -0
- package/lib/createViewerFrameControl.js +11 -9
- package/lib/createViewerFrameControl.js.map +1 -1
- package/lib/createViewerFrameControl.mjs +93 -0
- package/lib/createViewerFrameControl.mjs.map +1 -0
- package/lib/createViewerViewportResize.js +38 -2
- package/lib/createViewerViewportResize.js.map +1 -1
- package/lib/createViewerViewportResize.mjs +34 -0
- package/lib/createViewerViewportResize.mjs.map +1 -0
- package/lib/index.d.ts +1 -123
- package/lib/index.js +34 -140
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +37 -0
- package/lib/inspector/AutoMovieInspector.d.ts +30 -0
- package/lib/inspector/AutoMovieInspector.js +181 -0
- package/lib/inspector/AutoMovieInspector.js.map +1 -0
- package/lib/inspector/AutoMovieInspector.mjs +304 -0
- package/lib/inspector/AutoMovieInspector.mjs.map +1 -0
- package/lib/inspector/AutoMovieInspectorMarksPanel.d.ts +27 -0
- package/lib/inspector/AutoMovieInspectorMarksPanel.js +64 -0
- package/lib/inspector/AutoMovieInspectorMarksPanel.js.map +1 -0
- package/lib/inspector/AutoMovieInspectorMarksPanel.mjs +107 -0
- package/lib/inspector/AutoMovieInspectorMarksPanel.mjs.map +1 -0
- package/lib/inspector/AutoMovieInspectorPlayhead.d.ts +140 -0
- package/lib/inspector/AutoMovieInspectorPlayhead.js +183 -0
- package/lib/inspector/AutoMovieInspectorPlayhead.js.map +1 -0
- package/lib/inspector/AutoMovieInspectorPlayhead.mjs +171 -0
- package/lib/inspector/AutoMovieInspectorPlayhead.mjs.map +1 -0
- package/lib/inspector/AutoMovieInspectorRequestPanel.d.ts +22 -0
- package/lib/inspector/AutoMovieInspectorRequestPanel.js +59 -0
- package/lib/inspector/AutoMovieInspectorRequestPanel.js.map +1 -0
- package/lib/inspector/AutoMovieInspectorRequestPanel.mjs +111 -0
- package/lib/inspector/AutoMovieInspectorRequestPanel.mjs.map +1 -0
- package/lib/inspector/AutoMovieInspectorSelectionPanel.d.ts +26 -0
- package/lib/inspector/AutoMovieInspectorSelectionPanel.js +97 -0
- package/lib/inspector/AutoMovieInspectorSelectionPanel.js.map +1 -0
- package/lib/inspector/AutoMovieInspectorSelectionPanel.mjs +213 -0
- package/lib/inspector/AutoMovieInspectorSelectionPanel.mjs.map +1 -0
- package/lib/inspector/AutoMovieInspectorShadePanel.d.ts +22 -0
- package/lib/inspector/AutoMovieInspectorShadePanel.js +51 -0
- package/lib/inspector/AutoMovieInspectorShadePanel.js.map +1 -0
- package/lib/inspector/AutoMovieInspectorShadePanel.mjs +85 -0
- package/lib/inspector/AutoMovieInspectorShadePanel.mjs.map +1 -0
- package/lib/inspector/AutoMovieInspectorTimePanel.d.ts +24 -0
- package/lib/inspector/AutoMovieInspectorTimePanel.js +26 -0
- package/lib/inspector/AutoMovieInspectorTimePanel.js.map +1 -0
- package/lib/inspector/AutoMovieInspectorTimePanel.mjs +63 -0
- package/lib/inspector/AutoMovieInspectorTimePanel.mjs.map +1 -0
- package/lib/inspector/AutoMovieInspectorTimeReadout.d.ts +24 -0
- package/lib/inspector/AutoMovieInspectorTimeReadout.js +39 -0
- package/lib/inspector/AutoMovieInspectorTimeReadout.js.map +1 -0
- package/lib/inspector/AutoMovieInspectorTimeReadout.mjs +56 -0
- package/lib/inspector/AutoMovieInspectorTimeReadout.mjs.map +1 -0
- package/lib/inspector/AutoMovieInspectorViewPanel.d.ts +24 -0
- package/lib/inspector/AutoMovieInspectorViewPanel.js +81 -0
- package/lib/inspector/AutoMovieInspectorViewPanel.js.map +1 -0
- package/lib/inspector/AutoMovieInspectorViewPanel.mjs +176 -0
- package/lib/inspector/AutoMovieInspectorViewPanel.mjs.map +1 -0
- package/lib/inspector/IAutoMovieInspectorAction.d.ts +163 -0
- package/lib/inspector/IAutoMovieInspectorAction.js +3 -0
- package/lib/inspector/IAutoMovieInspectorAction.js.map +1 -0
- package/lib/inspector/IAutoMovieInspectorAction.mjs +0 -0
- package/lib/inspector/IAutoMovieInspectorPathNode.d.ts +22 -0
- package/lib/inspector/IAutoMovieInspectorPathNode.js +3 -0
- package/lib/inspector/IAutoMovieInspectorPathNode.js.map +1 -0
- package/lib/inspector/IAutoMovieInspectorPathNode.mjs +0 -0
- package/lib/inspector/IAutoMovieInspectorProps.d.ts +31 -0
- package/lib/inspector/IAutoMovieInspectorProps.js +3 -0
- package/lib/inspector/IAutoMovieInspectorProps.js.map +1 -0
- package/lib/inspector/IAutoMovieInspectorProps.mjs +0 -0
- package/lib/inspector/IAutoMovieInspectorScene.d.ts +159 -0
- package/lib/inspector/IAutoMovieInspectorScene.js +3 -0
- package/lib/inspector/IAutoMovieInspectorScene.js.map +1 -0
- package/lib/inspector/IAutoMovieInspectorScene.mjs +0 -0
- package/lib/inspector/IAutoMovieInspectorSceneHost.d.ts +138 -0
- package/lib/inspector/IAutoMovieInspectorSceneHost.js +3 -0
- package/lib/inspector/IAutoMovieInspectorSceneHost.js.map +1 -0
- package/lib/inspector/IAutoMovieInspectorSceneHost.mjs +0 -0
- package/lib/inspector/IAutoMovieInspectorState.d.ts +15 -0
- package/lib/inspector/IAutoMovieInspectorState.js +3 -0
- package/lib/inspector/IAutoMovieInspectorState.js.map +1 -0
- package/lib/inspector/IAutoMovieInspectorState.mjs +0 -0
- package/lib/inspector/buildAutoMovieInspectorPathTree.d.ts +19 -0
- package/lib/inspector/buildAutoMovieInspectorPathTree.js +49 -0
- package/lib/inspector/buildAutoMovieInspectorPathTree.js.map +1 -0
- package/lib/inspector/buildAutoMovieInspectorPathTree.mjs +49 -0
- package/lib/inspector/buildAutoMovieInspectorPathTree.mjs.map +1 -0
- package/lib/inspector/createAutoMovieInspectorAddressWriter.d.ts +23 -0
- package/lib/inspector/createAutoMovieInspectorAddressWriter.js +29 -0
- package/lib/inspector/createAutoMovieInspectorAddressWriter.js.map +1 -0
- package/lib/inspector/createAutoMovieInspectorAddressWriter.mjs +28 -0
- package/lib/inspector/createAutoMovieInspectorAddressWriter.mjs.map +1 -0
- package/lib/inspector/createAutoMovieInspectorCanvasHost.d.ts +15 -0
- package/lib/inspector/createAutoMovieInspectorCanvasHost.js +64 -0
- package/lib/inspector/createAutoMovieInspectorCanvasHost.js.map +1 -0
- package/lib/inspector/createAutoMovieInspectorCanvasHost.mjs +34 -0
- package/lib/inspector/createAutoMovieInspectorCanvasHost.mjs.map +1 -0
- package/lib/inspector/createAutoMovieInspectorState.d.ts +15 -0
- package/lib/inspector/createAutoMovieInspectorState.js +22 -0
- package/lib/inspector/createAutoMovieInspectorState.js.map +1 -0
- package/lib/inspector/createAutoMovieInspectorState.mjs +28 -0
- package/lib/inspector/createAutoMovieInspectorState.mjs.map +1 -0
- package/lib/inspector/formatAutoMovieInspectorAddress.d.ts +15 -0
- package/lib/inspector/formatAutoMovieInspectorAddress.js +36 -0
- package/lib/inspector/formatAutoMovieInspectorAddress.js.map +1 -0
- package/lib/inspector/formatAutoMovieInspectorAddress.mjs +34 -0
- package/lib/inspector/formatAutoMovieInspectorAddress.mjs.map +1 -0
- package/lib/inspector/formatAutoMovieInspectorCommand.d.ts +26 -0
- package/lib/inspector/formatAutoMovieInspectorCommand.js +39 -0
- package/lib/inspector/formatAutoMovieInspectorCommand.js.map +1 -0
- package/lib/inspector/formatAutoMovieInspectorCommand.mjs +41 -0
- package/lib/inspector/formatAutoMovieInspectorCommand.mjs.map +1 -0
- package/lib/inspector/handleAutoMovieInspectorKey.d.ts +33 -0
- package/lib/inspector/handleAutoMovieInspectorKey.js +83 -0
- package/lib/inspector/handleAutoMovieInspectorKey.js.map +1 -0
- package/lib/inspector/handleAutoMovieInspectorKey.mjs +87 -0
- package/lib/inspector/handleAutoMovieInspectorKey.mjs.map +1 -0
- package/lib/inspector/index.d.ts +26 -0
- package/lib/inspector/index.js +43 -0
- package/lib/inspector/index.js.map +1 -0
- package/lib/inspector/index.mjs +21 -0
- package/lib/inspector/mountAutoMovieInspectorPage.d.ts +31 -0
- package/lib/inspector/mountAutoMovieInspectorPage.js +35 -0
- package/lib/inspector/mountAutoMovieInspectorPage.js.map +1 -0
- package/lib/inspector/mountAutoMovieInspectorPage.mjs +39 -0
- package/lib/inspector/mountAutoMovieInspectorPage.mjs.map +1 -0
- package/lib/inspector/mountAutoMovieInspectorScene.d.ts +36 -0
- package/lib/inspector/mountAutoMovieInspectorScene.js +345 -0
- package/lib/inspector/mountAutoMovieInspectorScene.js.map +1 -0
- package/lib/inspector/mountAutoMovieInspectorScene.mjs +299 -0
- package/lib/inspector/mountAutoMovieInspectorScene.mjs.map +1 -0
- package/lib/inspector/readAutoMovieInspectorAddress.d.ts +21 -0
- package/lib/inspector/readAutoMovieInspectorAddress.js +27 -0
- package/lib/inspector/readAutoMovieInspectorAddress.js.map +1 -0
- package/lib/inspector/readAutoMovieInspectorAddress.mjs +27 -0
- package/lib/inspector/readAutoMovieInspectorAddress.mjs.map +1 -0
- package/lib/inspector/reduceAutoMovieInspectorState.d.ts +18 -0
- package/lib/inspector/reduceAutoMovieInspectorState.js +104 -0
- package/lib/inspector/reduceAutoMovieInspectorState.js.map +1 -0
- package/lib/inspector/reduceAutoMovieInspectorState.mjs +88 -0
- package/lib/inspector/reduceAutoMovieInspectorState.mjs.map +1 -0
- package/lib/mountViewer.js +58 -25
- package/lib/mountViewer.js.map +1 -1
- package/lib/mountViewer.mjs +161 -0
- package/lib/mountViewer.mjs.map +1 -0
- package/lib/publishViewerCompletedFrame.js +4 -1
- package/lib/publishViewerCompletedFrame.js.map +1 -1
- package/lib/publishViewerCompletedFrame.mjs +24 -0
- package/lib/publishViewerCompletedFrame.mjs.map +1 -0
- package/lib/redrawViewerCompletedFrame.js +4 -1
- package/lib/redrawViewerCompletedFrame.js.map +1 -1
- package/lib/redrawViewerCompletedFrame.mjs +32 -0
- package/lib/redrawViewerCompletedFrame.mjs.map +1 -0
- package/lib/releaseMountedViewer.js +8 -6
- package/lib/releaseMountedViewer.js.map +1 -1
- package/lib/releaseMountedViewer.mjs +25 -0
- package/lib/releaseMountedViewer.mjs.map +1 -0
- package/lib/transport/AutoMovieViewerTransport.js +5 -1
- package/lib/transport/AutoMovieViewerTransport.js.map +1 -1
- package/lib/transport/AutoMovieViewerTransport.mjs +224 -0
- package/lib/transport/AutoMovieViewerTransport.mjs.map +1 -0
- package/lib/transport/index.d.ts +0 -3
- package/lib/transport/index.js +7 -5
- package/lib/transport/index.js.map +1 -1
- package/lib/transport/index.mjs +3 -0
- package/lib/transport/readAutoMovieReviewInterval.js +4 -1
- package/lib/transport/readAutoMovieReviewInterval.js.map +1 -1
- package/lib/transport/readAutoMovieReviewInterval.mjs +44 -0
- package/lib/transport/readAutoMovieReviewInterval.mjs.map +1 -0
- package/package.json +20 -11
- package/src/createViewerFrameControl.ts +4 -2
- package/src/index.ts +1 -123
- package/src/inspector/AutoMovieInspector.tsx +367 -0
- package/src/inspector/AutoMovieInspectorMarksPanel.tsx +127 -0
- package/src/inspector/AutoMovieInspectorPlayhead.ts +218 -0
- package/src/inspector/AutoMovieInspectorRequestPanel.tsx +124 -0
- package/src/inspector/AutoMovieInspectorSelectionPanel.tsx +276 -0
- package/src/inspector/AutoMovieInspectorShadePanel.tsx +94 -0
- package/src/inspector/AutoMovieInspectorTimePanel.tsx +74 -0
- package/src/inspector/AutoMovieInspectorTimeReadout.tsx +77 -0
- package/src/inspector/AutoMovieInspectorViewPanel.tsx +170 -0
- package/src/inspector/IAutoMovieInspectorAction.ts +197 -0
- package/src/inspector/IAutoMovieInspectorPathNode.ts +26 -0
- package/src/inspector/IAutoMovieInspectorProps.ts +34 -0
- package/src/inspector/IAutoMovieInspectorScene.ts +181 -0
- package/src/inspector/IAutoMovieInspectorSceneHost.ts +148 -0
- package/src/inspector/IAutoMovieInspectorState.ts +17 -0
- package/src/inspector/buildAutoMovieInspectorPathTree.ts +52 -0
- package/src/inspector/createAutoMovieInspectorAddressWriter.ts +34 -0
- package/src/inspector/createAutoMovieInspectorCanvasHost.ts +34 -0
- package/src/inspector/createAutoMovieInspectorState.ts +25 -0
- package/src/inspector/formatAutoMovieInspectorAddress.ts +43 -0
- package/src/inspector/formatAutoMovieInspectorCommand.ts +49 -0
- package/src/inspector/handleAutoMovieInspectorKey.ts +91 -0
- package/src/inspector/index.ts +26 -0
- package/src/inspector/mountAutoMovieInspectorPage.tsx +57 -0
- package/src/inspector/mountAutoMovieInspectorScene.ts +441 -0
- package/src/inspector/readAutoMovieInspectorAddress.ts +29 -0
- package/src/inspector/reduceAutoMovieInspectorState.ts +132 -0
- package/src/mountViewer.ts +7 -5
- package/src/releaseMountedViewer.ts +5 -4
- package/src/transport/index.ts +0 -3
- package/lib/AUTOMOVIE_FORMATION_CYCLE_SAMPLES.d.ts +0 -4
- package/lib/AUTOMOVIE_FORMATION_CYCLE_SAMPLES.js +0 -5
- package/lib/AUTOMOVIE_FORMATION_CYCLE_SAMPLES.js.map +0 -1
- package/lib/AutoMovieDisplayCompositor.d.ts +0 -105
- package/lib/AutoMovieDisplayCompositor.js +0 -342
- package/lib/AutoMovieDisplayCompositor.js.map +0 -1
- package/lib/AutoMovieDissolveCompositorState.d.ts +0 -4
- package/lib/AutoMovieDissolveCompositorState.js +0 -3
- package/lib/AutoMovieDissolveCompositorState.js.map +0 -1
- package/lib/AutoMovieEnvironmentTextureOwnership.d.ts +0 -52
- package/lib/AutoMovieEnvironmentTextureOwnership.js +0 -187
- package/lib/AutoMovieEnvironmentTextureOwnership.js.map +0 -1
- package/lib/AutoMovieFadeCompositorState.d.ts +0 -4
- package/lib/AutoMovieFadeCompositorState.js +0 -3
- package/lib/AutoMovieFadeCompositorState.js.map +0 -1
- package/lib/AutoMovieFilmBeautyComposition.d.ts +0 -25
- package/lib/AutoMovieFilmBeautyComposition.js +0 -2
- package/lib/AutoMovieFilmBeautyComposition.js.map +0 -1
- package/lib/AutoMovieGeometryPhysicalVertices.d.ts +0 -48
- package/lib/AutoMovieGeometryPhysicalVertices.js +0 -134
- package/lib/AutoMovieGeometryPhysicalVertices.js.map +0 -1
- package/lib/AutoMoviePlayer.d.ts +0 -99
- package/lib/AutoMoviePlayer.js +0 -192
- package/lib/AutoMoviePlayer.js.map +0 -1
- package/lib/AutoMovieRenderModeMesh.d.ts +0 -13
- package/lib/AutoMovieRenderModeMesh.js +0 -2
- package/lib/AutoMovieRenderModeMesh.js.map +0 -1
- package/lib/AutoMovieResourceRetirementScope.d.ts +0 -108
- package/lib/AutoMovieResourceRetirementScope.js +0 -169
- package/lib/AutoMovieResourceRetirementScope.js.map +0 -1
- package/lib/AutoMovieSkinBlend.d.ts +0 -83
- package/lib/AutoMovieSkinBlend.js +0 -195
- package/lib/AutoMovieSkinBlend.js.map +0 -1
- package/lib/AutoMovieSkinPose.d.ts +0 -119
- package/lib/AutoMovieSkinPose.js +0 -365
- package/lib/AutoMovieSkinPose.js.map +0 -1
- package/lib/AutoMovieSkinnedMesh.d.ts +0 -182
- package/lib/AutoMovieSkinnedMesh.js +0 -246
- package/lib/AutoMovieSkinnedMesh.js.map +0 -1
- package/lib/AutoMovieTextureCache.d.ts +0 -178
- package/lib/AutoMovieTextureCache.js +0 -321
- package/lib/AutoMovieTextureCache.js.map +0 -1
- package/lib/AutoMovieTextureCacheAllocationAuthority.d.ts +0 -217
- package/lib/AutoMovieTextureCacheAllocationAuthority.js +0 -417
- package/lib/AutoMovieTextureCacheAllocationAuthority.js.map +0 -1
- package/lib/DEPTH_NORMALIZATION_RANGE.d.ts +0 -4
- package/lib/DEPTH_NORMALIZATION_RANGE.js +0 -5
- package/lib/DEPTH_NORMALIZATION_RANGE.js.map +0 -1
- package/lib/EDGE_SHELL_NAME.d.ts +0 -2
- package/lib/EDGE_SHELL_NAME.js +0 -3
- package/lib/EDGE_SHELL_NAME.js.map +0 -1
- package/lib/EDGE_WIDTH.d.ts +0 -4
- package/lib/EDGE_WIDTH.js +0 -5
- package/lib/EDGE_WIDTH.js.map +0 -1
- package/lib/IApplyAutoMovieSectionPlanesProps.d.ts +0 -28
- package/lib/IApplyAutoMovieSectionPlanesProps.js +0 -2
- package/lib/IApplyAutoMovieSectionPlanesProps.js.map +0 -1
- package/lib/IAutoMovieAnalysisOverlayObject.d.ts +0 -52
- package/lib/IAutoMovieAnalysisOverlayObject.js +0 -2
- package/lib/IAutoMovieAnalysisOverlayObject.js.map +0 -1
- package/lib/IAutoMovieBuiltPropArticulation.d.ts +0 -34
- package/lib/IAutoMovieBuiltPropArticulation.js +0 -2
- package/lib/IAutoMovieBuiltPropArticulation.js.map +0 -1
- package/lib/IAutoMovieEffectViewerObject.d.ts +0 -28
- package/lib/IAutoMovieEffectViewerObject.js +0 -2
- package/lib/IAutoMovieEffectViewerObject.js.map +0 -1
- package/lib/IAutoMovieEffectViewerStats.d.ts +0 -18
- package/lib/IAutoMovieEffectViewerStats.js +0 -2
- package/lib/IAutoMovieEffectViewerStats.js.map +0 -1
- package/lib/IAutoMovieExpressionTarget.d.ts +0 -22
- package/lib/IAutoMovieExpressionTarget.js +0 -2
- package/lib/IAutoMovieExpressionTarget.js.map +0 -1
- package/lib/IAutoMovieFilmBeautyLayer.d.ts +0 -12
- package/lib/IAutoMovieFilmBeautyLayer.js +0 -2
- package/lib/IAutoMovieFilmBeautyLayer.js.map +0 -1
- package/lib/IAutoMovieFluidSprayObject.d.ts +0 -50
- package/lib/IAutoMovieFluidSprayObject.js +0 -2
- package/lib/IAutoMovieFluidSprayObject.js.map +0 -1
- package/lib/IAutoMovieFluidSurfaceObject.d.ts +0 -38
- package/lib/IAutoMovieFluidSurfaceObject.js +0 -2
- package/lib/IAutoMovieFluidSurfaceObject.js.map +0 -1
- package/lib/IAutoMovieFormationCadence.d.ts +0 -17
- package/lib/IAutoMovieFormationCadence.js +0 -2
- package/lib/IAutoMovieFormationCadence.js.map +0 -1
- package/lib/IAutoMovieFormationCycle.d.ts +0 -38
- package/lib/IAutoMovieFormationCycle.js +0 -2
- package/lib/IAutoMovieFormationCycle.js.map +0 -1
- package/lib/IAutoMovieFormationCycleTake.d.ts +0 -47
- package/lib/IAutoMovieFormationCycleTake.js +0 -2
- package/lib/IAutoMovieFormationCycleTake.js.map +0 -1
- package/lib/IAutoMovieFormationCycleUniforms.d.ts +0 -21
- package/lib/IAutoMovieFormationCycleUniforms.js +0 -2
- package/lib/IAutoMovieFormationCycleUniforms.js.map +0 -1
- package/lib/IAutoMovieFormationViewerObject.d.ts +0 -62
- package/lib/IAutoMovieFormationViewerObject.js +0 -2
- package/lib/IAutoMovieFormationViewerObject.js.map +0 -1
- package/lib/IAutoMovieFormationViewerStats.d.ts +0 -34
- package/lib/IAutoMovieFormationViewerStats.js +0 -2
- package/lib/IAutoMovieFormationViewerStats.js.map +0 -1
- package/lib/IAutoMovieImportedModelOptions.d.ts +0 -44
- package/lib/IAutoMovieImportedModelOptions.js +0 -2
- package/lib/IAutoMovieImportedModelOptions.js.map +0 -1
- package/lib/IAutoMovieInstanceSetViewerObject.d.ts +0 -42
- package/lib/IAutoMovieInstanceSetViewerObject.js +0 -2
- package/lib/IAutoMovieInstanceSetViewerObject.js.map +0 -1
- package/lib/IAutoMovieInstanceSetViewerStats.d.ts +0 -17
- package/lib/IAutoMovieInstanceSetViewerStats.js +0 -2
- package/lib/IAutoMovieInstanceSetViewerStats.js.map +0 -1
- package/lib/IAutoMovieInstancedGeometry.d.ts +0 -24
- package/lib/IAutoMovieInstancedGeometry.js +0 -2
- package/lib/IAutoMovieInstancedGeometry.js.map +0 -1
- package/lib/IAutoMovieInstancedModelRepresentation.d.ts +0 -16
- package/lib/IAutoMovieInstancedModelRepresentation.js +0 -2
- package/lib/IAutoMovieInstancedModelRepresentation.js.map +0 -1
- package/lib/IAutoMovieMaterialLibrary.d.ts +0 -42
- package/lib/IAutoMovieMaterialLibrary.js +0 -2
- package/lib/IAutoMovieMaterialLibrary.js.map +0 -1
- package/lib/IAutoMovieModelObject.d.ts +0 -51
- package/lib/IAutoMovieModelObject.js +0 -2
- package/lib/IAutoMovieModelObject.js.map +0 -1
- package/lib/IAutoMoviePlantingObject.d.ts +0 -33
- package/lib/IAutoMoviePlantingObject.js +0 -2
- package/lib/IAutoMoviePlantingObject.js.map +0 -1
- package/lib/IAutoMovieRenderModeHandle.d.ts +0 -44
- package/lib/IAutoMovieRenderModeHandle.js +0 -2
- package/lib/IAutoMovieRenderModeHandle.js.map +0 -1
- package/lib/IAutoMovieRendererEnvironmentHandle.d.ts +0 -22
- package/lib/IAutoMovieRendererEnvironmentHandle.js +0 -2
- package/lib/IAutoMovieRendererEnvironmentHandle.js.map +0 -1
- package/lib/IAutoMovieRigLocalTransform.d.ts +0 -15
- package/lib/IAutoMovieRigLocalTransform.js +0 -2
- package/lib/IAutoMovieRigLocalTransform.js.map +0 -1
- package/lib/IAutoMovieSceneObject.d.ts +0 -26
- package/lib/IAutoMovieSceneObject.js +0 -2
- package/lib/IAutoMovieSceneObject.js.map +0 -1
- package/lib/IAutoMovieSectionRenderer.d.ts +0 -17
- package/lib/IAutoMovieSectionRenderer.js +0 -2
- package/lib/IAutoMovieSectionRenderer.js.map +0 -1
- package/lib/IAutoMovieShadowTextureHost.d.ts +0 -17
- package/lib/IAutoMovieShadowTextureHost.js +0 -2
- package/lib/IAutoMovieShadowTextureHost.js.map +0 -1
- package/lib/IAutoMovieSoftBodyObject.d.ts +0 -43
- package/lib/IAutoMovieSoftBodyObject.js +0 -2
- package/lib/IAutoMovieSoftBodyObject.js.map +0 -1
- package/lib/IAutoMovieSpringAxisSettlement.d.ts +0 -19
- package/lib/IAutoMovieSpringAxisSettlement.js +0 -2
- package/lib/IAutoMovieSpringAxisSettlement.js.map +0 -1
- package/lib/IAutoMovieSpringConfig.d.ts +0 -22
- package/lib/IAutoMovieSpringConfig.js +0 -2
- package/lib/IAutoMovieSpringConfig.js.map +0 -1
- package/lib/IAutoMovieTextureLoader.d.ts +0 -13
- package/lib/IAutoMovieTextureLoader.js +0 -2
- package/lib/IAutoMovieTextureLoader.js.map +0 -1
- package/lib/IAutoMovieTextureResolver.d.ts +0 -16
- package/lib/IAutoMovieTextureResolver.js +0 -2
- package/lib/IAutoMovieTextureResolver.js.map +0 -1
- package/lib/IAutoMovieViewerCameraDepthPrecisionReport.d.ts +0 -30
- package/lib/IAutoMovieViewerCameraDepthPrecisionReport.js +0 -2
- package/lib/IAutoMovieViewerCameraDepthPrecisionReport.js.map +0 -1
- package/lib/IAutoMovieViewerFrame.d.ts +0 -19
- package/lib/IAutoMovieViewerFrame.js +0 -2
- package/lib/IAutoMovieViewerFrame.js.map +0 -1
- package/lib/IAutoMovieViewerSnapshot.d.ts +0 -18
- package/lib/IAutoMovieViewerSnapshot.js +0 -2
- package/lib/IAutoMovieViewerSnapshot.js.map +0 -1
- package/lib/IAutoMovieViewerSnapshotOptions.d.ts +0 -14
- package/lib/IAutoMovieViewerSnapshotOptions.js +0 -2
- package/lib/IAutoMovieViewerSnapshotOptions.js.map +0 -1
- package/lib/IAutoMovieViewerSnapshotRenderer.d.ts +0 -32
- package/lib/IAutoMovieViewerSnapshotRenderer.js +0 -2
- package/lib/IAutoMovieViewerSnapshotRenderer.js.map +0 -1
- package/lib/IBakeFormationCycleProps.d.ts +0 -31
- package/lib/IBakeFormationCycleProps.js +0 -2
- package/lib/IBakeFormationCycleProps.js.map +0 -1
- package/lib/IBuildAutoMovieMaterialLibraryProps.d.ts +0 -30
- package/lib/IBuildAutoMovieMaterialLibraryProps.js +0 -2
- package/lib/IBuildAutoMovieMaterialLibraryProps.js.map +0 -1
- package/lib/IBuildInstancedFormationProps.d.ts +0 -34
- package/lib/IBuildInstancedFormationProps.js +0 -2
- package/lib/IBuildInstancedFormationProps.js.map +0 -1
- package/lib/IBuildInstancedInstanceSetProps.d.ts +0 -29
- package/lib/IBuildInstancedInstanceSetProps.js +0 -2
- package/lib/IBuildInstancedInstanceSetProps.js.map +0 -1
- package/lib/IBuildPlantingObjectProps.d.ts +0 -22
- package/lib/IBuildPlantingObjectProps.js +0 -2
- package/lib/IBuildPlantingObjectProps.js.map +0 -1
- package/lib/IBuildPropArticulationProps.d.ts +0 -30
- package/lib/IBuildPropArticulationProps.js +0 -2
- package/lib/IBuildPropArticulationProps.js.map +0 -1
- package/lib/IBuildSoftBodyObjectProps.d.ts +0 -18
- package/lib/IBuildSoftBodyObjectProps.js +0 -2
- package/lib/IBuildSoftBodyObjectProps.js.map +0 -1
- package/lib/IChunkObject.d.ts +0 -32
- package/lib/IChunkObject.js +0 -2
- package/lib/IChunkObject.js.map +0 -1
- package/lib/IFormationTierRepresentation.d.ts +0 -17
- package/lib/IFormationTierRepresentation.js +0 -2
- package/lib/IFormationTierRepresentation.js.map +0 -1
- package/lib/IMaterialShaderPatch.d.ts +0 -28
- package/lib/IMaterialShaderPatch.js +0 -2
- package/lib/IMaterialShaderPatch.js.map +0 -1
- package/lib/ISlotException.d.ts +0 -26
- package/lib/ISlotException.js +0 -2
- package/lib/ISlotException.js.map +0 -1
- package/lib/POSE_OVERLAY_NAME.d.ts +0 -2
- package/lib/POSE_OVERLAY_NAME.js +0 -3
- package/lib/POSE_OVERLAY_NAME.js.map +0 -1
- package/lib/SPACE_GROUP_NAME.d.ts +0 -12
- package/lib/SPACE_GROUP_NAME.js +0 -13
- package/lib/SPACE_GROUP_NAME.js.map +0 -1
- package/lib/addMaterialShaderPatch.d.ts +0 -21
- package/lib/addMaterialShaderPatch.js +0 -31
- package/lib/addMaterialShaderPatch.js.map +0 -1
- package/lib/analysisOverlay.d.ts +0 -3
- package/lib/analysisOverlay.js +0 -3
- package/lib/analysisOverlay.js.map +0 -1
- package/lib/applyAutoMovieDeliveryCrop.d.ts +0 -22
- package/lib/applyAutoMovieDeliveryCrop.js +0 -34
- package/lib/applyAutoMovieDeliveryCrop.js.map +0 -1
- package/lib/applyAutoMovieRigLocals.d.ts +0 -27
- package/lib/applyAutoMovieRigLocals.js +0 -89
- package/lib/applyAutoMovieRigLocals.js.map +0 -1
- package/lib/applyAutoMovieSectionPlanes.d.ts +0 -24
- package/lib/applyAutoMovieSectionPlanes.js +0 -42
- package/lib/applyAutoMovieSectionPlanes.js.map +0 -1
- package/lib/applyAutoMovieShadowParticipation.d.ts +0 -42
- package/lib/applyAutoMovieShadowParticipation.js +0 -62
- package/lib/applyAutoMovieShadowParticipation.js.map +0 -1
- package/lib/applyDepthMode.d.ts +0 -20
- package/lib/applyDepthMode.js +0 -81
- package/lib/applyDepthMode.js.map +0 -1
- package/lib/applyEdgeMode.d.ts +0 -20
- package/lib/applyEdgeMode.js +0 -114
- package/lib/applyEdgeMode.js.map +0 -1
- package/lib/applyExpression.d.ts +0 -20
- package/lib/applyExpression.js +0 -138
- package/lib/applyExpression.js.map +0 -1
- package/lib/applyFormationCycleCadence.d.ts +0 -20
- package/lib/applyFormationCycleCadence.js +0 -26
- package/lib/applyFormationCycleCadence.js.map +0 -1
- package/lib/applyFormationCycleMaterial.d.ts +0 -31
- package/lib/applyFormationCycleMaterial.js +0 -100
- package/lib/applyFormationCycleMaterial.js.map +0 -1
- package/lib/applyLightMotion.d.ts +0 -38
- package/lib/applyLightMotion.js +0 -46
- package/lib/applyLightMotion.js.map +0 -1
- package/lib/applyLightState.d.ts +0 -38
- package/lib/applyLightState.js +0 -57
- package/lib/applyLightState.js.map +0 -1
- package/lib/applyMaskMode.d.ts +0 -20
- package/lib/applyMaskMode.js +0 -90
- package/lib/applyMaskMode.js.map +0 -1
- package/lib/applyMaterialShaderPatches.d.ts +0 -22
- package/lib/applyMaterialShaderPatches.js +0 -24
- package/lib/applyMaterialShaderPatches.js.map +0 -1
- package/lib/applyObjectMotion.d.ts +0 -30
- package/lib/applyObjectMotion.js +0 -33
- package/lib/applyObjectMotion.js.map +0 -1
- package/lib/applyObjectMotions.d.ts +0 -14
- package/lib/applyObjectMotions.js +0 -17
- package/lib/applyObjectMotions.js.map +0 -1
- package/lib/applyPose.d.ts +0 -40
- package/lib/applyPose.js +0 -85
- package/lib/applyPose.js.map +0 -1
- package/lib/applyPoseMode.d.ts +0 -20
- package/lib/applyPoseMode.js +0 -80
- package/lib/applyPoseMode.js.map +0 -1
- package/lib/applyRenderMode.d.ts +0 -48
- package/lib/applyRenderMode.js +0 -191
- package/lib/applyRenderMode.js.map +0 -1
- package/lib/applyRendererEnvironment.d.ts +0 -25
- package/lib/applyRendererEnvironment.js +0 -107
- package/lib/applyRendererEnvironment.js.map +0 -1
- package/lib/applySampledObjectMotion.d.ts +0 -16
- package/lib/applySampledObjectMotion.js +0 -71
- package/lib/applySampledObjectMotion.js.map +0 -1
- package/lib/applySceneEnvironment.d.ts +0 -16
- package/lib/applySceneEnvironment.js +0 -47
- package/lib/applySceneEnvironment.js.map +0 -1
- package/lib/applySceneFog.d.ts +0 -34
- package/lib/applySceneFog.js +0 -42
- package/lib/applySceneFog.js.map +0 -1
- package/lib/applySemanticMaskMode.d.ts +0 -22
- package/lib/applySemanticMaskMode.js +0 -37
- package/lib/applySemanticMaskMode.js.map +0 -1
- package/lib/applyTransform.d.ts +0 -16
- package/lib/applyTransform.js +0 -19
- package/lib/applyTransform.js.map +0 -1
- package/lib/assertAutoMovieSceneShadowProfile.d.ts +0 -19
- package/lib/assertAutoMovieSceneShadowProfile.js +0 -30
- package/lib/assertAutoMovieSceneShadowProfile.js.map +0 -1
- package/lib/assertAutoMovieViewerCameraDepthPrecision.d.ts +0 -18
- package/lib/assertAutoMovieViewerCameraDepthPrecision.js +0 -27
- package/lib/assertAutoMovieViewerCameraDepthPrecision.js.map +0 -1
- package/lib/autoMovieAnalysisRampColor.d.ts +0 -22
- package/lib/autoMovieAnalysisRampColor.js +0 -27
- package/lib/autoMovieAnalysisRampColor.js.map +0 -1
- package/lib/bakeFormationCycle.d.ts +0 -31
- package/lib/bakeFormationCycle.js +0 -101
- package/lib/bakeFormationCycle.js.map +0 -1
- package/lib/bindFormationTierCycle.d.ts +0 -18
- package/lib/bindFormationTierCycle.js +0 -32
- package/lib/bindFormationTierCycle.js.map +0 -1
- package/lib/buildAnalysisOverlayObject.d.ts +0 -38
- package/lib/buildAnalysisOverlayObject.js +0 -97
- package/lib/buildAnalysisOverlayObject.js.map +0 -1
- package/lib/buildAutoMovieConstruction.d.ts +0 -27
- package/lib/buildAutoMovieConstruction.js +0 -74
- package/lib/buildAutoMovieConstruction.js.map +0 -1
- package/lib/buildAutoMovieMaterialLibrary.d.ts +0 -30
- package/lib/buildAutoMovieMaterialLibrary.js +0 -92
- package/lib/buildAutoMovieMaterialLibrary.js.map +0 -1
- package/lib/buildFluidSprayObject.d.ts +0 -22
- package/lib/buildFluidSprayObject.js +0 -67
- package/lib/buildFluidSprayObject.js.map +0 -1
- package/lib/buildFluidSurfaceObject.d.ts +0 -23
- package/lib/buildFluidSurfaceObject.js +0 -74
- package/lib/buildFluidSurfaceObject.js.map +0 -1
- package/lib/buildGeometry.d.ts +0 -20
- package/lib/buildGeometry.js +0 -89
- package/lib/buildGeometry.js.map +0 -1
- package/lib/buildInstancedEffect.d.ts +0 -18
- package/lib/buildInstancedEffect.js +0 -103
- package/lib/buildInstancedEffect.js.map +0 -1
- package/lib/buildInstancedFormation.d.ts +0 -23
- package/lib/buildInstancedFormation.js +0 -340
- package/lib/buildInstancedFormation.js.map +0 -1
- package/lib/buildInstancedInstanceSet.d.ts +0 -29
- package/lib/buildInstancedInstanceSet.js +0 -321
- package/lib/buildInstancedInstanceSet.js.map +0 -1
- package/lib/buildLight.d.ts +0 -31
- package/lib/buildLight.js +0 -105
- package/lib/buildLight.js.map +0 -1
- package/lib/buildMaterial.d.ts +0 -22
- package/lib/buildMaterial.js +0 -98
- package/lib/buildMaterial.js.map +0 -1
- package/lib/buildModel.d.ts +0 -63
- package/lib/buildModel.js +0 -243
- package/lib/buildModel.js.map +0 -1
- package/lib/buildPlantingObject.d.ts +0 -22
- package/lib/buildPlantingObject.js +0 -155
- package/lib/buildPlantingObject.js.map +0 -1
- package/lib/buildPropArticulation.d.ts +0 -55
- package/lib/buildPropArticulation.js +0 -130
- package/lib/buildPropArticulation.js.map +0 -1
- package/lib/buildScene.d.ts +0 -44
- package/lib/buildScene.js +0 -102
- package/lib/buildScene.js.map +0 -1
- package/lib/buildSoftBodyObject.d.ts +0 -14
- package/lib/buildSoftBodyObject.js +0 -148
- package/lib/buildSoftBodyObject.js.map +0 -1
- package/lib/buildSpace.d.ts +0 -2
- package/lib/buildSpace.js +0 -3
- package/lib/buildSpace.js.map +0 -1
- package/lib/buildSpaceObject.d.ts +0 -43
- package/lib/buildSpaceObject.js +0 -71
- package/lib/buildSpaceObject.js.map +0 -1
- package/lib/cameraDepthPrecision.d.ts +0 -3
- package/lib/cameraDepthPrecision.js +0 -3
- package/lib/cameraDepthPrecision.js.map +0 -1
- package/lib/captureAutoMovieFramebufferRestore.d.ts +0 -18
- package/lib/captureAutoMovieFramebufferRestore.js +0 -70
- package/lib/captureAutoMovieFramebufferRestore.js.map +0 -1
- package/lib/captureAutoMovieMetricFrame.d.ts +0 -27
- package/lib/captureAutoMovieMetricFrame.js +0 -93
- package/lib/captureAutoMovieMetricFrame.js.map +0 -1
- package/lib/captureViewerSnapshot.d.ts +0 -16
- package/lib/captureViewerSnapshot.js +0 -22
- package/lib/captureViewerSnapshot.js.map +0 -1
- package/lib/collectAutoMovieOwnedResources.d.ts +0 -29
- package/lib/collectAutoMovieOwnedResources.js +0 -56
- package/lib/collectAutoMovieOwnedResources.js.map +0 -1
- package/lib/collectAutoMovieRenderModeMeshes.d.ts +0 -14
- package/lib/collectAutoMovieRenderModeMeshes.js +0 -21
- package/lib/collectAutoMovieRenderModeMeshes.js.map +0 -1
- package/lib/constructAutoMovieOwnedResources.d.ts +0 -24
- package/lib/constructAutoMovieOwnedResources.js +0 -35
- package/lib/constructAutoMovieOwnedResources.js.map +0 -1
- package/lib/createAutoMovieClosedSphereGeometry.d.ts +0 -25
- package/lib/createAutoMovieClosedSphereGeometry.js +0 -80
- package/lib/createAutoMovieClosedSphereGeometry.js.map +0 -1
- package/lib/createAutoMovieMetricOrthographicCamera.d.ts +0 -28
- package/lib/createAutoMovieMetricOrthographicCamera.js +0 -61
- package/lib/createAutoMovieMetricOrthographicCamera.js.map +0 -1
- package/lib/createAutoMoviePerformanceOverlay.d.ts +0 -36
- package/lib/createAutoMoviePerformanceOverlay.js +0 -132
- package/lib/createAutoMoviePerformanceOverlay.js.map +0 -1
- package/lib/createAutoMoviePhysicalPoseAdapter.d.ts +0 -14
- package/lib/createAutoMoviePhysicalPoseAdapter.js +0 -89
- package/lib/createAutoMoviePhysicalPoseAdapter.js.map +0 -1
- package/lib/createAutoMovieResourceRetirement.d.ts +0 -25
- package/lib/createAutoMovieResourceRetirement.js +0 -16
- package/lib/createAutoMovieResourceRetirement.js.map +0 -1
- package/lib/createAutoMovieSurfaceAppearance.d.ts +0 -30
- package/lib/createAutoMovieSurfaceAppearance.js +0 -180
- package/lib/createAutoMovieSurfaceAppearance.js.map +0 -1
- package/lib/createAutoMovieSurfaceVertexAdapter.d.ts +0 -17
- package/lib/createAutoMovieSurfaceVertexAdapter.js +0 -49
- package/lib/createAutoMovieSurfaceVertexAdapter.js.map +0 -1
- package/lib/createFormationCycleShadowMaterials.d.ts +0 -29
- package/lib/createFormationCycleShadowMaterials.js +0 -56
- package/lib/createFormationCycleShadowMaterials.js.map +0 -1
- package/lib/createFormationRepresentations.d.ts +0 -17
- package/lib/createFormationRepresentations.js +0 -53
- package/lib/createFormationRepresentations.js.map +0 -1
- package/lib/createImportedModelObject.d.ts +0 -14
- package/lib/createImportedModelObject.js +0 -50
- package/lib/createImportedModelObject.js.map +0 -1
- package/lib/decodeAutoMovieImage.d.ts +0 -16
- package/lib/decodeAutoMovieImage.js +0 -119
- package/lib/decodeAutoMovieImage.js.map +0 -1
- package/lib/defaultMaterial.d.ts +0 -14
- package/lib/defaultMaterial.js +0 -19
- package/lib/defaultMaterial.js.map +0 -1
- package/lib/deliveryCrop.d.ts +0 -2
- package/lib/deliveryCrop.js +0 -3
- package/lib/deliveryCrop.js.map +0 -1
- package/lib/describeFormationTextureSources.d.ts +0 -20
- package/lib/describeFormationTextureSources.js +0 -31
- package/lib/describeFormationTextureSources.js.map +0 -1
- package/lib/detailNormalShading/DETAIL_NORMAL_TARGET.d.ts +0 -5
- package/lib/detailNormalShading/DETAIL_NORMAL_TARGET.js +0 -6
- package/lib/detailNormalShading/DETAIL_NORMAL_TARGET.js.map +0 -1
- package/lib/detailNormalShading/applyDetailNormal.d.ts +0 -18
- package/lib/detailNormalShading/applyDetailNormal.js +0 -24
- package/lib/detailNormalShading/applyDetailNormal.js.map +0 -1
- package/lib/detailNormalShading/createDetailNormalShaderPatch.d.ts +0 -21
- package/lib/detailNormalShading/createDetailNormalShaderPatch.js +0 -35
- package/lib/detailNormalShading/createDetailNormalShaderPatch.js.map +0 -1
- package/lib/detailNormalShading/detailNormalFragment.d.ts +0 -14
- package/lib/detailNormalShading/detailNormalFragment.js +0 -18
- package/lib/detailNormalShading/detailNormalFragment.js.map +0 -1
- package/lib/detailNormalShading/detailNormalVertex.d.ts +0 -13
- package/lib/detailNormalShading/detailNormalVertex.js +0 -16
- package/lib/detailNormalShading/detailNormalVertex.js.map +0 -1
- package/lib/detailNormalShading/index.d.ts +0 -6
- package/lib/detailNormalShading/index.js +0 -7
- package/lib/detailNormalShading/index.js.map +0 -1
- package/lib/detailNormalShading/spliceTangentNormal.d.ts +0 -15
- package/lib/detailNormalShading/spliceTangentNormal.js +0 -25
- package/lib/detailNormalShading/spliceTangentNormal.js.map +0 -1
- package/lib/disposeCrossDissolve.d.ts +0 -15
- package/lib/disposeCrossDissolve.js +0 -22
- package/lib/disposeCrossDissolve.js.map +0 -1
- package/lib/disposeFadeToBlack.d.ts +0 -15
- package/lib/disposeFadeToBlack.js +0 -22
- package/lib/disposeFadeToBlack.js.map +0 -1
- package/lib/disposeFormationRepresentations.d.ts +0 -15
- package/lib/disposeFormationRepresentations.js +0 -37
- package/lib/disposeFormationRepresentations.js.map +0 -1
- package/lib/dualQuaternionSkinning/applyDualQuaternionSkinning.d.ts +0 -16
- package/lib/dualQuaternionSkinning/applyDualQuaternionSkinning.js +0 -20
- package/lib/dualQuaternionSkinning/applyDualQuaternionSkinning.js.map +0 -1
- package/lib/dualQuaternionSkinning/createDualQuaternionSkinningShaderPatch.d.ts +0 -15
- package/lib/dualQuaternionSkinning/createDualQuaternionSkinningShaderPatch.js +0 -21
- package/lib/dualQuaternionSkinning/createDualQuaternionSkinningShaderPatch.js.map +0 -1
- package/lib/dualQuaternionSkinning/dualQuaternionSkinningOf.d.ts +0 -16
- package/lib/dualQuaternionSkinning/dualQuaternionSkinningOf.js +0 -16
- package/lib/dualQuaternionSkinning/dualQuaternionSkinningOf.js.map +0 -1
- package/lib/dualQuaternionSkinning/dualQuaternionSkinningVertex.d.ts +0 -30
- package/lib/dualQuaternionSkinning/dualQuaternionSkinningVertex.js +0 -132
- package/lib/dualQuaternionSkinning/dualQuaternionSkinningVertex.js.map +0 -1
- package/lib/dualQuaternionSkinning/index.d.ts +0 -4
- package/lib/dualQuaternionSkinning/index.js +0 -5
- package/lib/dualQuaternionSkinning/index.js.map +0 -1
- package/lib/effect.d.ts +0 -4
- package/lib/effect.js +0 -3
- package/lib/effect.js.map +0 -1
- package/lib/evaluateAutoMovieViewerCameraDepthPrecision.d.ts +0 -29
- package/lib/evaluateAutoMovieViewerCameraDepthPrecision.js +0 -71
- package/lib/evaluateAutoMovieViewerCameraDepthPrecision.js.map +0 -1
- package/lib/flattenInstancedModel.d.ts +0 -29
- package/lib/flattenInstancedModel.js +0 -91
- package/lib/flattenInstancedModel.js.map +0 -1
- package/lib/flattenInstancedObject.d.ts +0 -18
- package/lib/flattenInstancedObject.js +0 -25
- package/lib/flattenInstancedObject.js.map +0 -1
- package/lib/flattenRigidParts.d.ts +0 -19
- package/lib/flattenRigidParts.js +0 -91
- package/lib/flattenRigidParts.js.map +0 -1
- package/lib/fluidSurface.d.ts +0 -4
- package/lib/fluidSurface.js +0 -3
- package/lib/fluidSurface.js.map +0 -1
- package/lib/formation/index.d.ts +0 -12
- package/lib/formation/index.js +0 -10
- package/lib/formation/index.js.map +0 -1
- package/lib/formationCycle/index.d.ts +0 -17
- package/lib/formationCycle/index.js +0 -18
- package/lib/formationCycle/index.js.map +0 -1
- package/lib/formationCycleCadence.d.ts +0 -32
- package/lib/formationCycleCadence.js +0 -46
- package/lib/formationCycleCadence.js.map +0 -1
- package/lib/formationCycleGait.d.ts +0 -22
- package/lib/formationCycleGait.js +0 -23
- package/lib/formationCycleGait.js.map +0 -1
- package/lib/formationCycleOf.d.ts +0 -16
- package/lib/formationCycleOf.js +0 -15
- package/lib/formationCycleOf.js.map +0 -1
- package/lib/formationCyclePosition.d.ts +0 -21
- package/lib/formationCyclePosition.js +0 -26
- package/lib/formationCyclePosition.js.map +0 -1
- package/lib/formationCycleStride.d.ts +0 -26
- package/lib/formationCycleStride.js +0 -49
- package/lib/formationCycleStride.js.map +0 -1
- package/lib/formationGeometry/index.d.ts +0 -5
- package/lib/formationGeometry/index.js +0 -6
- package/lib/formationGeometry/index.js.map +0 -1
- package/lib/formationSpacingOffset.d.ts +0 -32
- package/lib/formationSpacingOffset.js +0 -45
- package/lib/formationSpacingOffset.js.map +0 -1
- package/lib/guardAutoMovieRenderModeRetirement.d.ts +0 -18
- package/lib/guardAutoMovieRenderModeRetirement.js +0 -60
- package/lib/guardAutoMovieRenderModeRetirement.js.map +0 -1
- package/lib/guardAutoMovieSceneShadowRetirement.d.ts +0 -17
- package/lib/guardAutoMovieSceneShadowRetirement.js +0 -35
- package/lib/guardAutoMovieSceneShadowRetirement.js.map +0 -1
- package/lib/human-polygon/AutoMovieHumanCartoon.d.ts +0 -78
- package/lib/human-polygon/AutoMovieHumanCartoon.js +0 -2
- package/lib/human-polygon/AutoMovieHumanCartoon.js.map +0 -1
- package/lib/human-polygon/AutoMovieHumanPolygon.d.ts +0 -137
- package/lib/human-polygon/AutoMovieHumanPolygon.js +0 -2
- package/lib/human-polygon/AutoMovieHumanPolygon.js.map +0 -1
- package/lib/human-polygon/applyHumanPolygonPose.d.ts +0 -16
- package/lib/human-polygon/applyHumanPolygonPose.js +0 -46
- package/lib/human-polygon/applyHumanPolygonPose.js.map +0 -1
- package/lib/human-polygon/buildHumanCartoonFace.d.ts +0 -43
- package/lib/human-polygon/buildHumanCartoonFace.js +0 -319
- package/lib/human-polygon/buildHumanCartoonFace.js.map +0 -1
- package/lib/human-polygon/buildHumanPolygon.d.ts +0 -38
- package/lib/human-polygon/buildHumanPolygon.js +0 -265
- package/lib/human-polygon/buildHumanPolygon.js.map +0 -1
- package/lib/human-polygon/buildHumanPolygonModule.d.ts +0 -71
- package/lib/human-polygon/buildHumanPolygonModule.js +0 -206
- package/lib/human-polygon/buildHumanPolygonModule.js.map +0 -1
- package/lib/human-polygon/buildHumanPolygonParts.d.ts +0 -21
- package/lib/human-polygon/buildHumanPolygonParts.js +0 -140
- package/lib/human-polygon/buildHumanPolygonParts.js.map +0 -1
- package/lib/human-polygon/createAutoMovieHumanPolygonFigure.d.ts +0 -60
- package/lib/human-polygon/createAutoMovieHumanPolygonFigure.js +0 -67
- package/lib/human-polygon/createAutoMovieHumanPolygonFigure.js.map +0 -1
- package/lib/human-polygon/createHumanPolygonPalette.d.ts +0 -62
- package/lib/human-polygon/createHumanPolygonPalette.js +0 -131
- package/lib/human-polygon/createHumanPolygonPalette.js.map +0 -1
- package/lib/human-polygon/humanPolygonSections.d.ts +0 -49
- package/lib/human-polygon/humanPolygonSections.js +0 -63
- package/lib/human-polygon/humanPolygonSections.js.map +0 -1
- package/lib/human-polygon/humanPolygonTopology.d.ts +0 -62
- package/lib/human-polygon/humanPolygonTopology.js +0 -111
- package/lib/human-polygon/humanPolygonTopology.js.map +0 -1
- package/lib/human-polygon/index.d.ts +0 -5
- package/lib/human-polygon/index.js +0 -4
- package/lib/human-polygon/index.js.map +0 -1
- package/lib/human-polygon/mountHumanCartoonFace.d.ts +0 -14
- package/lib/human-polygon/mountHumanCartoonFace.js +0 -70
- package/lib/human-polygon/mountHumanCartoonFace.js.map +0 -1
- package/lib/importedModel/index.d.ts +0 -4
- package/lib/importedModel/index.js +0 -5
- package/lib/importedModel/index.js.map +0 -1
- package/lib/instanceSet/index.d.ts +0 -6
- package/lib/instanceSet/index.js +0 -7
- package/lib/instanceSet/index.js.map +0 -1
- package/lib/instancedModelParts.d.ts +0 -15
- package/lib/instancedModelParts.js +0 -22
- package/lib/instancedModelParts.js.map +0 -1
- package/lib/invalidateAutoMovieSceneShadowPrograms.d.ts +0 -13
- package/lib/invalidateAutoMovieSceneShadowPrograms.js +0 -27
- package/lib/invalidateAutoMovieSceneShadowPrograms.js.map +0 -1
- package/lib/invalidateAutoMovieSkinnedPose.d.ts +0 -22
- package/lib/invalidateAutoMovieSkinnedPose.js +0 -31
- package/lib/invalidateAutoMovieSkinnedPose.js.map +0 -1
- package/lib/mapImportedHumanoidBones.d.ts +0 -16
- package/lib/mapImportedHumanoidBones.js +0 -57
- package/lib/mapImportedHumanoidBones.js.map +0 -1
- package/lib/maskColor.d.ts +0 -13
- package/lib/maskColor.js +0 -14
- package/lib/maskColor.js.map +0 -1
- package/lib/matchesAutoMovieShadowTextureProfile.d.ts +0 -13
- package/lib/matchesAutoMovieShadowTextureProfile.js +0 -21
- package/lib/matchesAutoMovieShadowTextureProfile.js.map +0 -1
- package/lib/materialOverlayShading/IMaterialOverlayShading.d.ts +0 -29
- package/lib/materialOverlayShading/IMaterialOverlayShading.js +0 -2
- package/lib/materialOverlayShading/IMaterialOverlayShading.js.map +0 -1
- package/lib/materialOverlayShading/IMaterialOverlayShape.d.ts +0 -16
- package/lib/materialOverlayShading/IMaterialOverlayShape.js +0 -2
- package/lib/materialOverlayShading/IMaterialOverlayShape.js.map +0 -1
- package/lib/materialOverlayShading/applyMaterialOverlays.d.ts +0 -16
- package/lib/materialOverlayShading/applyMaterialOverlays.js +0 -66
- package/lib/materialOverlayShading/applyMaterialOverlays.js.map +0 -1
- package/lib/materialOverlayShading/getOverlayFlatNormal.d.ts +0 -13
- package/lib/materialOverlayShading/getOverlayFlatNormal.js +0 -24
- package/lib/materialOverlayShading/getOverlayFlatNormal.js.map +0 -1
- package/lib/materialOverlayShading/index.d.ts +0 -6
- package/lib/materialOverlayShading/index.js +0 -4
- package/lib/materialOverlayShading/index.js.map +0 -1
- package/lib/materialOverlayShading/materialOverlayFragment.d.ts +0 -13
- package/lib/materialOverlayShading/materialOverlayFragment.js +0 -50
- package/lib/materialOverlayShading/materialOverlayFragment.js.map +0 -1
- package/lib/materialOverlayShading/materialOverlayVertex.d.ts +0 -13
- package/lib/materialOverlayShading/materialOverlayVertex.js +0 -27
- package/lib/materialOverlayShading/materialOverlayVertex.js.map +0 -1
- package/lib/materialTextureBindings.d.ts +0 -13
- package/lib/materialTextureBindings.js +0 -26
- package/lib/materialTextureBindings.js.map +0 -1
- package/lib/morphTargetDriversOf.d.ts +0 -17
- package/lib/morphTargetDriversOf.js +0 -16
- package/lib/morphTargetDriversOf.js.map +0 -1
- package/lib/motion-overlay/applyAutoMovieGhost.d.ts +0 -25
- package/lib/motion-overlay/applyAutoMovieGhost.js +0 -42
- package/lib/motion-overlay/applyAutoMovieGhost.js.map +0 -1
- package/lib/motion-overlay/createAutoMovieDriftMarkers.d.ts +0 -27
- package/lib/motion-overlay/createAutoMovieDriftMarkers.js +0 -47
- package/lib/motion-overlay/createAutoMovieDriftMarkers.js.map +0 -1
- package/lib/motion-overlay/createAutoMovieTargetMarker.d.ts +0 -24
- package/lib/motion-overlay/createAutoMovieTargetMarker.js +0 -51
- package/lib/motion-overlay/createAutoMovieTargetMarker.js.map +0 -1
- package/lib/motion-overlay/createAutoMovieTrail.d.ts +0 -23
- package/lib/motion-overlay/createAutoMovieTrail.js +0 -35
- package/lib/motion-overlay/createAutoMovieTrail.js.map +0 -1
- package/lib/motion-overlay/index.d.ts +0 -4
- package/lib/motion-overlay/index.js +0 -5
- package/lib/motion-overlay/index.js.map +0 -1
- package/lib/objectTransform.d.ts +0 -14
- package/lib/objectTransform.js +0 -28
- package/lib/objectTransform.js.map +0 -1
- package/lib/observeAutoMovieRendererFrame.d.ts +0 -21
- package/lib/observeAutoMovieRendererFrame.js +0 -40
- package/lib/observeAutoMovieRendererFrame.js.map +0 -1
- package/lib/overrideAutoMovieRenderModeMaterials.d.ts +0 -17
- package/lib/overrideAutoMovieRenderModeMaterials.js +0 -61
- package/lib/overrideAutoMovieRenderModeMaterials.js.map +0 -1
- package/lib/planAutoMovieShadowTextureTarget.d.ts +0 -14
- package/lib/planAutoMovieShadowTextureTarget.js +0 -33
- package/lib/planAutoMovieShadowTextureTarget.js.map +0 -1
- package/lib/propArticulation/index.d.ts +0 -4
- package/lib/propArticulation/index.js +0 -5
- package/lib/propArticulation/index.js.map +0 -1
- package/lib/raster/AutoMovieRasterLighting.d.ts +0 -43
- package/lib/raster/AutoMovieRasterLighting.js +0 -179
- package/lib/raster/AutoMovieRasterLighting.js.map +0 -1
- package/lib/raster/AutoMovieRasterSheet.d.ts +0 -68
- package/lib/raster/AutoMovieRasterSheet.js +0 -141
- package/lib/raster/AutoMovieRasterSheet.js.map +0 -1
- package/lib/raster/AutoMovieRasterTarget.d.ts +0 -87
- package/lib/raster/AutoMovieRasterTarget.js +0 -227
- package/lib/raster/AutoMovieRasterTarget.js.map +0 -1
- package/lib/raster/IAutoMovieSceneRaster.d.ts +0 -52
- package/lib/raster/IAutoMovieSceneRaster.js +0 -2
- package/lib/raster/IAutoMovieSceneRaster.js.map +0 -1
- package/lib/raster/IRasterizeAutoMovieSceneProps.d.ts +0 -28
- package/lib/raster/IRasterizeAutoMovieSceneProps.js +0 -2
- package/lib/raster/IRasterizeAutoMovieSceneProps.js.map +0 -1
- package/lib/raster/encodeAutoMovieRasterPng.d.ts +0 -17
- package/lib/raster/encodeAutoMovieRasterPng.js +0 -71
- package/lib/raster/encodeAutoMovieRasterPng.js.map +0 -1
- package/lib/raster/index.d.ts +0 -8
- package/lib/raster/index.js +0 -9
- package/lib/raster/index.js.map +0 -1
- package/lib/raster/rasterizeAutoMovieScene.d.ts +0 -33
- package/lib/raster/rasterizeAutoMovieScene.js +0 -409
- package/lib/raster/rasterizeAutoMovieScene.js.map +0 -1
- package/lib/raster/stampAutoMovieRasterLabel.d.ts +0 -19
- package/lib/raster/stampAutoMovieRasterLabel.js +0 -88
- package/lib/raster/stampAutoMovieRasterLabel.js.map +0 -1
- package/lib/readAutoMovieCubeShadowDepth.d.ts +0 -13
- package/lib/readAutoMovieCubeShadowDepth.js +0 -37
- package/lib/readAutoMovieCubeShadowDepth.js.map +0 -1
- package/lib/readAutoMovieDeliveryCrop.d.ts +0 -20
- package/lib/readAutoMovieDeliveryCrop.js +0 -36
- package/lib/readAutoMovieDeliveryCrop.js.map +0 -1
- package/lib/readAutoMovieDisplayDestinationEncoding.d.ts +0 -13
- package/lib/readAutoMovieDisplayDestinationEncoding.js +0 -52
- package/lib/readAutoMovieDisplayDestinationEncoding.js.map +0 -1
- package/lib/readAutoMovieEnvironmentColorSpace.d.ts +0 -13
- package/lib/readAutoMovieEnvironmentColorSpace.js +0 -18
- package/lib/readAutoMovieEnvironmentColorSpace.js.map +0 -1
- package/lib/readAutoMovieFilmDisplayTextureResidency.d.ts +0 -20
- package/lib/readAutoMovieFilmDisplayTextureResidency.js +0 -29
- package/lib/readAutoMovieFilmDisplayTextureResidency.js.map +0 -1
- package/lib/readAutoMovieMaterialTextureSources.d.ts +0 -23
- package/lib/readAutoMovieMaterialTextureSources.js +0 -94
- package/lib/readAutoMovieMaterialTextureSources.js.map +0 -1
- package/lib/readAutoMovieRenderTextureTarget.d.ts +0 -14
- package/lib/readAutoMovieRenderTextureTarget.js +0 -52
- package/lib/readAutoMovieRenderTextureTarget.js.map +0 -1
- package/lib/readAutoMovieShadowLightSource.d.ts +0 -14
- package/lib/readAutoMovieShadowLightSource.js +0 -23
- package/lib/readAutoMovieShadowLightSource.js.map +0 -1
- package/lib/readAutoMovieShadowTextureTargets.d.ts +0 -16
- package/lib/readAutoMovieShadowTextureTargets.js +0 -65
- package/lib/readAutoMovieShadowTextureTargets.js.map +0 -1
- package/lib/readAutoMovieTextureSource.d.ts +0 -20
- package/lib/readAutoMovieTextureSource.js +0 -214
- package/lib/readAutoMovieTextureSource.js.map +0 -1
- package/lib/readAutoMovieTextureUploadFormat.d.ts +0 -13
- package/lib/readAutoMovieTextureUploadFormat.js +0 -43
- package/lib/readAutoMovieTextureUploadFormat.js.map +0 -1
- package/lib/readAutoMovieTransmissionTextureTarget.d.ts +0 -19
- package/lib/readAutoMovieTransmissionTextureTarget.js +0 -42
- package/lib/readAutoMovieTransmissionTextureTarget.js.map +0 -1
- package/lib/regenerateFormationSlot.d.ts +0 -15
- package/lib/regenerateFormationSlot.js +0 -16
- package/lib/regenerateFormationSlot.js.map +0 -1
- package/lib/regenerateInstanceSlot.d.ts +0 -17
- package/lib/regenerateInstanceSlot.js +0 -18
- package/lib/regenerateInstanceSlot.js.map +0 -1
- package/lib/releaseViewerRenderer.d.ts +0 -13
- package/lib/releaseViewerRenderer.js +0 -26
- package/lib/releaseViewerRenderer.js.map +0 -1
- package/lib/reliefWeightShading/RELIEF_WEIGHT_TARGET.d.ts +0 -5
- package/lib/reliefWeightShading/RELIEF_WEIGHT_TARGET.js +0 -6
- package/lib/reliefWeightShading/RELIEF_WEIGHT_TARGET.js.map +0 -1
- package/lib/reliefWeightShading/applyReliefWeights.d.ts +0 -13
- package/lib/reliefWeightShading/applyReliefWeights.js +0 -17
- package/lib/reliefWeightShading/applyReliefWeights.js.map +0 -1
- package/lib/reliefWeightShading/createReliefWeightShaderPatch.d.ts +0 -18
- package/lib/reliefWeightShading/createReliefWeightShaderPatch.js +0 -21
- package/lib/reliefWeightShading/createReliefWeightShaderPatch.js.map +0 -1
- package/lib/reliefWeightShading/index.d.ts +0 -5
- package/lib/reliefWeightShading/index.js +0 -6
- package/lib/reliefWeightShading/index.js.map +0 -1
- package/lib/reliefWeightShading/reliefWeightFragment.d.ts +0 -12
- package/lib/reliefWeightShading/reliefWeightFragment.js +0 -24
- package/lib/reliefWeightShading/reliefWeightFragment.js.map +0 -1
- package/lib/reliefWeightShading/reliefWeightVertex.d.ts +0 -12
- package/lib/reliefWeightShading/reliefWeightVertex.js +0 -15
- package/lib/reliefWeightShading/reliefWeightVertex.js.map +0 -1
- package/lib/renderAutoMovieFilmFrame.d.ts +0 -22
- package/lib/renderAutoMovieFilmFrame.js +0 -33
- package/lib/renderAutoMovieFilmFrame.js.map +0 -1
- package/lib/renderAutoMovieScenePass.d.ts +0 -14
- package/lib/renderAutoMovieScenePass.js +0 -103
- package/lib/renderAutoMovieScenePass.js.map +0 -1
- package/lib/renderCrossDissolve.d.ts +0 -13
- package/lib/renderCrossDissolve.js +0 -26
- package/lib/renderCrossDissolve.js.map +0 -1
- package/lib/renderCrossDissolveFrames.d.ts +0 -15
- package/lib/renderCrossDissolveFrames.js +0 -30
- package/lib/renderCrossDissolveFrames.js.map +0 -1
- package/lib/renderFadeToBlackFrame.d.ts +0 -13
- package/lib/renderFadeToBlackFrame.js +0 -28
- package/lib/renderFadeToBlackFrame.js.map +0 -1
- package/lib/reportAutoMovieResourceRetirement.d.ts +0 -14
- package/lib/reportAutoMovieResourceRetirement.js +0 -47
- package/lib/reportAutoMovieResourceRetirement.js.map +0 -1
- package/lib/resetAutoMovieSceneShadowTargets.d.ts +0 -15
- package/lib/resetAutoMovieSceneShadowTargets.js +0 -83
- package/lib/resetAutoMovieSceneShadowTargets.js.map +0 -1
- package/lib/resolveAutoMovieFilmBeautyComposition.d.ts +0 -16
- package/lib/resolveAutoMovieFilmBeautyComposition.js +0 -31
- package/lib/resolveAutoMovieFilmBeautyComposition.js.map +0 -1
- package/lib/resolveAutoMovieMaterialTexture.d.ts +0 -17
- package/lib/resolveAutoMovieMaterialTexture.js +0 -77
- package/lib/resolveAutoMovieMaterialTexture.js.map +0 -1
- package/lib/restoreAutoMovieRenderModeOnce.d.ts +0 -12
- package/lib/restoreAutoMovieRenderModeOnce.js +0 -31
- package/lib/restoreAutoMovieRenderModeOnce.js.map +0 -1
- package/lib/restoreAutoMovieRenderModeState.d.ts +0 -15
- package/lib/restoreAutoMovieRenderModeState.js +0 -49
- package/lib/restoreAutoMovieRenderModeState.js.map +0 -1
- package/lib/retireAutoMovieCubeShadowDepth.d.ts +0 -13
- package/lib/retireAutoMovieCubeShadowDepth.js +0 -28
- package/lib/retireAutoMovieCubeShadowDepth.js.map +0 -1
- package/lib/sampleFormationCycleMatrix.d.ts +0 -15
- package/lib/sampleFormationCycleMatrix.js +0 -27
- package/lib/sampleFormationCycleMatrix.js.map +0 -1
- package/lib/semanticMask/IAutoMovieSemanticMaskBinding.d.ts +0 -19
- package/lib/semanticMask/IAutoMovieSemanticMaskBinding.js +0 -2
- package/lib/semanticMask/IAutoMovieSemanticMaskBinding.js.map +0 -1
- package/lib/semanticMask/IAutoMovieSemanticMaskHandle.d.ts +0 -42
- package/lib/semanticMask/IAutoMovieSemanticMaskHandle.js +0 -2
- package/lib/semanticMask/IAutoMovieSemanticMaskHandle.js.map +0 -1
- package/lib/semanticMask/SCENE_MASK_KEY.d.ts +0 -6
- package/lib/semanticMask/SCENE_MASK_KEY.js +0 -7
- package/lib/semanticMask/SCENE_MASK_KEY.js.map +0 -1
- package/lib/semanticMask/applyAutoMovieSemanticMask.d.ts +0 -34
- package/lib/semanticMask/applyAutoMovieSemanticMask.js +0 -177
- package/lib/semanticMask/applyAutoMovieSemanticMask.js.map +0 -1
- package/lib/semanticMask/attachAutoMovieSemanticMask.d.ts +0 -16
- package/lib/semanticMask/attachAutoMovieSemanticMask.js +0 -18
- package/lib/semanticMask/attachAutoMovieSemanticMask.js.map +0 -1
- package/lib/semanticMask/auditAutoMovieSemanticMaskScene.d.ts +0 -21
- package/lib/semanticMask/auditAutoMovieSemanticMaskScene.js +0 -27
- package/lib/semanticMask/auditAutoMovieSemanticMaskScene.js.map +0 -1
- package/lib/semanticMask/autoMovieSemanticMaskOf.d.ts +0 -14
- package/lib/semanticMask/autoMovieSemanticMaskOf.js +0 -14
- package/lib/semanticMask/autoMovieSemanticMaskOf.js.map +0 -1
- package/lib/semanticMask/index.d.ts +0 -7
- package/lib/semanticMask/index.js +0 -7
- package/lib/semanticMask/index.js.map +0 -1
- package/lib/semanticMask/maskRoots.d.ts +0 -23
- package/lib/semanticMask/maskRoots.js +0 -33
- package/lib/semanticMask/maskRoots.js.map +0 -1
- package/lib/semanticMask/nearest.d.ts +0 -14
- package/lib/semanticMask/nearest.js +0 -22
- package/lib/semanticMask/nearest.js.map +0 -1
- package/lib/semanticMask/unresolvedOf.d.ts +0 -14
- package/lib/semanticMask/unresolvedOf.js +0 -21
- package/lib/semanticMask/unresolvedOf.js.map +0 -1
- package/lib/slotMatrix.d.ts +0 -17
- package/lib/slotMatrix.js +0 -15
- package/lib/slotMatrix.js.map +0 -1
- package/lib/subjectViewpoint/AutoMovieViewerSubjectKind.d.ts +0 -9
- package/lib/subjectViewpoint/AutoMovieViewerSubjectKind.js +0 -2
- package/lib/subjectViewpoint/AutoMovieViewerSubjectKind.js.map +0 -1
- package/lib/subjectViewpoint/IAutoMovieViewerSubject.d.ts +0 -25
- package/lib/subjectViewpoint/IAutoMovieViewerSubject.js +0 -2
- package/lib/subjectViewpoint/IAutoMovieViewerSubject.js.map +0 -1
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectBounds.d.ts +0 -26
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectBounds.js +0 -2
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectBounds.js.map +0 -1
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectLens.d.ts +0 -20
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectLens.js +0 -2
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectLens.js.map +0 -1
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectPose.d.ts +0 -39
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectPose.js +0 -2
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectPose.js.map +0 -1
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectView.d.ts +0 -37
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectView.js +0 -2
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectView.js.map +0 -1
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectViewRequest.d.ts +0 -55
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectViewRequest.js +0 -2
- package/lib/subjectViewpoint/IAutoMovieViewerSubjectViewRequest.js.map +0 -1
- package/lib/subjectViewpoint/IAutoMovieViewerTurntableOptions.d.ts +0 -22
- package/lib/subjectViewpoint/IAutoMovieViewerTurntableOptions.js +0 -2
- package/lib/subjectViewpoint/IAutoMovieViewerTurntableOptions.js.map +0 -1
- package/lib/subjectViewpoint/IAutoMovieViewerViewpoint.d.ts +0 -28
- package/lib/subjectViewpoint/IAutoMovieViewerViewpoint.js +0 -2
- package/lib/subjectViewpoint/IAutoMovieViewerViewpoint.js.map +0 -1
- package/lib/subjectViewpoint/applyAutoMovieViewerSubjectPose.d.ts +0 -14
- package/lib/subjectViewpoint/applyAutoMovieViewerSubjectPose.js +0 -25
- package/lib/subjectViewpoint/applyAutoMovieViewerSubjectPose.js.map +0 -1
- package/lib/subjectViewpoint/autoMovieViewerPoseFromHeading.d.ts +0 -24
- package/lib/subjectViewpoint/autoMovieViewerPoseFromHeading.js +0 -33
- package/lib/subjectViewpoint/autoMovieViewerPoseFromHeading.js.map +0 -1
- package/lib/subjectViewpoint/autoMovieViewerSubjectKey.d.ts +0 -13
- package/lib/subjectViewpoint/autoMovieViewerSubjectKey.js +0 -17
- package/lib/subjectViewpoint/autoMovieViewerSubjectKey.js.map +0 -1
- package/lib/subjectViewpoint/autoMovieViewerTurntableViewpoints.d.ts +0 -14
- package/lib/subjectViewpoint/autoMovieViewerTurntableViewpoints.js +0 -41
- package/lib/subjectViewpoint/autoMovieViewerTurntableViewpoints.js.map +0 -1
- package/lib/subjectViewpoint/captureAutoMovieViewerSubjectView.d.ts +0 -14
- package/lib/subjectViewpoint/captureAutoMovieViewerSubjectView.js +0 -25
- package/lib/subjectViewpoint/captureAutoMovieViewerSubjectView.js.map +0 -1
- package/lib/subjectViewpoint/frameAutoMovieViewerSubject.d.ts +0 -16
- package/lib/subjectViewpoint/frameAutoMovieViewerSubject.js +0 -57
- package/lib/subjectViewpoint/frameAutoMovieViewerSubject.js.map +0 -1
- package/lib/subjectViewpoint/index.d.ts +0 -16
- package/lib/subjectViewpoint/index.js +0 -17
- package/lib/subjectViewpoint/index.js.map +0 -1
- package/lib/subjectViewpoint/parseAutoMovieViewerSubjectKey.d.ts +0 -13
- package/lib/subjectViewpoint/parseAutoMovieViewerSubjectKey.js +0 -49
- package/lib/subjectViewpoint/parseAutoMovieViewerSubjectKey.js.map +0 -1
- package/lib/subsurfaceShading/SUBSURFACE_TARGET.d.ts +0 -2
- package/lib/subsurfaceShading/SUBSURFACE_TARGET.js +0 -3
- package/lib/subsurfaceShading/SUBSURFACE_TARGET.js.map +0 -1
- package/lib/subsurfaceShading/SUBSURFACE_TEXTURE_SIZE.d.ts +0 -5
- package/lib/subsurfaceShading/SUBSURFACE_TEXTURE_SIZE.js +0 -3
- package/lib/subsurfaceShading/SUBSURFACE_TEXTURE_SIZE.js.map +0 -1
- package/lib/subsurfaceShading/applySubsurfaceShading.d.ts +0 -17
- package/lib/subsurfaceShading/applySubsurfaceShading.js +0 -34
- package/lib/subsurfaceShading/applySubsurfaceShading.js.map +0 -1
- package/lib/subsurfaceShading/getSubsurfaceTexture.d.ts +0 -13
- package/lib/subsurfaceShading/getSubsurfaceTexture.js +0 -36
- package/lib/subsurfaceShading/getSubsurfaceTexture.js.map +0 -1
- package/lib/subsurfaceShading/index.d.ts +0 -6
- package/lib/subsurfaceShading/index.js +0 -7
- package/lib/subsurfaceShading/index.js.map +0 -1
- package/lib/subsurfaceShading/subsurfaceFragment.d.ts +0 -12
- package/lib/subsurfaceShading/subsurfaceFragment.js +0 -26
- package/lib/subsurfaceShading/subsurfaceFragment.js.map +0 -1
- package/lib/subsurfaceShading/subsurfacePhysicalChunk.d.ts +0 -12
- package/lib/subsurfaceShading/subsurfacePhysicalChunk.js +0 -34
- package/lib/subsurfaceShading/subsurfacePhysicalChunk.js.map +0 -1
- package/lib/subsurfaceShading/subsurfaceTable.d.ts +0 -12
- package/lib/subsurfaceShading/subsurfaceTable.js +0 -45
- package/lib/subsurfaceShading/subsurfaceTable.js.map +0 -1
- package/lib/textureBindingAsset.d.ts +0 -13
- package/lib/textureBindingAsset.js +0 -15
- package/lib/textureBindingAsset.js.map +0 -1
- package/lib/transport/configureAutoMovieReviewControls.d.ts +0 -27
- package/lib/transport/configureAutoMovieReviewControls.js +0 -35
- package/lib/transport/configureAutoMovieReviewControls.js.map +0 -1
- package/lib/transport/mountAutoMovieTransportControls.d.ts +0 -64
- package/lib/transport/mountAutoMovieTransportControls.js +0 -124
- package/lib/transport/mountAutoMovieTransportControls.js.map +0 -1
- package/lib/transport/parseAutoMovieInspectionView.d.ts +0 -20
- package/lib/transport/parseAutoMovieInspectionView.js +0 -29
- package/lib/transport/parseAutoMovieInspectionView.js.map +0 -1
- package/lib/updateAutoMovieComparisonCamera.d.ts +0 -27
- package/lib/updateAutoMovieComparisonCamera.js +0 -79
- package/lib/updateAutoMovieComparisonCamera.js.map +0 -1
- package/lib/vector.d.ts +0 -17
- package/lib/vector.js +0 -16
- package/lib/vector.js.map +0 -1
- package/src/AUTOMOVIE_FORMATION_CYCLE_SAMPLES.ts +0 -4
- package/src/AutoMovieDisplayCompositor.ts +0 -379
- package/src/AutoMovieDissolveCompositorState.ts +0 -9
- package/src/AutoMovieEnvironmentTextureOwnership.ts +0 -262
- package/src/AutoMovieFadeCompositorState.ts +0 -9
- package/src/AutoMovieFilmBeautyComposition.ts +0 -24
- package/src/AutoMovieGeometryPhysicalVertices.ts +0 -187
- package/src/AutoMoviePlayer.ts +0 -281
- package/src/AutoMovieRenderModeMesh.ts +0 -14
- package/src/AutoMovieResourceRetirementScope.ts +0 -203
- package/src/AutoMovieSkinBlend.ts +0 -251
- package/src/AutoMovieSkinPose.ts +0 -453
- package/src/AutoMovieSkinnedMesh.ts +0 -333
- package/src/AutoMovieTextureCache.ts +0 -389
- package/src/AutoMovieTextureCacheAllocationAuthority.ts +0 -516
- package/src/DEPTH_NORMALIZATION_RANGE.ts +0 -4
- package/src/EDGE_SHELL_NAME.ts +0 -2
- package/src/EDGE_WIDTH.ts +0 -4
- package/src/IApplyAutoMovieSectionPlanesProps.ts +0 -32
- package/src/IAutoMovieAnalysisOverlayObject.ts +0 -53
- package/src/IAutoMovieBuiltPropArticulation.ts +0 -36
- package/src/IAutoMovieEffectViewerObject.ts +0 -32
- package/src/IAutoMovieEffectViewerStats.ts +0 -21
- package/src/IAutoMovieExpressionTarget.ts +0 -22
- package/src/IAutoMovieFilmBeautyLayer.ts +0 -12
- package/src/IAutoMovieFluidSprayObject.ts +0 -54
- package/src/IAutoMovieFluidSurfaceObject.ts +0 -41
- package/src/IAutoMovieFormationCadence.ts +0 -20
- package/src/IAutoMovieFormationCycle.ts +0 -44
- package/src/IAutoMovieFormationCycleTake.ts +0 -52
- package/src/IAutoMovieFormationCycleUniforms.ts +0 -26
- package/src/IAutoMovieFormationViewerObject.ts +0 -74
- package/src/IAutoMovieFormationViewerStats.ts +0 -38
- package/src/IAutoMovieImportedModelOptions.ts +0 -51
- package/src/IAutoMovieInstanceSetViewerObject.ts +0 -47
- package/src/IAutoMovieInstanceSetViewerStats.ts +0 -20
- package/src/IAutoMovieInstancedGeometry.ts +0 -26
- package/src/IAutoMovieInstancedModelRepresentation.ts +0 -20
- package/src/IAutoMovieMaterialLibrary.ts +0 -44
- package/src/IAutoMovieModelObject.ts +0 -61
- package/src/IAutoMoviePlantingObject.ts +0 -39
- package/src/IAutoMovieRenderModeHandle.ts +0 -47
- package/src/IAutoMovieRendererEnvironmentHandle.ts +0 -22
- package/src/IAutoMovieRigLocalTransform.ts +0 -16
- package/src/IAutoMovieSceneObject.ts +0 -29
- package/src/IAutoMovieSectionRenderer.ts +0 -17
- package/src/IAutoMovieShadowTextureHost.ts +0 -19
- package/src/IAutoMovieSoftBodyObject.ts +0 -49
- package/src/IAutoMovieSpringAxisSettlement.ts +0 -21
- package/src/IAutoMovieSpringConfig.ts +0 -25
- package/src/IAutoMovieTextureLoader.ts +0 -14
- package/src/IAutoMovieTextureResolver.ts +0 -19
- package/src/IAutoMovieViewerCameraDepthPrecisionReport.ts +0 -45
- package/src/IAutoMovieViewerFrame.ts +0 -26
- package/src/IAutoMovieViewerSnapshot.ts +0 -21
- package/src/IAutoMovieViewerSnapshotOptions.ts +0 -15
- package/src/IAutoMovieViewerSnapshotRenderer.ts +0 -36
- package/src/IBakeFormationCycleProps.ts +0 -36
- package/src/IBuildAutoMovieMaterialLibraryProps.ts +0 -34
- package/src/IBuildInstancedFormationProps.ts +0 -45
- package/src/IBuildInstancedInstanceSetProps.ts +0 -36
- package/src/IBuildPlantingObjectProps.ts +0 -30
- package/src/IBuildPropArticulationProps.ts +0 -35
- package/src/IBuildSoftBodyObjectProps.ts +0 -24
- package/src/IChunkObject.ts +0 -42
- package/src/IFormationTierRepresentation.ts +0 -18
- package/src/IMaterialShaderPatch.ts +0 -30
- package/src/ISlotException.ts +0 -31
- package/src/POSE_OVERLAY_NAME.ts +0 -2
- package/src/SPACE_GROUP_NAME.ts +0 -12
- package/src/addMaterialShaderPatch.ts +0 -42
- package/src/analysisOverlay.ts +0 -3
- package/src/applyAutoMovieDeliveryCrop.ts +0 -51
- package/src/applyAutoMovieRigLocals.ts +0 -111
- package/src/applyAutoMovieSectionPlanes.ts +0 -73
- package/src/applyAutoMovieShadowParticipation.ts +0 -69
- package/src/applyDepthMode.ts +0 -101
- package/src/applyEdgeMode.ts +0 -153
- package/src/applyExpression.ts +0 -203
- package/src/applyFormationCycleCadence.ts +0 -39
- package/src/applyFormationCycleMaterial.ts +0 -121
- package/src/applyLightMotion.ts +0 -58
- package/src/applyLightState.ts +0 -61
- package/src/applyMaskMode.ts +0 -130
- package/src/applyMaterialShaderPatches.ts +0 -28
- package/src/applyObjectMotion.ts +0 -44
- package/src/applyObjectMotions.ts +0 -28
- package/src/applyPose.ts +0 -127
- package/src/applyPoseMode.ts +0 -115
- package/src/applyRenderMode.ts +0 -248
- package/src/applyRendererEnvironment.ts +0 -141
- package/src/applySampledObjectMotion.ts +0 -79
- package/src/applySceneEnvironment.ts +0 -72
- package/src/applySceneFog.ts +0 -49
- package/src/applySemanticMaskMode.ts +0 -50
- package/src/applyTransform.ts +0 -24
- package/src/assertAutoMovieSceneShadowProfile.ts +0 -45
- package/src/assertAutoMovieViewerCameraDepthPrecision.ts +0 -35
- package/src/autoMovieAnalysisRampColor.ts +0 -30
- package/src/bakeFormationCycle.ts +0 -221
- package/src/bindFormationTierCycle.ts +0 -62
- package/src/buildAnalysisOverlayObject.ts +0 -163
- package/src/buildAutoMovieConstruction.ts +0 -114
- package/src/buildAutoMovieMaterialLibrary.ts +0 -150
- package/src/buildFluidSprayObject.ts +0 -96
- package/src/buildFluidSurfaceObject.ts +0 -127
- package/src/buildGeometry.ts +0 -149
- package/src/buildInstancedEffect.ts +0 -152
- package/src/buildInstancedFormation.ts +0 -599
- package/src/buildInstancedInstanceSet.ts +0 -637
- package/src/buildLight.ts +0 -129
- package/src/buildMaterial.ts +0 -215
- package/src/buildModel.ts +0 -333
- package/src/buildPlantingObject.ts +0 -234
- package/src/buildPropArticulation.ts +0 -181
- package/src/buildScene.ts +0 -136
- package/src/buildSoftBodyObject.ts +0 -191
- package/src/buildSpace.ts +0 -2
- package/src/buildSpaceObject.ts +0 -100
- package/src/cameraDepthPrecision.ts +0 -3
- package/src/captureAutoMovieFramebufferRestore.ts +0 -84
- package/src/captureAutoMovieMetricFrame.ts +0 -111
- package/src/captureViewerSnapshot.ts +0 -37
- package/src/collectAutoMovieOwnedResources.ts +0 -73
- package/src/collectAutoMovieRenderModeMeshes.ts +0 -32
- package/src/constructAutoMovieOwnedResources.ts +0 -47
- package/src/createAutoMovieClosedSphereGeometry.ts +0 -113
- package/src/createAutoMovieMetricOrthographicCamera.ts +0 -95
- package/src/createAutoMoviePerformanceOverlay.ts +0 -239
- package/src/createAutoMoviePhysicalPoseAdapter.ts +0 -125
- package/src/createAutoMovieResourceRetirement.ts +0 -59
- package/src/createAutoMovieSurfaceAppearance.ts +0 -260
- package/src/createAutoMovieSurfaceVertexAdapter.ts +0 -66
- package/src/createFormationCycleShadowMaterials.ts +0 -111
- package/src/createFormationRepresentations.ts +0 -101
- package/src/createImportedModelObject.ts +0 -67
- package/src/decodeAutoMovieImage.ts +0 -152
- package/src/defaultMaterial.ts +0 -21
- package/src/deliveryCrop.ts +0 -2
- package/src/describeFormationTextureSources.ts +0 -54
- package/src/detailNormalShading/DETAIL_NORMAL_TARGET.ts +0 -5
- package/src/detailNormalShading/applyDetailNormal.ts +0 -42
- package/src/detailNormalShading/createDetailNormalShaderPatch.ts +0 -71
- package/src/detailNormalShading/detailNormalFragment.ts +0 -27
- package/src/detailNormalShading/detailNormalVertex.ts +0 -24
- package/src/detailNormalShading/index.ts +0 -6
- package/src/detailNormalShading/spliceTangentNormal.ts +0 -39
- package/src/disposeCrossDissolve.ts +0 -25
- package/src/disposeFadeToBlack.ts +0 -25
- package/src/disposeFormationRepresentations.ts +0 -59
- package/src/dualQuaternionSkinning/applyDualQuaternionSkinning.ts +0 -24
- package/src/dualQuaternionSkinning/createDualQuaternionSkinningShaderPatch.ts +0 -23
- package/src/dualQuaternionSkinning/dualQuaternionSkinningOf.ts +0 -19
- package/src/dualQuaternionSkinning/dualQuaternionSkinningVertex.ts +0 -146
- package/src/dualQuaternionSkinning/index.ts +0 -4
- package/src/effect.ts +0 -4
- package/src/evaluateAutoMovieViewerCameraDepthPrecision.ts +0 -114
- package/src/flattenInstancedModel.ts +0 -127
- package/src/flattenInstancedObject.ts +0 -33
- package/src/flattenRigidParts.ts +0 -174
- package/src/fluidSurface.ts +0 -4
- package/src/formation/index.ts +0 -22
- package/src/formationCycle/index.ts +0 -17
- package/src/formationCycleCadence.ts +0 -55
- package/src/formationCycleGait.ts +0 -27
- package/src/formationCycleOf.ts +0 -25
- package/src/formationCyclePosition.ts +0 -34
- package/src/formationCycleStride.ts +0 -57
- package/src/formationGeometry/index.ts +0 -5
- package/src/formationSpacingOffset.ts +0 -65
- package/src/guardAutoMovieRenderModeRetirement.ts +0 -66
- package/src/guardAutoMovieSceneShadowRetirement.ts +0 -50
- package/src/human-polygon/AutoMovieHumanCartoon.ts +0 -109
- package/src/human-polygon/AutoMovieHumanPolygon.ts +0 -160
- package/src/human-polygon/applyHumanPolygonPose.ts +0 -59
- package/src/human-polygon/buildHumanCartoonFace.ts +0 -466
- package/src/human-polygon/buildHumanPolygon.ts +0 -347
- package/src/human-polygon/buildHumanPolygonModule.ts +0 -300
- package/src/human-polygon/buildHumanPolygonParts.ts +0 -254
- package/src/human-polygon/createAutoMovieHumanPolygonFigure.ts +0 -120
- package/src/human-polygon/createHumanPolygonPalette.ts +0 -169
- package/src/human-polygon/humanPolygonSections.ts +0 -70
- package/src/human-polygon/humanPolygonTopology.ts +0 -147
- package/src/human-polygon/index.ts +0 -5
- package/src/human-polygon/mountHumanCartoonFace.ts +0 -92
- package/src/importedModel/index.ts +0 -4
- package/src/instanceSet/index.ts +0 -6
- package/src/instancedModelParts.ts +0 -25
- package/src/invalidateAutoMovieSceneShadowPrograms.ts +0 -28
- package/src/invalidateAutoMovieSkinnedPose.ts +0 -31
- package/src/mapImportedHumanoidBones.ts +0 -73
- package/src/maskColor.ts +0 -17
- package/src/matchesAutoMovieShadowTextureProfile.ts +0 -34
- package/src/materialOverlayShading/IMaterialOverlayShading.ts +0 -32
- package/src/materialOverlayShading/IMaterialOverlayShape.ts +0 -18
- package/src/materialOverlayShading/applyMaterialOverlays.ts +0 -88
- package/src/materialOverlayShading/getOverlayFlatNormal.ts +0 -25
- package/src/materialOverlayShading/index.ts +0 -6
- package/src/materialOverlayShading/materialOverlayFragment.ts +0 -85
- package/src/materialOverlayShading/materialOverlayVertex.ts +0 -50
- package/src/materialTextureBindings.ts +0 -44
- package/src/morphTargetDriversOf.ts +0 -25
- package/src/motion-overlay/applyAutoMovieGhost.ts +0 -46
- package/src/motion-overlay/createAutoMovieDriftMarkers.ts +0 -59
- package/src/motion-overlay/createAutoMovieTargetMarker.ts +0 -62
- package/src/motion-overlay/createAutoMovieTrail.ts +0 -44
- package/src/motion-overlay/index.ts +0 -4
- package/src/objectTransform.ts +0 -42
- package/src/observeAutoMovieRendererFrame.ts +0 -47
- package/src/overrideAutoMovieRenderModeMaterials.ts +0 -87
- package/src/planAutoMovieShadowTextureTarget.ts +0 -55
- package/src/propArticulation/index.ts +0 -4
- package/src/raster/AutoMovieRasterLighting.ts +0 -221
- package/src/raster/AutoMovieRasterSheet.ts +0 -175
- package/src/raster/AutoMovieRasterTarget.ts +0 -282
- package/src/raster/IAutoMovieSceneRaster.ts +0 -62
- package/src/raster/IRasterizeAutoMovieSceneProps.ts +0 -34
- package/src/raster/encodeAutoMovieRasterPng.ts +0 -77
- package/src/raster/index.ts +0 -8
- package/src/raster/rasterizeAutoMovieScene.ts +0 -594
- package/src/raster/stampAutoMovieRasterLabel.ts +0 -120
- package/src/readAutoMovieCubeShadowDepth.ts +0 -57
- package/src/readAutoMovieDeliveryCrop.ts +0 -41
- package/src/readAutoMovieDisplayDestinationEncoding.ts +0 -98
- package/src/readAutoMovieEnvironmentColorSpace.ts +0 -20
- package/src/readAutoMovieFilmDisplayTextureResidency.ts +0 -52
- package/src/readAutoMovieMaterialTextureSources.ts +0 -154
- package/src/readAutoMovieRenderTextureTarget.ts +0 -70
- package/src/readAutoMovieShadowLightSource.ts +0 -40
- package/src/readAutoMovieShadowTextureTargets.ts +0 -123
- package/src/readAutoMovieTextureSource.ts +0 -262
- package/src/readAutoMovieTextureUploadFormat.ts +0 -45
- package/src/readAutoMovieTransmissionTextureTarget.ts +0 -57
- package/src/regenerateFormationSlot.ts +0 -26
- package/src/regenerateInstanceSlot.ts +0 -28
- package/src/releaseViewerRenderer.ts +0 -31
- package/src/reliefWeightShading/RELIEF_WEIGHT_TARGET.ts +0 -5
- package/src/reliefWeightShading/applyReliefWeights.ts +0 -21
- package/src/reliefWeightShading/createReliefWeightShaderPatch.ts +0 -50
- package/src/reliefWeightShading/index.ts +0 -5
- package/src/reliefWeightShading/reliefWeightFragment.ts +0 -40
- package/src/reliefWeightShading/reliefWeightVertex.ts +0 -23
- package/src/renderAutoMovieFilmFrame.ts +0 -63
- package/src/renderAutoMovieScenePass.ts +0 -121
- package/src/renderCrossDissolve.ts +0 -50
- package/src/renderCrossDissolveFrames.ts +0 -41
- package/src/renderFadeToBlackFrame.ts +0 -37
- package/src/reportAutoMovieResourceRetirement.ts +0 -48
- package/src/resetAutoMovieSceneShadowTargets.ts +0 -106
- package/src/resolveAutoMovieFilmBeautyComposition.ts +0 -52
- package/src/resolveAutoMovieMaterialTexture.ts +0 -113
- package/src/restoreAutoMovieRenderModeOnce.ts +0 -30
- package/src/restoreAutoMovieRenderModeState.ts +0 -71
- package/src/retireAutoMovieCubeShadowDepth.ts +0 -33
- package/src/sampleFormationCycleMatrix.ts +0 -70
- package/src/semanticMask/IAutoMovieSemanticMaskBinding.ts +0 -24
- package/src/semanticMask/IAutoMovieSemanticMaskHandle.ts +0 -45
- package/src/semanticMask/SCENE_MASK_KEY.ts +0 -6
- package/src/semanticMask/applyAutoMovieSemanticMask.ts +0 -262
- package/src/semanticMask/attachAutoMovieSemanticMask.ts +0 -27
- package/src/semanticMask/auditAutoMovieSemanticMaskScene.ts +0 -50
- package/src/semanticMask/autoMovieSemanticMaskOf.ts +0 -24
- package/src/semanticMask/index.ts +0 -7
- package/src/semanticMask/maskRoots.ts +0 -67
- package/src/semanticMask/nearest.ts +0 -29
- package/src/semanticMask/unresolvedOf.ts +0 -34
- package/src/slotMatrix.ts +0 -38
- package/src/subjectViewpoint/AutoMovieViewerSubjectKind.ts +0 -23
- package/src/subjectViewpoint/IAutoMovieViewerSubject.ts +0 -28
- package/src/subjectViewpoint/IAutoMovieViewerSubjectBounds.ts +0 -19
- package/src/subjectViewpoint/IAutoMovieViewerSubjectLens.ts +0 -21
- package/src/subjectViewpoint/IAutoMovieViewerSubjectPose.ts +0 -36
- package/src/subjectViewpoint/IAutoMovieViewerSubjectView.ts +0 -42
- package/src/subjectViewpoint/IAutoMovieViewerSubjectViewRequest.ts +0 -67
- package/src/subjectViewpoint/IAutoMovieViewerTurntableOptions.ts +0 -24
- package/src/subjectViewpoint/IAutoMovieViewerViewpoint.ts +0 -31
- package/src/subjectViewpoint/applyAutoMovieViewerSubjectPose.ts +0 -31
- package/src/subjectViewpoint/autoMovieViewerPoseFromHeading.ts +0 -43
- package/src/subjectViewpoint/autoMovieViewerSubjectKey.ts +0 -20
- package/src/subjectViewpoint/autoMovieViewerTurntableViewpoints.ts +0 -54
- package/src/subjectViewpoint/captureAutoMovieViewerSubjectView.ts +0 -34
- package/src/subjectViewpoint/frameAutoMovieViewerSubject.ts +0 -77
- package/src/subjectViewpoint/index.ts +0 -16
- package/src/subjectViewpoint/parseAutoMovieViewerSubjectKey.ts +0 -59
- package/src/subsurfaceShading/SUBSURFACE_TARGET.ts +0 -3
- package/src/subsurfaceShading/SUBSURFACE_TEXTURE_SIZE.ts +0 -2
- package/src/subsurfaceShading/applySubsurfaceShading.ts +0 -38
- package/src/subsurfaceShading/getSubsurfaceTexture.ts +0 -46
- package/src/subsurfaceShading/index.ts +0 -6
- package/src/subsurfaceShading/subsurfaceFragment.ts +0 -30
- package/src/subsurfaceShading/subsurfacePhysicalChunk.ts +0 -43
- package/src/subsurfaceShading/subsurfaceTable.ts +0 -47
- package/src/textureBindingAsset.ts +0 -16
- package/src/transport/configureAutoMovieReviewControls.ts +0 -44
- package/src/transport/mountAutoMovieTransportControls.ts +0 -254
- package/src/transport/parseAutoMovieInspectionView.ts +0 -35
- package/src/updateAutoMovieComparisonCamera.ts +0 -92
- package/src/vector.ts +0 -20
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
import * as THREE from "three";
|
|
2
|
-
import { AutoMovieSkinnedMesh } from "./AutoMovieSkinnedMesh.js";
|
|
3
|
-
import { createAutoMovieSurfaceVertexAdapter } from "./createAutoMovieSurfaceVertexAdapter.js";
|
|
4
|
-
/**
|
|
5
|
-
* Apply provider-local color and compression to actual vertices, with owned resources.
|
|
6
|
-
*
|
|
7
|
-
* @evidence contracts/development/common.md#meaningful-documentation Gives the purpose (Apply provider-local color and compression to actual vertices, with owned resources) as stated in this comment.
|
|
8
|
-
* @evidence contracts/development/implementation.md#principled-implementation Implements the documented behavior (Apply provider-local color and compression to actual vertices, with owned resources) directly over its typed inputs (`input`) as nested iteration of depth 3 (for-of over input.surfaces; for-of over records; for-of over record.materials), delegating to `meshes.has`, `meshes.add`, `material.dispose`, `Array.isArray`, `source.some`; the premises are the units, frames and ranges stated in its parameter documentation, enforced only where the body throws (9 throw sites). Beyond structural 0, 1 and 2 the body uses the literals 3, 4, 5, whose basis this answer does not independently establish and a reviewer must confirm.
|
|
9
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One operation of 231 lines and 8 top-level statements that reuses `meshes.has`, `meshes.add`, `material.dispose`, `Array.isArray`, `source.some` from their owners instead of copying them; it adds no option, layer or abstraction beyond its documented parameters.
|
|
10
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The body contains 0 `any`, 2 type assertion(s), 13 non-null assertion(s); these are the remaining shortcuts and are not justified here.
|
|
11
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Cost is driven by the sizes of `input`; the dominant cost is nested iteration of depth 3 (for-of over input.surfaces; for-of over records; for-of over record.materials), performed once per call with 22 allocation sites (literals and constructed values). No speedup is claimed and none is measured.
|
|
12
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work The operation coordinates no requests, phases or consumers and holds no cache: each call recomputes from its arguments and shares nothing, which is correct because its result depends only on them.
|
|
13
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The function acquires no handle, timer, listener or task and keeps no state between calls; its 22 allocation sites become the returned value or die with the call, so nothing grows.
|
|
14
|
-
*/
|
|
15
|
-
export function createAutoMovieSurfaceAppearance(input) {
|
|
16
|
-
if (input.space !== undefined &&
|
|
17
|
-
!["bone-local", "posed-mesh"].includes(input.space))
|
|
18
|
-
throw new Error("Invalid surface appearance coordinate space");
|
|
19
|
-
const meshes = new Set();
|
|
20
|
-
for (const surface of input.surfaces) {
|
|
21
|
-
if (meshes.has(surface.mesh))
|
|
22
|
-
throw new Error("Surface appearance requires unique mesh ownership");
|
|
23
|
-
meshes.add(surface.mesh);
|
|
24
|
-
}
|
|
25
|
-
const records = [];
|
|
26
|
-
let disposed = false;
|
|
27
|
-
const dispose = () => {
|
|
28
|
-
if (disposed)
|
|
29
|
-
return;
|
|
30
|
-
disposed = true;
|
|
31
|
-
for (const record of records) {
|
|
32
|
-
if (record.mesh.geometry === record.geometry)
|
|
33
|
-
record.mesh.geometry = record.originalGeometry;
|
|
34
|
-
if (record.mesh.material === record.materials ||
|
|
35
|
-
record.mesh.material === record.materials[0])
|
|
36
|
-
record.mesh.material = record.originalMaterial;
|
|
37
|
-
record.geometry.dispose();
|
|
38
|
-
for (const material of record.materials)
|
|
39
|
-
material.dispose();
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
try {
|
|
43
|
-
for (const surface of input.surfaces) {
|
|
44
|
-
const originalGeometry = surface.mesh.geometry;
|
|
45
|
-
const originalMaterial = surface.mesh.material;
|
|
46
|
-
const source = Array.isArray(originalMaterial)
|
|
47
|
-
? originalMaterial
|
|
48
|
-
: [originalMaterial];
|
|
49
|
-
if (source.some((material) => !("vertexColors" in material)))
|
|
50
|
-
throw new Error("Surface appearance requires vertex-color material support");
|
|
51
|
-
const position = originalGeometry.getAttribute("position");
|
|
52
|
-
if (!position)
|
|
53
|
-
throw new Error("Surface appearance requires actual vertex positions");
|
|
54
|
-
const adapter = createAutoMovieSurfaceVertexAdapter(surface.mesh);
|
|
55
|
-
const positions = Float32Array.from(Array.from({ length: position.count * 3 }, (_, index) => index % 3 === 0
|
|
56
|
-
? position.getX(Math.floor(index / 3))
|
|
57
|
-
: index % 3 === 1
|
|
58
|
-
? position.getY(Math.floor(index / 3))
|
|
59
|
-
: position.getZ(Math.floor(index / 3))));
|
|
60
|
-
const previousColor = originalGeometry.getAttribute("color");
|
|
61
|
-
const colors = Float32Array.from(Array.from({ length: position.count * 3 }, (_, index) => !previousColor
|
|
62
|
-
? 1
|
|
63
|
-
: index % 3 === 0
|
|
64
|
-
? previousColor.getX(Math.floor(index / 3))
|
|
65
|
-
: index % 3 === 1
|
|
66
|
-
? previousColor.getY(Math.floor(index / 3))
|
|
67
|
-
: previousColor.getZ(Math.floor(index / 3))));
|
|
68
|
-
if (!positions.every(Number.isFinite) || !colors.every(Number.isFinite))
|
|
69
|
-
throw new Error("Nonfinite surface source exceeds GPU f32 range");
|
|
70
|
-
const geometry = originalGeometry.clone();
|
|
71
|
-
const materials = source.map((material) => {
|
|
72
|
-
const copy = material.clone();
|
|
73
|
-
// Three's clone omits compile hooks and JSON-copies userData. Preserve
|
|
74
|
-
// the existing skin/detail patch operations and their texture ownership.
|
|
75
|
-
copy.onBeforeCompile = material.onBeforeCompile;
|
|
76
|
-
copy.customProgramCacheKey = material.customProgramCacheKey;
|
|
77
|
-
if (Array.isArray(material.userData.shaderPatches))
|
|
78
|
-
copy.userData.shaderPatches = [...material.userData.shaderPatches];
|
|
79
|
-
copy.vertexColors = true;
|
|
80
|
-
copy.needsUpdate = true;
|
|
81
|
-
return copy;
|
|
82
|
-
});
|
|
83
|
-
geometry.setAttribute("position", new THREE.BufferAttribute(positions.slice(), 3));
|
|
84
|
-
geometry.setAttribute("color", new THREE.BufferAttribute(colors.slice(), 3));
|
|
85
|
-
records.push({
|
|
86
|
-
...surface,
|
|
87
|
-
originalGeometry,
|
|
88
|
-
originalMaterial,
|
|
89
|
-
geometry,
|
|
90
|
-
materials,
|
|
91
|
-
positions,
|
|
92
|
-
colors,
|
|
93
|
-
moved: false,
|
|
94
|
-
adapter,
|
|
95
|
-
});
|
|
96
|
-
surface.mesh.geometry = geometry;
|
|
97
|
-
surface.mesh.material = Array.isArray(originalMaterial)
|
|
98
|
-
? materials
|
|
99
|
-
: materials[0];
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
catch (error) {
|
|
103
|
-
dispose();
|
|
104
|
-
throw error;
|
|
105
|
-
}
|
|
106
|
-
return {
|
|
107
|
-
update: (seconds) => {
|
|
108
|
-
if (disposed || !Number.isFinite(seconds) || seconds < 0)
|
|
109
|
-
throw new Error("Invalid surface-appearance update");
|
|
110
|
-
for (const record of records) {
|
|
111
|
-
const position = record.geometry.getAttribute("position");
|
|
112
|
-
const color = record.geometry.getAttribute("color");
|
|
113
|
-
position.copyArray(record.positions);
|
|
114
|
-
if (record.moved) {
|
|
115
|
-
position.needsUpdate = true;
|
|
116
|
-
if (record.mesh instanceof AutoMovieSkinnedMesh)
|
|
117
|
-
record.mesh.invalidatePose();
|
|
118
|
-
}
|
|
119
|
-
let moved = false;
|
|
120
|
-
for (let index = 0; index < position.count; index++) {
|
|
121
|
-
const point = {
|
|
122
|
-
x: record.positions[index * 3],
|
|
123
|
-
y: record.positions[index * 3 + 1],
|
|
124
|
-
z: record.positions[index * 3 + 2],
|
|
125
|
-
};
|
|
126
|
-
const sampledPoint = input.space === "posed-mesh" ? record.adapter.point(index) : point;
|
|
127
|
-
const sample = input.sample(record.bone, sampledPoint, seconds, record.mesh);
|
|
128
|
-
if (!sample ||
|
|
129
|
-
!Array.isArray(sample.color) ||
|
|
130
|
-
sample.color.length !== 3 ||
|
|
131
|
-
!sample.displacement ||
|
|
132
|
-
![
|
|
133
|
-
...sample.color,
|
|
134
|
-
sample.displacement.x,
|
|
135
|
-
sample.displacement.y,
|
|
136
|
-
sample.displacement.z,
|
|
137
|
-
].every(Number.isFinite))
|
|
138
|
-
throw new Error(`Nonfinite surface response for ${record.bone}`);
|
|
139
|
-
const delta = input.space === "posed-mesh" &&
|
|
140
|
-
(sample.displacement.x !== 0 ||
|
|
141
|
-
sample.displacement.y !== 0 ||
|
|
142
|
-
sample.displacement.z !== 0)
|
|
143
|
-
? record.adapter.displacement(index, sample.displacement)
|
|
144
|
-
: sample.displacement;
|
|
145
|
-
const values = [
|
|
146
|
-
point.x + delta.x,
|
|
147
|
-
point.y + delta.y,
|
|
148
|
-
point.z + delta.z,
|
|
149
|
-
record.colors[index * 3] * sample.color[0],
|
|
150
|
-
record.colors[index * 3 + 1] * sample.color[1],
|
|
151
|
-
record.colors[index * 3 + 2] * sample.color[2],
|
|
152
|
-
];
|
|
153
|
-
if (!values.every((value) => Number.isFinite(Math.fround(value))))
|
|
154
|
-
throw new Error(`Nonfinite surface vertex result for ${record.bone}`);
|
|
155
|
-
position.setXYZ(index, values[0], values[1], values[2]);
|
|
156
|
-
color.setXYZ(index, values[3], values[4], values[5]);
|
|
157
|
-
moved ||=
|
|
158
|
-
position.getX(index) !== point.x ||
|
|
159
|
-
position.getY(index) !== point.y ||
|
|
160
|
-
position.getZ(index) !== point.z;
|
|
161
|
-
}
|
|
162
|
-
if (moved)
|
|
163
|
-
position.needsUpdate = true;
|
|
164
|
-
color.needsUpdate = true;
|
|
165
|
-
if (moved || record.moved) {
|
|
166
|
-
record.geometry.computeVertexNormals();
|
|
167
|
-
record.geometry.computeBoundingSphere();
|
|
168
|
-
record.geometry.computeBoundingBox();
|
|
169
|
-
if (record.mesh instanceof AutoMovieSkinnedMesh)
|
|
170
|
-
record.mesh.invalidatePose();
|
|
171
|
-
else if (record.mesh instanceof THREE.SkinnedMesh)
|
|
172
|
-
AutoMovieSkinnedMesh.clearBounds(record.mesh);
|
|
173
|
-
}
|
|
174
|
-
record.moved = moved;
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
dispose,
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
//# sourceMappingURL=createAutoMovieSurfaceAppearance.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createAutoMovieSurfaceAppearance.js","sourceRoot":"","sources":["../src/createAutoMovieSurfaceAppearance.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,mCAAmC,EAAE,MAAM,0CAA0C,CAAC;AAE/F;;;;;;;;;;GAUG;AACH,MAAM,UAAU,gCAAgC,CAAC,KAYhD;IACC,IACE,KAAK,CAAC,KAAK,KAAK,SAAS;QACzB,CAAC,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC;QAEnD,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;IACjE,MAAM,MAAM,GAAoB,IAAI,GAAG,EAAE,CAAC;IAC1C,KAAK,MAAM,OAAO,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;QACrC,IAAI,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC;YAC1B,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC;QACvE,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;IACD,MAAM,OAAO,GAWP,EAAE,CAAC;IACT,IAAI,QAAQ,GAAY,KAAK,CAAC;IAC9B,MAAM,OAAO,GAAe,GAAS,EAAE;QACrC,IAAI,QAAQ;YAAE,OAAO;QACrB,QAAQ,GAAG,IAAI,CAAC;QAChB,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;YAC7B,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,KAAK,MAAM,CAAC,QAAQ;gBAC1C,MAAM,CAAC,IAAI,CAAC,QAAQ,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D,IAAI,KAAK;oBAAE,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC;gBACvC,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC;gBACzB,IAAI,KAAK,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;oBAC1B,MAAM,CAAC,QAAQ,CAAC,oBAAoB,EAAE,CAAC;oBACvC,MAAM,CAAC,QAAQ,CAAC,qBAAqB,EAAE,CAAC;oBACxC,MAAM,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC;oBACrC,IAAI,MAAM,CAAC,IAAI,YAAY,oBAAoB;wBAC7C,MAAM,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;yBAC1B,IAAI,MAAM,CAAC,IAAI,YAAY,KAAK,CAAC,WAAW;wBAC/C,oBAAoB,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC;gBACD,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC;YACvB,CAAC;QACH,CAAC;QACD,OAAO;KACR,CAAC;AACJ,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { IAutoMovieVector3 } from "@automovie/interface";
|
|
2
|
-
import * as THREE from "three";
|
|
3
|
-
/**
|
|
4
|
-
* Share one mesh's posed-point queries and inverse skin differential without changing its bones or weights.
|
|
5
|
-
*
|
|
6
|
-
* @evidence contracts/development/common.md#meaningful-documentation Gives the purpose (Share one mesh's posed-point queries and inverse skin differential without changing its bones or weights) as stated in this comment.
|
|
7
|
-
* @evidence contracts/development/implementation.md#principled-implementation Implements the documented behavior (Share one mesh's posed-point queries and inverse skin differential without changing its bones or weights) directly over its typed inputs (`mesh`) as a single pass (reduce over (mesh.morphTargetInfluences ?? [])), delegating to `mesh.getVertexPosition`, `point.set`, `mesh.applyBoneTransform`, `origin.set`, `x.set`; the premises are the units, frames and ranges stated in its parameter documentation, enforced only where the body throws (2 throw sites). Beyond structural 0, 1 and 2 the body uses the literal 1e-12, whose basis this answer does not independently establish and a reviewer must confirm.
|
|
8
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One operation of 44 lines and 7 top-level statements that reuses `mesh.getVertexPosition`, `point.set`, `mesh.applyBoneTransform`, `origin.set`, `x.set` from their owners instead of copying them; it adds no option, layer or abstraction beyond its documented parameters.
|
|
9
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Scanning the body finds no `any`, type assertion, non-null assertion, suppression directive or TODO, and no branch keyed on a consumer, fixture or expected answer; values come from its parameters. Literal caveat: 1e-12 are not independently sourced here.
|
|
10
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Cost is driven by the sizes of `mesh`; the dominant cost is a single pass (reduce over (mesh.morphTargetInfluences ?? [])), performed once per call with 12 allocation sites (literals and constructed values). No speedup is claimed and none is measured.
|
|
11
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work The operation coordinates no requests, phases or consumers and holds no cache: each call recomputes from its arguments and shares nothing, which is correct because its result depends only on them.
|
|
12
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The function acquires no handle, timer, listener or task and keeps no state between calls; its 12 allocation sites become the returned value or die with the call, so nothing grows.
|
|
13
|
-
*/
|
|
14
|
-
export declare function createAutoMovieSurfaceVertexAdapter(mesh: THREE.Mesh): {
|
|
15
|
-
/** Current posed mesh-local position before contact displacement. */ point: (index: number) => IAutoMovieVector3;
|
|
16
|
-
/** Convert a posed mesh-local delta back to the source position attribute. */ displacement: (index: number, value: IAutoMovieVector3) => IAutoMovieVector3;
|
|
17
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import * as THREE from "three";
|
|
2
|
-
/**
|
|
3
|
-
* Share one mesh's posed-point queries and inverse skin differential without changing its bones or weights.
|
|
4
|
-
*
|
|
5
|
-
* @evidence contracts/development/common.md#meaningful-documentation Gives the purpose (Share one mesh's posed-point queries and inverse skin differential without changing its bones or weights) as stated in this comment.
|
|
6
|
-
* @evidence contracts/development/implementation.md#principled-implementation Implements the documented behavior (Share one mesh's posed-point queries and inverse skin differential without changing its bones or weights) directly over its typed inputs (`mesh`) as a single pass (reduce over (mesh.morphTargetInfluences ?? [])), delegating to `mesh.getVertexPosition`, `point.set`, `mesh.applyBoneTransform`, `origin.set`, `x.set`; the premises are the units, frames and ranges stated in its parameter documentation, enforced only where the body throws (2 throw sites). Beyond structural 0, 1 and 2 the body uses the literal 1e-12, whose basis this answer does not independently establish and a reviewer must confirm.
|
|
7
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One operation of 44 lines and 7 top-level statements that reuses `mesh.getVertexPosition`, `point.set`, `mesh.applyBoneTransform`, `origin.set`, `x.set` from their owners instead of copying them; it adds no option, layer or abstraction beyond its documented parameters.
|
|
8
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Scanning the body finds no `any`, type assertion, non-null assertion, suppression directive or TODO, and no branch keyed on a consumer, fixture or expected answer; values come from its parameters. Literal caveat: 1e-12 are not independently sourced here.
|
|
9
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Cost is driven by the sizes of `mesh`; the dominant cost is a single pass (reduce over (mesh.morphTargetInfluences ?? [])), performed once per call with 12 allocation sites (literals and constructed values). No speedup is claimed and none is measured.
|
|
10
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work The operation coordinates no requests, phases or consumers and holds no cache: each call recomputes from its arguments and shares nothing, which is correct because its result depends only on them.
|
|
11
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The function acquires no handle, timer, listener or task and keeps no state between calls; its 12 allocation sites become the returned value or die with the call, so nothing grows.
|
|
12
|
-
*/
|
|
13
|
-
export function createAutoMovieSurfaceVertexAdapter(mesh) {
|
|
14
|
-
const point = new THREE.Vector3();
|
|
15
|
-
const origin = new THREE.Vector3();
|
|
16
|
-
const x = new THREE.Vector3();
|
|
17
|
-
const y = new THREE.Vector3();
|
|
18
|
-
const z = new THREE.Vector3();
|
|
19
|
-
const inverse = new THREE.Matrix3();
|
|
20
|
-
return {
|
|
21
|
-
point: (index) => {
|
|
22
|
-
mesh.getVertexPosition(index, point);
|
|
23
|
-
return { x: point.x, y: point.y, z: point.z };
|
|
24
|
-
},
|
|
25
|
-
displacement: (index, value) => {
|
|
26
|
-
point.set(value.x, value.y, value.z);
|
|
27
|
-
if (mesh instanceof THREE.SkinnedMesh) {
|
|
28
|
-
// Each fixed-weight linear or dual-quaternion skin is affine in its
|
|
29
|
-
// vertex position. These basis images reuse the mesh's canonical blend.
|
|
30
|
-
mesh.applyBoneTransform(index, origin.set(0, 0, 0));
|
|
31
|
-
mesh.applyBoneTransform(index, x.set(1, 0, 0)).sub(origin);
|
|
32
|
-
mesh.applyBoneTransform(index, y.set(0, 1, 0)).sub(origin);
|
|
33
|
-
mesh.applyBoneTransform(index, z.set(0, 0, 1)).sub(origin);
|
|
34
|
-
inverse.set(x.x, y.x, z.x, x.y, y.y, z.y, x.z, y.z, z.z);
|
|
35
|
-
if (Math.abs(inverse.determinant()) < 1e-12)
|
|
36
|
-
throw new Error("Cannot compress a singular surface skin");
|
|
37
|
-
point.applyMatrix3(inverse.invert());
|
|
38
|
-
}
|
|
39
|
-
const morph = mesh.geometry.morphTargetsRelative
|
|
40
|
-
? 1
|
|
41
|
-
: 1 -
|
|
42
|
-
(mesh.morphTargetInfluences ?? []).reduce((sum, weight) => sum + weight, 0);
|
|
43
|
-
if (Math.abs(morph) < 1e-12)
|
|
44
|
-
throw new Error("Cannot compress a surface with zero source-position influence");
|
|
45
|
-
return { x: point.x / morph, y: point.y / morph, z: point.z / morph };
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
//# sourceMappingURL=createAutoMovieSurfaceVertexAdapter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createAutoMovieSurfaceVertexAdapter.js","sourceRoot":"","sources":["../src/createAutoMovieSurfaceVertexAdapter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OA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CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,KAAK,EAAE,CAAC;QACxE,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import * as THREE from "three";
|
|
2
|
-
import type { IAutoMovieFormationCycle } from "./IAutoMovieFormationCycle.js";
|
|
3
|
-
/**
|
|
4
|
-
* Own the two shadow projections of one tier's already-resolved cycle.
|
|
5
|
-
*
|
|
6
|
-
* Three copies the current beauty group's alpha, side, clipping and displacement
|
|
7
|
-
* properties into a custom shadow material before each shadow draw. Unlike its
|
|
8
|
-
* default shadow materials, custom materials bypass its per-group variant
|
|
9
|
-
* cache. A program identity per owned palette material isolates uniform uploads
|
|
10
|
-
* between groups even when their shader features match. Notify the supported
|
|
11
|
-
* material update boundary after that copy to select that group's cached program.
|
|
12
|
-
* The uniform cells and instance attributes remain the same ones beauty reads.
|
|
13
|
-
* Repeated palette references share that identity, and temporary structural
|
|
14
|
-
* overrides do not create new identities in the tier's program cache.
|
|
15
|
-
*
|
|
16
|
-
* @evidence contracts/development/implementation.md#principled-implementation Creates native depth/distance materials with the same baked cycle injection and palette-identity program keys, marking update after Three copies per-draw alpha/side/clipping/displacement features; caller palette identity must be a member of the captured table and the pinned native custom-shadow upload behavior is the compatibility premise.
|
|
17
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One tier owns the two shadow projections and a local original-palette ordinal table; beforeDraw chooses key identity while mesh binding and native dispatch supply actual palette/material inputs.
|
|
18
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Uses actual material object identity and supported compile/update hooks rather than a fixture ordinal or replaced shadow renderer; structural overrides borrow the original palette identity rather than creating new program ids.
|
|
19
|
-
* @evidence contracts/development/common.md#meaningful-documentation Explains native custom-shadow cache behavior, per-palette key/update boundary, shared cycle cells and repeated/structural palette identity behavior.
|
|
20
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Deduplicates M palette references into one ordinal map, creates two materials and performs constant lookup/key selection per shadow draw; shader vertex costs remain the cycle sampler's actual texture/matrix work.
|
|
21
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Repeated palette references share one ordinal and all chunk borrowers share the pair/cycle uniforms; local ordinals allow compatible program structure reuse across tiers while native material uniforms remain independently owned.
|
|
22
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Construction registers depth/distance immediately and rolls both back on setup refusal; returned tier handle owns their independent disposal and borrows cycle textures/palette references. Its dispose is not memoized itself, so the formation lifetime owner must issue it once and retain any failed completion.
|
|
23
|
-
*/
|
|
24
|
-
export declare const createFormationCycleShadowMaterials: (cycle: IAutoMovieFormationCycle, palette: readonly THREE.Material[]) => {
|
|
25
|
-
depth: THREE.MeshDepthMaterial;
|
|
26
|
-
distance: THREE.MeshDistanceMaterial;
|
|
27
|
-
beforeDraw: (material: THREE.Material, paletteMaterial: THREE.Material) => void;
|
|
28
|
-
dispose: () => void;
|
|
29
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import * as THREE from "three";
|
|
2
|
-
import { applyFormationCycleMaterial } from "./applyFormationCycleMaterial.js";
|
|
3
|
-
import { constructAutoMovieOwnedResources } from "./constructAutoMovieOwnedResources.js";
|
|
4
|
-
import { reportAutoMovieResourceRetirement } from "./reportAutoMovieResourceRetirement.js";
|
|
5
|
-
/**
|
|
6
|
-
* Own the two shadow projections of one tier's already-resolved cycle.
|
|
7
|
-
*
|
|
8
|
-
* Three copies the current beauty group's alpha, side, clipping and displacement
|
|
9
|
-
* properties into a custom shadow material before each shadow draw. Unlike its
|
|
10
|
-
* default shadow materials, custom materials bypass its per-group variant
|
|
11
|
-
* cache. A program identity per owned palette material isolates uniform uploads
|
|
12
|
-
* between groups even when their shader features match. Notify the supported
|
|
13
|
-
* material update boundary after that copy to select that group's cached program.
|
|
14
|
-
* The uniform cells and instance attributes remain the same ones beauty reads.
|
|
15
|
-
* Repeated palette references share that identity, and temporary structural
|
|
16
|
-
* overrides do not create new identities in the tier's program cache.
|
|
17
|
-
*
|
|
18
|
-
* @evidence contracts/development/implementation.md#principled-implementation Creates native depth/distance materials with the same baked cycle injection and palette-identity program keys, marking update after Three copies per-draw alpha/side/clipping/displacement features; caller palette identity must be a member of the captured table and the pinned native custom-shadow upload behavior is the compatibility premise.
|
|
19
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One tier owns the two shadow projections and a local original-palette ordinal table; beforeDraw chooses key identity while mesh binding and native dispatch supply actual palette/material inputs.
|
|
20
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Uses actual material object identity and supported compile/update hooks rather than a fixture ordinal or replaced shadow renderer; structural overrides borrow the original palette identity rather than creating new program ids.
|
|
21
|
-
* @evidence contracts/development/common.md#meaningful-documentation Explains native custom-shadow cache behavior, per-palette key/update boundary, shared cycle cells and repeated/structural palette identity behavior.
|
|
22
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Deduplicates M palette references into one ordinal map, creates two materials and performs constant lookup/key selection per shadow draw; shader vertex costs remain the cycle sampler's actual texture/matrix work.
|
|
23
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Repeated palette references share one ordinal and all chunk borrowers share the pair/cycle uniforms; local ordinals allow compatible program structure reuse across tiers while native material uniforms remain independently owned.
|
|
24
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Construction registers depth/distance immediately and rolls both back on setup refusal; returned tier handle owns their independent disposal and borrows cycle textures/palette references. Its dispose is not memoized itself, so the formation lifetime owner must issue it once and retain any failed completion.
|
|
25
|
-
*/
|
|
26
|
-
export const createFormationCycleShadowMaterials = (cycle, palette) => {
|
|
27
|
-
return constructAutoMovieOwnedResources((own) => {
|
|
28
|
-
const depth = own(new THREE.MeshDepthMaterial());
|
|
29
|
-
const distance = own(new THREE.MeshDistanceMaterial());
|
|
30
|
-
applyFormationCycleMaterial(depth, cycle);
|
|
31
|
-
applyFormationCycleMaterial(distance, cycle);
|
|
32
|
-
const cycleProgramKey = depth.customProgramCacheKey();
|
|
33
|
-
// Local ordinals let another LOD reuse the same shader program while its
|
|
34
|
-
// distinct material object still owns its own table and uniform uploads.
|
|
35
|
-
const identities = new Map([...new Set(palette)].map((material, index) => [material, index]));
|
|
36
|
-
let paletteIdentity = 0;
|
|
37
|
-
const programKey = () => `${cycleProgramKey}:shadow-palette:${paletteIdentity}`;
|
|
38
|
-
depth.customProgramCacheKey = programKey;
|
|
39
|
-
distance.customProgramCacheKey = programKey;
|
|
40
|
-
return {
|
|
41
|
-
depth,
|
|
42
|
-
distance,
|
|
43
|
-
beforeDraw: (material, paletteMaterial) => {
|
|
44
|
-
paletteIdentity = identities.get(paletteMaterial);
|
|
45
|
-
material.needsUpdate = true;
|
|
46
|
-
},
|
|
47
|
-
dispose: () => {
|
|
48
|
-
reportAutoMovieResourceRetirement([
|
|
49
|
-
() => depth.dispose(),
|
|
50
|
-
() => distance.dispose(),
|
|
51
|
-
]);
|
|
52
|
-
},
|
|
53
|
-
};
|
|
54
|
-
});
|
|
55
|
-
};
|
|
56
|
-
//# sourceMappingURL=createFormationCycleShadowMaterials.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createFormationCycleShadowMaterials.js","sourceRoot":"","sources":["../src/createFormationCycleShadowMaterials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAE3F;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAW5C,CACF,KAA+B,EAC/B,OAAkC,EASlC,EAAE;IACF,OAAO,gCAAgC,CACrC,CACE,GAEa,EASb,EAAE;QACF,MAAM,KAAK,GAA4B,GAAG,CAAC,IAAI,KAAK,CAAC,iBAAiB,EAAE,CAAC,C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InstancedFormationProps } from "./IBuildInstancedFormationProps.js";
|
|
3
|
-
import type { IFormationTierRepresentation } from "./IFormationTierRepresentation.js";
|
|
4
|
-
/**
|
|
5
|
-
* Construct the tier resources and bind their declared repertoire once.
|
|
6
|
-
* A rejected model or cue releases tiers already constructed before refusing;
|
|
7
|
-
* chunk instances are created only after this boundary succeeds.
|
|
8
|
-
*
|
|
9
|
-
* @evidence contracts/development/implementation.md#principled-implementation Resolves each declared LOD model, flattens/bakes it, registers its tier before custom shadow setup and validates requested gait names against the union repertoire; admitted unique tier identities are a premise, and a gait present in one tier may still fall back in another according to that cycle's selector.
|
|
10
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Owns the tier construction/admission transaction before anonymous chunks, delegating rigid flatten/bake, shadow material setup and independent resource retirement to their existing owners.
|
|
11
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Missing referenced models and absent declared repertoire refuse with real unit/tier/cue ids, not substitute fixtures; early tier registration prevents a shadow-setup refusal from hiding an already-acquired visible representation.
|
|
12
|
-
* @evidence contracts/development/common.md#meaningful-documentation States tier/cue admission, rollback of already-constructed tiers and chunk-after-success ordering; actual repertoire union versus per-tier fallback is disclosed in the implementation answer.
|
|
13
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Constructs T declared tiers once with canonical per-model flatten/bake costs, collects K take names and scans Q relevant cues with Set membership; rollback visits unique resources across admitted tiers without scanning anonymous members.
|
|
14
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Builds one representation per declared tier for all later chunk borrowers and uses one repertoire Set during cue admission; independently mutable model/tier input has no immutable revision key for cross-build cache reuse.
|
|
15
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Owns each completed flattened tier before acquiring shadows and attempts all registered tier resources on any later refusal, preserving primary and cleanup causes; success transfers T tiers/textures/materials to the formation runtime, while nested constructors retire their own pre-return allocations.
|
|
16
|
-
*/
|
|
17
|
-
export declare const createFormationRepresentations: (input: IBuildInstancedFormationProps) => Map<IAutoMovieCompiledFormationLod["tier"], IFormationTierRepresentation>;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { applyFormationCycleMaterial } from "./applyFormationCycleMaterial.js";
|
|
2
|
-
import { createFormationCycleShadowMaterials } from "./createFormationCycleShadowMaterials.js";
|
|
3
|
-
import { disposeFormationRepresentations } from "./disposeFormationRepresentations.js";
|
|
4
|
-
import { flattenInstancedModel } from "./flattenInstancedModel.js";
|
|
5
|
-
import { reportAutoMovieResourceRetirement } from "./reportAutoMovieResourceRetirement.js";
|
|
6
|
-
/**
|
|
7
|
-
* Construct the tier resources and bind their declared repertoire once.
|
|
8
|
-
* A rejected model or cue releases tiers already constructed before refusing;
|
|
9
|
-
* chunk instances are created only after this boundary succeeds.
|
|
10
|
-
*
|
|
11
|
-
* @evidence contracts/development/implementation.md#principled-implementation Resolves each declared LOD model, flattens/bakes it, registers its tier before custom shadow setup and validates requested gait names against the union repertoire; admitted unique tier identities are a premise, and a gait present in one tier may still fall back in another according to that cycle's selector.
|
|
12
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Owns the tier construction/admission transaction before anonymous chunks, delegating rigid flatten/bake, shadow material setup and independent resource retirement to their existing owners.
|
|
13
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Missing referenced models and absent declared repertoire refuse with real unit/tier/cue ids, not substitute fixtures; early tier registration prevents a shadow-setup refusal from hiding an already-acquired visible representation.
|
|
14
|
-
* @evidence contracts/development/common.md#meaningful-documentation States tier/cue admission, rollback of already-constructed tiers and chunk-after-success ordering; actual repertoire union versus per-tier fallback is disclosed in the implementation answer.
|
|
15
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Constructs T declared tiers once with canonical per-model flatten/bake costs, collects K take names and scans Q relevant cues with Set membership; rollback visits unique resources across admitted tiers without scanning anonymous members.
|
|
16
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Builds one representation per declared tier for all later chunk borrowers and uses one repertoire Set during cue admission; independently mutable model/tier input has no immutable revision key for cross-build cache reuse.
|
|
17
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Owns each completed flattened tier before acquiring shadows and attempts all registered tier resources on any later refusal, preserving primary and cleanup causes; success transfers T tiers/textures/materials to the formation runtime, while nested constructors retire their own pre-return allocations.
|
|
18
|
-
*/
|
|
19
|
-
export const createFormationRepresentations = (input) => {
|
|
20
|
-
const representations = new Map();
|
|
21
|
-
try {
|
|
22
|
-
for (const lod of input.formation.lod) {
|
|
23
|
-
const model = input.models.get(lod.runtimeModel);
|
|
24
|
-
if (model === undefined)
|
|
25
|
-
throw new Error(`Formation "${input.formation.id}" LOD "${lod.tier}" references missing runtime model "${lod.runtimeModel}".`);
|
|
26
|
-
const representation = flattenInstancedModel(model, `Formation "${input.formation.id}" LOD "${lod.tier}"`, {});
|
|
27
|
-
const cycle = representation.cycle;
|
|
28
|
-
const tier = {
|
|
29
|
-
...representation,
|
|
30
|
-
shadows: null,
|
|
31
|
-
};
|
|
32
|
-
representations.set(lod.tier, tier);
|
|
33
|
-
if (cycle !== null)
|
|
34
|
-
tier.shadows = createFormationCycleShadowMaterials(cycle, representation.materials);
|
|
35
|
-
if (cycle !== null)
|
|
36
|
-
for (const material of new Set(tier.materials))
|
|
37
|
-
applyFormationCycleMaterial(material, cycle);
|
|
38
|
-
}
|
|
39
|
-
const repertoire = new Set([...representations.values()].flatMap((tier) => tier.cycle === null ? [] : [...tier.cycle.takes.keys()]));
|
|
40
|
-
if (repertoire.size !== 0)
|
|
41
|
-
for (const cue of input.motions ?? [])
|
|
42
|
-
if (cue.formation === input.formation.id &&
|
|
43
|
-
cue.gait !== undefined &&
|
|
44
|
-
repertoire.has(cue.gait) === false)
|
|
45
|
-
throw new Error(`Formation "${input.formation.id}" cue "${cue.id}" calls for gait "${cue.gait}", which no runtime model of this unit declares.`);
|
|
46
|
-
return representations;
|
|
47
|
-
}
|
|
48
|
-
catch (error) {
|
|
49
|
-
reportAutoMovieResourceRetirement([() => disposeFormationRepresentations(representations.values())], { error });
|
|
50
|
-
throw error;
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
//# sourceMappingURL=createFormationRepresentations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createFormationRepresentations.js","sourceRoot":"","sources":["../src/createFormationRepresentations.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,mCAAmC,EAAE,MAAM,0CAA0C,CAAC;AAC/F,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAE3F;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAKvC,CACF,KAAoC,EAIpC,EAAE;IACF,MAAM,eAAe,GAGjB,IAAI,GAAG,EAGR,CAAC;IACJ,IAAI,CAAC;QACH,KAAK,MAAM,GAAG,IAAI,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC;YACtC,MAAM,KAAK,GAAgC,KAAK,CAAC,MAAM,CAAC,GAAG,CACzD,GAAG,CAAC,YAAY,CACjB,CAAC;YACF,IAAI,KAAK,KAAK,SAAS;gBACrB,MAAM,IAAI,KAAK,CACb,cAAc,KAAK,CAAC,SAAS,CAAC,EAAE,UAAU,GAAG,CAAC,IAAI,uCAAuC,GAAG,CAAC,YAAY,IAAI,CAC9G,CAAC;YACJ,MAAM,cAAc,GAClB,qBAAqB,CACnB,KAAK,EACL,cAAc,KAAK,CAAC,SAAS,CAAC,EAAE,UAAU,GAAG,CAAC,IAAI,GAAG,EACrD,EAAE,CACH,CAAC;YACJ,MAAM,KAAK,GAAoC,cAAc,CAAC,KAAK,CAAC;YACpE,MAAM,IAAI,GAAiC;gBACzC,GAAG,cAAc;gBACjB,OAAO,EAAE,IAAI;aACd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EAAE,KAAK,EAAE,CACV,CAAC;QACF,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { IAutoMovieImportedModelOptions } from "./IAutoMovieImportedModelOptions.js";
|
|
2
|
-
import type { IAutoMovieModelObject } from "./IAutoMovieModelObject.js";
|
|
3
|
-
/**
|
|
4
|
-
* Wrap an imported runtime object as an {@link IAutoMovieModelObject}.
|
|
5
|
-
*
|
|
6
|
-
* @evidence contracts/development/implementation.md#principled-implementation Always adds the supplied loaded root beneath a new runtime group so pose-root TRS does not overwrite the imported root's authored local TRS; normalized semantic bone map drops null/undefined entries and imported bytes have no generated part-id registry. Reparenting uses add, so an already-parented root's previous world placement is not preserved.
|
|
7
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Adapts one loaded root and optional bone/expression/frame ports into the same model handle as generated assets; loader/byte/native ownership remains with the caller and no duplicate decoded model is built.
|
|
8
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Wrapping is uniform for every Object3D class rather than a fixture/instanceof root exception; semantic-map casts rely on admitted keys and no missing bones/parts or expression hooks are fabricated.
|
|
9
|
-
* @evidence contracts/development/common.md#meaningful-documentation Gives loaded-root adaptation and comments explain protected local transform, empty imported part registry and forwarded hooks; bone mapping and adoption remain caller-owned contracts.
|
|
10
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Allocates one runtime group and copies B present bone-map entries once, O(B) CPU/reference storage without traversing or cloning mesh buffers/materials.
|
|
11
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Reuses actual decoded root/bone objects and forwards existing hook references; separate placements require separate loaded/cloned native roots because a single object cannot retain multiple parents.
|
|
12
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Borrows/adopts loaded graph into one wrapper and retains B bone/hook references with the returned handle; no decoder, worker or GPU allocation is acquired here, and the supplied graph's real owner must retire its resources when this runtime is released.
|
|
13
|
-
*/
|
|
14
|
-
export declare const createImportedModelObject: (options: IAutoMovieImportedModelOptions) => IAutoMovieModelObject;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import * as THREE from "three";
|
|
2
|
-
/**
|
|
3
|
-
* Wrap an imported runtime object as an {@link IAutoMovieModelObject}.
|
|
4
|
-
*
|
|
5
|
-
* @evidence contracts/development/implementation.md#principled-implementation Always adds the supplied loaded root beneath a new runtime group so pose-root TRS does not overwrite the imported root's authored local TRS; normalized semantic bone map drops null/undefined entries and imported bytes have no generated part-id registry. Reparenting uses add, so an already-parented root's previous world placement is not preserved.
|
|
6
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Adapts one loaded root and optional bone/expression/frame ports into the same model handle as generated assets; loader/byte/native ownership remains with the caller and no duplicate decoded model is built.
|
|
7
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Wrapping is uniform for every Object3D class rather than a fixture/instanceof root exception; semantic-map casts rely on admitted keys and no missing bones/parts or expression hooks are fabricated.
|
|
8
|
-
* @evidence contracts/development/common.md#meaningful-documentation Gives loaded-root adaptation and comments explain protected local transform, empty imported part registry and forwarded hooks; bone mapping and adoption remain caller-owned contracts.
|
|
9
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Allocates one runtime group and copies B present bone-map entries once, O(B) CPU/reference storage without traversing or cloning mesh buffers/materials.
|
|
10
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Reuses actual decoded root/bone objects and forwards existing hook references; separate placements require separate loaded/cloned native roots because a single object cannot retain multiple parents.
|
|
11
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Borrows/adopts loaded graph into one wrapper and retains B bone/hook references with the returned handle; no decoder, worker or GPU allocation is acquired here, and the supplied graph's real owner must retire its resources when this runtime is released.
|
|
12
|
-
*/
|
|
13
|
-
export const createImportedModelObject = (options) => ({
|
|
14
|
-
// ALWAYS wrap (#1047): `applyPose` writes `pose.root` onto the model root's
|
|
15
|
-
// local transform, and adopting a caller's Group directly (GLTFLoader's
|
|
16
|
-
// `gltf.scene`, three-vrm's π-yawed VRM0 root) would stomp caller-owned
|
|
17
|
-
// state, the same asset composed differently on an incidental instanceof.
|
|
18
|
-
object: wrapObject(options.object),
|
|
19
|
-
bones: normalizeBones(options.bones),
|
|
20
|
-
// An imported appearance is one runtime object rather than the authored
|
|
21
|
-
// parts a generated model is built from, so there is nothing here to address
|
|
22
|
-
// by part id. A prop drawing imported bytes therefore cannot hang a joint on
|
|
23
|
-
// a named piece of them; its articulation still turns, and what it turns is
|
|
24
|
-
// whatever the joint's own subtree holds.
|
|
25
|
-
parts: new Map(),
|
|
26
|
-
expressionTargets: options.expressionTargets,
|
|
27
|
-
afterAutoMovieFrame: options.afterAutoMovieFrame,
|
|
28
|
-
});
|
|
29
|
-
const wrapObject = (object) => {
|
|
30
|
-
const group = new THREE.Group();
|
|
31
|
-
group.name = object.name === "" ? "imported" : `${object.name}:runtime`;
|
|
32
|
-
group.add(object);
|
|
33
|
-
return group;
|
|
34
|
-
};
|
|
35
|
-
const normalizeBones = (input) => {
|
|
36
|
-
const bones = new Map();
|
|
37
|
-
if (input === undefined)
|
|
38
|
-
return bones;
|
|
39
|
-
if (input instanceof Map) {
|
|
40
|
-
for (const [bone, node] of input)
|
|
41
|
-
if (node !== null && node !== undefined)
|
|
42
|
-
bones.set(bone, node);
|
|
43
|
-
return bones;
|
|
44
|
-
}
|
|
45
|
-
for (const [bone, node] of Object.entries(input))
|
|
46
|
-
if (node !== null && node !== undefined)
|
|
47
|
-
bones.set(bone, node);
|
|
48
|
-
return bones;
|
|
49
|
-
};
|
|
50
|
-
//# sourceMappingURL=createImportedModelObject.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createImportedModelObject.js","sourceRoot":"","sources":["../src/createImportedModelObject.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAET,C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OAAO,CAAC,KAAK,CAAC;QAC9C,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,SAAS;YACrC,KAAK,CAAC,GAAG,CAAC,IAA6B,EAAE,IAAI,CAAC,CAAC;IACnD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { IAutoMovieImage } from "@automovie/interface";
|
|
2
|
-
import * as THREE from "three";
|
|
3
|
-
/**
|
|
4
|
-
* Decode an image a model carries into an RGBA texture the shot cache owns like a loaded asset.
|
|
5
|
-
*
|
|
6
|
-
* The decoder reads the subset engine admission allows: a non-interlaced 8-bit greyscale, RGB, greyscale-alpha or RGBA PNG (W3C PNG, 2nd edition). It joins the IDAT chunks, inflates them as one zlib stream with the platform `DecompressionStream`, reverses the five scanline filters of section 9 and expands every pixel to RGBA, with alpha 255 where the image has none. Rows keep file order and `flipY` stays false, so the first PNG row samples at `v = 0` as glTF specifies. Pixels are not colour-managed or premultiplied; the binding later chooses sRGB or linear decoding. Sampling defaults match a loaded image texture: linear magnification, trilinear minification and generated mipmaps. Chunk checksums are not verified, but a short or mismatched data stream, an unknown filter or an unsupported header rejects with the image id.
|
|
7
|
-
*
|
|
8
|
-
* @evidence contracts/development/implementation.md#principled-implementation Implements PNG chunk parsing, zlib inflation through the standard DecompressionStream "deflate" format and the specification's None, Sub, Up, Average and Paeth reconstruction over bytes of the previous pixel and scanline, then a fixed channel expansion to RGBA8.
|
|
9
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One function turns a carried image into an owned Texture so the shot cache can treat it exactly like a host-loaded original; admission of the header subset stays in engine.
|
|
10
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Unsupported depths, colour types, interlacing and filters reject instead of approximating, and the browser image decoder is not used because its colour management varies by host.
|
|
11
|
-
* @evidence contracts/development/common.md#meaningful-documentation States the decoded subset, row orientation, absent colour management, sampling defaults, the unchecked CRC and which faults reject.
|
|
12
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms For encoded bytes B and pixels P, base64 decoding, chunk walking and IDAT joining cost O(B), inflation is streamed by the platform and reconstruction plus expansion cost O(P) with one raw and one RGBA buffer.
|
|
13
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work The shot cache calls this at most once per carried image id and shares the decoded Source across bindings; the decoder itself keeps no cache.
|
|
14
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Encoded, joined and inflated buffers expire with the call; the returned texture and its RGBA buffer transfer to the caller, which the shot cache retires.
|
|
15
|
-
*/
|
|
16
|
-
export declare const decodeAutoMovieImage: (image: IAutoMovieImage) => Promise<THREE.DataTexture>;
|