@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,92 +0,0 @@
|
|
|
1
|
-
import { resolveAutoMovieMaterial } from "@automovie/engine";
|
|
2
|
-
import { buildMaterial } from "./buildMaterial.js";
|
|
3
|
-
import { constructAutoMovieOwnedResources } from "./constructAutoMovieOwnedResources.js";
|
|
4
|
-
import { materialTextureBindings } from "./materialTextureBindings.js";
|
|
5
|
-
import { reportAutoMovieResourceRetirement } from "./reportAutoMovieResourceRetirement.js";
|
|
6
|
-
/**
|
|
7
|
-
* Build the exact model material identities requested by simulated surfaces.
|
|
8
|
-
*
|
|
9
|
-
* Model parts cite materials inside one model, but water, soft furnishing, and
|
|
10
|
-
* planting records cite only a material id. Such a citation therefore resolves
|
|
11
|
-
* across the compiled model population and must have exactly one definition.
|
|
12
|
-
* Repeated declarations are one definition only when their complete records are
|
|
13
|
-
* structurally equal. Missing and conflicting declarations are refused before
|
|
14
|
-
* any material is built, so model order can never decide a visible result.
|
|
15
|
-
*
|
|
16
|
-
* Each admitted id is built once and shared by every borrowing surface. Texture
|
|
17
|
-
* assets are primed through the shot cache before synchronous material
|
|
18
|
-
* construction, together with the images carried by the models that declare
|
|
19
|
-
* the requested materials; that cache owns binding-private texture clones and decoded
|
|
20
|
-
* sources, while the returned library owns only the `THREE.Material` objects.
|
|
21
|
-
* Construction refusal retires already-built materials independently. Disposal
|
|
22
|
-
* attempts every material once, retains failed ownership and preserves the same
|
|
23
|
-
* failure for repeated callers.
|
|
24
|
-
*
|
|
25
|
-
* @evidence contracts/development/implementation.md#principled-implementation Engine material resolution admits complete cross-model definitions before any material allocation; primed cache bindings feed synchronous construction, with immediate material ownership and failure-preserving independent retirement.
|
|
26
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One shot library coordinates requested identities while engine owns definition equivalence, buildMaterial owns material setup and the cache owns decoded sources and binding wrappers.
|
|
27
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Null selects a real renderer default, while blank, absent, conflicting and unrequested ids refuse; construction or disposal failure never becomes an untextured substitute or successful empty-table claim.
|
|
28
|
-
* @evidence contracts/development/common.md#meaningful-documentation Explains cross-model identity admission, borrowed shared materials, separate texture ownership, construction rollback and repeated-disposal failure identity.
|
|
29
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Deduplicates requested ids before engine resolution and builds each admitted material once; definition admission searches model/material declarations per requested id, texture prime deduplicates assets, and retirement visits each built material once.
|
|
30
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work One material object per requested id is lent to all surfaces in the shot; the supplied cache shares decoded assets, and completed disposal or its stored failure is reused without native retries.
|
|
31
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned owner retains its material Map until dispose; successful releases remove entries while failed entries and their original completion remain retained. Construction rollback attempts every earlier built material, and texture lifetimes stay with the external shot cache.
|
|
32
|
-
*/
|
|
33
|
-
export const buildAutoMovieMaterialLibrary = async (props) => {
|
|
34
|
-
const requested = new Set();
|
|
35
|
-
for (const id of props.materialIds) {
|
|
36
|
-
if (id === null)
|
|
37
|
-
continue;
|
|
38
|
-
if (id.trim().length === 0)
|
|
39
|
-
throw new Error("A requested material id must not be blank.");
|
|
40
|
-
requested.add(id);
|
|
41
|
-
}
|
|
42
|
-
const definitions = new Map([...requested].map((id) => [
|
|
43
|
-
id,
|
|
44
|
-
resolveAutoMovieMaterial({ models: props.models, material: id }),
|
|
45
|
-
]));
|
|
46
|
-
const bindings = [
|
|
47
|
-
...definitions.values(),
|
|
48
|
-
].flatMap(materialTextureBindings);
|
|
49
|
-
if (bindings.length !== 0 && props.textures === undefined)
|
|
50
|
-
throw new Error("Requested materials bind texture assets but no shot texture cache was supplied.");
|
|
51
|
-
// A binding resolves against the images of the models that declare it.
|
|
52
|
-
await props.textures?.prime(bindings, props.models
|
|
53
|
-
.filter((model) => model.materials.some((material) => definitions.has(material.id)))
|
|
54
|
-
.flatMap((model) => model.images ?? []));
|
|
55
|
-
const materials = constructAutoMovieOwnedResources((own) => new Map([...definitions].map(([id, material]) => [
|
|
56
|
-
id,
|
|
57
|
-
own(buildMaterial(material, props.textures?.resolve)),
|
|
58
|
-
])));
|
|
59
|
-
let disposed = false;
|
|
60
|
-
let disposalFailure;
|
|
61
|
-
return {
|
|
62
|
-
resolve: (id) => {
|
|
63
|
-
if (disposed)
|
|
64
|
-
throw new Error("This shot material library has already been disposed.");
|
|
65
|
-
if (id === null)
|
|
66
|
-
return undefined;
|
|
67
|
-
const material = materials.get(id);
|
|
68
|
-
if (material === undefined)
|
|
69
|
-
throw new Error(`Material "${id}" was not requested by this library.`);
|
|
70
|
-
return material;
|
|
71
|
-
},
|
|
72
|
-
dispose: () => {
|
|
73
|
-
if (disposed) {
|
|
74
|
-
if (disposalFailure !== undefined)
|
|
75
|
-
throw disposalFailure.error;
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
disposed = true;
|
|
79
|
-
try {
|
|
80
|
-
reportAutoMovieResourceRetirement([...materials].map(([id, material]) => () => {
|
|
81
|
-
material.dispose();
|
|
82
|
-
materials.delete(id);
|
|
83
|
-
}));
|
|
84
|
-
}
|
|
85
|
-
catch (error) {
|
|
86
|
-
disposalFailure = { error };
|
|
87
|
-
throw error;
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
//# sourceMappingURL=buildAutoMovieMaterialLibrary.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildAutoMovieMaterialLibrary.js","sourceRoot":"","sources":["../src/buildAutoMovieMaterialLibrary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAS7D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8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AAE,CAAC;oBACnB,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;gBACvB,CAAC,CACJ,CACF,CAAC;YACJ,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,eAAe,GAAG,EAAE,KAAK,EAAE,CAAC;gBAC5B,MAAM,KAAK,CAAC;YACd,CAAC;QACH,CAAC;KACF,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { IAutoMovieFluidSpraySample } from "@automovie/interface";
|
|
2
|
-
import * as THREE from "three";
|
|
3
|
-
import type { IAutoMovieFluidSprayObject } from "./IAutoMovieFluidSprayObject.js";
|
|
4
|
-
/**
|
|
5
|
-
* Project one bounded spray sample into a `three.js` point cloud.
|
|
6
|
-
*
|
|
7
|
-
* The Engine's admitted sample supplies the capped and distance-thinned particle population. Structural guide passes hide this Points node because decorative mist does not represent solid mask/depth geometry.
|
|
8
|
-
*
|
|
9
|
-
* The default PointsMaterial uses normal blending, one fixed point size and opacity. Uploaded `aSize` and `aAge` require a supplied shader to affect beauty.
|
|
10
|
-
*
|
|
11
|
-
* @evidence contracts/development/implementation.md#principled-implementation The engine's admitted capped sample supplies each particle's position, size and age ratio. The builder copies those values to Float32 attributes, computes bounds from positions and hides empty samples; it does not enforce the cap or domain itself.
|
|
12
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure A single Points node projects the sample; particle generation and thinning remain in the engine, while structural passes decide whether points contribute to their documented quantity.
|
|
13
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No minimum particle population is fabricated. The fixed color, opacity and 0.05 size are authored default display choices; default normal blending and unused custom attributes do not implement additive or per-particle appearance. Constructor and partial-upload rollback are not provided.
|
|
14
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment states engine population authority, structural-pass role and the stock material's limitations. Material props identify conditional ownership; count reports the upload length rather than observed visible particles.
|
|
15
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Upload builds three arrays and Float32 attributes and scans bounds, all linear in particle count. These complete copies match a complete replacement sample rather than a sparse-update protocol.
|
|
16
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Points, geometry identity and material persist across updates; each supplied sample rebuilds buffers and bounds. Matching step metadata is not used as a cache key for particle equivalence.
|
|
17
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller detaches the node and disposes owned geometry and the optional default material; supplied material stays borrowed. Each invocation independently attempts geometry then default material; ordered causes follow the existing reporter, including its unresolved diagnostic-coercion limit. Disposal remains unmemoized and later updates remain admitted. Engine sampling bounds population but this type imposes no byte cap, and public events are not physical GPU release proof. Maintained callers are tests rather than a production spray scene host.
|
|
18
|
-
*/
|
|
19
|
-
export declare const buildFluidSprayObject: (props: {
|
|
20
|
-
sample: IAutoMovieFluidSpraySample;
|
|
21
|
-
material?: THREE.PointsMaterial;
|
|
22
|
-
}) => IAutoMovieFluidSprayObject;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import * as THREE from "three";
|
|
2
|
-
import { reportAutoMovieResourceRetirement } from "./reportAutoMovieResourceRetirement.js";
|
|
3
|
-
/**
|
|
4
|
-
* Project one bounded spray sample into a `three.js` point cloud.
|
|
5
|
-
*
|
|
6
|
-
* The Engine's admitted sample supplies the capped and distance-thinned particle population. Structural guide passes hide this Points node because decorative mist does not represent solid mask/depth geometry.
|
|
7
|
-
*
|
|
8
|
-
* The default PointsMaterial uses normal blending, one fixed point size and opacity. Uploaded `aSize` and `aAge` require a supplied shader to affect beauty.
|
|
9
|
-
*
|
|
10
|
-
* @evidence contracts/development/implementation.md#principled-implementation The engine's admitted capped sample supplies each particle's position, size and age ratio. The builder copies those values to Float32 attributes, computes bounds from positions and hides empty samples; it does not enforce the cap or domain itself.
|
|
11
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure A single Points node projects the sample; particle generation and thinning remain in the engine, while structural passes decide whether points contribute to their documented quantity.
|
|
12
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No minimum particle population is fabricated. The fixed color, opacity and 0.05 size are authored default display choices; default normal blending and unused custom attributes do not implement additive or per-particle appearance. Constructor and partial-upload rollback are not provided.
|
|
13
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment states engine population authority, structural-pass role and the stock material's limitations. Material props identify conditional ownership; count reports the upload length rather than observed visible particles.
|
|
14
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Upload builds three arrays and Float32 attributes and scans bounds, all linear in particle count. These complete copies match a complete replacement sample rather than a sparse-update protocol.
|
|
15
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Points, geometry identity and material persist across updates; each supplied sample rebuilds buffers and bounds. Matching step metadata is not used as a cache key for particle equivalence.
|
|
16
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller detaches the node and disposes owned geometry and the optional default material; supplied material stays borrowed. Each invocation independently attempts geometry then default material; ordered causes follow the existing reporter, including its unresolved diagnostic-coercion limit. Disposal remains unmemoized and later updates remain admitted. Engine sampling bounds population but this type imposes no byte cap, and public events are not physical GPU release proof. Maintained callers are tests rather than a production spray scene host.
|
|
17
|
-
*/
|
|
18
|
-
export const buildFluidSprayObject = (props) => {
|
|
19
|
-
const geometry = new THREE.BufferGeometry();
|
|
20
|
-
const owned = props.material === undefined;
|
|
21
|
-
const material = props.material ??
|
|
22
|
-
new THREE.PointsMaterial({
|
|
23
|
-
color: 0xdff2ff,
|
|
24
|
-
transparent: true,
|
|
25
|
-
opacity: 0.7,
|
|
26
|
-
sizeAttenuation: true,
|
|
27
|
-
size: 0.05,
|
|
28
|
-
});
|
|
29
|
-
const points = new THREE.Points(geometry, material);
|
|
30
|
-
points.name = "water-spray";
|
|
31
|
-
let count = 0;
|
|
32
|
-
const upload = (sample) => {
|
|
33
|
-
const positions = [];
|
|
34
|
-
const sizes = [];
|
|
35
|
-
const ages = [];
|
|
36
|
-
for (const particle of sample.particles) {
|
|
37
|
-
positions.push(particle.position.x, particle.position.y, particle.position.z);
|
|
38
|
-
sizes.push(particle.size);
|
|
39
|
-
ages.push(particle.ageRatio);
|
|
40
|
-
}
|
|
41
|
-
count = sample.particles.length;
|
|
42
|
-
geometry.setAttribute("position", new THREE.Float32BufferAttribute(positions, 3));
|
|
43
|
-
geometry.setAttribute("aSize", new THREE.Float32BufferAttribute(sizes, 1));
|
|
44
|
-
geometry.setAttribute("aAge", new THREE.Float32BufferAttribute(ages, 1));
|
|
45
|
-
geometry.computeBoundingSphere();
|
|
46
|
-
points.userData.step = sample.step;
|
|
47
|
-
points.visible = count > 0;
|
|
48
|
-
};
|
|
49
|
-
upload(props.sample);
|
|
50
|
-
return {
|
|
51
|
-
object: points,
|
|
52
|
-
update: upload,
|
|
53
|
-
dispose: () => {
|
|
54
|
-
reportAutoMovieResourceRetirement([
|
|
55
|
-
() => {
|
|
56
|
-
geometry.dispose();
|
|
57
|
-
},
|
|
58
|
-
() => {
|
|
59
|
-
if (owned)
|
|
60
|
-
material.dispose();
|
|
61
|
-
},
|
|
62
|
-
]);
|
|
63
|
-
},
|
|
64
|
-
count: () => count,
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
//# sourceMappingURL=buildFluidSprayObject.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildFluidSprayObject.js","sourceRoot":"","sources":["../src/buildFluidSprayObject.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAE3F;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAGC,CAAC,KAInC,EAA8B,EAAE;IAC/B,MAAM,QAAQ,GAGV,IAAI,KAAK,CAAC,cAAc,EAAE,CAAC;IAC/B,MAAM,KAAK,GAAY,KAAK,CAAC,QAAQ,KAAK,SAAS,CAAC;IACpD,MAAM,QAAQ,GACZ,KAAK,CAAC,QAAQ;QACd,IAAI,KAAK,CAAC,cAAc,CAA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B,EAAE,CAAC;QACjC,MAAM,CAAC,QAAQ,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACnC,MAAM,CAAC,OAAO,GAAG,KAAK,GAAG,CAAC,CAAC;IAC7B,CAAC,CAAC;IACF,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,OAAO;QACL,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,GAAS,EAAE;YAClB,iCAAiC,CAAC;gBAChC,GAAS,EAAE;oBACT,QAAQ,CAAC,OAAO,EAAE,CAAC;gBACrB,CAAC;gBACD,GAAS,EAAE;oBACT,IAAI,KAAK;wBAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;gBAChC,CAAC;aACF,CAAC,CAAC;QACL,CAAC;QACD,KAAK,EAAE,GAAW,EAAE,CAAC,KAAK;KAC3B,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { AutoMovieWaterFeatureMode, IAutoMovieFluidSurface } from "@automovie/interface";
|
|
2
|
-
import * as THREE from "three";
|
|
3
|
-
import type { IAutoMovieFluidSurfaceObject } from "./IAutoMovieFluidSurfaceObject.js";
|
|
4
|
-
/**
|
|
5
|
-
* Project one engine-derived free surface into a `three.js` mesh.
|
|
6
|
-
*
|
|
7
|
-
* Positions, normals, UVs and the per-vertex flow vector come from the Engine surface. `aFlow` and `flowing` preserve numerical intent for a supplied shader; the default MeshStandardMaterial does not consume either to scroll ripples.
|
|
8
|
-
*
|
|
9
|
-
* Structural passes swap this ordinary mesh's material. Its bounding sphere uses the supplied wet bounds; copied Float32 positions do not establish pixel equality with the numerical depth field.
|
|
10
|
-
*
|
|
11
|
-
* @evidence contracts/development/implementation.md#principled-implementation The admitted engine surface supplies indexed positions, normals, UVs, flow and wet bounds; uploads copy them to Float32 attributes and use the wet-bound box diagonal for a conservative sphere. A different domain refuses before writes; buffer consistency and finite values are engine admission premises.
|
|
12
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One mesh owns upload and resource release while the fluid solver remains numerical. Flow and mode are metadata for custom materials, not a second viewer velocity computation or an implicit ripple shader.
|
|
13
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Dry lattice vertices do not enlarge the supplied wet-bound sphere. The translucent blue default is an authored display choice rather than a physical appearance claim. Construction and mid-upload failures lack full rollback; disposal attempts each owned resource independently without consumer exceptions.
|
|
14
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment distinguishes uploaded flow from material consumption and Float32 projection from numerical depth. Props state borrowed material ownership and the metadata-only role of mode.
|
|
15
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Upload copies vertex, normal, UV, flow and index arrays with linear time and space in their lengths; wet-bound sphere construction is constant work. A full upload is needed because this API accepts a complete new surface rather than dirty ranges.
|
|
16
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Mesh, geometry identity and material persist across updates; attributes are recreated for each supplied surface. Domain guards identity but does not prove that equal step values imply unchanged bytes.
|
|
17
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns scene attachment and disposal; geometry and only the default material belong to this object. Each invocation independently attempts geometry then the default material; ordered causes follow the existing reporter, including its unresolved diagnostic-coercion limit. Repeat and post-disposal update behavior remains unchanged. Latest attributes replace old references, while constructor rollback and physical GPU retirement are unproven. Maintained callers are owning tests rather than a production fluid scene host.
|
|
18
|
-
*/
|
|
19
|
-
export declare const buildFluidSurfaceObject: (props: {
|
|
20
|
-
surface: IAutoMovieFluidSurface;
|
|
21
|
-
material?: THREE.Material;
|
|
22
|
-
mode?: AutoMovieWaterFeatureMode;
|
|
23
|
-
}) => IAutoMovieFluidSurfaceObject;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import * as THREE from "three";
|
|
2
|
-
import { reportAutoMovieResourceRetirement } from "./reportAutoMovieResourceRetirement.js";
|
|
3
|
-
/**
|
|
4
|
-
* Project one engine-derived free surface into a `three.js` mesh.
|
|
5
|
-
*
|
|
6
|
-
* Positions, normals, UVs and the per-vertex flow vector come from the Engine surface. `aFlow` and `flowing` preserve numerical intent for a supplied shader; the default MeshStandardMaterial does not consume either to scroll ripples.
|
|
7
|
-
*
|
|
8
|
-
* Structural passes swap this ordinary mesh's material. Its bounding sphere uses the supplied wet bounds; copied Float32 positions do not establish pixel equality with the numerical depth field.
|
|
9
|
-
*
|
|
10
|
-
* @evidence contracts/development/implementation.md#principled-implementation The admitted engine surface supplies indexed positions, normals, UVs, flow and wet bounds; uploads copy them to Float32 attributes and use the wet-bound box diagonal for a conservative sphere. A different domain refuses before writes; buffer consistency and finite values are engine admission premises.
|
|
11
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One mesh owns upload and resource release while the fluid solver remains numerical. Flow and mode are metadata for custom materials, not a second viewer velocity computation or an implicit ripple shader.
|
|
12
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Dry lattice vertices do not enlarge the supplied wet-bound sphere. The translucent blue default is an authored display choice rather than a physical appearance claim. Construction and mid-upload failures lack full rollback; disposal attempts each owned resource independently without consumer exceptions.
|
|
13
|
-
* @evidence contracts/development/common.md#meaningful-documentation The comment distinguishes uploaded flow from material consumption and Float32 projection from numerical depth. Props state borrowed material ownership and the metadata-only role of mode.
|
|
14
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Upload copies vertex, normal, UV, flow and index arrays with linear time and space in their lengths; wet-bound sphere construction is constant work. A full upload is needed because this API accepts a complete new surface rather than dirty ranges.
|
|
15
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Mesh, geometry identity and material persist across updates; attributes are recreated for each supplied surface. Domain guards identity but does not prove that equal step values imply unchanged bytes.
|
|
16
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources The caller owns scene attachment and disposal; geometry and only the default material belong to this object. Each invocation independently attempts geometry then the default material; ordered causes follow the existing reporter, including its unresolved diagnostic-coercion limit. Repeat and post-disposal update behavior remains unchanged. Latest attributes replace old references, while constructor rollback and physical GPU retirement are unproven. Maintained callers are owning tests rather than a production fluid scene host.
|
|
17
|
-
*/
|
|
18
|
-
export const buildFluidSurfaceObject = (props) => {
|
|
19
|
-
const geometry = new THREE.BufferGeometry();
|
|
20
|
-
const owned = props.material === undefined;
|
|
21
|
-
const material = props.material ??
|
|
22
|
-
new THREE.MeshStandardMaterial({
|
|
23
|
-
color: 0x2f6f8f,
|
|
24
|
-
roughness: 0.1,
|
|
25
|
-
metalness: 0,
|
|
26
|
-
transparent: true,
|
|
27
|
-
opacity: 0.8,
|
|
28
|
-
side: THREE.DoubleSide,
|
|
29
|
-
});
|
|
30
|
-
const mesh = new THREE.Mesh(geometry, material);
|
|
31
|
-
const domain = props.surface.domain;
|
|
32
|
-
mesh.name = `water:${domain}`;
|
|
33
|
-
const upload = (surface) => {
|
|
34
|
-
if (surface.domain !== domain)
|
|
35
|
-
throw new Error(`water surface object of "${domain}" cannot upload a surface of "${surface.domain}"`);
|
|
36
|
-
geometry.setAttribute("position", new THREE.Float32BufferAttribute(surface.mesh.positions, 3));
|
|
37
|
-
geometry.setAttribute("normal", new THREE.Float32BufferAttribute(surface.mesh.normals ?? [], 3));
|
|
38
|
-
geometry.setAttribute("uv", new THREE.Float32BufferAttribute(surface.mesh.uvs ?? [], 2));
|
|
39
|
-
geometry.setAttribute("aFlow", new THREE.Float32BufferAttribute(surface.flow, 2));
|
|
40
|
-
geometry.setIndex(surface.mesh.indices ?? []);
|
|
41
|
-
// Supplied wet bounds exclude dry lattice vertices from the culling sphere.
|
|
42
|
-
const bounds = surface.bounds;
|
|
43
|
-
if (bounds === null) {
|
|
44
|
-
geometry.boundingSphere = new THREE.Sphere(new THREE.Vector3(), 0);
|
|
45
|
-
mesh.visible = false;
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
const min = new THREE.Vector3(bounds.min.x, bounds.min.y, bounds.min.z);
|
|
49
|
-
const max = new THREE.Vector3(bounds.max.x, bounds.max.y, bounds.max.z);
|
|
50
|
-
geometry.boundingSphere = new THREE.Sphere(min.clone().add(max).multiplyScalar(0.5), min.distanceTo(max) / 2);
|
|
51
|
-
mesh.visible = true;
|
|
52
|
-
}
|
|
53
|
-
mesh.userData.domain = surface.domain;
|
|
54
|
-
mesh.userData.step = surface.step;
|
|
55
|
-
};
|
|
56
|
-
upload(props.surface);
|
|
57
|
-
mesh.userData.flowing = props.mode === "flowing";
|
|
58
|
-
return {
|
|
59
|
-
object: mesh,
|
|
60
|
-
update: upload,
|
|
61
|
-
dispose: () => {
|
|
62
|
-
reportAutoMovieResourceRetirement([
|
|
63
|
-
() => {
|
|
64
|
-
geometry.dispose();
|
|
65
|
-
},
|
|
66
|
-
() => {
|
|
67
|
-
if (owned)
|
|
68
|
-
material.dispose();
|
|
69
|
-
},
|
|
70
|
-
]);
|
|
71
|
-
},
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
//# sourceMappingURL=buildFluidSurfaceObject.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildFluidSurfaceObject.js","sourceRoot":"","sources":["../src/buildFluidSurfaceObject.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAE3F;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAIC,CAAC,KAMrC,EAAgC,EAAE;IACjC,MAAM,QAAQ,GAGV,IAAI,KAAK,CAAC,cAAc,EAAE,CAAC;IAC/B,MAAM,KAAK,GAAY,KAAK,CAAC,QAAQ,KAAK,SAAS,CAAC;IACpD,MAAM,QAAQ,GACZ,KAAK,CAAC,QAAQ;QACd,IAAI,KAAK,CAAC,oBAAoB,CAAC;YAC7B,KAAK,EAAE,QAAQ;YACf,SAAS,EAAE,GAAG;YACd,SAAS,EAAE,CAAC;YACZ,WAAW,EAAE,IAAI;YACjB,OAAO,EAAE,GAAG;YACZ,IAAI,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OAAO,EAAE,CAAC;gBAChC,CAAC;aACF,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC,CAAC"}
|
package/lib/buildGeometry.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { IAutoMovieGeometry } from "@automovie/interface";
|
|
2
|
-
import * as THREE from "three";
|
|
3
|
-
/**
|
|
4
|
-
* Build a `three.js` geometry from a automovie geometry node: tessellating a
|
|
5
|
-
* parametric primitive or bicubic atlas through its engine owner, or uploading raw mesh arrays. Finite partial atlas output remains drawable with its processing diagnostics. Morph
|
|
6
|
-
* targets become relative `morphAttributes` named after their targets, which a
|
|
7
|
-
* mesh constructed on the geometry lists in `morphTargetDictionary`.
|
|
8
|
-
* Its buffer object is owned before tessellation or attribute initialization;
|
|
9
|
-
* an initialization refusal independently reports disposal and its original
|
|
10
|
-
* cause rather than leaving an unreturned allocation with no owner.
|
|
11
|
-
*
|
|
12
|
-
* @evidence contracts/development/implementation.md#principled-implementation Uses engine tessellation for primitives and realizes admitted raw position/normal/UV/color/relief/skin arrays as native typed attributes and morph targets as named relative morph attributes (zero normal deltas where a target has none but another does, as Three requires), computing normals only when absent and preserving physical-vertex identity through its owner helper; widths/index bounds and Float32/Uint16 representability are source premises, so numeric narrowing can differ from engine double precision.
|
|
13
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Owns one Three buffer realization, leaving primitive topology to tessellate, texture semantics to material builders and simulation/render vertex correspondence to AutoMovieGeometryPhysicalVertices.
|
|
14
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Writes the actual artifact arrays without geometry-id exceptions, copied UV channels or generated placeholder primitives; missing normals use native computation, not fixture normal values.
|
|
15
|
-
* @evidence contracts/development/common.md#meaningful-documentation Describes primitive/raw realization and immediate geometry ownership/rollback; attribute comments identify the one admitted UV set and the physical/render correspondence helper supplies its own contract.
|
|
16
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms CPU allocation/copy grows with emitted vertices/indices, supplied attribute channels and morph targets (one or two Float32 copies of 3V per target), with one geometry and no redundant UV sets; missing-normal computation visits triangles, while engine primitive tessellation dominates its own shape population.
|
|
17
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Reuses canonical engine tessellation and physical-vertex mapping code; each mutable geometry belongs to an independent model owner and no immutable topology/revision key permits cross-build sharing here.
|
|
18
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Registers the new BufferGeometry before attribute/tessellation work, transfers it only after full initialization and independently retires it on refusal; typed attributes remain bounded by the admitted mesh, and this producer owns no material, renderer or task.
|
|
19
|
-
*/
|
|
20
|
-
export declare const buildGeometry: (geometry: IAutoMovieGeometry) => THREE.BufferGeometry;
|
package/lib/buildGeometry.js
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { realizeAutoMovieBicubicAtlas64, tessellate, } from "@automovie/engine";
|
|
2
|
-
import * as THREE from "three";
|
|
3
|
-
import { AutoMovieGeometryPhysicalVertices } from "./AutoMovieGeometryPhysicalVertices.js";
|
|
4
|
-
import { constructAutoMovieOwnedResources } from "./constructAutoMovieOwnedResources.js";
|
|
5
|
-
/**
|
|
6
|
-
* Build a `three.js` geometry from a automovie geometry node: tessellating a
|
|
7
|
-
* parametric primitive or bicubic atlas through its engine owner, or uploading raw mesh arrays. Finite partial atlas output remains drawable with its processing diagnostics. Morph
|
|
8
|
-
* targets become relative `morphAttributes` named after their targets, which a
|
|
9
|
-
* mesh constructed on the geometry lists in `morphTargetDictionary`.
|
|
10
|
-
* Its buffer object is owned before tessellation or attribute initialization;
|
|
11
|
-
* an initialization refusal independently reports disposal and its original
|
|
12
|
-
* cause rather than leaving an unreturned allocation with no owner.
|
|
13
|
-
*
|
|
14
|
-
* @evidence contracts/development/implementation.md#principled-implementation Uses engine tessellation for primitives and realizes admitted raw position/normal/UV/color/relief/skin arrays as native typed attributes and morph targets as named relative morph attributes (zero normal deltas where a target has none but another does, as Three requires), computing normals only when absent and preserving physical-vertex identity through its owner helper; widths/index bounds and Float32/Uint16 representability are source premises, so numeric narrowing can differ from engine double precision.
|
|
15
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Owns one Three buffer realization, leaving primitive topology to tessellate, texture semantics to material builders and simulation/render vertex correspondence to AutoMovieGeometryPhysicalVertices.
|
|
16
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Writes the actual artifact arrays without geometry-id exceptions, copied UV channels or generated placeholder primitives; missing normals use native computation, not fixture normal values.
|
|
17
|
-
* @evidence contracts/development/common.md#meaningful-documentation Describes primitive/raw realization and immediate geometry ownership/rollback; attribute comments identify the one admitted UV set and the physical/render correspondence helper supplies its own contract.
|
|
18
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms CPU allocation/copy grows with emitted vertices/indices, supplied attribute channels and morph targets (one or two Float32 copies of 3V per target), with one geometry and no redundant UV sets; missing-normal computation visits triangles, while engine primitive tessellation dominates its own shape population.
|
|
19
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Reuses canonical engine tessellation and physical-vertex mapping code; each mutable geometry belongs to an independent model owner and no immutable topology/revision key permits cross-build sharing here.
|
|
20
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Registers the new BufferGeometry before attribute/tessellation work, transfers it only after full initialization and independently retires it on refusal; typed attributes remain bounded by the admitted mesh, and this producer owns no material, renderer or task.
|
|
21
|
-
*/
|
|
22
|
-
export const buildGeometry = (geometry) => {
|
|
23
|
-
return constructAutoMovieOwnedResources((own) => {
|
|
24
|
-
const geo = own(new THREE.BufferGeometry());
|
|
25
|
-
if (geometry.type === "primitive") {
|
|
26
|
-
const t = tessellate(geometry.shape);
|
|
27
|
-
geo.setAttribute("position", new THREE.Float32BufferAttribute(t.positions, 3));
|
|
28
|
-
geo.setAttribute("normal", new THREE.Float32BufferAttribute(t.normals, 3));
|
|
29
|
-
geo.setIndex(t.indices);
|
|
30
|
-
return geo;
|
|
31
|
-
}
|
|
32
|
-
let mesh;
|
|
33
|
-
if (geometry.type === "bicubic-atlas") {
|
|
34
|
-
const realized = realizeAutoMovieBicubicAtlas64(geometry);
|
|
35
|
-
mesh = realized.mesh;
|
|
36
|
-
geo.userData.automovieAtlasRealization = {
|
|
37
|
-
complete: realized.complete,
|
|
38
|
-
diagnostics: realized.diagnostics,
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
else
|
|
42
|
-
mesh = geometry.mesh;
|
|
43
|
-
geo.setAttribute("position", new THREE.Float32BufferAttribute(mesh.positions, 3));
|
|
44
|
-
if (mesh.normals !== null)
|
|
45
|
-
geo.setAttribute("normal", new THREE.Float32BufferAttribute(mesh.normals, 3));
|
|
46
|
-
// One UV set, deliberately. `three.js` reads a map's `channel` to pick
|
|
47
|
-
// between `uv`, `uv1`, `uv2` and `uv3`, and the artifact admits `texCoord` 0
|
|
48
|
-
// alone (`validateModel`), so a mirrored `uv1` would be a second copy of the
|
|
49
|
-
// same buffer that no material could ever address.
|
|
50
|
-
if (mesh.uvs !== null)
|
|
51
|
-
geo.setAttribute("uv", new THREE.Float32BufferAttribute(mesh.uvs, 2));
|
|
52
|
-
if (mesh.colors !== undefined)
|
|
53
|
-
geo.setAttribute("color", new THREE.Float32BufferAttribute(mesh.colors, 3));
|
|
54
|
-
if (mesh.reliefWeights !== undefined)
|
|
55
|
-
geo.setAttribute("reliefWeight", new THREE.Float32BufferAttribute(mesh.reliefWeights, 1));
|
|
56
|
-
if (mesh.indices !== null)
|
|
57
|
-
geo.setIndex(mesh.indices);
|
|
58
|
-
if (mesh.skin !== null) {
|
|
59
|
-
geo.setAttribute("skinIndex", new THREE.Uint16BufferAttribute(mesh.skin.boneIndices, 4));
|
|
60
|
-
geo.setAttribute("skinWeight", new THREE.Float32BufferAttribute(mesh.skin.weights, 4));
|
|
61
|
-
}
|
|
62
|
-
if (mesh.targets !== undefined && mesh.targets.length !== 0) {
|
|
63
|
-
// Relative deltas, glTF's model; Three adds them before skinning. Three
|
|
64
|
-
// needs a normal delta per position delta once any target has normals,
|
|
65
|
-
// so a target without them contributes zeros.
|
|
66
|
-
const targets = mesh.targets;
|
|
67
|
-
geo.morphTargetsRelative = true;
|
|
68
|
-
geo.morphAttributes.position = targets.map((target) => {
|
|
69
|
-
const attribute = new THREE.Float32BufferAttribute(target.positions, 3);
|
|
70
|
-
attribute.name = target.name;
|
|
71
|
-
return attribute;
|
|
72
|
-
});
|
|
73
|
-
if (targets.some((target) => target.normals !== null))
|
|
74
|
-
geo.morphAttributes.normal = targets.map((target) => {
|
|
75
|
-
const attribute = target.normals === null
|
|
76
|
-
? new THREE.Float32BufferAttribute(target.positions.length, 3)
|
|
77
|
-
: new THREE.Float32BufferAttribute(target.normals, 3);
|
|
78
|
-
attribute.name = target.name;
|
|
79
|
-
return attribute;
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
if (mesh.normals === null)
|
|
83
|
-
geo.computeVertexNormals();
|
|
84
|
-
AutoMovieGeometryPhysicalVertices.writeOwned(geo, mesh.physicalVertices);
|
|
85
|
-
AutoMovieGeometryPhysicalVertices.read(geo);
|
|
86
|
-
return geo;
|
|
87
|
-
});
|
|
88
|
-
};
|
|
89
|
-
//# sourceMappingURL=buildGeometry.js.map
|
package/lib/buildGeometry.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildGeometry.js","sourceRoot":"","sources":["../src/buildGeometry.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,8BAA8B,EAC9B,UAAU,GACX,MAAM,mBAAmB,CAAC;AAM3B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAEzF;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,aAAa,GAEE,CAC1B,QAA4B,EACN,EAAE;IACxB,OAAO,gCAAgC,CACrC,CACE,GAEa,EAIb,EAAE;QACF,MAAM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AO,CAAC,GAAG,CACxC,CAAC,MAAiC,EAAgC,EAAE;gBAClE,MAAM,SAAS,GACb,IAAI,KAAK,CAAC,sBAAsB,CAAC,MAAM,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;gBACxD,SAAS,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;gBAC7B,OAAO,SAAS,CAAC;YACnB,CAAC,CACF,CAAC;YACF,IACE,OAAO,CAAC,IAAI,CACV,CAAC,MAAiC,EAAW,EAAE,CAC7C,MAAM,CAAC,OAAO,KAAK,IAAI,CAC1B;gBAED,GAAG,CAAC,eAAe,CAAC,MAAM,GAAG,OAAO,CAAC,GAAG,CACtC,CACE,MAAiC,EACH,EAAE;oBAChC,MAAM,SAAS,GACb,MAAM,CAAC,OAAO,KAAK,IAAI;wBACrB,CAAC,CAAC,IAAI,KAAK,CAAC,sBAAsB,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,CAAC;wBAC9D,CAAC,CAAC,IAAI,KAAK,CAAC,sBAAsB,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;oBAC1D,SAAS,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;oBAC7B,OAAO,SAAS,CAAC;gBACnB,CAAC,CACF,CAAC;QACN,CAAC;QACD,IAAI,IAAI,CAAC,OAAO,KAAK,IAAI;YAAE,GAAG,CAAC,oBAAoB,EAAE,CAAC;QACtD,iCAAiC,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACzE,iCAAiC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC5C,OAAO,GAAG,CAAC;IACb,CAAC,CACF,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { IAutoMovieCompiledEffect } from "@automovie/interface";
|
|
2
|
-
import type { IAutoMovieEffectViewerObject } from "./IAutoMovieEffectViewerObject.js";
|
|
3
|
-
/**
|
|
4
|
-
* Build a compiled effect as fixed-capacity camera-facing billboard instances.
|
|
5
|
-
* Numeric particles come from the engine's absolute fixed-step sampler. The
|
|
6
|
-
* current tree exposes this producer without a production scene/film caller.
|
|
7
|
-
* Its returned native mesh exposes resources for caller-owned retirement;
|
|
8
|
-
* no complete disposal handle or partial-setup rollback is supplied here.
|
|
9
|
-
*
|
|
10
|
-
* @evidence contracts/development/implementation.md#principled-implementation Samples admitted compiled effects by absolute time and distance, then copies bounded live particle position/size/opacity into camera-world-oriented instance matrices; maxParticles bounds live buffers, recipe ranges/finite coordinates are upstream premises and a smooth radial feather defines billboard appearance rather than physical volumetric scattering.
|
|
11
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One native instanced plane stream projects the canonical sampler and reports its current scalar summary; there is no production scene/film consumer in the current tree, and no new runtime service is added to conceal that exported-only reach.
|
|
12
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Uses actual seed/time/particle values and declared cap without fixture particles or GPU random state; radial feather thresholds0.28/0.5 and renderOrder10 are explicit current display conventions. Color uses native hex decoding/global color policy, and this custom shader has no final color-space chunk, so full captured-color parity is not guaranteed.
|
|
13
|
-
* @evidence contracts/development/common.md#meaningful-documentation Gives fixed-step numerical ownership, camera-facing projection, live capacity, caller native-resource retirement and missing production/rollback boundaries rather than certifying a drawn effect.
|
|
14
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Allocates B matrix/opacity capacity once for budget B and fills N live sampled particles per update, plus the sampler's candidate/lifetime/LOD cost; per-particle Vector3 temporaries are still allocated and transparent raster overdraw follows screen coverage, not just live count.
|
|
15
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Reuses one plane/material/instance buffer and working matrix/scale/camera quaternion across frames; absolute-time sampling recomputes live particles, since matching object identity is not an immutable recipe/time/distance equivalence key.
|
|
16
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Returned mesh owns one geometry/material/native instance stream and retains the compiled effect through update, with bytes proportional to cap; no disposer/constructor rollback is returned, so callers must retire all three actual native roles and discard the handle. No worker or decoder is acquired.
|
|
17
|
-
*/
|
|
18
|
-
export declare const buildInstancedEffect: (effect: IAutoMovieCompiledEffect) => IAutoMovieEffectViewerObject;
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { sampleCompiledEffect, } from "@automovie/engine";
|
|
2
|
-
import * as THREE from "three";
|
|
3
|
-
/**
|
|
4
|
-
* Build a compiled effect as fixed-capacity camera-facing billboard instances.
|
|
5
|
-
* Numeric particles come from the engine's absolute fixed-step sampler. The
|
|
6
|
-
* current tree exposes this producer without a production scene/film caller.
|
|
7
|
-
* Its returned native mesh exposes resources for caller-owned retirement;
|
|
8
|
-
* no complete disposal handle or partial-setup rollback is supplied here.
|
|
9
|
-
*
|
|
10
|
-
* @evidence contracts/development/implementation.md#principled-implementation Samples admitted compiled effects by absolute time and distance, then copies bounded live particle position/size/opacity into camera-world-oriented instance matrices; maxParticles bounds live buffers, recipe ranges/finite coordinates are upstream premises and a smooth radial feather defines billboard appearance rather than physical volumetric scattering.
|
|
11
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure One native instanced plane stream projects the canonical sampler and reports its current scalar summary; there is no production scene/film consumer in the current tree, and no new runtime service is added to conceal that exported-only reach.
|
|
12
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Uses actual seed/time/particle values and declared cap without fixture particles or GPU random state; radial feather thresholds0.28/0.5 and renderOrder10 are explicit current display conventions. Color uses native hex decoding/global color policy, and this custom shader has no final color-space chunk, so full captured-color parity is not guaranteed.
|
|
13
|
-
* @evidence contracts/development/common.md#meaningful-documentation Gives fixed-step numerical ownership, camera-facing projection, live capacity, caller native-resource retirement and missing production/rollback boundaries rather than certifying a drawn effect.
|
|
14
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Allocates B matrix/opacity capacity once for budget B and fills N live sampled particles per update, plus the sampler's candidate/lifetime/LOD cost; per-particle Vector3 temporaries are still allocated and transparent raster overdraw follows screen coverage, not just live count.
|
|
15
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Reuses one plane/material/instance buffer and working matrix/scale/camera quaternion across frames; absolute-time sampling recomputes live particles, since matching object identity is not an immutable recipe/time/distance equivalence key.
|
|
16
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Returned mesh owns one geometry/material/native instance stream and retains the compiled effect through update, with bytes proportional to cap; no disposer/constructor rollback is returned, so callers must retire all three actual native roles and discard the handle. No worker or decoder is acquired.
|
|
17
|
-
*/
|
|
18
|
-
export const buildInstancedEffect = (effect) => {
|
|
19
|
-
const geometry = new THREE.PlaneGeometry(1, 1);
|
|
20
|
-
const opacity = new THREE.InstancedBufferAttribute(new Float32Array(effect.recipe.budget.maxParticles), 1);
|
|
21
|
-
geometry.setAttribute("automovieOpacity", opacity);
|
|
22
|
-
const material = new THREE.ShaderMaterial({
|
|
23
|
-
uniforms: {
|
|
24
|
-
automovieColor: { value: new THREE.Color(effect.recipe.particle.color) },
|
|
25
|
-
},
|
|
26
|
-
transparent: true,
|
|
27
|
-
depthTest: true,
|
|
28
|
-
depthWrite: false,
|
|
29
|
-
polygonOffset: effect.recipe.motion.ballistic?.retainStains === true,
|
|
30
|
-
polygonOffsetFactor: -1,
|
|
31
|
-
polygonOffsetUnits: -1,
|
|
32
|
-
vertexShader: `
|
|
33
|
-
attribute float automovieOpacity;
|
|
34
|
-
varying float vAutomovieOpacity;
|
|
35
|
-
varying vec2 vAutomovieUv;
|
|
36
|
-
void main() {
|
|
37
|
-
vAutomovieOpacity = automovieOpacity;
|
|
38
|
-
vAutomovieUv = uv;
|
|
39
|
-
gl_Position = projectionMatrix * modelViewMatrix * instanceMatrix *
|
|
40
|
-
vec4(position, 1.0);
|
|
41
|
-
}
|
|
42
|
-
`,
|
|
43
|
-
fragmentShader: `
|
|
44
|
-
uniform vec3 automovieColor;
|
|
45
|
-
varying float vAutomovieOpacity;
|
|
46
|
-
varying vec2 vAutomovieUv;
|
|
47
|
-
void main() {
|
|
48
|
-
float radius = length(vAutomovieUv - vec2(0.5));
|
|
49
|
-
float feather = 1.0 - smoothstep(0.28, 0.5, radius);
|
|
50
|
-
gl_FragColor = vec4(automovieColor, vAutomovieOpacity * feather);
|
|
51
|
-
}
|
|
52
|
-
`,
|
|
53
|
-
});
|
|
54
|
-
const mesh = new THREE.InstancedMesh(geometry, material, effect.recipe.budget.maxParticles);
|
|
55
|
-
mesh.name = `effect:${effect.zone}:${effect.id}`;
|
|
56
|
-
mesh.count = 0;
|
|
57
|
-
mesh.frustumCulled = false;
|
|
58
|
-
mesh.renderOrder = 10;
|
|
59
|
-
mesh.userData.automovieEffect = {
|
|
60
|
-
zone: effect.zone,
|
|
61
|
-
kind: effect.kind,
|
|
62
|
-
digest: effect.digest,
|
|
63
|
-
};
|
|
64
|
-
const stats = {
|
|
65
|
-
active: false,
|
|
66
|
-
particles: 0,
|
|
67
|
-
cap: effect.recipe.budget.maxParticles,
|
|
68
|
-
intensity: 0,
|
|
69
|
-
};
|
|
70
|
-
const matrix = new THREE.Matrix4();
|
|
71
|
-
const scale = new THREE.Vector3();
|
|
72
|
-
const cameraQuaternion = new THREE.Quaternion();
|
|
73
|
-
const surfaceQuaternion = new THREE.Quaternion();
|
|
74
|
-
const planeNormal = new THREE.Vector3(0, 0, 1);
|
|
75
|
-
const surfaceNormal = new THREE.Vector3();
|
|
76
|
-
return {
|
|
77
|
-
object: mesh,
|
|
78
|
-
stats,
|
|
79
|
-
update(camera, time) {
|
|
80
|
-
const center = new THREE.Vector3((effect.bounds.min.x + effect.bounds.max.x) / 2, (effect.bounds.min.y + effect.bounds.max.y) / 2, (effect.bounds.min.z + effect.bounds.max.z) / 2);
|
|
81
|
-
const cameraPosition = new THREE.Vector3();
|
|
82
|
-
camera.getWorldPosition(cameraPosition);
|
|
83
|
-
camera.getWorldQuaternion(cameraQuaternion);
|
|
84
|
-
const sample = sampleCompiledEffect(effect, time, cameraPosition.distanceTo(center));
|
|
85
|
-
sample.particles.forEach((particle, index) => {
|
|
86
|
-
scale.set(particle.size, particle.size, particle.size);
|
|
87
|
-
matrix.compose(new THREE.Vector3(particle.position.x, particle.position.y, particle.position.z), particle.normal
|
|
88
|
-
? surfaceQuaternion.setFromUnitVectors(planeNormal, surfaceNormal.set(particle.normal.x, particle.normal.y, particle.normal.z))
|
|
89
|
-
: cameraQuaternion, scale);
|
|
90
|
-
mesh.setMatrixAt(index, matrix);
|
|
91
|
-
opacity.setX(index, particle.opacity);
|
|
92
|
-
});
|
|
93
|
-
mesh.count = sample.particles.length;
|
|
94
|
-
mesh.visible = sample.active && mesh.count > 0;
|
|
95
|
-
mesh.instanceMatrix.needsUpdate = true;
|
|
96
|
-
opacity.needsUpdate = true;
|
|
97
|
-
stats.active = sample.active;
|
|
98
|
-
stats.particles = sample.particles.length;
|
|
99
|
-
stats.intensity = sample.intensity;
|
|
100
|
-
},
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
//# sourceMappingURL=buildInstancedEffect.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildInstancedEffect.js","sourceRoot":"","sources":["../src/buildInstancedEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,oBAAoB,GACrB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAEG,CAClC,MAAgC,EACF,EAAE;IAChC,MAAM,QAAQ,GAAwB,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACpE,MAAM,OAAO,GACX,IAAI,KAAK,CAAC,wBAAwB,CAChC,IAAI,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,EACnD,CAAC,CACF,CAAC;IACJ,QAAQ,CAAC,YAAY,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACnD,MAAM,QAAQ,GAAy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ovieFormationViewerObject.js";
|
|
2
|
-
import type { IBuildInstancedFormationProps } from "./IBuildInstancedFormationProps.js";
|
|
3
|
-
/**
|
|
4
|
-
* Build one compact formation as chunked instance batches.
|
|
5
|
-
*
|
|
6
|
-
* Heroes are deliberately absent: the builder promoted them to explicit scene
|
|
7
|
-
* nodes. Each LOD tier's model is flattened into one mesh, keeping exactly one
|
|
8
|
-
* 64-byte instance matrix and one 4-byte phase scalar per anonymous slot and
|
|
9
|
-
* tier.
|
|
10
|
-
*
|
|
11
|
-
* Declared gaits are baked into part-matrix tables and each member reads the selected table at its seeded phase. Positive-stride takes advance by cue travel/turn and the stride heuristic; zero-stride takes instead advance by elapsed time and their declared period. Two scalar uniforms and one texture reference carry a tier's cadence, while culling, spacing/reform and sparse cues require additional update work.
|
|
12
|
-
*
|
|
13
|
-
* No production scene/film caller is connected in the current tree; direct users and owning tests exercise this producer, so this API alone does not establish that compiled shot populations reach the capture application.
|
|
14
|
-
*
|
|
15
|
-
* @evidence contracts/development/implementation.md#principled-implementation Uses engine compact slot regeneration, cue sampling, cadence integration and hysteretic LOD, projecting metre placements into chunk InstancedMeshes and baked Float32 part tables; admitted models/anchors/tiers are premises, stride is heuristic and cadence matrix interpolation is approximate, while anonymous and caller-supplied hero ownership stay distinct.
|
|
16
|
-
* @evidence contracts/development/implementation.md#clear-and-simple-structure Builds shared tier resources once and per-chunk matrix/phase buffers separately, with sparse slot exception lookup and hero rest snapshots for updates; no in-tree production shot host consumes this producer, and that unresolved wiring is not repaired by another runtime layer.
|
|
17
|
-
* @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Regenerates authored seeded slots and actual cues without fixture frames or per-member surrogate nodes. The 0.01 chunk-radius and 0.001 distance/depth floors are numerical conventions; culling uses original chunk bounds and supplied projection radius, without recomputing bounds for reform or sparse offsets. Containment of the current deformed arrangement is therefore a remaining premise, not an independently established visibility guarantee.
|
|
18
|
-
* @evidence contracts/development/common.md#meaningful-documentation States anonymous versus promoted members, metre/phase buffer roles, shared gait repertoire and cadence approximation, update work beyond uniform writes and the currently absent production consumer.
|
|
19
|
-
* @evidence contracts/development/implementation.md#efficient-algorithms Construction regenerates N anonymous slots and fills each resident tier, bakes each tier once and locates E exceptions by scanning C chunks then the matching chunk's slots. Updates visit chunks/tiers and heroes, sample cue lists for each exception, and rewrite N matrices when spacing/reform changes. Cue sampling and native graph updates add their actual costs; retained buffers scale with N times resident tiers rather than one Object3D per member.
|
|
20
|
-
* @evidence contracts/development/implementation.md#reuse-equivalent-work Shares tier geometry/material/cycle textures across chunk meshes, retains tier hysteresis and only rewrites arrangement when spacing/reform inputs change; absolute cue/cadence inputs drive updates, and failed/successful disposal completion is reused without physical retries.
|
|
21
|
-
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Construction scope immediately owns tier retirement and each chunk geometry/mesh, rolling them back independently on later refusal; returned runtime owns all anonymous resources until disposal and borrows hero objects. Disposal stops updates, attempts every unique resource, retains operation closures on failed release and preserves its original completion until the runtime is released.
|
|
22
|
-
*/
|
|
23
|
-
export declare const buildInstancedFormation: (input: IBuildInstancedFormationProps) => IAutoMovieFormationViewerObject;
|