@realsee/five-webgpu 1.0.0-alpha.5 → 1.0.0-alpha.7
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/ai_guides/api.md +9 -8
- package/ai_guides/features/camera-animation.md +1 -1
- package/ai_guides/features/event.md +0 -1
- package/ai_guides/features/five.md +78 -9
- package/ai_guides/features/gesture.md +1 -1
- package/ai_guides/features/load-external-model.md +6 -6
- package/ai_guides/features/load-progress.md +2 -2
- package/ai_guides/features/material.md +35 -8
- package/ai_guides/features/mode.md +26 -29
- package/ai_guides/features/model.md +1 -1
- package/ai_guides/features/state.md +2 -2
- package/ai_guides/features/ultra-hdr.md +41 -32
- package/ai_guides/quick-start.md +2 -2
- package/ai_guides/release_notes/6.8.md +2 -2
- package/ai_guides/support.md +0 -4
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/index.AdaptiveLuminancePass.html +1 -1
- package/docs/classes/index.BoundingMesh.html +1 -1
- package/docs/classes/index.Camera.html +1 -1
- package/docs/classes/index.EffectComposer.html +1 -1
- package/docs/classes/index.EyeDomeLightingPass.html +1 -1
- package/docs/classes/index.Five.html +69 -67
- package/docs/classes/index.FivePass.html +1 -1
- package/docs/classes/index.FlowingFireworks3DPass.html +1 -1
- package/docs/classes/index.FlowingLight2DPass.html +1 -1
- package/docs/classes/index.FlowingLight3DPass.html +2 -2
- package/docs/classes/index.GaussianBlurPass.html +1 -1
- package/docs/classes/index.InternalWebGPURenderer.html +8 -5
- package/docs/classes/index.Model.html +1 -1
- package/docs/classes/index.ModelScene.html +1 -1
- package/docs/classes/index.NetworkSubscribe.html +1 -1
- package/docs/classes/index.PBMCustomNode.html +8 -8
- package/docs/classes/index.PBMGaussianSplattingNodeMaterial.html +8 -6
- package/docs/classes/index.PBMGaussianSplattingObject.html +10 -4
- package/docs/classes/index.PBMGaussianSplattingRenderMesh.html +26 -15
- package/docs/classes/index.PBMGroup.html +1 -1
- package/docs/classes/index.PBMMesh.html +1 -1
- package/docs/classes/index.PBMMeshBasicMaterial.html +13 -8
- package/docs/classes/index.PBMMeshBasicNodeMaterial.html +15 -10
- package/docs/classes/index.PBMMeshPanoOnlyMaterial.html +13 -8
- package/docs/classes/index.PBMMeshPanoOnlyNodeMaterial.html +13 -8
- package/docs/classes/index.PBMMeshPhongMaterial.html +13 -8
- package/docs/classes/index.PBMMeshPhongNodeMaterial.html +15 -10
- package/docs/classes/index.PBMMeshPhysicalMaterial.html +13 -8
- package/docs/classes/index.PBMMeshPhysicalNodeMaterial.html +15 -10
- package/docs/classes/index.PBMPanoFilter.html +8 -8
- package/docs/classes/index.PBMPointCloud.html +6 -7
- package/docs/classes/index.PBMPointCloudMaterial.html +83 -0
- package/docs/classes/index.PBMSkinnedMesh.html +1 -1
- package/docs/classes/index.PBMUpdateable.html +1 -1
- package/docs/classes/index.PanoCircleMesh.html +1 -1
- package/docs/classes/index.PanoCircleMeshCustom.html +5 -5
- package/docs/classes/index.PanoCircleMeshSolid.html +1 -1
- package/docs/classes/index.Parameter.html +57 -56
- package/docs/classes/index.Scene.html +1 -1
- package/docs/classes/index.Subscribe.html +1 -1
- package/docs/classes/index.TextureLoader.html +4 -1
- package/docs/classes/index.Tile3D.html +23 -21
- package/docs/classes/index.TileNode.html +1 -1
- package/docs/classes/index.Tileset.html +4 -4
- package/docs/classes/index.TrajectoryNode.html +3 -3
- package/docs/classes/index.Work.html +20 -18
- package/docs/classes/index.WorkResolvedObserver.html +22 -22
- package/docs/classes/index.XRButton.html +3 -0
- package/docs/documents/api.html +11 -10
- package/docs/documents/features_camera-animation.html +1 -1
- package/docs/documents/features_event.html +0 -1
- package/docs/documents/features_five.html +51 -9
- package/docs/documents/features_gesture.html +1 -1
- package/docs/documents/features_load-external-model.html +6 -6
- package/docs/documents/features_load-progress.html +1 -1
- package/docs/documents/features_material.html +20 -9
- package/docs/documents/features_mode.html +28 -13
- package/docs/documents/features_model.html +1 -1
- package/docs/documents/features_state.html +1 -1
- package/docs/documents/features_ultra-hdr.html +50 -44
- package/docs/documents/quick-start.html +1 -1
- package/docs/documents/release_notes_6.8.html +2 -2
- package/docs/documents/support.html +1 -3
- package/docs/functions/index.customNodesCacheKey.html +1 -1
- package/docs/functions/index.parseWork.html +1 -1
- package/docs/functions/index.workToJson.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/interfaces/index.AddableObject.html +1 -1
- package/docs/interfaces/index.AjaxOptions.html +1 -1
- package/docs/interfaces/index.BaseEvent.html +2 -2
- package/docs/interfaces/index.Clock.html +24 -0
- package/docs/interfaces/index.DeviceProfile.html +8 -0
- package/docs/interfaces/index.EventCallback.html +49 -47
- package/docs/interfaces/index.FiveInitArgs.html +65 -41
- package/docs/interfaces/index.GainmapCfgData.html +15 -0
- package/docs/interfaces/index.GestureEvent.html +2 -2
- package/docs/interfaces/index.IPBMMaterial.html +12 -7
- package/docs/interfaces/index.ImageOptions.html +1 -1
- package/docs/interfaces/index.IntersectEvent.html +2 -2
- package/docs/interfaces/index.IntersectMesh.html +1 -1
- package/docs/interfaces/index.IntersectMeshInterface.html +1 -1
- package/docs/interfaces/index.Intersection.html +1 -1
- package/docs/interfaces/index.LoosePanoWork.html +2 -2
- package/docs/interfaces/index.LooseWork.html +2 -2
- package/docs/interfaces/index.LooseWorkInitial.html +2 -2
- package/docs/interfaces/index.LooseWorkModel.html +2 -2
- package/docs/interfaces/index.LooseWorkObserver.html +2 -2
- package/docs/interfaces/index.LooseWorkPanorama.html +4 -3
- package/docs/interfaces/index.LooseWorkWithExtrinsics.html +15 -9
- package/docs/interfaces/index.ModeChangeEvent.html +2 -2
- package/docs/interfaces/index.ModelControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/index.ModelEvent.html +2 -2
- package/docs/interfaces/index.ModelSceneEvent.html +2 -2
- package/docs/interfaces/index.ModelTileEvent.html +2 -2
- package/docs/interfaces/index.MovePanoOptions.html +1 -1
- package/docs/interfaces/index.NetworkAbortError.html +1 -1
- package/docs/interfaces/index.NetworkFirbiddenError.html +1 -1
- package/docs/interfaces/index.NetworkOptions.html +1 -1
- package/docs/interfaces/index.NetworkProxyError.html +1 -1
- package/docs/interfaces/index.NetworkResourceEvent.html +2 -2
- package/docs/interfaces/index.NetworkResponseError.html +1 -1
- package/docs/interfaces/index.NetworkTimeoutError.html +1 -1
- package/docs/interfaces/index.ObjectEvent.html +2 -2
- package/docs/interfaces/index.PBMClipperParameter.html +2 -2
- package/docs/interfaces/index.PBMCustomNodeContext.html +60 -12
- package/docs/interfaces/index.PBMCustomNodeOptions.html +4 -4
- package/docs/interfaces/index.PBMCustomNodePanoContext.html +13 -6
- package/docs/interfaces/index.PBMCustomNodeSlots.html +6 -6
- package/docs/interfaces/index.PBMGaussianSplattingNodeMaterialOptions.html +4 -0
- package/docs/interfaces/index.PBMPanoDepth.html +5 -5
- package/docs/interfaces/index.PBMPanoFilterValue.html +2 -2
- package/docs/interfaces/index.PBMPanoGainmap.html +6 -0
- package/docs/interfaces/index.PBMPanoPicture.html +9 -8
- package/docs/interfaces/index.PBMRefinedScreen.html +2 -2
- package/docs/interfaces/index.PanoCircleMeshCustomOptions.html +2 -2
- package/docs/interfaces/index.PanoCircleMeshInterface.html +1 -1
- package/docs/interfaces/index.PanoEvent.html +2 -2
- package/docs/interfaces/index.PanoPrepareEvent.html +15 -0
- package/docs/interfaces/index.PanoTextureEvent.html +2 -2
- package/docs/interfaces/index.PanoramaControllerCustomInitArgs.html +9 -9
- package/docs/interfaces/index.PanoramaLikeControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/index.ParameterMaterialValue.html +42 -41
- package/docs/interfaces/index.ParameterTilesetValue.html +15 -15
- package/docs/interfaces/index.ParameterValue.html +56 -55
- package/docs/interfaces/index.Pose.html +1 -1
- package/docs/interfaces/index.RenderEvent.html +2 -2
- package/docs/interfaces/index.ResolvedParameterValue.html +56 -55
- package/docs/interfaces/index.State.html +1 -1
- package/docs/interfaces/index.StateEvent.html +2 -2
- package/docs/interfaces/index.TextureOptions.html +1 -1
- package/docs/interfaces/index.TilesetOptions.html +7 -2
- package/docs/interfaces/index.TopviewControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/index.VRPanoramaControllerCustomInitArgs.html +37 -0
- package/docs/interfaces/index.ViewLayer.html +23 -21
- package/docs/interfaces/index.WorkCubeHdrGainmapImage.html +10 -0
- package/docs/interfaces/index.WorkCubeImage.html +5 -9
- package/docs/interfaces/index.WorkImage.html +8 -12
- package/docs/interfaces/index.WorkInitial.html +8 -8
- package/docs/interfaces/index.WorkModel.html +8 -8
- package/docs/interfaces/index.WorkModelLayer.html +6 -6
- package/docs/interfaces/index.WorkObserver.html +23 -23
- package/docs/interfaces/index.WorkPanoramaJson.html +3 -2
- package/docs/interfaces/index.WorkTile.html +8 -12
- package/docs/interfaces/index.WorksEvent.html +2 -2
- package/docs/interfaces/index.XRControllerEvent.html +2 -2
- package/docs/interfaces/index.XRGestureEvent.html +2 -2
- package/docs/interfaces/index.XRPanoramaControllerCustomInitArgs.html +52 -0
- package/docs/interfaces/index.XRSessionEvent.html +2 -2
- package/docs/modules/index.html +1 -1
- package/docs/types/index.ControllerCustomInitTypes.html +4 -2
- package/docs/types/index.ControllerEventTypes.html +25 -23
- package/docs/types/index.DeviceProfileOverride.html +5 -0
- package/docs/types/index.EventTypes.html +26 -26
- package/docs/types/index.FlowingLightLineInput.html +11 -0
- package/docs/types/index.Mode.html +6 -3
- package/docs/types/index.OutputTextureDataType.html +1 -1
- package/docs/types/index.PBMCustomNodeTargetType.html +1 -1
- package/docs/types/index.ParseOptions.html +14 -8
- package/docs/types/index.XRMachineType.html +7 -0
- package/docs/variables/index.GSPLAT_PIPELINE_AUTO.html +2 -0
- package/docs/variables/index.GSPLAT_PIPELINE_RASTER_CPU_SORT.html +2 -0
- package/docs/variables/index.GSPLAT_PIPELINE_RASTER_GPU_SORT.html +2 -0
- package/docs/variables/index.PBMVertexMarkFlag.html +4 -0
- package/docs/variables/index.PROXY_CONTROLLER_EVENT_NAMES.html +1 -1
- package/docs/variables/index.controllersDefaultInitArgs.html +1 -1
- package/five/application/controllers.d.ts +8 -0
- package/five/application/events.d.ts +1 -1
- package/five/application/five.d.ts +6 -1
- package/five/application/fiveInitArgs.d.ts +32 -1
- package/five/application/mode.d.ts +8 -1
- package/five/cardboard/helper.d.ts +2 -0
- package/five/cardboard/index.d.ts +13 -0
- package/five/cardboard/sensor.d.ts +158 -0
- package/five/controllers/base.d.ts +3 -0
- package/five/controllers/events.d.ts +5 -3
- package/five/controllers/panorama.d.ts +2 -2
- package/five/controllers/vrPanorama.d.ts +56 -0
- package/five/controllers/xrPanorama.d.ts +506 -0
- package/five/core/internalWebGPURenderer.d.ts +7 -1
- package/five/core/panoVideo.d.ts +4 -1
- package/five/core/tiling.d.ts +25 -11
- package/five/core/webglAsyncReadFix.d.ts +25 -0
- package/five/gaussian-splatting/gpu-sort/prefixSumKernel.d.ts +65 -0
- package/five/gaussian-splatting/gpu-sort/radixSortModule.d.ts +128 -0
- package/five/gaussian-splatting/gpu-sort/shaders/prefixSum.d.ts +2 -0
- package/five/gaussian-splatting/gpu-sort/shaders/radixHistogram.d.ts +2 -0
- package/five/gaussian-splatting/gpu-sort/shaders/radixReorder.d.ts +2 -0
- package/five/gaussian-splatting/gpu-sort/shaders/sortKeygen.d.ts +2 -0
- package/five/gaussian-splatting/gpu-sort/sortAdapter.d.ts +234 -0
- package/five/gaussian-splatting/pipelines/cpuSortPipeline.d.ts +159 -0
- package/five/gaussian-splatting/pipelines/gpuSortPipeline.d.ts +98 -0
- package/five/gaussian-splatting/pipelines/gsplatPipeline.d.ts +104 -0
- package/five/gaussian-splatting/pipelines/pipelineMode.d.ts +42 -0
- package/five/gaussian-splatting/pipelines/sortThrottle.d.ts +45 -0
- package/five/index.d.ts +8 -2
- package/five/index.js +272 -269
- package/five/index.mjs +8389 -4487
- package/five/meshes/panoCircleMeshCustom.d.ts +1 -0
- package/five/model/index.d.ts +3 -2
- package/five/model/materials/pbmGaussianSplattingNodeMaterial.d.ts +4 -0
- package/five/model/materials/pbmMaterial.d.ts +126 -19
- package/five/model/materials/pbmMeshMaterial.d.ts +0 -9
- package/five/model/materials/pbmPointCloudNodeMaterial.d.ts +1 -1
- package/five/model/materials/tsl/defines.d.ts +6 -1
- package/five/model/materials/tsl/outputBuilder.d.ts +1 -12
- package/five/model/materials/tsl/panoColor.d.ts +8 -2
- package/five/model/materials/tsl/utils.d.ts +13 -0
- package/five/model/objects/pbmGaussianSplattingObject.d.ts +9 -0
- package/five/model/objects/pbmGaussianSplattingRenderMesh.d.ts +67 -101
- package/five/model/objects/pbmPointCloud.d.ts +0 -1
- package/five/model/objects/pbmPointCloudObject.d.ts +1 -1
- package/five/model/parameter.d.ts +5 -4
- package/five/model/tile3d/index.d.ts +2 -0
- package/five/model/tile3d/tileset.d.ts +5 -0
- package/five/model/tile3d/trajectory-content.d.ts +53 -0
- package/five/renderer/index.d.ts +1 -1
- package/five/renderer/postprocessing/index.d.ts +1 -1
- package/five/texture/loader.d.ts +6 -0
- package/five/types/cube.d.ts +0 -1
- package/five/utils/detector.d.ts +11 -1
- package/five/utils/error.d.ts +1 -0
- package/five/utils/event.d.ts +26 -3
- package/five/utils/gainmap-data.d.ts +23 -0
- package/five/webxr/XRControllerModelFactory.d.ts +55 -0
- package/five/webxr/buttonStateMachine.d.ts +31 -0
- package/five/webxr/deviceProfile.d.ts +70 -0
- package/five/webxr/inputSourceTracker.d.ts +59 -0
- package/five/webxr/referenceSpace.d.ts +60 -0
- package/five/webxr/renderTargetBridge.d.ts +45 -0
- package/five/webxr/xrButton.d.ts +4 -0
- package/five/webxr/xrManager.d.ts +174 -0
- package/five/work/index.d.ts +1 -1
- package/five/work/looseWorkType.d.ts +2 -1
- package/five/work/work.d.ts +30 -7
- package/five/work/workJsonType.d.ts +2 -1
- package/gltf-loader/gltf-object.d.ts +17 -0
- package/gltf-loader/index.d.ts +45 -0
- package/gltf-loader/index.js +255 -0
- package/gltf-loader/index.mjs +302 -0
- package/line/circle_png.d.ts +1 -0
- package/line/index.d.ts +49 -0
- package/line/index.js +255 -0
- package/line/index.mjs +340 -0
- package/package.json +30 -5
- package/plugins/BackgroundPlugin/Controller.d.ts +20 -0
- package/plugins/BackgroundPlugin/index.d.ts +5 -0
- package/plugins/BackgroundPlugin/typings.d.ts +44 -0
- package/plugins/CSS2DPlugin/Controller.d.ts +59 -0
- package/plugins/CSS2DPlugin/index.d.ts +5 -0
- package/plugins/CSS2DPlugin/typing.d.ts +31 -0
- package/plugins/CSS3DPlugin/Controller.d.ts +64 -0
- package/plugins/CSS3DPlugin/index.d.ts +5 -0
- package/plugins/CSS3DPlugin/typing.d.ts +33 -0
- package/plugins/FloorplanPlugin/Controller.d.ts +100 -0
- package/plugins/FloorplanPlugin/index.d.ts +6 -0
- package/plugins/FloorplanPlugin/render/assets.d.ts +9 -0
- package/plugins/FloorplanPlugin/render/index.d.ts +35 -0
- package/plugins/FloorplanPlugin/render/isPointInPolygon.d.ts +5 -0
- package/plugins/FloorplanPlugin/render/renderFloor.d.ts +22 -0
- package/plugins/FloorplanPlugin/render/roomLabelVisibility.d.ts +10 -0
- package/plugins/FloorplanPlugin/typing.d.ts +156 -0
- package/plugins/FloorplanPlugin/typings/floorplanData.d.ts +112 -0
- package/plugins/FloorplanPlugin/typings/floorplanJson.d.ts +167 -0
- package/plugins/FloorplanPlugin/typings/floorplanServerData.d.ts +78 -0
- package/plugins/FloorplanPlugin/typings/index.d.ts +3 -0
- package/plugins/FloorplanPlugin/utils/changeMode.d.ts +5 -0
- package/plugins/FloorplanPlugin/utils/changeModelCanvasOpacity.d.ts +6 -0
- package/plugins/FloorplanPlugin/utils/correctFiveState.d.ts +11 -0
- package/plugins/FloorplanPlugin/utils/equal.d.ts +9 -0
- package/plugins/FloorplanPlugin/utils/filter.d.ts +8 -0
- package/plugins/FloorplanPlugin/utils/fiveModelLoad.d.ts +6 -0
- package/plugins/FloorplanPlugin/utils/formatData.d.ts +6 -0
- package/plugins/FloorplanPlugin/utils/formatFloorplanJson.d.ts +20 -0
- package/plugins/FloorplanPlugin/utils/formatPosition.d.ts +33 -0
- package/plugins/FloorplanPlugin/utils/getDistanceFromModel.d.ts +6 -0
- package/plugins/FloorplanPlugin/utils/getPxmm.d.ts +19 -0
- package/plugins/FloorplanPlugin/utils/isTruelyObject.d.ts +4 -0
- package/plugins/FloorplanPlugin/utils/nearlyEqual.d.ts +8 -0
- package/plugins/FloorplanPlugin/utils/polylabel.d.ts +8 -0
- package/plugins/FloorplanPlugin/utils/to.d.ts +5 -0
- package/plugins/Object3DHelperPlugin/Controller.d.ts +99 -0
- package/plugins/Object3DHelperPlugin/Controllers/BaseController.d.ts +142 -0
- package/plugins/Object3DHelperPlugin/Controllers/BoundingBoxController.d.ts +16 -0
- package/plugins/Object3DHelperPlugin/Controllers/MoveController.d.ts +66 -0
- package/plugins/Object3DHelperPlugin/Controllers/RotateController.d.ts +61 -0
- package/plugins/Object3DHelperPlugin/FiveControllerWrapper.d.ts +17 -0
- package/plugins/Object3DHelperPlugin/Helper/BaseHelper.d.ts +97 -0
- package/plugins/Object3DHelperPlugin/Helper/BoundingBoxHelper.d.ts +16 -0
- package/plugins/Object3DHelperPlugin/Helper/MoveHelper.d.ts +37 -0
- package/plugins/Object3DHelperPlugin/Helper/RotateHelper.d.ts +93 -0
- package/plugins/Object3DHelperPlugin/constant.d.ts +27 -0
- package/plugins/Object3DHelperPlugin/index.d.ts +6 -0
- package/plugins/Object3DHelperPlugin/typing.d.ts +143 -0
- package/plugins/Object3DHelperPlugin/utils/ArrowGroup.d.ts +22 -0
- package/plugins/Object3DHelperPlugin/utils/CenterHandle.d.ts +23 -0
- package/plugins/Object3DHelperPlugin/utils/PlaneHandle.d.ts +19 -0
- package/plugins/Object3DHelperPlugin/utils/calculateScaleByCamera.d.ts +5 -0
- package/plugins/Object3DHelperPlugin/utils/cameraHooks.d.ts +3 -0
- package/plugins/Object3DHelperPlugin/utils/direction.d.ts +14 -0
- package/plugins/Object3DHelperPlugin/utils/getMouseRaycaster.d.ts +5 -0
- package/plugins/Object3DHelperPlugin/utils/getOrthographicCameraDirection.d.ts +8 -0
- package/plugins/Object3DHelperPlugin/utils/setObjectQuaternion.d.ts +8 -0
- package/plugins/Object3DHelperPlugin/utils/solidGuide.d.ts +27 -0
- package/plugins/Object3DHelperPlugin/utils/tipsDom.d.ts +8 -0
- package/plugins/PanoAnimePlugin/Controller.d.ts +49 -0
- package/plugins/PanoAnimePlugin/index.d.ts +5 -0
- package/plugins/PanoAnimePlugin/typing.d.ts +37 -0
- package/plugins/index.d.ts +6 -0
- package/plugins/index.js +748 -3
- package/plugins/index.mjs +28761 -88
- package/plugins/thirdParty/CSS2DRenderer.d.ts +37 -0
- package/plugins/thirdParty/CSS3DRenderer.d.ts +45 -0
- package/plugins/thirdParty/OrbitControls.d.ts +78 -0
- package/plugins/thirdParty/doctorstrange-model.d.ts +92 -0
- package/plugins/thirdParty/domevents.d.ts +36 -0
- package/plugins/utils/clamp.d.ts +2 -0
- package/plugins/utils/uuid.d.ts +2 -0
- package/react/index.js +2 -2
- package/react/index.mjs +2 -2
- package/sticker/geometry.d.ts +3 -0
- package/sticker/index.d.ts +68 -0
- package/sticker/index.js +255 -0
- package/sticker/index.mjs +358 -0
- package/umd/five-gltf-loader.js +255 -0
- package/umd/five-line.js +322 -0
- package/umd/five-plugins.js +816 -3
- package/umd/five-react.js +2 -2
- package/umd/five-sticker.js +255 -0
- package/umd/five-vfx.js +323 -0
- package/umd/five.js +347 -344
- package/vfx/airflow/airflow.d.ts +18 -0
- package/vfx/common/simplex-noise.d.ts +2 -0
- package/vfx/frame/frame.d.ts +27 -0
- package/vfx/index.d.ts +7 -0
- package/vfx/index.js +255 -0
- package/vfx/index.mjs +738 -0
- package/vfx/particle/instance.d.ts +36 -0
- package/vfx/particle/particle.d.ts +119 -0
- package/vfx/particle/utils.d.ts +11 -0
- package/vfx/particle-gpu/particle.d.ts +75 -0
- package/vfx/particle-gpu/utils.d.ts +11 -0
- package/vfx/spotLight/spotLight.d.ts +15 -0
- package/work-downloader/components/model-3d-tile.d.ts +2 -0
- package/work-downloader/components/model.d.ts +3 -0
- package/work-downloader/components/observer.d.ts +9 -0
- package/work-downloader/download.d.ts +16 -0
- package/work-downloader/index.d.ts +2 -0
- package/work-downloader/index.js +255 -0
- package/work-downloader/index.mjs +595 -0
- package/work-downloader/type.d.ts +28 -0
- package/work-downloader/utils/download-to-file.d.ts +1 -0
- package/work-downloader/utils/image-processing.d.ts +7 -0
- package/work-downloader/utils/join-url.d.ts +2 -0
- package/work-downloader/utils/log.d.ts +1 -0
- package/work-downloader/utils/relative-url.d.ts +1 -0
- package/docs/interfaces/index.PBMHDRConfig.html +0 -12
- package/five/gaussian-splatting/worker/dataWorker.d.ts +0 -1
- package/five/three-version-check.d.ts +0 -1
- package/five/utils/hdr-data.d.ts +0 -13
- package/five/utils/shaderContentFix.d.ts +0 -7
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import * as THREE from 'three/webgpu';
|
|
2
|
+
import { GSplatPipeline, type PipelineFrameParams, type PipelineIndexSource } from './gsplatPipeline';
|
|
3
|
+
/**
|
|
4
|
+
* GPU 排序管线(Pipeline_Mode = `RASTER_GPU_SORT`)
|
|
5
|
+
*
|
|
6
|
+
* 组合 `SortAdapter` + `RadixSortModule`:一次 `requestSort` 在**同一帧内**完成
|
|
7
|
+
* Distance_Range 计算 → keygen → radix sort → Order_Texture 写入(Requirement 12.1 / 12.2),
|
|
8
|
+
* 结果经 Order_Texture 供材质顶点阶段 `textureLoad` 取点。
|
|
9
|
+
*
|
|
10
|
+
* 与 CPU 管线的关键差异:
|
|
11
|
+
* - 排序是**同步生效**的(本帧 submit、本帧绘制读取),因此没有 generation 配对、没有
|
|
12
|
+
* Reorder_CPU、没有 `splatIndex` 上传(Requirement 12.4);
|
|
13
|
+
* - 因为同帧生效,也就**不需要主动请求额外的 Render_Frame**(Requirement 12.3)——
|
|
14
|
+
* `CpuSortPipeline` 那个 `onNeedsRender` 回调在这里没有对应物;
|
|
15
|
+
* - Data_Texture 必须在排序前就位,这由 Render_Mesh 把 `assembler.assemble()` 提前到排序之前
|
|
16
|
+
* 保证(Requirement 12.5)。
|
|
17
|
+
*
|
|
18
|
+
* 不可用性(`unusable`)汇聚三个来源,经 `checkLimits` 统一走「解析为 `RASTER_CPU_SORT` →
|
|
19
|
+
* 下一帧 `syncPipelineMode` 切换」这条降级路径(Requirement 15.4 / 16.1 / 16.3),
|
|
20
|
+
* 本类内部不写单独的降级分支。
|
|
21
|
+
*/
|
|
22
|
+
export declare class GpuSortPipeline extends GSplatPipeline {
|
|
23
|
+
/** 原生设备。取不到(非 WebGPU 后端)时管线直接进入失败态。 */
|
|
24
|
+
private readonly device;
|
|
25
|
+
/** 3DGS ↔ 通用排序模块的对接层。构造失败或 device lost 后为 null。 */
|
|
26
|
+
private sortAdapter;
|
|
27
|
+
/** compute pipeline(keygen / radix sort / prefix sum)创建失败(Requirement 16.1)。 */
|
|
28
|
+
private _pipelineCreateFailed;
|
|
29
|
+
/** `GPUDevice` 触发 lost 事件(Requirement 16.3)。 */
|
|
30
|
+
private _deviceLost;
|
|
31
|
+
/** `dispose()` 之后忽略迟到的 `device.lost` 回调,避免在已释放对象上写状态。 */
|
|
32
|
+
private _disposed;
|
|
33
|
+
/** 是否已产出过至少一次有效排序结果(Order_Texture 已写入)。 */
|
|
34
|
+
private _hasSorted;
|
|
35
|
+
/** 最近一次成功排序时的 Total_Points(= Order_Texture 当前承载的点数)。 */
|
|
36
|
+
private _sortedPoints;
|
|
37
|
+
/** 本帧 Total_Points,由 `frameUpdate` 记录。初值 0 使首个 `frameUpdate` 之前不绘制。 */
|
|
38
|
+
private _frameTotalPoints;
|
|
39
|
+
/** 首次排序前充当 `indexSource` 的占位纹理,按需懒建。 */
|
|
40
|
+
private placeholderTexture;
|
|
41
|
+
constructor(renderer: THREE.WebGPURenderer);
|
|
42
|
+
/** 自行在 GPU 上排序:Render_Mesh 因此跳过 Reorder_CPU、Layout_Generation 与 `splatIndex` 写入。 */
|
|
43
|
+
get usesGpuSort(): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* 管线是否已不可用。为真时 `checkLimits` 返回「GPU 管线已失效」,
|
|
46
|
+
* 下一帧的 `syncPipelineMode` 把模式解析为 `RASTER_CPU_SORT` 并完成切换。
|
|
47
|
+
*
|
|
48
|
+
* 三个来源:
|
|
49
|
+
* - `_pipelineCreateFailed`:compute pipeline 创建失败(Requirement 16.1)
|
|
50
|
+
* - `_deviceLost`:`GPUDevice` 丢失(Requirement 16.3)
|
|
51
|
+
* - `sortAdapter.unusable`:keygen dispatch 规模超设备单维上限。keygen shader 只用 `gid.x`
|
|
52
|
+
* 编址,无法像排序模块那样退化为 2D dispatch,其承载上限(约 1677 万点)低于
|
|
53
|
+
* `checkLimits` 按 2D dispatch 允许的规模,所以这一项必须由本 getter 补上——
|
|
54
|
+
* `checkLimits` 自己检不出来。
|
|
55
|
+
*/
|
|
56
|
+
get unusable(): boolean;
|
|
57
|
+
/**
|
|
58
|
+
* 本帧可绘制实例数。
|
|
59
|
+
*
|
|
60
|
+
* 资源就绪且已有排序结果时为 Total_Points(Requirement 6.5),否则 0。取
|
|
61
|
+
* `min(本帧点数, 最近一次排序的点数)` 是一层保护:若布局在排序后变大而本帧尚未重排,
|
|
62
|
+
* 多出来的实例在 Order_Texture 里没有对应条目,不绘制它们比绘制越界读到的 0 更正确。
|
|
63
|
+
*
|
|
64
|
+
* 返回 0 的情形:管线不可用(Requirement 16.1 / 16.3)、尚无有效排序结果
|
|
65
|
+
* (Requirement 8.10,含刚切换到本管线的那几帧)、Total_Points 为 0(Requirement 16.5)。
|
|
66
|
+
*/
|
|
67
|
+
get instanceCount(): number;
|
|
68
|
+
/**
|
|
69
|
+
* 绘制索引来源:Order_Texture(Requirement 10.6)。
|
|
70
|
+
*
|
|
71
|
+
* Order_Texture 在点数变化时会被 `SortAdapter` 重建(换掉纹理对象),所以 Render_Mesh 需每帧
|
|
72
|
+
* 取用并按引用同步给材质,不能只在首帧绑定一次。
|
|
73
|
+
*/
|
|
74
|
+
get indexSource(): PipelineIndexSource;
|
|
75
|
+
/**
|
|
76
|
+
* 请求排序:自建 encoder 录入整条排序链路,一次 submit,同帧生效。
|
|
77
|
+
*
|
|
78
|
+
* **不做节流判断**——是否调用由外层 Sort_Throttle 决定(Requirement 7.1)。
|
|
79
|
+
* 也不请求额外的 Render_Frame:结果对本帧绘制即刻可见,five 的按需渲染语义不变
|
|
80
|
+
* (Requirement 12.3)。
|
|
81
|
+
*
|
|
82
|
+
* 用**自建 encoder** 而不是渲染器的当前 encoder:three 的渲染 encoder 生命周期不对外开放,
|
|
83
|
+
* 且排序必须整体排在本帧绘制命令之前。独立提交靠队列顺序保证这一点。
|
|
84
|
+
*/
|
|
85
|
+
requestSort(ctx: PipelineFrameParams): void;
|
|
86
|
+
/**
|
|
87
|
+
* 每帧记录本帧点数,供 `instanceCount` 判定。
|
|
88
|
+
*
|
|
89
|
+
* GPU 路径没有 CPU 路径那样的「把异步结果修正到当前布局」工作(Order_Texture 在
|
|
90
|
+
* `requestSort` 里已就地写好),所以这里只有一次赋值。
|
|
91
|
+
*/
|
|
92
|
+
frameUpdate(ctx: PipelineFrameParams): void;
|
|
93
|
+
/** 释放全部 GPU 资源:`SortAdapter`(含 Key_Buffer、uniform、Order_Texture、排序模块)与占位纹理。 */
|
|
94
|
+
dispose(): void;
|
|
95
|
+
/** 释放 `SortAdapter` 并清零排序状态,使 `instanceCount` 立即回到 0。 */
|
|
96
|
+
private releaseAdapter;
|
|
97
|
+
private ensurePlaceholderTexture;
|
|
98
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import type * as THREE from 'three/webgpu';
|
|
2
|
+
import type { Camera } from '../../core/camera';
|
|
3
|
+
import type { PBMGaussianSplattingObject } from '../../model/objects/pbmGaussianSplattingObject';
|
|
4
|
+
import type { SplatAssembler } from '../splatAssembler';
|
|
5
|
+
import type { TransformStore } from '../transformStore';
|
|
6
|
+
/**
|
|
7
|
+
* 绘制索引来源:管线告诉 Render_Mesh「第 i 个实例要绘制的全局点索引 P 从哪里取」。
|
|
8
|
+
* - `attribute` :CPU 排序路径,P 来自 `splatIndex` 实例属性
|
|
9
|
+
* - `orderTexture`:GPU 排序路径,P 来自 R32UI 的 Order_Texture
|
|
10
|
+
*
|
|
11
|
+
* 新增管线实现时在此联合类型上扩展分支,Render_Mesh 按 `kind` 绑定,不做 `instanceof` 判断。
|
|
12
|
+
*/
|
|
13
|
+
export type PipelineIndexSource = {
|
|
14
|
+
kind: 'attribute';
|
|
15
|
+
attribute: THREE.InstancedBufferAttribute;
|
|
16
|
+
} | {
|
|
17
|
+
kind: 'orderTexture';
|
|
18
|
+
texture: THREE.Texture;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* 每帧调用参数(params bag)。
|
|
22
|
+
*
|
|
23
|
+
* Render_Mesh 持有**唯一一个**实例,每帧填字段后传给管线,以避免每个 Render_Frame 产生新分配
|
|
24
|
+
* (Requirement 10.7)。因此实现方**不得保留该对象或其字段的引用**:字段内容在下一帧会被覆写,
|
|
25
|
+
* 需要跨帧使用的数据必须在调用内自行取值或拷贝。
|
|
26
|
+
*/
|
|
27
|
+
export interface PipelineFrameParams {
|
|
28
|
+
/** 本帧相机(five Camera,含 `matrixWorld` 与投影矩阵)。 */
|
|
29
|
+
camera: Camera;
|
|
30
|
+
/** 当前布局中的 3DGS 对象,顺序与 assembler / transformStore 一致。 */
|
|
31
|
+
objects: readonly PBMGaussianSplattingObject[];
|
|
32
|
+
/** 大数据纹理组装器,本帧已完成 assemble。 */
|
|
33
|
+
assembler: SplatAssembler;
|
|
34
|
+
/** 变换存储(GPU 纹理 + 排序用数组)。 */
|
|
35
|
+
transformStore: TransformStore;
|
|
36
|
+
/** 当前布局总点数(`assembler.totalPoints`)。 */
|
|
37
|
+
totalPoints: number;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* 3DGS 渲染管线抽象基类。
|
|
41
|
+
*
|
|
42
|
+
* Render_Mesh 唯一依赖的契约(Requirement 10.1 / 10.2):排序、绘制索引来源、绘制实例数、
|
|
43
|
+
* 材质取点方式、资源释放。按 Pipeline_Mode 在实现间整体切换,Render_Mesh 不引用 Sort_Worker、
|
|
44
|
+
* Radix_Sort_Module、Sort_Adapter 或任何 WebGPU 资源。
|
|
45
|
+
*
|
|
46
|
+
* 采用**抽象基类而非纯接口**(Requirement 10.3):公共状态(`renderer` / `inputsDirty`)与
|
|
47
|
+
* 能力 getter 上提到基类,`markInputsDirty` / `requestSort` / `frameUpdate` / `dispose` 一律给
|
|
48
|
+
* 无副作用默认实现,使 Render_Mesh 可无条件调用而不必按实现类型分支。
|
|
49
|
+
*
|
|
50
|
+
* 后续阶段新增管线(如 `COMPUTE_GPU_SORT` 软光栅化)只需继承本类并在 Pipeline_Mode 解析里加一个
|
|
51
|
+
* 分支,Render_Mesh 的消费代码与切换机制不用改(Requirement 10.9)。
|
|
52
|
+
*/
|
|
53
|
+
export declare abstract class GSplatPipeline {
|
|
54
|
+
/** three 渲染器。取原生 `GPUDevice` / `GPUTexture` 的入口,由各实现按需使用。 */
|
|
55
|
+
protected readonly renderer: THREE.WebGPURenderer;
|
|
56
|
+
/**
|
|
57
|
+
* 排序输入是否为脏(对象集合变化、某对象 transform 变化、管线刚切换)。
|
|
58
|
+
* 由 `markInputsDirty()` 置位,实现在完成排序后自行清除。初值为 true,使首帧必定排序。
|
|
59
|
+
*/
|
|
60
|
+
protected inputsDirty: boolean;
|
|
61
|
+
constructor(renderer: THREE.WebGPURenderer);
|
|
62
|
+
/**
|
|
63
|
+
* 是否自行在 GPU 上完成排序。
|
|
64
|
+
* 为 true 时 Render_Mesh 跳过 Reorder_CPU、Layout_Generation 与 `splatIndex` 写入。
|
|
65
|
+
*/
|
|
66
|
+
get usesGpuSort(): boolean;
|
|
67
|
+
/**
|
|
68
|
+
* 材质是否应启用 Order_Texture 取点。
|
|
69
|
+
* 由 `usesGpuSort` 派生,实现类通常无需单独覆盖。
|
|
70
|
+
*/
|
|
71
|
+
get requiresOrderTexture(): boolean;
|
|
72
|
+
/**
|
|
73
|
+
* 本帧可绘制实例数。资源未就绪、排序失败或尚无有效排序结果时返回 0
|
|
74
|
+
* (Render_Mesh 据此降级为空绘制而不中断渲染循环)。
|
|
75
|
+
*/
|
|
76
|
+
abstract get instanceCount(): number;
|
|
77
|
+
/** 绘制索引来源。Render_Mesh 按 `kind` 绑定 Order_Texture 或 `splatIndex` 实例属性。 */
|
|
78
|
+
abstract get indexSource(): PipelineIndexSource;
|
|
79
|
+
/**
|
|
80
|
+
* 通知管线排序输入已变化(布局或 transform 变化、管线刚切换)。
|
|
81
|
+
* 基类仅记录脏标记;实现可覆盖以追加动作(如令 worker 重传输入),覆盖时需调用 `super`。
|
|
82
|
+
*/
|
|
83
|
+
markInputsDirty(): void;
|
|
84
|
+
/**
|
|
85
|
+
* 请求排序。**不做节流判断**——是否调用由外层 Sort_Throttle 决定(Requirement 7.1)。
|
|
86
|
+
*
|
|
87
|
+
* 基类为无副作用空实现,使将来某个无需每帧排序的管线(例如全静态场景的预排序管线)可直接继承。
|
|
88
|
+
*
|
|
89
|
+
* @param _ctx 每帧参数,跨帧复用,不得保留引用。
|
|
90
|
+
*/
|
|
91
|
+
requestSort(_ctx: PipelineFrameParams): void;
|
|
92
|
+
/**
|
|
93
|
+
* 每帧无条件调用(排序之后、绘制之前),供实现同步材质参数、上传实例属性等。
|
|
94
|
+
* 基类为无副作用空实现。
|
|
95
|
+
*
|
|
96
|
+
* @param _ctx 每帧参数,跨帧复用,不得保留引用。
|
|
97
|
+
*/
|
|
98
|
+
frameUpdate(_ctx: PipelineFrameParams): void;
|
|
99
|
+
/**
|
|
100
|
+
* 释放管线持有的全部资源(Worker、GPU buffer、纹理等,Requirement 10.8)。
|
|
101
|
+
* 基类为无副作用空实现。
|
|
102
|
+
*/
|
|
103
|
+
dispose(): void;
|
|
104
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type * as THREE from 'three/webgpu';
|
|
2
|
+
/** 由设备能力自动解析。永不作为 Current_Pipeline_Mode 出现。 */
|
|
3
|
+
export declare const GSPLAT_PIPELINE_AUTO = 0;
|
|
4
|
+
/** TSL 硬件光栅化 + wasm worker 排序(现状,WebGL2 路径)。 */
|
|
5
|
+
export declare const GSPLAT_PIPELINE_RASTER_CPU_SORT = 1;
|
|
6
|
+
/** TSL 硬件光栅化 + GPU compute radix sort。 */
|
|
7
|
+
export declare const GSPLAT_PIPELINE_RASTER_GPU_SORT = 2;
|
|
8
|
+
/**
|
|
9
|
+
* GPU 管线的可用性探针。
|
|
10
|
+
*
|
|
11
|
+
* 只声明 `checkLimits` 真正需要的那一个成员,避免 `pipelineMode.ts` 反向依赖
|
|
12
|
+
* `GSplatPipeline` / `GpuSortPipeline` 的具体类型(`GpuSortPipeline` 的
|
|
13
|
+
* `unusable` getter 结构上满足这个约定)。
|
|
14
|
+
*/
|
|
15
|
+
export interface GSplatPipelineUsability {
|
|
16
|
+
readonly unusable?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* 按当前点数检查设备 limits 是否支撑 GPU 排序管线。
|
|
20
|
+
*
|
|
21
|
+
* @param device 已就绪的 `GPUDevice`
|
|
22
|
+
* @param totalPoints 当前场景的 Total_Points
|
|
23
|
+
* @param activePipeline 当前生效的管线(可选)。其 `unusable` 为真时(compute pipeline
|
|
24
|
+
* 创建失败或 device lost)一并视为不可用,使运行期失败复用同一条降级路径。
|
|
25
|
+
* @returns 不可用时返回可读的原因字符串,可用时返回 `null`
|
|
26
|
+
*/
|
|
27
|
+
export declare function checkLimits(device: GPUDevice, totalPoints: number, activePipeline?: GSplatPipelineUsability | null): string | null;
|
|
28
|
+
/**
|
|
29
|
+
* 把 Requested_Pipeline_Mode 解析为 Current_Pipeline_Mode。
|
|
30
|
+
*
|
|
31
|
+
* - `AUTO`:后端为 WebGPU、`GPUDevice` 就绪且 limits 通过时选 `RASTER_GPU_SORT`,否则 `RASTER_CPU_SORT`
|
|
32
|
+
* - 显式 `RASTER_GPU_SORT`:前提不满足时静默降级为 `RASTER_CPU_SORT`(不抛错)
|
|
33
|
+
* - 解析过程抛异常:`console.warn` 并返回 `RASTER_CPU_SORT`
|
|
34
|
+
*
|
|
35
|
+
* 返回值永不为 `GSPLAT_PIPELINE_AUTO`。
|
|
36
|
+
*
|
|
37
|
+
* @param requested Requested_Pipeline_Mode
|
|
38
|
+
* @param renderer 当前渲染器
|
|
39
|
+
* @param totalPoints 当前场景的 Total_Points,用于按实际规模检查 limits
|
|
40
|
+
* @param activePipeline 当前生效的管线,透传给 `checkLimits` 以纳入其 `unusable` 状态
|
|
41
|
+
*/
|
|
42
|
+
export declare function resolvePipelineMode(requested: number, renderer: THREE.WebGPURenderer, totalPoints: number, activePipeline?: GSplatPipelineUsability | null): number;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as THREE from 'three/webgpu';
|
|
2
|
+
/**
|
|
3
|
+
* 排序节流器
|
|
4
|
+
*
|
|
5
|
+
* 只负责回答「本 Render_Frame 是否需要调用管线的排序」这一个问题:
|
|
6
|
+
* 不持有任何 GPU 资源,不引用排序模块,对 `GSplatPipeline` 的内部逻辑无侵入。
|
|
7
|
+
*
|
|
8
|
+
* 阈值语义与字段名沿用改造前 `PBMGaussianSplattingRenderMesh.shouldSort`,
|
|
9
|
+
* 使 `RASTER_CPU_SORT` 与 `RASTER_GPU_SORT` 两条管线的节流行为完全一致。
|
|
10
|
+
*/
|
|
11
|
+
export declare class SortThrottle {
|
|
12
|
+
/** 平移增量阈值(世界单位):超过才重排。 */
|
|
13
|
+
sortCameraDistance: number;
|
|
14
|
+
/** 姿态相似度阈值(|quat 点积|):低于才重排(0.99 ≈ 约 16° 内不重排)。 */
|
|
15
|
+
sortCameraCoorient: number;
|
|
16
|
+
/** 最小重排间隔(ms):即使相机已明显变化也不超过此频率,0 = 不限。 */
|
|
17
|
+
sortMinIntervalMs: number;
|
|
18
|
+
/** 上次排序时的相机世界矩阵快照(尚未排序过时为 null)。 */
|
|
19
|
+
private prevMatrix;
|
|
20
|
+
/** 上次排序的时间戳(ms)。 */
|
|
21
|
+
private lastTime;
|
|
22
|
+
/** 是否已产生过至少一次排序结果。 */
|
|
23
|
+
private hasSorted;
|
|
24
|
+
/**
|
|
25
|
+
* 判定本帧是否需要排序。
|
|
26
|
+
*
|
|
27
|
+
* 判定顺序(与改造前实现一致,`inputsDirty` 优先于时间门):
|
|
28
|
+
* 1. 尚未排序过,或排序输入已脏(对象集合 / transform 变化)→ 必须排序。
|
|
29
|
+
* 数据变了不重排会用旧布局的索引访问新布局的数据。
|
|
30
|
+
* 2. 距上次排序不足 `sortMinIntervalMs` → 不排序。
|
|
31
|
+
* 3. 无相机快照(理论上被步骤 1 覆盖,仅作兜底)→ 排序。
|
|
32
|
+
* 4. 相机位移超过 `sortCameraDistance`,或姿态相似度低于 `sortCameraCoorient` → 排序。
|
|
33
|
+
*
|
|
34
|
+
* @param camera 当前帧相机
|
|
35
|
+
* @param inputsDirty 对象集合或某对象 transform 是否发生变化
|
|
36
|
+
*/
|
|
37
|
+
shouldSort(camera: THREE.Camera, inputsDirty: boolean): boolean;
|
|
38
|
+
/** 记录本次排序:快照相机矩阵与时间戳。排序被实际发起后调用。 */
|
|
39
|
+
markSorted(camera: THREE.Camera): void;
|
|
40
|
+
/**
|
|
41
|
+
* 重置节流状态,使下一帧必定重排。
|
|
42
|
+
* 管线切换时调用(切换后的新管线尚无任何排序结果)。
|
|
43
|
+
*/
|
|
44
|
+
reset(): void;
|
|
45
|
+
}
|
package/five/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="./declare" />
|
|
2
2
|
|
|
3
|
-
import "./three-version-check";
|
|
4
3
|
import "./certificates/hardware";
|
|
5
4
|
export * from './model';
|
|
6
5
|
export * from "./work";
|
|
@@ -18,10 +17,12 @@ export { imageURL as defaultImageURLTransform, type ImageURLOptions, type ImageU
|
|
|
18
17
|
export { imageSupport } from "./utils/imageSupport";
|
|
19
18
|
export { Motion, type MotionKeyframe, type MotionValue, type MotionConfig, type MotionInitalValue, type MotionCircle, } from "./utils/motion";
|
|
20
19
|
export { isPanoId, panoEqual, panoParse, panoStringify, type PanoId, type Pano, } from "./utils/pano";
|
|
20
|
+
export { type GainmapCfgData, } from "./utils/gainmap-data";
|
|
21
|
+
export { type Clock, } from "./utils/clock";
|
|
21
22
|
export { coordinatesToVector, vectorToCoordinates, headingToLongitude, longitudeToHeading, } from './utils/vectorCoordinates';
|
|
22
23
|
export { draco, type Draco } from './utils/draco';
|
|
23
24
|
export { makeBoundingVolume, isBoundingVolume, createDebugBoundingMesh, type BoundingVolume, type CullingVolume, type VolumePlaneIntersect, type BoundingVolumeJson, type BoxBoundingVolume, type BoxBoundingVolumeJson, type RegionBoundingVolume, type RegionBoundingVolumeJson, type SphereBoundingVolume, type SphereBoundingVolumeJson } from './utils/volume';
|
|
24
|
-
export { type BaseEvent, type GestureEvent, type IntersectEvent, type ModeChangeEvent, type ModelTileEvent, type ModelEvent, type ModelSceneEvent, type NetworkResourceEvent, type ObjectEvent, type PanoEvent, type PanoTextureEvent, type RenderEvent, type StateEvent, type WorksEvent, type XRGestureEvent, type XRSessionEvent, type XRControllerEvent } from './utils/event';
|
|
25
|
+
export { type BaseEvent, type GestureEvent, type IntersectEvent, type ModeChangeEvent, type ModelTileEvent, type ModelEvent, type ModelSceneEvent, type NetworkResourceEvent, type ObjectEvent, type PanoEvent, type PanoPrepareEvent, type PanoTextureEvent, type RenderEvent, type StateEvent, type WorksEvent, type XRGestureEvent, type XRMachineType, type XRSessionEvent, type XRControllerEvent } from './utils/event';
|
|
25
26
|
export { type EasingFunction, } from './utils/easing';
|
|
26
27
|
export { BoundingMesh, } from './meshes/boundingMesh';
|
|
27
28
|
export { PanoCircleMesh, type PanoCircleMeshOptions, } from "./meshes/panoCircleMesh";
|
|
@@ -42,6 +43,7 @@ export { type IntersectMeshInterface } from "./types/intersectMeshInterface";
|
|
|
42
43
|
export { type Intersection } from "./model/intersection";
|
|
43
44
|
export { Five } from "./application/five";
|
|
44
45
|
export { type Mode } from "./application/mode";
|
|
46
|
+
export { GSPLAT_PIPELINE_AUTO, GSPLAT_PIPELINE_RASTER_CPU_SORT, GSPLAT_PIPELINE_RASTER_GPU_SORT, } from "./gaussian-splatting/pipelines/pipelineMode";
|
|
45
47
|
export { PROXY_CONTROLLER_EVENT_NAMES, type EventTypes, type ControllerEventTypes, type EventCallback, } from "./application/events";
|
|
46
48
|
export { type LegacyEventType, type GestureTypes, type WebXRControllerKey, type WebXRControllerType, type WebXRControllerParams, type WebXRAxesParams } from './application/events-legacy';
|
|
47
49
|
export { type FiveInitArgs } from "./application/fiveInitArgs";
|
|
@@ -54,5 +56,9 @@ export { type FloorplanControllerCustomInitArgs } from "./controllers/floorplan"
|
|
|
54
56
|
export { type ModelControllerCustomInitArgs } from "./controllers/model";
|
|
55
57
|
export { type PanoramaControllerCustomInitArgs } from "./controllers/panorama";
|
|
56
58
|
export { type TopviewControllerCustomInitArgs } from "./controllers/topview";
|
|
59
|
+
export { type VRPanoramaControllerCustomInitArgs } from "./controllers/vrPanorama";
|
|
57
60
|
export { type PanoramaLikeControllerCustomInitArgs } from "./controllers/panoramaLike";
|
|
58
61
|
export { type MapviewControllerCustomInitArgs } from "./controllers/mapview";
|
|
62
|
+
export { type XRPanoramaControllerCustomInitArgs } from "./controllers/xrPanorama";
|
|
63
|
+
export { XRButton } from "./webxr/xrButton";
|
|
64
|
+
export { type DeviceProfile, type DeviceProfileOverride } from "./webxr/deviceProfile";
|