@realsee/five 6.8.0-alpha.1 → 6.8.0-alpha.11
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/AGENTS_READ_ME.md +4 -0
- package/AI_CONTEXT.md +4 -0
- package/README.md +64 -13
- package/ai_guides/README.md +122 -0
- package/ai_guides/ai-doc-guidelines.md +102 -0
- package/ai_guides/api.md +274 -0
- package/ai_guides/features/3dtile.md +172 -0
- package/ai_guides/features/camera-animation.md +205 -0
- package/ai_guides/features/clipper.md +135 -0
- package/ai_guides/features/coordinate-system.md +128 -0
- package/ai_guides/features/event.md +154 -0
- package/ai_guides/features/five.md +184 -0
- package/ai_guides/features/flowing-light-2d-pass.md +438 -0
- package/ai_guides/features/flowing-light-3d-pass.md +420 -0
- package/ai_guides/features/gaussian-blur-pass.md +202 -0
- package/ai_guides/features/gesture.md +180 -0
- package/ai_guides/features/get-screen-pixels.md +182 -0
- package/ai_guides/features/image-options.md +164 -0
- package/ai_guides/features/load-external-model.md +350 -0
- package/ai_guides/features/load-progress.md +140 -0
- package/ai_guides/features/material.md +151 -0
- package/ai_guides/features/mode.md +269 -0
- package/ai_guides/features/model.md +186 -0
- package/ai_guides/features/move-pano-effect.md +145 -0
- package/ai_guides/features/multi-work.md +146 -0
- package/ai_guides/features/pano-tile.md +132 -0
- package/ai_guides/features/pano-uv.md +131 -0
- package/ai_guides/features/parameter.md +153 -0
- package/ai_guides/features/plugin.md +210 -0
- package/ai_guides/features/postprocessing.md +259 -0
- package/ai_guides/features/raycast.md +175 -0
- package/ai_guides/features/request-proxy.md +112 -0
- package/ai_guides/features/screen-project.md +165 -0
- package/ai_guides/features/state.md +101 -0
- package/ai_guides/features/view-layer.md +187 -0
- package/ai_guides/features/work.md +303 -0
- package/ai_guides/glossary.md +93 -0
- package/ai_guides/intro.md +23 -0
- package/ai_guides/quick-start.md +69 -0
- package/ai_guides/release_notes/6.6.md +86 -0
- package/ai_guides/release_notes/6.7.md +401 -0
- package/ai_guides/release_notes/6.8.md +90 -0
- package/ai_guides/support.md +23 -0
- package/ai_guides/template.md +70 -0
- package/docs/00_FOR_AI_AGENTS.md +11 -0
- package/docs/README.md +11 -0
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/highlight.css +33 -19
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/five.AdaptiveLuminancePass.html +1 -1
- package/docs/classes/five.BoundingMesh.html +1 -1
- package/docs/classes/five.Camera.html +1 -1
- package/docs/classes/five.EyeDomeLightingPass.html +1 -1
- package/docs/classes/five.Five.html +75 -81
- package/docs/classes/five.FivePass.html +1 -1
- package/docs/classes/five.InternalWebGLRenderer.html +1 -1
- package/docs/classes/five.Model.html +32 -32
- package/docs/classes/five.ModelScene.html +1 -1
- package/docs/classes/five.NetworkSubscribe.html +2 -2
- package/docs/classes/five.PBMContainer.html +1 -1
- package/docs/classes/five.PBMGSObject.html +14 -12
- package/docs/classes/five.PBMGroup.html +1 -1
- package/docs/classes/five.PBMMesh.html +1 -1
- package/docs/classes/five.PBMMeshMaterial.html +15 -6
- package/docs/classes/five.PBMPointCloud.html +1 -1
- package/docs/classes/five.PBMPointCloudMaterial.html +1 -1
- package/docs/classes/five.PBMSkinnedMesh.html +1 -1
- package/docs/classes/five.PanoCircleMesh.html +1 -1
- package/docs/classes/five.PanoCircleMeshCustom.html +1 -1
- package/docs/classes/five.PanoCircleMeshSolid.html +1 -1
- package/docs/classes/five.Parameter.html +54 -50
- package/docs/classes/five.Scene.html +1 -1
- package/docs/classes/five.Subscribe.html +2 -2
- package/docs/classes/five.Tile.html +1 -1
- package/docs/classes/five.Tile3D.html +30 -26
- package/docs/classes/five.TileNode.html +1 -1
- package/docs/classes/five.Trajectory.html +1 -1
- package/docs/classes/five.TrajectoryNode.html +1 -1
- package/docs/classes/five.Work.html +16 -16
- package/docs/classes/five.WorkResolvedObserver.html +28 -3
- package/docs/classes/gltf-loader.DDSLoader.html +1 -1
- package/docs/classes/gltf-loader.DRACOLoader.html +1 -1
- package/docs/classes/gltf-loader.GLTFLoader.html +2 -2
- package/docs/classes/gltf-loader.GLTFObject.html +1 -1
- package/docs/classes/gltf-loader.THREEGLTFLoader.html +1 -1
- package/docs/classes/line.Line.html +1 -1
- package/docs/classes/line.LineGeometry.html +1 -1
- package/docs/classes/line.LineMaterial.html +1 -1
- package/docs/classes/line.LineSegmentsGeometry.html +1 -1
- package/docs/classes/line.THREE_Line2.html +1 -1
- package/docs/classes/line.THREE_LineSegments2.html +1 -1
- package/docs/classes/plugins.BasePlugin.Controller.html +1 -1
- package/docs/classes/plugins.RoundedBoxGeometry.html +1 -1
- package/docs/classes/react.Store.html +1 -1
- package/docs/classes/sticker.Sticker.html +2 -2
- package/docs/classes/vfx.Airflow.html +1 -1
- package/docs/classes/vfx.Flame.html +1 -1
- package/docs/classes/vfx.Particle.html +1 -1
- package/docs/classes/vfx.ParticleGPU.html +1 -1
- package/docs/classes/vfx.SpotLight.html +1 -1
- package/docs/documents/README.html +138 -0
- package/docs/documents/ai-doc-guidelines.html +117 -0
- package/docs/documents/api.html +337 -0
- package/docs/documents/features_3dtile.html +216 -0
- package/docs/documents/features_camera-animation.html +157 -0
- package/docs/documents/features_clipper.html +80 -0
- package/docs/documents/features_coordinate-system.html +127 -0
- package/docs/documents/features_event.html +104 -0
- package/docs/documents/features_five.html +147 -0
- package/docs/documents/features_flowing-light-2d-pass.html +356 -0
- package/docs/documents/features_flowing-light-3d-pass.html +351 -0
- package/docs/documents/features_gaussian-blur-pass.html +182 -0
- package/docs/documents/features_gesture.html +120 -0
- package/docs/documents/features_get-screen-pixels.html +88 -0
- package/docs/documents/features_image-options.html +108 -0
- package/docs/documents/features_load-external-model.html +600 -0
- package/docs/documents/features_load-progress.html +110 -0
- package/docs/documents/features_material.html +334 -0
- package/docs/documents/features_mode.html +114 -0
- package/docs/documents/features_model.html +141 -0
- package/docs/documents/features_move-pano-effect.html +110 -0
- package/docs/documents/features_multi-work.html +97 -0
- package/docs/documents/features_pano-tile.html +100 -0
- package/docs/documents/features_pano-uv.html +82 -0
- package/docs/documents/features_parameter.html +101 -0
- package/docs/documents/features_plugin.html +105 -0
- package/docs/documents/features_postprocessing.html +109 -0
- package/docs/documents/features_raycast.html +98 -0
- package/docs/documents/features_request-proxy.html +78 -0
- package/docs/documents/features_screen-project.html +112 -0
- package/docs/documents/features_state.html +71 -0
- package/docs/documents/features_view-layer.html +158 -0
- package/docs/documents/features_work.html +129 -0
- package/docs/documents/glossary.html +94 -0
- package/docs/documents/intro.html +24 -6
- package/docs/documents/quick-start.html +23 -45
- package/docs/documents/release_notes_6.6.html +79 -0
- package/docs/documents/release_notes_6.7.html +14 -14
- package/docs/documents/release_notes_6.8.html +103 -0
- package/docs/documents/support.html +39 -15
- package/docs/documents/template.html +80 -0
- package/docs/functions/five.loadAt3d.html +1 -1
- package/docs/functions/five.loadB3dm.html +1 -1
- package/docs/functions/five.loadDome.html +1 -1
- package/docs/functions/five.loadDomez.html +1 -1
- package/docs/functions/five.loadFbx.html +1 -1
- package/docs/functions/five.loadGltf.html +1 -1
- package/docs/functions/five.loadPbm.html +1 -1
- package/docs/functions/five.loadPly.html +1 -1
- package/docs/functions/five.loadPnts.html +1 -1
- package/docs/functions/five.loadSplat.html +1 -1
- package/docs/functions/five.loadSpz.html +1 -1
- package/docs/functions/five.loadX3p.html +1 -1
- package/docs/functions/five.parseWork.html +1 -1
- package/docs/functions/react.createFiveProvider.html +1 -1
- package/docs/functions/react.useFiveAction.html +6 -6
- package/docs/functions/react.useFiveCurrentObserver.html +1 -1
- package/docs/functions/react.useFiveCurrentState.html +1 -1
- package/docs/functions/react.useFiveEventCallback.html +1 -1
- package/docs/functions/react.useFiveFloor.html +1 -1
- package/docs/functions/react.useFiveHelper.html +1 -1
- package/docs/functions/react.useFiveModelIntersectRaycaster.html +2 -2
- package/docs/functions/react.useFiveProject2d.html +2 -2
- package/docs/functions/react.useFiveSceneEffect.html +1 -1
- package/docs/functions/react.useFiveWork.html +2 -2
- package/docs/functions/vue.useFiveAction.html +8 -8
- package/docs/functions/vue.useFiveCurrentObserver.html +1 -1
- package/docs/functions/vue.useFiveCurrentState.html +1 -1
- package/docs/functions/vue.useFiveEventCallback.html +1 -1
- package/docs/functions/vue.useFiveFloor.html +1 -1
- package/docs/functions/vue.useFiveHelper.html +1 -1
- package/docs/functions/vue.useFiveModelIntersectRaycaster.html +2 -2
- package/docs/functions/vue.useFiveProject2d.html +2 -2
- package/docs/functions/vue.useFiveState.html +1 -1
- package/docs/functions/vue.useFiveWorks.html +4 -4
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +135 -34
- package/docs/interfaces/five.AddableObject.html +1 -1
- package/docs/interfaces/five.AjaxOptions.html +1 -1
- package/docs/interfaces/five.BaseEvent.html +2 -2
- package/docs/interfaces/five.EventCallback.html +15 -11
- package/docs/interfaces/five.FiveInitArgs.html +2 -2
- package/docs/interfaces/five.GestureEvent.html +2 -2
- package/docs/interfaces/five.ImageOptions.html +1 -1
- package/docs/interfaces/five.IntersectEvent.html +2 -2
- package/docs/interfaces/five.IntersectMesh.html +1 -1
- package/docs/interfaces/five.IntersectMeshInterface.html +1 -1
- package/docs/interfaces/five.Intersection.html +4 -3
- package/docs/interfaces/five.LooseWorkWithExtrinsics.html +6 -6
- package/docs/interfaces/five.ModeChangeEvent.html +2 -2
- package/docs/interfaces/five.ModelControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.ModelEvent.html +2 -2
- package/docs/interfaces/five.ModelSceneEvent.html +2 -2
- package/docs/interfaces/five.ModelTileEvent.html +8 -0
- package/docs/interfaces/five.MovePanoOptions.html +4 -4
- package/docs/interfaces/five.NetworkAbortError.html +1 -1
- package/docs/interfaces/five.NetworkFirbiddenError.html +1 -1
- package/docs/interfaces/five.NetworkOptions.html +1 -1
- package/docs/interfaces/five.NetworkProxyError.html +1 -1
- package/docs/interfaces/five.NetworkResourceEvent.html +2 -2
- package/docs/interfaces/five.NetworkResponseError.html +1 -1
- package/docs/interfaces/five.NetworkTimeoutError.html +1 -1
- package/docs/interfaces/five.ObjectEvent.html +2 -2
- package/docs/interfaces/five.PBMMaterial.html +1 -1
- package/docs/interfaces/five.PBMMeshMaterialParameters.html +1 -1
- package/docs/interfaces/five.PBMPointCloudMaterialParameters.html +1 -1
- package/docs/interfaces/five.PanoCircleMeshInterface.html +1 -1
- package/docs/interfaces/five.PanoEvent.html +2 -2
- package/docs/interfaces/five.PanoTextureEvent.html +2 -2
- package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.ParameterMaterialValue.html +39 -35
- package/docs/interfaces/five.ParameterTilesetValue.html +15 -15
- package/docs/interfaces/five.ParameterValue.html +53 -49
- package/docs/interfaces/five.Pose.html +6 -7
- package/docs/interfaces/five.RenderEvent.html +2 -2
- package/docs/interfaces/five.ResolvedParameterValue.html +53 -49
- package/docs/interfaces/five.SplatData.html +10 -0
- package/docs/interfaces/five.State.html +6 -6
- package/docs/interfaces/five.StateEvent.html +2 -2
- package/docs/interfaces/five.TextureOptions.html +1 -1
- package/docs/interfaces/five.Tile3DOptions.html +2 -2
- package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.ViewLayer.html +30 -26
- package/docs/interfaces/five.WorkCubeImage.html +1 -1
- package/docs/interfaces/five.WorkImage.html +1 -1
- package/docs/interfaces/five.WorkModel.html +8 -8
- package/docs/interfaces/five.WorkModelLayer.html +6 -6
- package/docs/interfaces/five.WorkObserver.html +28 -3
- package/docs/interfaces/five.WorkTile.html +1 -1
- package/docs/interfaces/five.WorksEvent.html +2 -2
- package/docs/interfaces/five.XRControllerEvent.html +2 -2
- package/docs/interfaces/five.XRGestureEvent.html +2 -2
- package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/five.XRSessionEvent.html +2 -2
- package/docs/interfaces/plugins.BackgroundPluginController.html +1 -1
- package/docs/interfaces/plugins.BackgroundPluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.BasePlugin.State.html +1 -1
- package/docs/interfaces/plugins.DynamicPathLinePluginController.html +1 -1
- package/docs/interfaces/plugins.DynamicPathLinePluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.DynamicPathLinePluginType.State.html +1 -1
- package/docs/interfaces/plugins.ItemMaskController.html +1 -1
- package/docs/interfaces/plugins.ItemMaskPluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.ItemMaskPluginType.State.html +1 -1
- package/docs/interfaces/plugins.OrientationPluginController.html +1 -1
- package/docs/interfaces/plugins.OrientationPluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.OrientationPluginType.State.html +1 -1
- package/docs/interfaces/plugins.PanoAnimeController.html +1 -1
- package/docs/interfaces/plugins.PanoAnimePluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.PanoAnimePluginType.State.html +1 -1
- package/docs/interfaces/plugins.PluginTemplateType.EventMap.html +1 -1
- package/docs/interfaces/plugins.PluginTemplateType.State.html +1 -1
- package/docs/interfaces/plugins.TrajectoryController.html +1 -1
- package/docs/interfaces/react.FiveInjectionTypes.html +14 -14
- package/docs/modules/five.html +1 -1
- package/docs/modules.html +1 -1
- package/docs/types/five.EventTypes.html +12 -10
- package/docs/types/five.FivePlugin.html +1 -1
- package/docs/types/five.FivePluginInit.html +1 -1
- package/docs/types/five.FivePluginInstance.html +1 -1
- package/docs/types/five.NetworkProgressCallback.html +1 -1
- package/docs/types/five.ParseOptions.html +6 -6
- package/docs/types/plugins.BasePlugin.EventMap.html +1 -1
- package/docs/variables/react.FiveCanvas.html +1 -1
- package/docs/variables/react.useFiveScene.html +1 -1
- package/docs/variables/vue.FiveCanvas.html +1 -1
- package/docs/variables/vue.FiveProvider.html +1 -1
- package/five/application/analysis.d.ts +40 -0
- package/five/application/controllers.d.ts +41 -0
- package/five/application/events-legacy.d.ts +454 -0
- package/five/application/events.d.ts +69 -0
- package/five/application/five.d.ts +518 -0
- package/five/application/fiveInitArgs.d.ts +176 -0
- package/five/application/fiveLoadOptions.d.ts +21 -0
- package/five/application/generateDefaultVideoElement.d.ts +2 -0
- package/five/application/getViewportScale.d.ts +2 -0
- package/five/application/initLights.d.ts +3 -0
- package/five/application/mode.d.ts +28 -0
- package/five/application/renderPoweredByRealsee.d.ts +3 -0
- package/five/assets/cardboard-png-data-url.d.ts +2 -0
- package/five/assets/gradient-png-data-url.d.ts +2 -0
- package/five/assets/loading-png-data-url.d.ts +2 -0
- package/five/assets/phone-png-data-url.d.ts +2 -0
- package/five/assets/realsee-pmg-data-url.d.ts +2 -0
- package/five/bvh/bvhMath.d.ts +33 -0
- package/five/bvh/bvhMesh.d.ts +7 -0
- package/five/bvh/bvhNode.d.ts +29 -0
- package/five/bvh/bvhObject.d.ts +18 -0
- package/five/bvh/bvhPoints.d.ts +6 -0
- package/five/bvh/index.d.ts +10 -0
- package/five/bvh/worker.d.ts +35 -0
- 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/certificates/hardware.d.ts +1 -0
- package/five/controllers/base.d.ts +166 -0
- package/five/controllers/events.d.ts +69 -0
- package/five/controllers/floorplan.d.ts +119 -0
- package/five/controllers/mapview.d.ts +138 -0
- package/five/controllers/model.d.ts +57 -0
- package/five/controllers/panorama.d.ts +143 -0
- package/five/controllers/panoramaLike.d.ts +87 -0
- package/five/controllers/topview.d.ts +42 -0
- package/five/controllers/vrPanorama.d.ts +56 -0
- package/five/controllers/xrPanorama.d.ts +81 -0
- package/five/core/camera.d.ts +65 -0
- package/five/core/internalWebGLRenderer.d.ts +14 -0
- package/five/core/panoVideo.d.ts +18 -0
- package/five/core/scene.d.ts +10 -0
- package/five/core/tiling.d.ts +43 -0
- package/five/declare.d.ts +2 -1
- package/five/gs/util/renderData.d.ts +32 -0
- package/five/gs/wasm/data.d.ts +20 -0
- package/five/gs/wasm/sort.d.ts +18 -0
- package/five/gs/worker/dataWorker.d.ts +1 -0
- package/five/gs/worker/sortWorker.d.ts +1 -0
- package/five/index.d.ts +57 -4644
- package/five/index.js +503 -78
- package/five/index.mjs +6386 -5154
- package/five/meshes/boundingMesh.d.ts +12 -0
- package/five/meshes/intersectMesh.d.ts +8 -0
- package/five/meshes/panoCircleMesh.d.ts +35 -0
- package/five/meshes/panoCircleMeshCustom.d.ts +40 -0
- package/five/meshes/panoCircleMeshSolid.d.ts +34 -0
- package/five/meshes/panoSphereMesh.d.ts +27 -0
- package/five/model/helpers/coordinate-transform.d.ts +3 -0
- package/five/model/helpers/ellipsoid-coordinates.d.ts +14 -0
- package/five/model/helpers/get-edges-by-sphere.d.ts +8 -0
- package/five/model/helpers/get-recommend-tile3d-parameters.d.ts +8 -0
- package/five/model/index.d.ts +70 -0
- package/five/model/intersection.d.ts +18 -0
- package/five/model/loaders/at3d.d.ts +12 -0
- package/five/model/loaders/b3dm.d.ts +9 -0
- package/five/model/loaders/dome.d.ts +22 -0
- package/five/model/loaders/domez.d.ts +11 -0
- package/five/model/loaders/fbx.d.ts +8 -0
- package/five/model/loaders/glTF-helpers/extensions/CESIUM_RTC.d.ts +9 -0
- package/five/model/loaders/glTF-helpers/extensions/EXT_meshopt_compression.d.ts +8 -0
- package/five/model/loaders/glTF-helpers/extensions/EXT_texture_webp.d.ts +11 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_animation_pointer.d.ts +6 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_binary_glTF.d.ts +25 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_draco_mesh_compression.d.ts +11 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_gaussian_splatting_compression_spz.d.ts +9 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_materials_clearcoat.d.ts +10 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_materials_emissive_strength.d.ts +10 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_materials_sheen.d.ts +10 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_materials_transmission.d.ts +10 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_materials_unlit.d.ts +10 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_mesh_quantization.d.ts +6 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_node_visibility.d.ts +10 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_texture_basisu.d.ts +9 -0
- package/five/model/loaders/glTF-helpers/extensions/KHR_texture_transform.d.ts +10 -0
- package/five/model/loaders/glTF-helpers/extensions/REALSEE_materials_lightmap.d.ts +7 -0
- package/five/model/loaders/glTF-helpers/extensions/base.d.ts +24 -0
- package/five/model/loaders/glTF-helpers/glTF.d.ts +713 -0
- package/five/model/loaders/glTF-helpers/index.d.ts +47 -0
- package/five/model/loaders/glTF-helpers/parser.d.ts +114 -0
- package/five/model/loaders/glTF-helpers/type.d.ts +14 -0
- package/five/model/loaders/gltf.d.ts +10 -0
- package/five/model/loaders/obj.d.ts +9 -0
- package/five/model/loaders/pbm.d.ts +26 -0
- package/five/model/loaders/ply.d.ts +24 -0
- package/five/model/loaders/pnts.d.ts +8 -0
- package/five/model/loaders/protobuf/dome.d.ts +540 -0
- package/five/model/loaders/protobuf/pbm.d.ts +203 -0
- package/five/model/loaders/shared.d.ts +16 -0
- package/five/model/loaders/splat.d.ts +8 -0
- package/five/model/loaders/spz.d.ts +14 -0
- package/five/model/loaders/tile3d-helpers/feature-table.d.ts +15 -0
- package/five/model/loaders/tile3d-helpers/gl-type.d.ts +20 -0
- package/five/model/loaders/tile3d-helpers/parse-gltf-array-buffer.d.ts +2 -0
- package/five/model/loaders/tile3d-helpers/parse-header.d.ts +2 -0
- package/five/model/loaders/tile3d-helpers/parse-point-cloud-attributes.d.ts +2 -0
- package/five/model/loaders/tile3d-helpers/parse-point-cloud-attributes.worker.d.ts +6 -0
- package/five/model/loaders/tile3d-helpers/parse-table.d.ts +3 -0
- package/five/model/loaders/tile3d-helpers/tile3d-type.d.ts +35 -0
- package/five/model/loaders/x3p.d.ts +22 -0
- package/five/model/materials/pbmMaterial.d.ts +87 -0
- package/five/model/materials/pbmMeshMaterial.d.ts +124 -0
- package/five/model/materials/pbmPointCloudMaterial.d.ts +72 -0
- package/five/model/model-scene.d.ts +172 -0
- package/five/model/model.d.ts +209 -0
- package/five/model/objects/pbmContainer.d.ts +28 -0
- package/five/model/objects/pbmGSObject.d.ts +40 -0
- package/five/model/objects/pbmGSRenderMesh.d.ts +32 -0
- package/five/model/objects/pbmGroup.d.ts +8 -0
- package/five/model/objects/pbmMesh.d.ts +10 -0
- package/five/model/objects/pbmPointCloud.d.ts +7 -0
- package/five/model/parameter.d.ts +136 -0
- package/five/model/shaders/pbm_gaussian_splatting/fragment.d.ts +2 -0
- package/five/model/shaders/pbm_gaussian_splatting/vertex.d.ts +2 -0
- package/five/model/shaders/pbm_mesh_basic/fragment.d.ts +2 -0
- package/five/model/shaders/pbm_mesh_basic/vertex.d.ts +2 -0
- package/five/model/shaders/pbm_mesh_none/fragment.d.ts +2 -0
- package/five/model/shaders/pbm_mesh_none/vertex.d.ts +2 -0
- package/five/model/shaders/pbm_mesh_phong/fragment.d.ts +2 -0
- package/five/model/shaders/pbm_mesh_phong/vertex.d.ts +2 -0
- package/five/model/shaders/pbm_mesh_standard/fragment.d.ts +2 -0
- package/five/model/shaders/pbm_mesh_standard/vertex.d.ts +2 -0
- package/five/model/shaders/pbm_pointcloud/fragment.d.ts +2 -0
- package/five/model/shaders/pbm_pointcloud/vertex.d.ts +2 -0
- package/five/model/tile3d/header.d.ts +88 -0
- package/five/model/tile3d/index.d.ts +214 -0
- package/five/model/tile3d/tile-cache.d.ts +18 -0
- package/five/model/tile3d/tile-content.d.ts +10 -0
- package/five/model/tile3d/tile-node.d.ts +24 -0
- package/five/model/tile3d/tile-request-scheduler.d.ts +17 -0
- package/five/model/tile3d/tile.d.ts +79 -0
- package/five/model/tile3d/tileset-base-traverser.d.ts +59 -0
- package/five/model/tile3d/tileset-most-detail-traverser.d.ts +14 -0
- package/five/model/tile3d/tileset-normal-traverser.d.ts +15 -0
- package/five/model/tile3d/tileset-skip-traverser.d.ts +60 -0
- package/five/model/tile3d/tileset.d.ts +69 -0
- package/five/model/tile3d/trajectory-content.d.ts +9 -0
- package/five/model/tile3d/trajectory-node.d.ts +15 -0
- package/five/model/tile3d/trajectory.d.ts +30 -0
- package/five/model/tile3d/types.d.ts +33 -0
- package/five/model/view-layer.d.ts +20 -0
- package/five/renderer/five-renderer.d.ts +17 -0
- package/five/renderer/index.d.ts +3 -0
- package/five/renderer/postprocessing/composer.d.ts +37 -0
- package/five/renderer/postprocessing/index.d.ts +7 -0
- package/five/renderer/postprocessing/passes/adaptive-luminance-pass.d.ts +15 -0
- package/five/renderer/postprocessing/passes/eye-dome-lighting-pass.d.ts +14 -0
- package/five/renderer/postprocessing/passes/flowing-light-2d-pass.d.ts +36 -0
- package/five/renderer/postprocessing/passes/flowing-light-3d-pass.d.ts +36 -0
- package/five/renderer/postprocessing/passes/gaussian-blur-pass.d.ts +12 -0
- package/five/renderer/postprocessing/passes/pass.d.ts +38 -0
- package/five/renderer/scene-renderers/point-cloud-high-quality-scene-renderer.d.ts +11 -0
- package/five/renderer/scene-renderers/scene-renderer.d.ts +9 -0
- package/five/renderer/scene-renderers/ssaa-scene-renderer.d.ts +15 -0
- package/five/renderer/tools/full-screen-quad.d.ts +15 -0
- package/five/renderer/tools/render-full-screen-depth.d.ts +2 -0
- package/five/renderer/tools/render-full-screen.d.ts +2 -0
- package/five/texture/imageBitmap.d.ts +13 -0
- package/five/texture/initTexture.d.ts +3 -0
- package/five/texture/loader.d.ts +39 -0
- package/five/thirdparty/fflate.d.ts +1407 -0
- package/five/thirdparty/hammer.d.ts +259 -0
- package/five/thirdparty/jsrsasign.d.ts +768 -0
- package/five/thirdparty/meshopt_decoder.d.ts +15 -0
- package/five/three-version-check.d.ts +1 -0
- package/five/types/addableObject.d.ts +12 -0
- package/five/types/cube.d.ts +1 -0
- package/five/types/gestureInput.d.ts +24 -0
- package/five/types/imageOptions.d.ts +20 -0
- package/five/types/intersectMeshInterface.d.ts +8 -0
- package/five/types/movePanoEffect.d.ts +13 -0
- package/five/types/movePanoOptions.d.ts +35 -0
- package/five/types/panoCircleMeshInterface.d.ts +34 -0
- package/five/types/plugin.d.ts +25 -0
- package/five/types/pose.d.ts +17 -0
- package/five/types/state.d.ts +20 -0
- package/five/types/viewport.d.ts +22 -0
- package/five/utils/ajax.d.ts +66 -0
- package/five/utils/animationFrameLoop.d.ts +45 -0
- package/five/utils/array.d.ts +31 -0
- package/five/utils/asyncTaskQueue.d.ts +8 -0
- package/five/utils/bufferGeometry.d.ts +33 -0
- package/five/utils/calculateProgress.d.ts +39 -0
- package/five/utils/calculateThreeMouse.d.ts +13 -0
- package/five/utils/canplayVideo.d.ts +2 -0
- package/five/utils/clamp.d.ts +2 -0
- package/five/utils/clock.d.ts +17 -0
- package/five/utils/createSymbol.d.ts +5 -0
- package/five/utils/decodeText.d.ts +2 -0
- package/five/utils/deepEqual.d.ts +2 -0
- package/five/utils/deepFreeze.d.ts +2 -0
- package/five/utils/defineProperty.d.ts +9 -0
- package/five/utils/detector.d.ts +14 -0
- package/five/utils/distance.d.ts +10 -0
- package/five/utils/draco.d.ts +26 -0
- package/five/utils/easing.d.ts +63 -0
- package/five/utils/event.d.ts +149 -0
- package/five/utils/formatRad.d.ts +7 -0
- package/five/utils/imageSupport.d.ts +6 -0
- package/five/utils/imageURL.d.ts +42 -0
- package/five/utils/isEmptyObject.d.ts +2 -0
- package/five/utils/isNil.d.ts +6 -0
- package/five/utils/isNumber.d.ts +2 -0
- package/five/utils/isPowerOfTwo.d.ts +2 -0
- package/five/utils/isPromise.d.ts +2 -0
- package/five/utils/isSimilar.d.ts +6 -0
- package/five/utils/json.d.ts +7 -0
- package/five/utils/ktx2.d.ts +30 -0
- package/five/utils/lzma/index.d.ts +2 -0
- package/five/utils/lzma/lzma.d.ts +3 -0
- package/five/utils/lzma/lzmaWASM.d.ts +2 -0
- package/five/utils/lzma/lzmaWorker.d.ts +14 -0
- package/five/utils/memoryUsage.d.ts +29 -0
- package/five/utils/motion.d.ts +38 -0
- package/five/utils/noop.d.ts +6 -0
- package/five/utils/now.d.ts +7 -0
- package/five/utils/pano.d.ts +9 -0
- package/five/utils/pick.d.ts +3 -0
- package/five/utils/poseUtils.d.ts +5 -0
- package/five/utils/renderCubeTextureToCubeRenderTarget.d.ts +3 -0
- package/five/utils/renderDepth.d.ts +2 -0
- package/five/utils/renderTexturesToCubeRenderTarget.d.ts +10 -0
- package/five/utils/requestPermission.d.ts +3 -0
- package/five/utils/shaderContentFix.d.ts +7 -0
- package/five/utils/shaderMaterial.d.ts +20 -0
- package/five/utils/stateUtils.d.ts +5 -0
- package/five/utils/string-pattern.d.ts +8 -0
- package/five/utils/subscribe.d.ts +67 -0
- package/five/utils/tileCube.d.ts +19 -0
- package/five/utils/toFastProperties.d.ts +1 -0
- package/five/utils/typedCache.d.ts +10 -0
- package/five/utils/uniform.d.ts +15 -0
- package/five/utils/url.d.ts +35 -0
- package/five/utils/uuid.d.ts +5 -0
- package/five/utils/values.d.ts +2 -0
- package/five/utils/vectorCoordinates.d.ts +29 -0
- package/five/utils/volume.d.ts +111 -0
- package/five/utils/webglError.d.ts +7 -0
- package/five/utils/worker.d.ts +26 -0
- package/five/webxr/XRControllerModelFactory.d.ts +28 -0
- package/five/webxr/motionHelper.d.ts +68 -0
- package/five/webxr/xrButton.d.ts +4 -0
- package/five/webxr/xrController.d.ts +24 -0
- package/five/webxr/xrManager.d.ts +84 -0
- package/five/work/_ALLOW_HOST.d.ts +2 -0
- package/five/work/index.d.ts +6 -0
- package/five/work/keychain.d.ts +5 -0
- package/five/work/looseWorkType.d.ts +121 -0
- package/five/work/verify.d.ts +7 -0
- package/five/work/work.d.ts +236 -0
- package/five/work/workFetcher.d.ts +4 -0
- package/five/work/workJson.d.ts +3 -0
- package/five/work/workJsonType.d.ts +73 -0
- package/five/work/workObserverUtils.d.ts +36 -0
- package/five/work/workParser.d.ts +6 -0
- package/five/work/workResolvedObserver.d.ts +12 -0
- package/five/work/workVerify.d.ts +2 -0
- package/five/work/works.d.ts +10 -0
- package/gltf-loader/gltf-object.d.ts +17 -0
- package/gltf-loader/index.d.ts +60 -160
- package/gltf-loader/index.js +3 -3
- package/gltf-loader/index.mjs +3 -3
- package/gltf-loader/thirdparty/DDSLoader.d.ts +23 -0
- package/gltf-loader/thirdparty/DRACOLoader.d.ts +18 -0
- package/gltf-loader/thirdparty/GLTFLoader.d.ts +59 -0
- package/line/circle_png.d.ts +1 -0
- package/line/index.d.ts +19 -69
- package/line/index.js +3 -3
- package/line/index.mjs +3 -3
- package/line/utils/Line2.d.ts +7 -0
- package/line/utils/LineGeometry.d.ts +10 -0
- package/line/utils/LineMaterial.d.ts +20 -0
- package/line/utils/LineSegments2.d.ts +11 -0
- package/line/utils/LineSegmentsGeometry.d.ts +15 -0
- package/llms.txt +65 -0
- package/package.json +10 -1
- 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/BasePlugin/index.d.ts +119 -0
- package/plugins/DynamicPathLinePlugin/Controller.d.ts +167 -0
- package/plugins/DynamicPathLinePlugin/index.d.ts +5 -0
- package/plugins/DynamicPathLinePlugin/line2/Line2.d.ts +7 -0
- package/plugins/DynamicPathLinePlugin/line2/LineGeometry.d.ts +10 -0
- package/plugins/DynamicPathLinePlugin/line2/LineMaterial.d.ts +17 -0
- package/plugins/DynamicPathLinePlugin/line2/LineSegments2.d.ts +11 -0
- package/plugins/DynamicPathLinePlugin/line2/LineSegmentsGeometry.d.ts +15 -0
- package/plugins/DynamicPathLinePlugin/typing.d.ts +129 -0
- package/plugins/DynamicPathLinePlugin/typings.d.ts +72 -0
- package/plugins/ItemMaskPlugin/Controller.d.ts +48 -0
- package/plugins/ItemMaskPlugin/index.d.ts +5 -0
- package/plugins/ItemMaskPlugin/typing.d.ts +58 -0
- package/plugins/OrientationPlugin/Controller.d.ts +82 -0
- package/plugins/OrientationPlugin/RoundedBoxGeometry.d.ts +11 -0
- package/plugins/OrientationPlugin/index.d.ts +6 -0
- package/plugins/OrientationPlugin/typing.d.ts +25 -0
- package/plugins/PanoAnimePlugin/Controller.d.ts +46 -0
- package/plugins/PanoAnimePlugin/index.d.ts +5 -0
- package/plugins/PanoAnimePlugin/typing.d.ts +37 -0
- package/plugins/PluginTemplate/Controller.d.ts +27 -0
- package/plugins/PluginTemplate/index.d.ts +5 -0
- package/plugins/PluginTemplate/typing.d.ts +21 -0
- package/plugins/TrajectoryPlugin/Controller.d.ts +85 -0
- package/plugins/TrajectoryPlugin/index.d.ts +6 -0
- package/plugins/TrajectoryPlugin/typing.d.ts +25 -0
- package/plugins/index.d.ts +9 -1102
- package/plugins/index.js +2 -2
- package/plugins/index.mjs +2 -2
- package/plugins/thirdParty/CSS3DRenderer.d.ts +32 -0
- package/plugins/thirdParty/OrbitControls.d.ts +78 -0
- package/plugins/utils/absoluteUrl.d.ts +5 -0
- package/plugins/utils/clamp.d.ts +2 -0
- package/plugins/utils/loadImage.d.ts +1 -0
- package/plugins/utils/motion.d.ts +38 -0
- package/plugins/utils/now.d.ts +6 -0
- package/plugins/utils/uuid.d.ts +5 -0
- package/react/canvas.d.ts +19 -0
- package/react/context.d.ts +11 -0
- package/react/createProvider.d.ts +95 -0
- package/react/createStore.d.ts +144 -0
- package/react/hooks/unsafe__useFiveInstance.d.ts +9 -0
- package/react/hooks/useFiveAction.d.ts +147 -0
- package/react/hooks/useFiveCameraDirection.d.ts +7 -0
- package/react/hooks/useFiveCameraRaycaster.d.ts +7 -0
- package/react/hooks/useFiveCurrentObserver.d.ts +11 -0
- package/react/hooks/useFiveCurrentState.d.ts +15 -0
- package/react/hooks/useFiveEventCallback.d.ts +12 -0
- package/react/hooks/useFiveFloor.d.ts +15 -0
- package/react/hooks/useFiveHelper.d.ts +14 -0
- package/react/hooks/useFiveModelBounding.d.ts +5 -0
- package/react/hooks/useFiveModelEffect.d.ts +14 -0
- package/react/hooks/useFiveModelIntersectRaycaster.d.ts +22 -0
- package/react/hooks/useFiveModelReadyState.d.ts +8 -0
- package/react/hooks/useFiveProject2d.d.ts +20 -0
- package/react/hooks/useFiveSceneEffect.d.ts +21 -0
- package/react/hooks/useFiveState.d.ts +6 -0
- package/react/hooks/useFiveWork.d.ts +29 -0
- package/react/index.d.ts +24 -830
- package/react/index.js +2 -2
- package/react/index.mjs +2 -2
- package/react/rendererPool.d.ts +7 -0
- package/react/withFive.d.ts +213 -0
- package/shader-lib/EvenessPlane/index.d.ts +10 -0
- package/shader-lib/PointCloudExpand/index.d.ts +59 -0
- package/shader-lib/PolygonCuter/index.d.ts +52 -0
- package/shader-lib/PolygonCuter/worker.d.ts +14 -0
- package/shader-lib/ShineModel/index.d.ts +7 -0
- package/shader-lib/SweepModel/index.d.ts +7 -0
- package/shader-lib/index.d.ts +5 -86
- package/shader-lib/index.js +2 -2
- package/shader-lib/index.mjs +2 -2
- package/sticker/geometry.d.ts +3 -0
- package/sticker/index.d.ts +68 -71
- package/sticker/index.js +3 -3
- package/sticker/index.mjs +3 -3
- package/umd/five-gltf-loader.js +3 -3
- package/umd/five-line.js +3 -3
- package/umd/five-plugins.js +2 -2
- package/umd/five-react.js +2 -2
- package/umd/five-shader-lib.js +2 -2
- package/umd/five-sticker.js +3 -3
- package/umd/five-vfx.js +2 -2
- package/umd/five-vue.js +2 -2
- package/umd/five.js +503 -78
- package/vfx/airflow/airflow.d.ts +18 -0
- package/vfx/airflow/fragment-shader.d.ts +2 -0
- package/vfx/airflow/vertex-shader.d.ts +2 -0
- package/vfx/common/scale-shader.d.ts +2 -0
- package/vfx/common/simplex-noise-shader.d.ts +2 -0
- package/vfx/frame/fragment-shader.d.ts +2 -0
- package/vfx/frame/frame.d.ts +22 -0
- package/vfx/frame/vertex-shader.d.ts +2 -0
- package/vfx/index.d.ts +7 -363
- package/vfx/index.js +2 -2
- package/vfx/index.mjs +2 -2
- package/vfx/particle/fragment-shader.d.ts +2 -0
- package/vfx/particle/instance.d.ts +36 -0
- package/vfx/particle/particle.d.ts +205 -0
- package/vfx/particle/utils.d.ts +11 -0
- package/vfx/particle/vertex-shader.d.ts +2 -0
- package/vfx/particle-gpu/fragment-shader.d.ts +2 -0
- package/vfx/particle-gpu/instance.d.ts +36 -0
- package/vfx/particle-gpu/particle.d.ts +95 -0
- package/vfx/particle-gpu/utils.d.ts +11 -0
- package/vfx/particle-gpu/vertex-shader.d.ts +2 -0
- package/vfx/spotLight/fragment-shader.d.ts +2 -0
- package/vfx/spotLight/spotLight.d.ts +15 -0
- package/vfx/spotLight/vertex-shader.d.ts +2 -0
- package/vue/context.d.ts +7 -0
- package/vue/hooks/FiveCanvas.d.ts +36 -0
- package/vue/hooks/FiveProvider.d.ts +35 -0
- package/vue/hooks/unsafe__useFiveInject.d.ts +9 -0
- package/vue/hooks/useFiveAction.d.ts +178 -0
- package/vue/hooks/useFiveCameraDirection.d.ts +8 -0
- package/vue/hooks/useFiveCameraRaycaster.d.ts +8 -0
- package/vue/hooks/useFiveCurrentObserver.d.ts +12 -0
- package/vue/hooks/useFiveCurrentState.d.ts +16 -0
- package/vue/hooks/useFiveEventCallback.d.ts +11 -0
- package/vue/hooks/useFiveFloor.d.ts +16 -0
- package/vue/hooks/useFiveHelper.d.ts +15 -0
- package/vue/hooks/useFiveModel.d.ts +7 -0
- package/vue/hooks/useFiveModelBounding.d.ts +7 -0
- package/vue/hooks/useFiveModelIntersectRaycaster.d.ts +23 -0
- package/vue/hooks/useFiveModelReadyState.d.ts +9 -0
- package/vue/hooks/useFiveProject2d.d.ts +26 -0
- package/vue/hooks/useFiveScene.d.ts +6 -0
- package/vue/hooks/useFiveState.d.ts +16 -0
- package/vue/hooks/useFiveWork.d.ts +30 -0
- package/vue/index.d.ts +23 -467
- package/vue/index.js +2 -2
- package/vue/index.mjs +2 -2
- package/vue/rendererPool.d.ts +10 -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 +7 -0
- package/work-downloader/download.d.ts +16 -0
- package/work-downloader/index.d.ts +2 -33
- package/work-downloader/index.js +2 -2
- package/work-downloader/index.mjs +2 -2
- 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/documents/coordinate.html +0 -13
- package/docs/documents/five.FivePlugin.plugins.html +0 -92
- package/docs/documents/five.Pose.coordinate.html +0 -13
- package/docs/documents/mode.html +0 -15
- package/docs/documents/plugins.html +0 -92
- package/docs/documents/state.html +0 -2
- package/docs/documents/work.html +0 -67
- package/docs/media/coordinate.jpg +0 -0
- package/docs_markdown/README.md +0 -33
- package/docs_markdown/_media/coordinate.jpg +0 -0
- package/docs_markdown/documents/coordinate.md +0 -29
- package/docs_markdown/documents/intro.md +0 -15
- package/docs_markdown/documents/mode.md +0 -21
- package/docs_markdown/documents/plugins.md +0 -226
- package/docs_markdown/documents/quick-start.md +0 -105
- package/docs_markdown/documents/release_notes/6.7.md +0 -407
- package/docs_markdown/documents/state.md +0 -7
- package/docs_markdown/documents/support.md +0 -13
- package/docs_markdown/documents/work.md +0 -148
- package/docs_markdown/five/README.md +0 -309
- package/docs_markdown/five/classes/AdaptiveLuminancePass.md +0 -238
- package/docs_markdown/five/classes/AnimationFrameLoop.md +0 -195
- package/docs_markdown/five/classes/BoundingMesh.md +0 -75
- package/docs_markdown/five/classes/Camera.md +0 -527
- package/docs_markdown/five/classes/EffectComposer.md +0 -241
- package/docs_markdown/five/classes/EyeDomeLightingPass.md +0 -232
- package/docs_markdown/five/classes/Fetcher.md +0 -133
- package/docs_markdown/five/classes/Five.md +0 -2231
- package/docs_markdown/five/classes/FivePass.md +0 -193
- package/docs_markdown/five/classes/FiveRenderer.md +0 -107
- package/docs_markdown/five/classes/FullScreenQuad.md +0 -95
- package/docs_markdown/five/classes/InternalWebGLRenderer.md +0 -65
- package/docs_markdown/five/classes/Model.md +0 -1009
- package/docs_markdown/five/classes/ModelScene.md +0 -495
- package/docs_markdown/five/classes/Motion.md +0 -235
- package/docs_markdown/five/classes/NetworkSubscribe.md +0 -289
- package/docs_markdown/five/classes/PBMContainer.md +0 -137
- package/docs_markdown/five/classes/PBMCustomShader.md +0 -171
- package/docs_markdown/five/classes/PBMGSObject.md +0 -257
- package/docs_markdown/five/classes/PBMGroup.md +0 -35
- package/docs_markdown/five/classes/PBMMesh.md +0 -43
- package/docs_markdown/five/classes/PBMMeshMaterial.md +0 -889
- package/docs_markdown/five/classes/PBMPointCloud.md +0 -41
- package/docs_markdown/five/classes/PBMPointCloudMaterial.md +0 -371
- package/docs_markdown/five/classes/PBMSkinnedMesh.md +0 -67
- package/docs_markdown/five/classes/PanoCircleMesh.md +0 -296
- package/docs_markdown/five/classes/PanoCircleMeshCustom.md +0 -296
- package/docs_markdown/five/classes/PanoCircleMeshSolid.md +0 -296
- package/docs_markdown/five/classes/Parameter.md +0 -905
- package/docs_markdown/five/classes/Scene.md +0 -109
- package/docs_markdown/five/classes/Subscribe.md +0 -271
- package/docs_markdown/five/classes/TextureLoader.md +0 -199
- package/docs_markdown/five/classes/Tile.md +0 -517
- package/docs_markdown/five/classes/Tile3D.md +0 -1287
- package/docs_markdown/five/classes/TileCache.md +0 -123
- package/docs_markdown/five/classes/TileNode.md +0 -171
- package/docs_markdown/five/classes/TileRequestScheduler.md +0 -69
- package/docs_markdown/five/classes/Tileset.md +0 -379
- package/docs_markdown/five/classes/Trajectory.md +0 -111
- package/docs_markdown/five/classes/TrajectoryNode.md +0 -129
- package/docs_markdown/five/classes/Work.md +0 -299
- package/docs_markdown/five/classes/WorkResolvedObserver.md +0 -302
- package/docs_markdown/five/classes/XRButton.md +0 -37
- package/docs_markdown/five/enumerations/VolumePlaneIntersect.md +0 -33
- package/docs_markdown/five/functions/coordinatesToVector.md +0 -33
- package/docs_markdown/five/functions/createDebugBoundingMesh.md +0 -25
- package/docs_markdown/five/functions/createWorks.md +0 -21
- package/docs_markdown/five/functions/defaultImageURLTransform.md +0 -33
- package/docs_markdown/five/functions/getViewportScale.md +0 -15
- package/docs_markdown/five/functions/headingToLongitude.md +0 -29
- package/docs_markdown/five/functions/imageSupport.md +0 -15
- package/docs_markdown/five/functions/isBoundingVolume.md +0 -21
- package/docs_markdown/five/functions/isPanoId.md +0 -21
- package/docs_markdown/five/functions/loadAt3d.md +0 -47
- package/docs_markdown/five/functions/loadB3dm.md +0 -39
- package/docs_markdown/five/functions/loadDome.md +0 -43
- package/docs_markdown/five/functions/loadDomez.md +0 -43
- package/docs_markdown/five/functions/loadFbx.md +0 -35
- package/docs_markdown/five/functions/loadGltf.md +0 -39
- package/docs_markdown/five/functions/loadPbm.md +0 -47
- package/docs_markdown/five/functions/loadPly.md +0 -61
- package/docs_markdown/five/functions/loadPnts.md +0 -35
- package/docs_markdown/five/functions/loadSplat.md +0 -35
- package/docs_markdown/five/functions/loadSpz.md +0 -35
- package/docs_markdown/five/functions/loadX3p.md +0 -39
- package/docs_markdown/five/functions/longitudeToHeading.md +0 -29
- package/docs_markdown/five/functions/makeBoundingVolume.md +0 -21
- package/docs_markdown/five/functions/panoEqual.md +0 -25
- package/docs_markdown/five/functions/panoParse.md +0 -21
- package/docs_markdown/five/functions/panoStringify.md +0 -21
- package/docs_markdown/five/functions/parseWork.md +0 -33
- package/docs_markdown/five/functions/vectorToCoordinates.md +0 -31
- package/docs_markdown/five/functions/workToJson.md +0 -21
- package/docs_markdown/five/interfaces/AddableObject.md +0 -77
- package/docs_markdown/five/interfaces/AjaxOptions.md +0 -81
- package/docs_markdown/five/interfaces/AnimationFrame.md +0 -67
- package/docs_markdown/five/interfaces/AnimationFrameContext.md +0 -55
- package/docs_markdown/five/interfaces/BaseEvent.md +0 -60
- package/docs_markdown/five/interfaces/BoundingVolume.md +0 -241
- package/docs_markdown/five/interfaces/BoxBoundingVolume.md +0 -325
- package/docs_markdown/five/interfaces/CameraPose.md +0 -49
- package/docs_markdown/five/interfaces/CullingVolume.md +0 -141
- package/docs_markdown/five/interfaces/Draco.md +0 -219
- package/docs_markdown/five/interfaces/EventCallback.md +0 -3374
- package/docs_markdown/five/interfaces/FiveInitArgs.md +0 -435
- package/docs_markdown/five/interfaces/FiveLoadOptions.md +0 -71
- package/docs_markdown/five/interfaces/FloorplanControllerCustomInitArgs.md +0 -93
- package/docs_markdown/five/interfaces/GestureEvent.md +0 -233
- package/docs_markdown/five/interfaces/ImageOptions.md +0 -147
- package/docs_markdown/five/interfaces/ImageURLMappings.md +0 -13
- package/docs_markdown/five/interfaces/ImageURLOptions.md +0 -89
- package/docs_markdown/five/interfaces/IntersectEvent.md +0 -89
- package/docs_markdown/five/interfaces/IntersectMesh.md +0 -33
- package/docs_markdown/five/interfaces/IntersectMeshInterface.md +0 -27
- package/docs_markdown/five/interfaces/Intersection.md +0 -53
- package/docs_markdown/five/interfaces/KTX2.md +0 -131
- package/docs_markdown/five/interfaces/LoosePanoWork.md +0 -81
- package/docs_markdown/five/interfaces/LooseWork.md +0 -145
- package/docs_markdown/five/interfaces/LooseWorkInitial.md +0 -89
- package/docs_markdown/five/interfaces/LooseWorkModel.md +0 -113
- package/docs_markdown/five/interfaces/LooseWorkObserver.md +0 -153
- package/docs_markdown/five/interfaces/LooseWorkPanorama.md +0 -121
- package/docs_markdown/five/interfaces/LooseWorkVideo.md +0 -33
- package/docs_markdown/five/interfaces/LooseWorkWithExtrinsics.md +0 -93
- package/docs_markdown/five/interfaces/MapviewControllerCustomInitArgs.md +0 -96
- package/docs_markdown/five/interfaces/ModeChangeEvent.md +0 -105
- package/docs_markdown/five/interfaces/ModelControllerCustomInitArgs.md +0 -147
- package/docs_markdown/five/interfaces/ModelEvent.md +0 -89
- package/docs_markdown/five/interfaces/ModelOptions.md +0 -54
- package/docs_markdown/five/interfaces/ModelSceneEvent.md +0 -73
- package/docs_markdown/five/interfaces/MotionKeyframe.md +0 -39
- package/docs_markdown/five/interfaces/MovePanoOptions.md +0 -192
- package/docs_markdown/five/interfaces/NetworkAbortError.md +0 -13
- package/docs_markdown/five/interfaces/NetworkFirbiddenError.md +0 -13
- package/docs_markdown/five/interfaces/NetworkOptions.md +0 -53
- package/docs_markdown/five/interfaces/NetworkProxyError.md +0 -13
- package/docs_markdown/five/interfaces/NetworkResourceEvent.md +0 -97
- package/docs_markdown/five/interfaces/NetworkResponseError.md +0 -21
- package/docs_markdown/five/interfaces/NetworkTimeoutError.md +0 -13
- package/docs_markdown/five/interfaces/ObjectEvent.md +0 -73
- package/docs_markdown/five/interfaces/PBMClipperParameter.md +0 -25
- package/docs_markdown/five/interfaces/PBMCustomShaderInitArgs.md +0 -57
- package/docs_markdown/five/interfaces/PBMCustomShaderSlots.md +0 -53
- package/docs_markdown/five/interfaces/PBMMaterial.md +0 -18
- package/docs_markdown/five/interfaces/PBMMeshMaterialParameters.md +0 -221
- package/docs_markdown/five/interfaces/PBMPanoDepth.md +0 -49
- package/docs_markdown/five/interfaces/PBMPanoPicture.md +0 -59
- package/docs_markdown/five/interfaces/PBMPointCloudMaterialParameters.md +0 -221
- package/docs_markdown/five/interfaces/PBMRefinedScreen.md +0 -49
- package/docs_markdown/five/interfaces/PanoCircleMeshCustomOptions.md +0 -73
- package/docs_markdown/five/interfaces/PanoCircleMeshInterface.md +0 -222
- package/docs_markdown/five/interfaces/PanoCircleMeshOptions.md +0 -25
- package/docs_markdown/five/interfaces/PanoCircleMeshSolidOptions.md +0 -25
- package/docs_markdown/five/interfaces/PanoEvent.md +0 -121
- package/docs_markdown/five/interfaces/PanoTextureEvent.md +0 -97
- package/docs_markdown/five/interfaces/PanoramaControllerCustomInitArgs.md +0 -260
- package/docs_markdown/five/interfaces/PanoramaLikeControllerCustomInitArgs.md +0 -112
- package/docs_markdown/five/interfaces/ParameterMaterialValue.md +0 -363
- package/docs_markdown/five/interfaces/ParameterTilesetValue.md +0 -161
- package/docs_markdown/five/interfaces/ParameterValue.md +0 -715
- package/docs_markdown/five/interfaces/Pass.md +0 -100
- package/docs_markdown/five/interfaces/Pose.md +0 -69
- package/docs_markdown/five/interfaces/RegionBoundingVolume.md +0 -349
- package/docs_markdown/five/interfaces/RenderEvent.md +0 -73
- package/docs_markdown/five/interfaces/ResolvedParameterValue.md +0 -727
- package/docs_markdown/five/interfaces/SphereBoundingVolume.md +0 -317
- package/docs_markdown/five/interfaces/State.md +0 -123
- package/docs_markdown/five/interfaces/StateEvent.md +0 -87
- package/docs_markdown/five/interfaces/TextureOptions.md +0 -157
- package/docs_markdown/five/interfaces/Tile3DOptions.md +0 -83
- package/docs_markdown/five/interfaces/TileCoordinateSystem.md +0 -25
- package/docs_markdown/five/interfaces/TileHeader.md +0 -89
- package/docs_markdown/five/interfaces/TilesetHeader.md +0 -209
- package/docs_markdown/five/interfaces/TilesetOptions.md +0 -205
- package/docs_markdown/five/interfaces/TopviewControllerCustomInitArgs.md +0 -101
- package/docs_markdown/five/interfaces/TrajectoryHeader.md +0 -41
- package/docs_markdown/five/interfaces/VRPanoramaControllerCustomInitArgs.md +0 -264
- package/docs_markdown/five/interfaces/ViewLayer.md +0 -1505
- package/docs_markdown/five/interfaces/Viewport.md +0 -57
- package/docs_markdown/five/interfaces/WebXRAxesParams.md +0 -57
- package/docs_markdown/five/interfaces/WebXRControllerParams.md +0 -25
- package/docs_markdown/five/interfaces/WorkCubeImage.md +0 -86
- package/docs_markdown/five/interfaces/WorkImage.md +0 -117
- package/docs_markdown/five/interfaces/WorkInitial.md +0 -89
- package/docs_markdown/five/interfaces/WorkInitialJson.md +0 -65
- package/docs_markdown/five/interfaces/WorkJson.md +0 -89
- package/docs_markdown/five/interfaces/WorkModel.md +0 -113
- package/docs_markdown/five/interfaces/WorkModelJson.md +0 -49
- package/docs_markdown/five/interfaces/WorkModelLayer.md +0 -59
- package/docs_markdown/five/interfaces/WorkModelLayerJson.md +0 -41
- package/docs_markdown/five/interfaces/WorkObserver.md +0 -184
- package/docs_markdown/five/interfaces/WorkObserverJson.md +0 -97
- package/docs_markdown/five/interfaces/WorkPanoramaJson.md +0 -125
- package/docs_markdown/five/interfaces/WorkPanoramasJson.md +0 -25
- package/docs_markdown/five/interfaces/WorkTile.md +0 -115
- package/docs_markdown/five/interfaces/WorkVideo.md +0 -49
- package/docs_markdown/five/interfaces/WorksEvent.md +0 -89
- package/docs_markdown/five/interfaces/XRControllerEvent.md +0 -177
- package/docs_markdown/five/interfaces/XRGestureEvent.md +0 -125
- package/docs_markdown/five/interfaces/XRPanoramaControllerCustomInitArgs.md +0 -264
- package/docs_markdown/five/interfaces/XRSessionEvent.md +0 -81
- package/docs_markdown/five/interfaces/documents/coordinate.md +0 -29
- package/docs_markdown/five/type-aliases/AjaxResponseType.md +0 -11
- package/docs_markdown/five/type-aliases/AjaxResponseTypeMapping.md +0 -17
- package/docs_markdown/five/type-aliases/AnimationFrameLoopType.md +0 -11
- package/docs_markdown/five/type-aliases/BoundingVolumeJson.md +0 -11
- package/docs_markdown/five/type-aliases/BoxBoundingVolumeJson.md +0 -19
- package/docs_markdown/five/type-aliases/ControllerCustomInitTypes.md +0 -67
- package/docs_markdown/five/type-aliases/ControllerEventTypes.md +0 -669
- package/docs_markdown/five/type-aliases/CubeFace.md +0 -11
- package/docs_markdown/five/type-aliases/EventTypes.md +0 -381
- package/docs_markdown/five/type-aliases/FivePlugin.md +0 -31
- package/docs_markdown/five/type-aliases/FivePluginInit.md +0 -21
- package/docs_markdown/five/type-aliases/FivePluginInstance.md +0 -21
- package/docs_markdown/five/type-aliases/GestureTypes.md +0 -11
- package/docs_markdown/five/type-aliases/LegacyEventType.md +0 -1852
- package/docs_markdown/five/type-aliases/LoadResultType.md +0 -109
- package/docs_markdown/five/type-aliases/Mode.md +0 -19
- package/docs_markdown/five/type-aliases/Models.md +0 -121
- package/docs_markdown/five/type-aliases/MotionCircle.md +0 -13
- package/docs_markdown/five/type-aliases/MotionConfig.md +0 -17
- package/docs_markdown/five/type-aliases/MotionInitalValue.md +0 -17
- package/docs_markdown/five/type-aliases/MotionValue.md +0 -17
- package/docs_markdown/five/type-aliases/MovePanoEffect.md +0 -24
- package/docs_markdown/five/type-aliases/NetWorkMeta.md +0 -71
- package/docs_markdown/five/type-aliases/NetworkError.md +0 -11
- package/docs_markdown/five/type-aliases/NetworkErrorCallback.md +0 -21
- package/docs_markdown/five/type-aliases/NetworkProgressCallback.md +0 -21
- package/docs_markdown/five/type-aliases/NetworkResponse.md +0 -37
- package/docs_markdown/five/type-aliases/NetworkState.md +0 -11
- package/docs_markdown/five/type-aliases/NetworkSuccessCallback.md +0 -27
- package/docs_markdown/five/type-aliases/NetworkType.md +0 -11
- package/docs_markdown/five/type-aliases/PBMAlphaMode.md +0 -11
- package/docs_markdown/five/type-aliases/PBMColorStyle.md +0 -11
- package/docs_markdown/five/type-aliases/PBMFloorStyle.md +0 -11
- package/docs_markdown/five/type-aliases/PBMMeshShaderType.md +0 -11
- package/docs_markdown/five/type-aliases/PBMPointBack.md +0 -11
- package/docs_markdown/five/type-aliases/PBMPointCloudShaderType.md +0 -11
- package/docs_markdown/five/type-aliases/PBMPointShape.md +0 -11
- package/docs_markdown/five/type-aliases/PBMPointSize.md +0 -11
- package/docs_markdown/five/type-aliases/PBMTransition.md +0 -11
- package/docs_markdown/five/type-aliases/Pano.md +0 -27
- package/docs_markdown/five/type-aliases/PanoId.md +0 -11
- package/docs_markdown/five/type-aliases/ParseOptions.md +0 -65
- package/docs_markdown/five/type-aliases/PostProcessingType.md +0 -11
- package/docs_markdown/five/type-aliases/RegionBoundingVolumeJson.md +0 -19
- package/docs_markdown/five/type-aliases/RequestAnimationFrameArgs.md +0 -17
- package/docs_markdown/five/type-aliases/Scissor.md +0 -15
- package/docs_markdown/five/type-aliases/SphereBoundingVolumeJson.md +0 -19
- package/docs_markdown/five/type-aliases/SubscribeEventMap.md +0 -15
- package/docs_markdown/five/type-aliases/TileCacheOptions.md +0 -47
- package/docs_markdown/five/type-aliases/TileContentData.md +0 -51
- package/docs_markdown/five/type-aliases/TileRequestOrder.md +0 -11
- package/docs_markdown/five/type-aliases/TileRequestSchedulerOptions.md +0 -69
- package/docs_markdown/five/type-aliases/TilesetFrameState.md +0 -199
- package/docs_markdown/five/type-aliases/TrajectoryContentData.md +0 -59
- package/docs_markdown/five/type-aliases/WebXRControllerKey.md +0 -11
- package/docs_markdown/five/type-aliases/WebXRControllerType.md +0 -11
- package/docs_markdown/five/type-aliases/Works.md +0 -59
- package/docs_markdown/five/type-aliases/documents/plugins.md +0 -226
- package/docs_markdown/five/variables/PROXY_CONTROLLER_EVENT_NAMES.md +0 -11
- package/docs_markdown/five/variables/controllersDefaultInitArgs.md +0 -41
- package/docs_markdown/five/variables/draco.md +0 -11
- package/docs_markdown/five/variables/ktx2.md +0 -11
- package/docs_markdown/gltf-loader/README.md +0 -23
- package/docs_markdown/gltf-loader/classes/DDSLoader.md +0 -57
- package/docs_markdown/gltf-loader/classes/DRACOLoader.md +0 -143
- package/docs_markdown/gltf-loader/classes/GLTFLoader.md +0 -208
- package/docs_markdown/gltf-loader/classes/GLTFObject.md +0 -76
- package/docs_markdown/gltf-loader/classes/GLTFParser.md +0 -75
- package/docs_markdown/gltf-loader/classes/THREEGLTFLoader.md +0 -151
- package/docs_markdown/gltf-loader/interfaces/DDS.md +0 -57
- package/docs_markdown/gltf-loader/interfaces/GLTF.md +0 -98
- package/docs_markdown/gltf-loader/interfaces/GLTFReference.md +0 -25
- package/docs_markdown/gltf-loader/interfaces/THREEGLTF.md +0 -89
- package/docs_markdown/line/README.md +0 -20
- package/docs_markdown/line/classes/Line.md +0 -151
- package/docs_markdown/line/classes/LineGeometry.md +0 -273
- package/docs_markdown/line/classes/LineMaterial.md +0 -83
- package/docs_markdown/line/classes/LineSegmentsGeometry.md +0 -219
- package/docs_markdown/line/classes/THREE_Line2.md +0 -81
- package/docs_markdown/line/classes/THREE_LineSegments2.md +0 -81
- package/docs_markdown/line/type-aliases/LineMaterialParameters.md +0 -67
- package/docs_markdown/modules.md +0 -28
- package/docs_markdown/plugins/README.md +0 -43
- package/docs_markdown/plugins/classes/CSS3DRenderer.md +0 -93
- package/docs_markdown/plugins/classes/OrbitControls.md +0 -461
- package/docs_markdown/plugins/classes/RoundedBoxGeometry.md +0 -79
- package/docs_markdown/plugins/functions/BackgroundPlugin.md +0 -25
- package/docs_markdown/plugins/functions/DynamicPathLinePlugin.md +0 -25
- package/docs_markdown/plugins/functions/ItemMaskPlugin.md +0 -25
- package/docs_markdown/plugins/functions/OrientationPlugin.md +0 -25
- package/docs_markdown/plugins/functions/PanoAnimePlugin.md +0 -25
- package/docs_markdown/plugins/functions/TrajectoryPlugin.md +0 -25
- package/docs_markdown/plugins/interfaces/BackgroundPluginController.md +0 -313
- package/docs_markdown/plugins/interfaces/DynamicPathLinePluginController.md +0 -755
- package/docs_markdown/plugins/interfaces/ItemMaskController.md +0 -393
- package/docs_markdown/plugins/interfaces/Keyframe.md +0 -25
- package/docs_markdown/plugins/interfaces/OrientationPluginController.md +0 -491
- package/docs_markdown/plugins/interfaces/PanoAnimeController.md +0 -365
- package/docs_markdown/plugins/interfaces/PlayingState.md +0 -25
- package/docs_markdown/plugins/interfaces/TrajectoryController.md +0 -609
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/README.md +0 -25
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/enumerations/WarningCodeType.md +0 -17
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/interfaces/Config.md +0 -9
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/interfaces/EventMap.md +0 -205
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/interfaces/Params.md +0 -25
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/interfaces/PluginDataItem.md +0 -9
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/type-aliases/Mirror.md +0 -17
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/type-aliases/Mode.md +0 -11
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/type-aliases/PluginData.md +0 -11
- package/docs_markdown/plugins/namespaces/BackgroundPluginType/type-aliases/State.md +0 -19
- package/docs_markdown/plugins/namespaces/BasePlugin/README.md +0 -22
- package/docs_markdown/plugins/namespaces/BasePlugin/classes/Controller.md +0 -318
- package/docs_markdown/plugins/namespaces/BasePlugin/interfaces/BaseOptions.md +0 -19
- package/docs_markdown/plugins/namespaces/BasePlugin/interfaces/Config.md +0 -39
- package/docs_markdown/plugins/namespaces/BasePlugin/interfaces/State.md +0 -49
- package/docs_markdown/plugins/namespaces/BasePlugin/interfaces/StateChangeParams.md +0 -45
- package/docs_markdown/plugins/namespaces/BasePlugin/type-aliases/EventMap.md +0 -110
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/README.md +0 -20
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/Config.md +0 -181
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/EventMap.md +0 -261
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/Params.md +0 -37
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/PathConfig.md +0 -141
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/interfaces/State.md +0 -67
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/type-aliases/PluginData.md +0 -21
- package/docs_markdown/plugins/namespaces/DynamicPathLinePluginType/type-aliases/ServerData.md +0 -73
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/README.md +0 -21
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/Config.md +0 -11
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/EventMap.md +0 -109
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/ItemType.md +0 -121
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/MaskType.md +0 -33
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/Params.md +0 -27
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/interfaces/State.md +0 -87
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/type-aliases/PluginData.md +0 -27
- package/docs_markdown/plugins/namespaces/ItemMaskPluginType/type-aliases/ServerData.md +0 -27
- package/docs_markdown/plugins/namespaces/OrientationPluginType/README.md +0 -19
- package/docs_markdown/plugins/namespaces/OrientationPluginType/interfaces/Config.md +0 -27
- package/docs_markdown/plugins/namespaces/OrientationPluginType/interfaces/EventMap.md +0 -109
- package/docs_markdown/plugins/namespaces/OrientationPluginType/interfaces/Params.md +0 -27
- package/docs_markdown/plugins/namespaces/OrientationPluginType/interfaces/State.md +0 -67
- package/docs_markdown/plugins/namespaces/OrientationPluginType/type-aliases/PluginData.md +0 -11
- package/docs_markdown/plugins/namespaces/OrientationPluginType/type-aliases/ServerData.md +0 -11
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/README.md +0 -20
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/Config.md +0 -19
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/ConfigChangeEvent.md +0 -39
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/EventMap.md +0 -157
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/Params.md +0 -27
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/interfaces/State.md +0 -57
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/type-aliases/PluginData.md +0 -11
- package/docs_markdown/plugins/namespaces/PanoAnimePluginType/type-aliases/ServerData.md +0 -11
- package/docs_markdown/plugins/namespaces/PluginTemplateType/README.md +0 -19
- package/docs_markdown/plugins/namespaces/PluginTemplateType/interfaces/Config.md +0 -19
- package/docs_markdown/plugins/namespaces/PluginTemplateType/interfaces/EventMap.md +0 -109
- package/docs_markdown/plugins/namespaces/PluginTemplateType/interfaces/Params.md +0 -27
- package/docs_markdown/plugins/namespaces/PluginTemplateType/interfaces/State.md +0 -57
- package/docs_markdown/plugins/namespaces/PluginTemplateType/type-aliases/PluginData.md +0 -11
- package/docs_markdown/plugins/namespaces/PluginTemplateType/type-aliases/ServerData.md +0 -19
- package/docs_markdown/react/README.md +0 -58
- package/docs_markdown/react/classes/Store.md +0 -184
- package/docs_markdown/react/functions/createFiveFeature.md +0 -27
- package/docs_markdown/react/functions/createFiveProvider.md +0 -42
- package/docs_markdown/react/functions/createStore.md +0 -158
- package/docs_markdown/react/functions/unsafe__useFiveInstance.md +0 -27
- package/docs_markdown/react/functions/useFiveAction.md +0 -82
- package/docs_markdown/react/functions/useFiveCameraDirection.md +0 -19
- package/docs_markdown/react/functions/useFiveCameraRaycaster.md +0 -19
- package/docs_markdown/react/functions/useFiveCurrentObserver.md +0 -25
- package/docs_markdown/react/functions/useFiveCurrentState.md +0 -25
- package/docs_markdown/react/functions/useFiveEventCallback.md +0 -44
- package/docs_markdown/react/functions/useFiveFloor.md +0 -25
- package/docs_markdown/react/functions/useFiveHelper.md +0 -25
- package/docs_markdown/react/functions/useFiveModelIntersectRaycaster.md +0 -45
- package/docs_markdown/react/functions/useFiveModelReadyState.md +0 -20
- package/docs_markdown/react/functions/useFiveProject2d.md +0 -49
- package/docs_markdown/react/functions/useFiveSceneEffect.md +0 -39
- package/docs_markdown/react/functions/useFiveState.md +0 -15
- package/docs_markdown/react/functions/useFiveWork.md +0 -39
- package/docs_markdown/react/functions/withFive.md +0 -47
- package/docs_markdown/react/interfaces/FiveActionReactCallbacks.md +0 -270
- package/docs_markdown/react/interfaces/FiveCanvasProps.md +0 -29
- package/docs_markdown/react/interfaces/FiveInjectionTypes.md +0 -1075
- package/docs_markdown/react/interfaces/PropTypeOfFiveFeatures.md +0 -23
- package/docs_markdown/react/type-aliases/FiveInjectionActionFeature.md +0 -11
- package/docs_markdown/react/type-aliases/FiveInjectionDataFeature.md +0 -11
- package/docs_markdown/react/type-aliases/FiveInjectionFeature.md +0 -11
- package/docs_markdown/react/type-aliases/FiveProviderPropTypes.md +0 -139
- package/docs_markdown/react/type-aliases/FiveProviderType.md +0 -11
- package/docs_markdown/react/type-aliases/StoreActionMapHanlder.md +0 -25
- package/docs_markdown/react/type-aliases/StoreActionMapType.md +0 -15
- package/docs_markdown/react/type-aliases/StoreProviderType.md +0 -11
- package/docs_markdown/react/type-aliases/StoreValueMapType.md +0 -11
- package/docs_markdown/react/variables/FiveCanvas.md +0 -25
- package/docs_markdown/react/variables/INJECTION_PROPNAME.md +0 -11
- package/docs_markdown/react/variables/useFiveScene.md +0 -43
- package/docs_markdown/sticker/README.md +0 -15
- package/docs_markdown/sticker/classes/Sticker.md +0 -208
- package/docs_markdown/sticker/interfaces/IntersectionLike.md +0 -39
- package/docs_markdown/vfx/README.md +0 -27
- package/docs_markdown/vfx/classes/Airflow.md +0 -175
- package/docs_markdown/vfx/classes/Flame.md +0 -241
- package/docs_markdown/vfx/classes/Particle.md +0 -488
- package/docs_markdown/vfx/classes/ParticleGPU.md +0 -195
- package/docs_markdown/vfx/classes/SpotLight.md +0 -159
- package/docs_markdown/vfx/interfaces/ParticleArgs.md +0 -338
- package/docs_markdown/vfx/interfaces/ParticleGPUArgs.md +0 -301
- package/docs_markdown/vfx/interfaces/ParticleGPUTweenKeyframe.md +0 -31
- package/docs_markdown/vfx/interfaces/ParticleTweenKeyframe.md +0 -31
- package/docs_markdown/vfx/type-aliases/ParticleGPUType.md +0 -11
- package/docs_markdown/vfx/type-aliases/ParticleType.md +0 -11
- package/docs_markdown/vue/README.md +0 -42
- package/docs_markdown/vue/functions/unsafe__useFiveInject.md +0 -27
- package/docs_markdown/vue/functions/useFiveAction.md +0 -104
- package/docs_markdown/vue/functions/useFiveCameraDirection.md +0 -19
- package/docs_markdown/vue/functions/useFiveCameraRaycaster.md +0 -19
- package/docs_markdown/vue/functions/useFiveCurrentObserver.md +0 -25
- package/docs_markdown/vue/functions/useFiveCurrentState.md +0 -25
- package/docs_markdown/vue/functions/useFiveEventCallback.md +0 -40
- package/docs_markdown/vue/functions/useFiveFloor.md +0 -25
- package/docs_markdown/vue/functions/useFiveHelper.md +0 -25
- package/docs_markdown/vue/functions/useFiveModel.md +0 -17
- package/docs_markdown/vue/functions/useFiveModelBounding.md +0 -17
- package/docs_markdown/vue/functions/useFiveModelIntersectRaycaster.md +0 -35
- package/docs_markdown/vue/functions/useFiveModelReadyState.md +0 -20
- package/docs_markdown/vue/functions/useFiveProject2d.md +0 -38
- package/docs_markdown/vue/functions/useFiveScene.md +0 -17
- package/docs_markdown/vue/functions/useFiveState.md +0 -25
- package/docs_markdown/vue/functions/useFiveWorks.md +0 -39
- package/docs_markdown/vue/interfaces/FiveActionVueCallbacks.md +0 -301
- package/docs_markdown/vue/type-aliases/FiveModelIntersectRaycaster.md +0 -21
- package/docs_markdown/vue/type-aliases/FiveProviderComponent.md +0 -11
- package/docs_markdown/vue/type-aliases/Project2d.md +0 -25
- package/docs_markdown/vue/variables/FiveCanvas.md +0 -37
- package/docs_markdown/vue/variables/FiveProvider.md +0 -32
|
@@ -1,407 +0,0 @@
|
|
|
1
|
-
[**如视 Five SDK**](../../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[如视 Five SDK](../../modules.md) / release\_notes/6.7
|
|
6
|
-
|
|
7
|
-
# Release Note 6.7.x
|
|
8
|
-
> 6.7.x 版本发布日志
|
|
9
|
-
|
|
10
|
-
```shell
|
|
11
|
-
npm install @realsee/five@6.7
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## five.laod 的多 Work 的非阻塞性加载
|
|
15
|
-
> `five.load` 时,现在可选择追加或者替换。
|
|
16
|
-
> 并且在切换过程中,可以不再发生切换/锁定视角等妨碍用户持续操作的行为。
|
|
17
|
-
> 这方面的改动只要适用于多项目下,项目追加,分批次加载的情况。
|
|
18
|
-
|
|
19
|
-
### 使用 `FiveLoadOptions.mode` 在控制 替换 / 追加项目
|
|
20
|
-
|
|
21
|
-
```ts
|
|
22
|
-
// 替换项目
|
|
23
|
-
// mode: 'replace' 默认
|
|
24
|
-
five.load([parseWork(json1), parseWork(json2)], 'inherit', { mode: 'replace' });
|
|
25
|
-
|
|
26
|
-
// 追加项目
|
|
27
|
-
// mode: 'add'
|
|
28
|
-
five.load(parseWork(json2), 'inherit', { mode: 'add' });
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
注意事项:
|
|
32
|
-
- Work 的唯一标识依旧是 `workCode`。 同一场景下,不允许出现两个相同的 `workCode` 的 Work。如果出现会报错处理。
|
|
33
|
-
- 如果通过 `replace` 替换的 Work 的 `workCode` 和当前场景中有一样的(相当于替换一个一样的 Work),则会保留之前的 Work 的模型,直接挂在到新 Work 上,而不是重新加载。
|
|
34
|
-
|
|
35
|
-
### 重新定义 `state=inherit` 的行为
|
|
36
|
-
|
|
37
|
-
```ts
|
|
38
|
-
five.load(parseWork(json), 'inherit', { mode: 'add' });
|
|
39
|
-
```
|
|
40
|
-
当 `state=inherit` 时,在切换过程中,可以不再发生切换/锁定视角等妨碍用户持续操作的行为。
|
|
41
|
-
|
|
42
|
-
- 在模型态:保持当前视角状态
|
|
43
|
-
- 在全景态:如果当前 work 存在则不改变。不存在切换到一个可用的全景点。
|
|
44
|
-
|
|
45
|
-
## work 更加精简和灵活
|
|
46
|
-
> 针对大项目,对 work 的 json。做精简优化,减少网络传输时间。并且增加灵活性。
|
|
47
|
-
|
|
48
|
-
### panorama.pattern 模版
|
|
49
|
-
> 通过模版的模式匹配减少重复内容。
|
|
50
|
-
> panoram 中的 hash,index 等参数的重复度很高,对一样的内容可以通过这种方式减少文件长度。
|
|
51
|
-
|
|
52
|
-
Before:
|
|
53
|
-
```json
|
|
54
|
-
"panorama": {
|
|
55
|
-
"count": 465,
|
|
56
|
-
"list": [
|
|
57
|
-
{
|
|
58
|
-
"index": 0,
|
|
59
|
-
"derived_id": 0,
|
|
60
|
-
"derived_id_str": "auto3d-light-vEY8Zp4lPlkZ7R9K_1735117678",
|
|
61
|
-
"up": "images/cube_2048/0/0fd265355dbb94cb22fb930e52dd3c19/0_u.jpg",
|
|
62
|
-
"down": "images/cube_2048/0/0fd265355dbb94cb22fb930e52dd3c19/0_d.jpg",
|
|
63
|
-
"left": "images/cube_2048/0/0fd265355dbb94cb22fb930e52dd3c19/0_l.jpg",
|
|
64
|
-
"right": "images/cube_2048/0/0fd265355dbb94cb22fb930e52dd3c19/0_r.jpg",
|
|
65
|
-
"front": "images/cube_2048/0/0fd265355dbb94cb22fb930e52dd3c19/0_f.jpg",
|
|
66
|
-
"back": "images/cube_2048/0/0fd265355dbb94cb22fb930e52dd3c19/0_b.jpg",
|
|
67
|
-
"size_list": [ 2048, 4096 ],
|
|
68
|
-
"tiles": [ 1, 2, 3 ],
|
|
69
|
-
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"index": 1,
|
|
73
|
-
"derived_id": 0,
|
|
74
|
-
"derived_id_str": "auto3d-light-vEY8Zp4lPlkZ7R9K_1735117799",
|
|
75
|
-
"up": "images/cube_2048/1/a6ca1991fc6bdb2dbd1a1003d9f62394/1_u.jpg",
|
|
76
|
-
"down": "images/cube_2048/1/a6ca1991fc6bdb2dbd1a1003d9f62394/1_d.jpg",
|
|
77
|
-
"left": "images/cube_2048/1/a6ca1991fc6bdb2dbd1a1003d9f62394/1_l.jpg",
|
|
78
|
-
"right": "images/cube_2048/1/a6ca1991fc6bdb2dbd1a1003d9f62394/1_r.jpg",
|
|
79
|
-
"front": "images/cube_2048/1/a6ca1991fc6bdb2dbd1a1003d9f62394/1_f.jpg",
|
|
80
|
-
"back": "images/cube_2048/1/a6ca1991fc6bdb2dbd1a1003d9f62394/1_b.jpg",
|
|
81
|
-
"size_list": [ 2048, 4096 ],
|
|
82
|
-
"tiles": [ 1, 2, 3 ],
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"index": 2,
|
|
86
|
-
"derived_id": 0,
|
|
87
|
-
"derived_id_str": "auto3d-light-vEY8Zp4lPlkZ7R9K_1735117912",
|
|
88
|
-
"up": "images/cube_2048/2/567f94406885bf06f5586d7972da2b5e/2_u.jpg",
|
|
89
|
-
"down": "images/cube_2048/2/567f94406885bf06f5586d7972da2b5e/2_d.jpg",
|
|
90
|
-
"left": "images/cube_2048/2/567f94406885bf06f5586d7972da2b5e/2_l.jpg",
|
|
91
|
-
"right": "images/cube_2048/2/567f94406885bf06f5586d7972da2b5e/2_r.jpg",
|
|
92
|
-
"front": "images/cube_2048/2/567f94406885bf06f5586d7972da2b5e/2_f.jpg",
|
|
93
|
-
"back": "images/cube_2048/2/567f94406885bf06f5586d7972da2b5e/2_b.jpg",
|
|
94
|
-
"size_list": [ 2048, 4096 ],
|
|
95
|
-
"tiles": [ 1, 2, 3 ],
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"index": 3,
|
|
99
|
-
"derived_id": 0,
|
|
100
|
-
"derived_id_str": "auto3d-light-vEY8Zp4lPlkZ7R9K_1735118067",
|
|
101
|
-
"up": "images/cube_2048/3/fa70f0f26594d3023a3824c9a92033da/3_u.jpg",
|
|
102
|
-
"down": "images/cube_2048/3/fa70f0f26594d3023a3824c9a92033da/3_d.jpg",
|
|
103
|
-
"left": "images/cube_2048/3/fa70f0f26594d3023a3824c9a92033da/3_l.jpg",
|
|
104
|
-
"right": "images/cube_2048/3/fa70f0f26594d3023a3824c9a92033da/3_r.jpg",
|
|
105
|
-
"front": "images/cube_2048/3/fa70f0f26594d3023a3824c9a92033da/3_f.jpg",
|
|
106
|
-
"back": "images/cube_2048/3/fa70f0f26594d3023a3824c9a92033da/3_b.jpg",
|
|
107
|
-
"size_list": [ 2048, 4096 ],
|
|
108
|
-
"tiles": [ 1, 2, 3 ],
|
|
109
|
-
},
|
|
110
|
-
...
|
|
111
|
-
]
|
|
112
|
-
}
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
After:
|
|
116
|
-
```json
|
|
117
|
-
"panorama": {
|
|
118
|
-
"count": 465,
|
|
119
|
-
"pattern": {
|
|
120
|
-
"up": "images/cube_2048/{index}/{hash}/{index}_u.jpg",
|
|
121
|
-
"down": "images/cube_2048/{index}/{hash}/{index}_d.jpg",
|
|
122
|
-
"left": "images/cube_2048/{index}/{hash}/{index}_l.jpg",
|
|
123
|
-
"right": "images/cube_2048/{index}/{hash}/{index}_r.jpg",
|
|
124
|
-
"front": "images/cube_2048/{index}/{hash}/{index}_f.jpg",
|
|
125
|
-
"back": "images/cube_2048/{index}/{hash}/{index}_b.jpg",
|
|
126
|
-
"size_list": [ 2048, 4096 ],
|
|
127
|
-
"tiles": [ 1, 2, 3]
|
|
128
|
-
},
|
|
129
|
-
"list": [
|
|
130
|
-
{
|
|
131
|
-
"hash": "0fd265355dbb94cb22fb930e52dd3c19",
|
|
132
|
-
"derived_id": 0,
|
|
133
|
-
"derived_id_str": "auto3d-light-vEY8Zp4lPlkZ7R9K_1735117678",
|
|
134
|
-
"index": 0
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"hash": "a6ca1991fc6bdb2dbd1a1003d9f62394",
|
|
138
|
-
"derived_id": 0,
|
|
139
|
-
"derived_id_str": "auto3d-light-vEY8Zp4lPlkZ7R9K_1735117799",
|
|
140
|
-
"index": 1
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"hash": "567f94406885bf06f5586d7972da2b5e",
|
|
144
|
-
"derived_id": 0,
|
|
145
|
-
"derived_id_str": "auto3d-light-vEY8Zp4lPlkZ7R9K_1735117912",
|
|
146
|
-
"index": 2
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"hash": "fa70f0f26594d3023a3824c9a92033da",
|
|
150
|
-
"derived_id": 0,
|
|
151
|
-
"derived_id_str": "auto3d-light-vEY8Zp4lPlkZ7R9K_1735118067",
|
|
152
|
-
"index": 3
|
|
153
|
-
},
|
|
154
|
-
...
|
|
155
|
-
]
|
|
156
|
-
}
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
### 相对路径
|
|
160
|
-
> 在序列话 Work Json 时。资源的地址,均尝试存储为 `base_url` 的相对地址,减少存储的开销。
|
|
161
|
-
|
|
162
|
-
- 可以通过 `work.getURL` 获取到完整地址。
|
|
163
|
-
```ts
|
|
164
|
-
// 获取图片地址
|
|
165
|
-
work.getURL(work.observers[0].image.left);
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
- 可以通过修改 `work.baseURL=` 修改前缀。
|
|
169
|
-
|
|
170
|
-
### 一些字段的新增、废弃与兼容
|
|
171
|
-
- 现在 accessable_nodes 与 visible_nodes 不再有行为差异。visible_nodes 将废弃。
|
|
172
|
-
- observers[].derived_id 的缺损值不再是 undefiend. 而是 0。
|
|
173
|
-
- observers[].derived_id_str 的缺损值不再是 undefiend. 而是 空字符串。
|
|
174
|
-
- 优化 at3d / pbm 的 material_textures 的参数的各种兼容问题 以及 错误的警告信息。
|
|
175
|
-
|
|
176
|
-
### model 支持 coordinate 以及 up_axis
|
|
177
|
-
- model.coordinate 同 `tileeset.rootMeta.coordinate`。声明 `file_url` 的世界坐标。
|
|
178
|
-
- model.up_axis 设置 `file_url` 模型的上方向, 仅针对 obj / ply 等自身没有上方向定义的模型格式。
|
|
179
|
-
|
|
180
|
-
### toJSON 方法
|
|
181
|
-
- 通过 `work.toJSON()` 可以获取到当前序列化后的标准 Work Json。类型为 `WorkJson`
|
|
182
|
-
- 该方法并不是返回当时 `parseWork` 时的 Json。 而是从 work 数据中序列化后的结果。
|
|
183
|
-
- 并不包含 `_signature` `certificate` 等字段。
|
|
184
|
-
|
|
185
|
-
### work-downloader 的速度优化
|
|
186
|
-
|
|
187
|
-
- 优化 对于 avif 格式的 cube 图的处理的效率。
|
|
188
|
-
- 优化 全景图片瓦片的切割参数,该有尽有。
|
|
189
|
-
- 优化 图片的清晰度参数,目前均使用 95 最为图片质量。
|
|
190
|
-
|
|
191
|
-
## 模型优化材质展示, 3d-tile,以及碰撞计算
|
|
192
|
-
|
|
193
|
-
### glTF 模型材质 与 动画
|
|
194
|
-
> 优化 Gltf PBR 材质渲染。
|
|
195
|
-
> 对技术美术输出的模型,更准确的还原。
|
|
196
|
-
|
|
197
|
-
- 解决混合底色是白色的问题 从修改 CustomBlending 改为在着色器中处理,所以只有使用 PBM 的材质支持。three 默认材质不处理这个改动。
|
|
198
|
-
- 优化 gltf 骨骼绑定,对于骨骼关联大于 4 的情况,使用前 4 个权重大的骨骼,并归一化。并且考虑通过整形数组 normalize 的情况。
|
|
199
|
-
- 修改 gltf 中对 uv2 copy 的逻辑,添加当检测到有 occlusionTexture 材质时,如果没有 uv2 自动拷贝 uv -> uv2。
|
|
200
|
-
|
|
201
|
-
### glTF 预览工具
|
|
202
|
-
|
|
203
|
-
地址: [https://vradmin.lianjia.com/gltf/](https://vradmin.lianjia.com/gltf/)
|
|
204
|
-
|
|
205
|
-
- 支持加载 线上 / 本地文件。gltf / glb。
|
|
206
|
-
- 支持链接 单独的 gltf / glb 动画文件。
|
|
207
|
-
- 内置了 gltf 官方测试集。[https://github.com/KhronosGroup/glTF-Sample-Assets/](https://github.com/KhronosGroup/glTF-Sample-Assets/)
|
|
208
|
-
- 内置多个环境光照,以及上传自定义环境光照 (.exr)。
|
|
209
|
-
|
|
210
|
-
### 优化模型碰撞
|
|
211
|
-
|
|
212
|
-
扩展 threejs 的 Raycaster。 支持多个自定义参数。
|
|
213
|
-
|
|
214
|
-
```ts
|
|
215
|
-
declare module 'three' {
|
|
216
|
-
|
|
217
|
-
export interface Raycaster {
|
|
218
|
-
/**
|
|
219
|
-
* 只捕获第一个交点
|
|
220
|
-
*/
|
|
221
|
-
firstHitOnly?: boolean;
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* 对交点进行筛选
|
|
225
|
-
*/
|
|
226
|
-
hitFilter?: (intersect: THREE.Intersection) => boolean;
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* 作用楼层
|
|
230
|
-
*/
|
|
231
|
-
floorIndex?: number;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
}
|
|
235
|
-
```
|
|
236
|
-
|
|
237
|
-
- firstHitOnly - 只捕获第一个交点。比获取全部取第一个更快获取到结果。
|
|
238
|
-
- hitFilter - 过滤函数,可以根据逻辑否绝一些交点。配合 firstHitOnly 可以更加匹配业务需求。
|
|
239
|
-
- floorIndex - 过滤楼层。默认为当前显示楼层,-1 为所有楼层。其他数字则定向对应的楼层。
|
|
240
|
-
|
|
241
|
-
同时一些内部逻辑变化
|
|
242
|
-
|
|
243
|
-
- 内置事件生成的 Raycaster。均设置 firstHitOnly = true。
|
|
244
|
-
- 交点获取,内置过滤掉了 模型裁剪 clippers 中的内容。
|
|
245
|
-
|
|
246
|
-
### 3d-tile 支持通过内存上限动态调整 maxScreenSpaceError。
|
|
247
|
-
> 目的是通过有限的内存,获取到最清晰的模型效果。
|
|
248
|
-
|
|
249
|
-
```ts
|
|
250
|
-
// 设置内存最高缓存到 512 MB
|
|
251
|
-
five.modelScene.parameter.set('maxMemoryUsage', 512);
|
|
252
|
-
|
|
253
|
-
// 设置 maxScreenSpaceError 到 32
|
|
254
|
-
five.modelScene.parameter.set('maxScreenSpaceError', 32);
|
|
255
|
-
|
|
256
|
-
// 设置通过内存上限动态调整 maxScreenSpaceError
|
|
257
|
-
five.modelScene.parameter.set('memoryAdjustedScreenSpaceError', true);
|
|
258
|
-
```
|
|
259
|
-
|
|
260
|
-
当设置的 `maxScreenSpaceError` 已经全部加载完毕后,发现内存空间仍有剩余。则会尝试降低 `maxScreenSpaceError` 知道内存大体到达 `maxMemoryUsage` 设置的水平。
|
|
261
|
-
|
|
262
|
-
- 如果设置的 `maxScreenSpaceError` 已经全部加载完毕后,内存已经大于 `maxMemoryUsage` 设置的水平则不会变化。
|
|
263
|
-
- 因为是动态尝试, 所以悲观情况下会出现在 `maxMemoryUsage` 附近摆动的情况。导致模型反复加载/销毁。
|
|
264
|
-
- 只针对 layer 生效。多个 layer 是单独计算,并不是综合计算。
|
|
265
|
-
|
|
266
|
-
## 全景浏览
|
|
267
|
-
|
|
268
|
-
### moveToPano 新增 effect=model 模型过渡效果
|
|
269
|
-
|
|
270
|
-
通过过渡到模型实现点位游走效果
|
|
271
|
-
|
|
272
|
-
```ts
|
|
273
|
-
five.moveToPano(0, {
|
|
274
|
-
effect: 'model',
|
|
275
|
-
});
|
|
276
|
-
```
|
|
277
|
-
|
|
278
|
-
目前支持:
|
|
279
|
-
|
|
280
|
-
- fly - 通过相机移动方式变化
|
|
281
|
-
- instant - 直接变化
|
|
282
|
-
- fade - 通过渐变方式变化
|
|
283
|
-
- montage - 通过渐变穿插到黑屏方式变化
|
|
284
|
-
- spread - 通过扩散方式变化
|
|
285
|
-
- zoomin - 通过放大变化
|
|
286
|
-
- zoomout - 通过缩小变化
|
|
287
|
-
- model - 通过过度到模型
|
|
288
|
-
|
|
289
|
-
### moveToPano 新增参数 effectEasing 控制前后全景图的切换进度
|
|
290
|
-
|
|
291
|
-
```ts
|
|
292
|
-
function easeInQuad(x: number): number {
|
|
293
|
-
return x * x;
|
|
294
|
-
};
|
|
295
|
-
|
|
296
|
-
five.moveToPano({
|
|
297
|
-
workCode: "axv2ZQMaKZcMl5Bc6x",
|
|
298
|
-
panoIndex: 51,
|
|
299
|
-
}, {
|
|
300
|
-
latitude: 0.5314685806864204,
|
|
301
|
-
longitude: 4.324187623631265,
|
|
302
|
-
fov: 90,
|
|
303
|
-
effectEasing: easeInQuad
|
|
304
|
-
})
|
|
305
|
-
```
|
|
306
|
-
|
|
307
|
-
- effectEasing 生命一个函数,接受一个 0 到 1 的数字, 返回一个 0 到 1 的数字。
|
|
308
|
-
- 当值为 0 时显示前一个全景图。 为 1 时显示后一个全景图。 中间数值为两个全景图的混合, 数值表示混合比例。
|
|
309
|
-
- 用于 地面-天空 等切换切换占比差异较大的情况下单独设置。
|
|
310
|
-
|
|
311
|
-
### 全景图支持航拍点的差异显示
|
|
312
|
-
|
|
313
|
-
默认逻辑为:
|
|
314
|
-
```ts
|
|
315
|
-
const five = new Five({
|
|
316
|
-
panorama: {
|
|
317
|
-
aerialObserverMinHeight: 5,
|
|
318
|
-
panoCircleMeshCreator: (observer, options) => {
|
|
319
|
-
const distance = observer.position.distanceTo(observer.standingPosition);
|
|
320
|
-
if (distance > options.aerialObserverMinHeight) {
|
|
321
|
-
return new PanoCircleMeshSolid();
|
|
322
|
-
} else {
|
|
323
|
-
return new PanoCircleMesh();
|
|
324
|
-
}
|
|
325
|
-
},
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
```
|
|
329
|
-
- 如果距地大于 5 米的点位为航拍点。
|
|
330
|
-
- 如果是航拍点,则使用 PanoCircleMeshSolid, 否则使用 PanoCircleMesh。
|
|
331
|
-
- 内部逻辑。航拍点会面向相机展示。
|
|
332
|
-
|
|
333
|
-
业务可以修改或介入这个逻辑。
|
|
334
|
-
|
|
335
|
-
## 渲染以及后处理
|
|
336
|
-
|
|
337
|
-
重写了渲染相关的逻辑。将 scene-renderer 和 postprocessing 分开
|
|
338
|
-
|
|
339
|
-
- scene-renderer 场景的渲染相关,需要多次渲染场景采样比如抗锯齿(aa),或者对场景内容改变,必须点云的点融合等。
|
|
340
|
-
- postprocessing 后处理,将 scene-renderer 的结果通过多次处理,比如轮廓增强,调整亮度等,将最终处理后的结果显示到画布上。
|
|
341
|
-
|
|
342
|
-
### 提供的 scene-renderer
|
|
343
|
-
|
|
344
|
-
- scene-renderer - 直接渲染
|
|
345
|
-
- point-cloud-high-quality-scene-renderer - 点云融合渲染
|
|
346
|
-
- ssaa-scene-renderer - SSAA算法的抗锯齿渲染
|
|
347
|
-
|
|
348
|
-
```ts
|
|
349
|
-
// 通过 renderMode 切换
|
|
350
|
-
|
|
351
|
-
// 直接渲染
|
|
352
|
-
five.renderMode = 'default';
|
|
353
|
-
|
|
354
|
-
// 点云融合渲染
|
|
355
|
-
five.renderMode = 'point-cloud-high-quality';
|
|
356
|
-
|
|
357
|
-
// SSAA算法的抗锯齿渲染
|
|
358
|
-
five.renderMode = 'ssaa';
|
|
359
|
-
```
|
|
360
|
-
|
|
361
|
-
### 内置后处理
|
|
362
|
-
- adaptive-luminance-pass - 屏幕空间动态亮度
|
|
363
|
-
- eye-dome-lighting-pass - 轮廓增强
|
|
364
|
-
|
|
365
|
-
```ts
|
|
366
|
-
// 开启 eye-dome-lighting-pass
|
|
367
|
-
five.enableEDL = true;
|
|
368
|
-
|
|
369
|
-
// 开启 adaptive-luminance-pass
|
|
370
|
-
five.enableAdaptiveLuminance = true;
|
|
371
|
-
```
|
|
372
|
-
|
|
373
|
-
### 自定义后处理
|
|
374
|
-
|
|
375
|
-
后处理支持 THREE 对于 后处理 Pass 的定义。可以自定义追加。
|
|
376
|
-
|
|
377
|
-
注意:目前不支持 mask 模版剔除部分的逻辑。
|
|
378
|
-
|
|
379
|
-
```ts
|
|
380
|
-
|
|
381
|
-
interface Pass {
|
|
382
|
-
enabled: boolean;
|
|
383
|
-
needsSwap: boolean;
|
|
384
|
-
clear: boolean;
|
|
385
|
-
renderToScreen: boolean;
|
|
386
|
-
setSize(width: number, height: number): void;
|
|
387
|
-
render(
|
|
388
|
-
renderer: THREE.WebGLRenderer,
|
|
389
|
-
writeBuffer: THREE.WebGLRenderTarget,
|
|
390
|
-
readBuffer: THREE.WebGLRenderTarget,
|
|
391
|
-
deltaTime?: number,
|
|
392
|
-
maskActive?: boolean
|
|
393
|
-
): void;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
const myPass: Pass = ...;
|
|
397
|
-
|
|
398
|
-
this.fiveRenderer.composer.addPass(myPass)
|
|
399
|
-
```
|
|
400
|
-
|
|
401
|
-
## 其他
|
|
402
|
-
|
|
403
|
-
- 不再使用分层渲染。enableLayeringRendering 参数废弃。
|
|
404
|
-
- 修复 涉嫌计算 intersectRaycaster, 如果 origin 离得太近会出现取不到的问题,优化 bvhbox 的距离判断逻辑。
|
|
405
|
-
- 优化近处点云碰撞时,规避掉角度大 distanceToRay / distance > 0.07 的点云。
|
|
406
|
-
- 修复多个 five 实例间,共用同一个 work 时 proxy 指向错误 five 实例的问题。
|
|
407
|
-
- 修复 mesh 模型 material.vertexMarks 没有同步 parameterValue.vertexMarks 的问题
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
[**如视 Five SDK**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[如视 Five SDK](../modules.md) / support
|
|
6
|
-
|
|
7
|
-
# Support - 浏览器支持
|
|
8
|
-
|
|
9
|
-
## 基础支持
|
|
10
|
-
|
|
11
|
-
| Safari | Safari on iOS | Chrome | Chrome for Android | Edge | Firefox |
|
|
12
|
-
|:------:|:-------------:|--------:|:------------------:|:----:|:-------:|
|
|
13
|
-
| >= 9 | >= 9 | >= 49 | >= 93 | >= 13| >= 45 |
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
[**如视 Five SDK**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[如视 Five SDK](../modules.md) / work
|
|
6
|
-
|
|
7
|
-
# Work - VR 项目
|
|
8
|
-
|
|
9
|
-
```ts
|
|
10
|
-
import { type Work } from 'five';
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## 什么是 Work
|
|
14
|
-
Work 是一套 VR 项目的代称。一个 Work 包含以下部分:
|
|
15
|
-
|
|
16
|
-
- 项目信息
|
|
17
|
-
- 数据签名信息
|
|
18
|
-
- 模型
|
|
19
|
-
- 观察点位姿
|
|
20
|
-
- 观察点全景图
|
|
21
|
-
|
|
22
|
-
## 传输中的 Work.json
|
|
23
|
-
|
|
24
|
-
work.json 数据一般是从接口整体获取的。来源主要是如视开放平台 [https://open-platform.realsee.com/](https://open-platform.realsee.com/)
|
|
25
|
-
|
|
26
|
-
因为带有数据签名信息,所以是 **不能二次篡改** 内容的。
|
|
27
|
-
当获取到对应 json 后,可以点用 `parseWork` 方法解析。
|
|
28
|
-
|
|
29
|
-
可以使用 `Work` ts 类型,可以查看内部的数据结构定义。
|
|
30
|
-
|
|
31
|
-
```ts
|
|
32
|
-
|
|
33
|
-
import { parseWork, type Work } from "@realsee/five";
|
|
34
|
-
|
|
35
|
-
async function main() {
|
|
36
|
-
|
|
37
|
-
// 从网络获取到 json
|
|
38
|
-
// 这个地址是一个公开 work 数据
|
|
39
|
-
const res = await fetch('https://raw.githubusercontent.com/realsee-developer/open-works/main/real/pWLy9ndnVL73Xqja/work.json');
|
|
40
|
-
const json = await res.json();
|
|
41
|
-
|
|
42
|
-
// 解析这个 work 数据。
|
|
43
|
-
const work: Work = parseWork(json);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
main();
|
|
47
|
-
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## Work 中的内容
|
|
51
|
-
|
|
52
|
-
```ts
|
|
53
|
-
const work: Work = parseWork(json);
|
|
54
|
-
|
|
55
|
-
// Work 的唯一 Id
|
|
56
|
-
const workCode = work.workCode;
|
|
57
|
-
|
|
58
|
-
// 观察点
|
|
59
|
-
const observers = work.observers;
|
|
60
|
-
|
|
61
|
-
// model
|
|
62
|
-
const model = work.model;
|
|
63
|
-
|
|
64
|
-
// initial
|
|
65
|
-
const initial = work.initial;
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
### workCode 唯一 Id
|
|
69
|
-
|
|
70
|
-
workCode 是 work 的唯一 id。当需要判断资源的 work 归属时非常重要。特别是 five 加载多个 work 时。
|
|
71
|
-
|
|
72
|
-
在加载一个 work 时可以通过 `five.panoIndex` `five.moveToPano(4)` `five.setState({ panoIndex: 4})` 等获取和移动观察点。 `panoIndex` 为对应的 Observer 的数组序号。
|
|
73
|
-
|
|
74
|
-
five 支持 通过 `five.load([work1, work2, work3])` 同时加载多个 work。这时要获取和移动观察点就需要配合 workCode。比如 `five.pano.panoIndex` `five.pano.workCode` `five.moveToPano({ workCode: 'xxx', panoIndex: 4 })` `five.setState({ workCode: 'xxx', panoIndex: 4})`。
|
|
75
|
-
|
|
76
|
-
### observer 观察点
|
|
77
|
-
|
|
78
|
-
观察点的坐标系是**y-up**右手坐标系, 长度单位是**米**,和 three 的坐标系一致。
|
|
79
|
-
|
|
80
|
-
#### observer 可以得到以下属性
|
|
81
|
-
|
|
82
|
-
- `workCode: string` - 当前观察点所属的 work 的唯一 id
|
|
83
|
-
- `index: number` - 当前观察点序号,和数组下标一致。
|
|
84
|
-
- `position: THREE.Vector3` - 当前观察点的坐标
|
|
85
|
-
- `standingPosition: THREE.Vector3` - 当前观察点的地面坐标
|
|
86
|
-
- `quaternion: THREE.Quaternion` - 当前观察点的旋转四元数
|
|
87
|
-
- `accessibleNodes: number[]` - 与当前观察点联通的观察点序号
|
|
88
|
-
|
|
89
|
-
#### 一些内容和 observer 有关
|
|
90
|
-
|
|
91
|
-
在 five 中,点位基本上有两种描述形式:
|
|
92
|
-
|
|
93
|
-
```ts
|
|
94
|
-
// 只是描述观察点序号
|
|
95
|
-
type panoIndex = number;
|
|
96
|
-
|
|
97
|
-
// 描述观察点所在的 workCode 以及 观察点序号
|
|
98
|
-
type pano = { workCode: string, panoIndex: number };
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
如果在单 work 的情况下,只是描述序号可以完成绝大多数工作,但是如果多个 work,则需要配合 workCode。
|
|
102
|
-
|
|
103
|
-
可以运用在以下场景,但不限于:
|
|
104
|
-
|
|
105
|
-
- `five.panoIndex` 获取当前所在点位的观察点序号。
|
|
106
|
-
- `five.pano` 获取当前所在点位的观察点的 workCode 和 序号。
|
|
107
|
-
- `five.moveToPano` 方法可以移步到对应点位。可以传递 panoIndex 也可以是 pano。
|
|
108
|
-
- `five.setState` 方法可以设置当前 State 状态。可以传递 panoIndex 也可以是 panoIndex, workCode 的组合。
|
|
109
|
-
|
|
110
|
-
### model 模型
|
|
111
|
-
|
|
112
|
-
模型表述了,当前 work 包含的模型描述,模型可以是 单个模型文件 也可以是 3d-tile 模型包。
|
|
113
|
-
|
|
114
|
-
一般不用通过 work.model 参数进行业务逻辑开发,`five.load` 或自行加载对应内容。从而在 `five.modelScene` 中体现加载后的结果。
|
|
115
|
-
|
|
116
|
-
### initial 初始化 State
|
|
117
|
-
|
|
118
|
-
work 有一个默认的初始状态,比如在第二个点,看相某个方向。
|
|
119
|
-
在 `five.load` 时可以沿用或者指定一个新的 State。
|
|
120
|
-
|
|
121
|
-
## 加载 Work
|
|
122
|
-
|
|
123
|
-
work 可以单个加载,多个加载。以及追加和替换。默认替换。
|
|
124
|
-
|
|
125
|
-
但是要确保场景内的 work 是不重复的。
|
|
126
|
-
重复的判定是 `work.workCode` 不重复。
|
|
127
|
-
|
|
128
|
-
```ts
|
|
129
|
-
const work1 = parseWork(json1);
|
|
130
|
-
const work2 = parseWork(json2);
|
|
131
|
-
const work3 = parseWork(json3);
|
|
132
|
-
|
|
133
|
-
// 加载 单个 work
|
|
134
|
-
await five.load(work1);
|
|
135
|
-
|
|
136
|
-
// 加载多个 work
|
|
137
|
-
await five.load([work1, work2]);
|
|
138
|
-
|
|
139
|
-
// 追加 work
|
|
140
|
-
await five.load(work3, "inherit", {
|
|
141
|
-
mode: 'add',
|
|
142
|
-
});
|
|
143
|
-
|
|
144
|
-
// 替换 work
|
|
145
|
-
await five.load([work1, work3], "inherit", {
|
|
146
|
-
mode: 'replace',
|
|
147
|
-
});
|
|
148
|
-
```
|