@realsee/five-webgpu 1.0.0-alpha.12 → 1.0.0-alpha.14

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.
Files changed (431) hide show
  1. package/_virtual/_rolldown/runtime.js +3 -3
  2. package/docs/assets/hierarchy.js +1 -1
  3. package/docs/assets/navigation.js +1 -1
  4. package/docs/assets/search.js +1 -1
  5. package/docs/classes/index.AdaptiveLuminancePass.html +1 -1
  6. package/docs/classes/index.BoundingMesh.html +1 -1
  7. package/docs/classes/index.Camera.html +1 -1
  8. package/docs/classes/index.EyeDomeLightingPass.html +1 -1
  9. package/docs/classes/index.Five.html +41 -32
  10. package/docs/classes/index.FivePass.html +1 -1
  11. package/docs/classes/index.FiveRenderer.html +7 -2
  12. package/docs/classes/index.FlowingFireworks3DPass.html +1 -1
  13. package/docs/classes/index.FlowingLight2DPass.html +1 -1
  14. package/docs/classes/index.FlowingLight3DPass.html +1 -1
  15. package/docs/classes/index.GaussianBlurPass.html +1 -1
  16. package/docs/classes/index.InternalWebGPURenderer.html +4 -5
  17. package/docs/classes/index.Model.html +1 -1
  18. package/docs/classes/index.ModelScene.html +1 -1
  19. package/docs/classes/index.NetworkSubscribe.html +1 -1
  20. package/docs/classes/index.PBMCustomNode.html +1 -1
  21. package/docs/classes/index.PBMGaussianSplattingNodeMaterial.html +9 -9
  22. package/docs/classes/index.PBMGaussianSplattingObject.html +49 -11
  23. package/docs/classes/index.PBMGaussianSplattingRenderMesh.html +71 -16
  24. package/docs/classes/index.PBMGroup.html +1 -1
  25. package/docs/classes/index.PBMMesh.html +1 -1
  26. package/docs/classes/index.PBMMeshBasicMaterial.html +1 -1
  27. package/docs/classes/index.PBMMeshBasicNodeMaterial.html +1 -1
  28. package/docs/classes/index.PBMMeshPanoOnlyMaterial.html +1 -1
  29. package/docs/classes/index.PBMMeshPanoOnlyNodeMaterial.html +1 -1
  30. package/docs/classes/index.PBMMeshPhongMaterial.html +1 -1
  31. package/docs/classes/index.PBMMeshPhongNodeMaterial.html +1 -1
  32. package/docs/classes/index.PBMMeshPhysicalMaterial.html +1 -1
  33. package/docs/classes/index.PBMMeshPhysicalNodeMaterial.html +1 -1
  34. package/docs/classes/index.PBMPanoFilter.html +1 -1
  35. package/docs/classes/index.PBMPointCloud.html +1 -1
  36. package/docs/classes/index.PBMPointCloudMaterial.html +1 -1
  37. package/docs/classes/index.PBMSkinnedMesh.html +1 -1
  38. package/docs/classes/index.PBMUpdateable.html +1 -1
  39. package/docs/classes/index.PanoCircleMesh.html +1 -1
  40. package/docs/classes/index.PanoCircleMeshCustom.html +1 -1
  41. package/docs/classes/index.PanoCircleMeshSolid.html +1 -1
  42. package/docs/classes/index.Parameter.html +24 -22
  43. package/docs/classes/index.Scene.html +1 -1
  44. package/docs/classes/index.Subscribe.html +1 -1
  45. package/docs/classes/index.Tile3D.html +22 -22
  46. package/docs/classes/index.TileNode.html +2 -2
  47. package/docs/classes/index.TrajectoryNode.html +1 -1
  48. package/docs/classes/index.Work.html +15 -22
  49. package/docs/classes/index.WorkResolvedObserver.html +22 -22
  50. package/docs/functions/index.createWorks.html +1 -1
  51. package/docs/functions/index.parseWork.html +1 -1
  52. package/docs/hierarchy.html +1 -1
  53. package/docs/interfaces/index.AddableObject.html +1 -1
  54. package/docs/interfaces/index.AjaxOptions.html +1 -1
  55. package/docs/interfaces/index.BaseEvent.html +1 -1
  56. package/docs/interfaces/index.Clock.html +1 -1
  57. package/docs/interfaces/index.DeviceProfile.html +2 -2
  58. package/docs/interfaces/index.EventCallback.html +3 -3
  59. package/docs/interfaces/index.GestureEvent.html +1 -1
  60. package/docs/interfaces/index.IPBMMaterial.html +1 -1
  61. package/docs/interfaces/index.ImageOptions.html +1 -1
  62. package/docs/interfaces/index.IntersectEvent.html +1 -1
  63. package/docs/interfaces/index.IntersectMesh.html +1 -1
  64. package/docs/interfaces/index.IntersectMeshInterface.html +1 -1
  65. package/docs/interfaces/index.Intersection.html +1 -1
  66. package/docs/interfaces/index.LooseWorkWithExtrinsics.html +8 -8
  67. package/docs/interfaces/index.ModeChangeEvent.html +1 -1
  68. package/docs/interfaces/index.ModelControllerCustomInitArgs.html +1 -1
  69. package/docs/interfaces/index.ModelEvent.html +1 -1
  70. package/docs/interfaces/index.ModelSceneEvent.html +1 -1
  71. package/docs/interfaces/index.ModelTileEvent.html +1 -1
  72. package/docs/interfaces/index.MovePanoOptions.html +1 -1
  73. package/docs/interfaces/index.NetworkAbortError.html +1 -1
  74. package/docs/interfaces/index.NetworkFirbiddenError.html +1 -1
  75. package/docs/interfaces/index.NetworkOptions.html +1 -1
  76. package/docs/interfaces/index.NetworkProxyError.html +1 -1
  77. package/docs/interfaces/index.NetworkResourceEvent.html +1 -1
  78. package/docs/interfaces/index.NetworkResponseError.html +1 -1
  79. package/docs/interfaces/index.NetworkTimeoutError.html +1 -1
  80. package/docs/interfaces/index.ObjectEvent.html +1 -1
  81. package/docs/interfaces/index.PBMGaussianSplattingNodeMaterialOptions.html +3 -3
  82. package/docs/interfaces/index.PanoCircleMeshInterface.html +1 -1
  83. package/docs/interfaces/index.PanoEvent.html +1 -1
  84. package/docs/interfaces/index.PanoPrepareEvent.html +1 -1
  85. package/docs/interfaces/index.PanoTextureEvent.html +1 -1
  86. package/docs/interfaces/index.PanoramaControllerCustomInitArgs.html +1 -1
  87. package/docs/interfaces/index.PanoramaLikeControllerCustomInitArgs.html +1 -1
  88. package/docs/interfaces/index.ParameterMaterialValue.html +8 -6
  89. package/docs/interfaces/index.ParameterTilesetValue.html +15 -15
  90. package/docs/interfaces/index.ParameterValue.html +21 -19
  91. package/docs/interfaces/index.Pose.html +1 -1
  92. package/docs/interfaces/index.RenderEvent.html +1 -1
  93. package/docs/interfaces/index.ResolvedParameterValue.html +22 -20
  94. package/docs/interfaces/index.SplatData.html +10 -6
  95. package/docs/interfaces/index.State.html +1 -1
  96. package/docs/interfaces/index.StateEvent.html +1 -1
  97. package/docs/interfaces/index.TextureOptions.html +1 -1
  98. package/docs/interfaces/index.Tile3DOptions.html +2 -2
  99. package/docs/interfaces/index.TopviewControllerCustomInitArgs.html +1 -1
  100. package/docs/interfaces/index.VRPanoramaControllerCustomInitArgs.html +1 -1
  101. package/docs/interfaces/index.ViewLayer.html +22 -22
  102. package/docs/interfaces/index.WorkCubeHdrGainmapImage.html +2 -2
  103. package/docs/interfaces/index.WorkCubeImage.html +2 -2
  104. package/docs/interfaces/index.WorkImage.html +5 -5
  105. package/docs/interfaces/index.WorkInitial.html +8 -8
  106. package/docs/interfaces/index.WorkInitialJson.html +2 -2
  107. package/docs/interfaces/index.WorkJson.html +2 -4
  108. package/docs/interfaces/index.WorkModel.html +8 -8
  109. package/docs/interfaces/index.WorkModelJson.html +2 -2
  110. package/docs/interfaces/index.WorkModelLayer.html +6 -6
  111. package/docs/interfaces/index.WorkModelLayerJson.html +2 -2
  112. package/docs/interfaces/index.WorkObserver.html +23 -23
  113. package/docs/interfaces/index.WorkObserverJson.html +2 -2
  114. package/docs/interfaces/index.WorkPanoramaJson.html +2 -2
  115. package/docs/interfaces/index.WorkPanoramasJson.html +2 -2
  116. package/docs/interfaces/index.WorkTile.html +5 -5
  117. package/docs/interfaces/index.WorkVideo.html +4 -4
  118. package/docs/interfaces/index.WorksEvent.html +1 -1
  119. package/docs/interfaces/index.XRControllerEvent.html +1 -1
  120. package/docs/interfaces/index.XRGestureEvent.html +2 -2
  121. package/docs/interfaces/index.XRPanoramaControllerCustomInitArgs.html +1 -1
  122. package/docs/interfaces/index.XRSessionEvent.html +1 -1
  123. package/docs/modules/index.html +1 -1
  124. package/docs/types/index.LegacyEventType.html +3 -3
  125. package/docs/types/index.OutputTextureDataType.html +1 -1
  126. package/docs/types/index.ParseOptions.html +8 -8
  127. package/docs/types/index.PointCloudTransparencyMode.html +2 -0
  128. package/docs/types/index.Works.html +1 -1
  129. package/docs/variables/index.loadAt3d.html +2 -0
  130. package/docs/variables/index.loadDome.html +2 -0
  131. package/docs/variables/index.loadDomez.html +2 -0
  132. package/docs/variables/index.loadGltf.html +2 -0
  133. package/docs/variables/index.loadPbm.html +2 -0
  134. package/docs/variables/index.loadPly.html +2 -0
  135. package/five/application/five.d.ts +13 -0
  136. package/five/chunks/at3d.js +338 -0
  137. package/five/chunks/at3d.mjs +338 -0
  138. package/five/chunks/dome.js +338 -0
  139. package/five/chunks/dome.mjs +338 -0
  140. package/five/chunks/domez.js +338 -0
  141. package/five/chunks/domez.mjs +338 -0
  142. package/five/chunks/fbx.js +338 -0
  143. package/five/chunks/fbx.mjs +338 -0
  144. package/five/chunks/fflate.js +338 -0
  145. package/five/chunks/fflate.mjs +338 -0
  146. package/five/chunks/glTF-helpers.js +804 -0
  147. package/five/chunks/glTF-helpers.mjs +804 -0
  148. package/five/chunks/gltf.js +338 -0
  149. package/five/chunks/gltf.mjs +338 -0
  150. package/five/chunks/imageBitmap.js +338 -0
  151. package/five/chunks/imageBitmap.mjs +338 -0
  152. package/five/chunks/imageSupport.js +338 -0
  153. package/five/chunks/imageSupport.mjs +338 -0
  154. package/five/chunks/lzma.js +383 -0
  155. package/five/chunks/lzma.mjs +383 -0
  156. package/five/chunks/memoryUsage.js +339 -0
  157. package/five/chunks/memoryUsage.mjs +339 -0
  158. package/five/chunks/minimal.js +338 -0
  159. package/five/chunks/minimal.mjs +338 -0
  160. package/five/chunks/pbm.js +338 -0
  161. package/five/chunks/pbm.mjs +338 -0
  162. package/five/chunks/pbmGaussianSplattingObject.js +338 -0
  163. package/five/chunks/pbmGaussianSplattingObject.mjs +338 -0
  164. package/five/chunks/pbmMeshMaterial.js +338 -0
  165. package/five/chunks/pbmMeshMaterial.mjs +338 -0
  166. package/five/chunks/pick.js +338 -0
  167. package/five/chunks/pick.mjs +338 -0
  168. package/five/chunks/ply.js +339 -0
  169. package/five/chunks/ply.mjs +339 -0
  170. package/five/chunks/spz.js +364 -0
  171. package/five/chunks/spz.mjs +364 -0
  172. package/five/controllers/xrPanorama.d.ts +13 -0
  173. package/five/core/internalWebGPURenderer.d.ts +0 -3
  174. package/five/core/panoVideo.d.ts +2 -0
  175. package/five/core/webglBlendEquationFix.d.ts +41 -0
  176. package/five/gaussian-splatting/arena/splatArena.d.ts +227 -0
  177. package/five/gaussian-splatting/cullConstants.d.ts +68 -0
  178. package/five/gaussian-splatting/hybridConstants.d.ts +60 -0
  179. package/five/gaussian-splatting/instancePacking.d.ts +46 -0
  180. package/five/gaussian-splatting/mirrors/layoutMirror.d.ts +44 -0
  181. package/five/gaussian-splatting/mirrors/mirrorBuffer.d.ts +72 -0
  182. package/five/gaussian-splatting/mirrors/mirrorSet.d.ts +17 -0
  183. package/five/gaussian-splatting/mirrors/objectParamsMirror.d.ts +35 -0
  184. package/five/gaussian-splatting/mirrors/transformMirror.d.ts +26 -0
  185. package/five/gaussian-splatting/pipelines/gpuSortPipeline.d.ts +5 -31
  186. package/five/gaussian-splatting/pipelines/pipelineMode.d.ts +1 -2
  187. package/five/gaussian-splatting/sh-core/codec.d.ts +13 -0
  188. package/five/gaussian-splatting/sh-core/constants.d.ts +29 -0
  189. package/five/gaussian-splatting/sh-core/index.d.ts +4 -0
  190. package/five/gaussian-splatting/sh-core/rebakePolicy.d.ts +20 -0
  191. package/five/gaussian-splatting/sh-core/texelRange.d.ts +18 -0
  192. package/five/gaussian-splatting/shAssembler.d.ts +14 -0
  193. package/five/gaussian-splatting/shBakeScheduler.d.ts +26 -0
  194. package/five/gaussian-splatting/shBaker.d.ts +44 -0
  195. package/five/gaussian-splatting/shTileResource.d.ts +22 -0
  196. package/five/gaussian-splatting/splatAssembler.d.ts +1 -1
  197. package/five/gaussian-splatting/transformStore.d.ts +2 -2
  198. package/five/gaussian-splatting/worker/decodeWorker.d.ts +72 -0
  199. package/five/index.d.ts +0 -1
  200. package/five/index.js +138 -640
  201. package/five/index.mjs +229 -29261
  202. package/five/model/index.d.ts +18 -6
  203. package/five/model/loaders/glTF-helpers/extensions/KHR_gaussian_splatting_compression_spz.d.ts +1 -1
  204. package/five/model/loaders/glTF-helpers/extensions/KHR_gaussian_splatting_compression_spz_2.d.ts +1 -1
  205. package/five/model/loaders/ply.d.ts +22 -6
  206. package/five/model/loaders/spz.d.ts +9 -49
  207. package/five/model/loaders/spz.worker.d.ts +37 -0
  208. package/five/model/materials/pbmGaussianSplattingNodeMaterial.d.ts +6 -12
  209. package/five/model/objects/pbmGaussianSplattingObject.d.ts +91 -6
  210. package/five/model/objects/pbmGaussianSplattingRenderMesh.d.ts +357 -15
  211. package/five/model/parameter.d.ts +4 -0
  212. package/five/renderer/compute-renderers/binned/binned-core.d.ts +45 -2
  213. package/five/renderer/compute-renderers/binned/binned-pipelines.d.ts +82 -1
  214. package/five/renderer/compute-renderers/color-space.d.ts +13 -0
  215. package/five/renderer/compute-renderers/composite-pipelines.d.ts +36 -0
  216. package/five/renderer/compute-renderers/frame-plan.d.ts +166 -0
  217. package/five/renderer/compute-renderers/gsplat-hybrid-renderer.d.ts +386 -0
  218. package/five/renderer/compute-renderers/pointcloud-compute-renderer.d.ts +101 -16
  219. package/five/renderer/compute-renderers/shaders/composite-blend.d.ts +2 -0
  220. package/five/renderer/compute-renderers/shaders/gsplatHybridIndirect.d.ts +2 -0
  221. package/five/renderer/compute-renderers/shaders/gsplatProjector.d.ts +2 -0
  222. package/five/renderer/compute-renderers/shaders/gsplatQuad.d.ts +2 -0
  223. package/five/renderer/compute-renderers/shaders/lib/write-additive.d.ts +2 -0
  224. package/five/renderer/compute-renderers/shaders/lib/write-blend.d.ts +2 -0
  225. package/five/renderer/compute-renderers/shaders/lib/write-opaque.d.ts +2 -0
  226. package/five/renderer/compute-renderers/tile-uniform-writer.d.ts +70 -0
  227. package/five/renderer/compute-renderers/transparency-buffers.d.ts +59 -0
  228. package/five/renderer/compute-renderers/transparency-math.d.ts +70 -0
  229. package/five/renderer/compute-renderers/transparency-settings.d.ts +24 -0
  230. package/five/renderer/compute-renderers/uniform-layout.d.ts +11 -2
  231. package/five/renderer/five-renderer.d.ts +28 -3
  232. package/five/renderer/index.d.ts +1 -1
  233. package/five/renderer/postprocessing/passes/pass.js +3 -3
  234. package/five/renderer/postprocessing/passes/pass.mjs +3 -3
  235. package/five/renderer/tools/full-screen-quad.js +3 -3
  236. package/five/renderer/tools/full-screen-quad.mjs +3 -3
  237. package/five/texture/videoTextureBridge.d.ts +152 -0
  238. package/five/thirdparty/sha256.d.ts +149 -0
  239. package/five/utils/calculateThreeMouse.js +3 -3
  240. package/five/utils/calculateThreeMouse.mjs +3 -3
  241. package/five/utils/distance.js +3 -3
  242. package/five/utils/distance.mjs +3 -3
  243. package/five/utils/isNil.js +3 -3
  244. package/five/utils/isNil.mjs +3 -3
  245. package/five/utils/memoryUsage.d.ts +1 -1
  246. package/five/utils/uuid.js +3 -3
  247. package/five/utils/uuid.mjs +3 -3
  248. package/five/work/work.d.ts +0 -7
  249. package/five/work/workJsonType.d.ts +0 -2
  250. package/gltf-loader/index.js +3 -3
  251. package/gltf-loader/index.mjs +3 -50
  252. package/line/index.js +3 -3
  253. package/line/index.mjs +3 -88
  254. package/package.json +1 -1
  255. package/plugins/BackgroundPlugin/Controller.js +4 -4
  256. package/plugins/BackgroundPlugin/Controller.mjs +4 -4
  257. package/plugins/BackgroundPlugin/index.js +3 -3
  258. package/plugins/BackgroundPlugin/index.mjs +3 -3
  259. package/plugins/BasePlugin/index.js +3 -3
  260. package/plugins/BasePlugin/index.mjs +3 -3
  261. package/plugins/CSS2DPlugin/Controller.js +3 -3
  262. package/plugins/CSS2DPlugin/Controller.mjs +3 -3
  263. package/plugins/CSS2DPlugin/index.js +3 -3
  264. package/plugins/CSS2DPlugin/index.mjs +3 -3
  265. package/plugins/CSS2DPlugin/style.css_raw.js +4 -4
  266. package/plugins/CSS2DPlugin/style.css_raw.mjs +4 -4
  267. package/plugins/CSS3DPlugin/Controller.js +3 -3
  268. package/plugins/CSS3DPlugin/Controller.mjs +3 -3
  269. package/plugins/CSS3DPlugin/index.js +3 -3
  270. package/plugins/CSS3DPlugin/index.mjs +3 -3
  271. package/plugins/CSS3DPlugin/style.css_raw.js +4 -4
  272. package/plugins/CSS3DPlugin/style.css_raw.mjs +4 -4
  273. package/plugins/FloorplanPlugin/Controller.js +3 -3
  274. package/plugins/FloorplanPlugin/Controller.mjs +3 -3
  275. package/plugins/FloorplanPlugin/index.js +3 -3
  276. package/plugins/FloorplanPlugin/index.mjs +3 -3
  277. package/plugins/FloorplanPlugin/render/assets.js +3 -3
  278. package/plugins/FloorplanPlugin/render/assets.mjs +3 -3
  279. package/plugins/FloorplanPlugin/render/index.js +3 -3
  280. package/plugins/FloorplanPlugin/render/index.mjs +3 -3
  281. package/plugins/FloorplanPlugin/render/isPointInPolygon.js +3 -3
  282. package/plugins/FloorplanPlugin/render/isPointInPolygon.mjs +3 -3
  283. package/plugins/FloorplanPlugin/render/renderFloor.js +3 -3
  284. package/plugins/FloorplanPlugin/render/renderFloor.mjs +3 -3
  285. package/plugins/FloorplanPlugin/render/roomLabelVisibility.js +3 -3
  286. package/plugins/FloorplanPlugin/render/roomLabelVisibility.mjs +3 -3
  287. package/plugins/FloorplanPlugin/render/style.css_raw.js +4 -4
  288. package/plugins/FloorplanPlugin/render/style.css_raw.mjs +4 -4
  289. package/plugins/FloorplanPlugin/utils/changeMode.js +3 -3
  290. package/plugins/FloorplanPlugin/utils/changeMode.mjs +3 -3
  291. package/plugins/FloorplanPlugin/utils/changeModelCanvasOpacity.js +3 -3
  292. package/plugins/FloorplanPlugin/utils/changeModelCanvasOpacity.mjs +3 -3
  293. package/plugins/FloorplanPlugin/utils/correctFiveState.js +3 -3
  294. package/plugins/FloorplanPlugin/utils/correctFiveState.mjs +3 -3
  295. package/plugins/FloorplanPlugin/utils/equal.js +3 -3
  296. package/plugins/FloorplanPlugin/utils/equal.mjs +3 -3
  297. package/plugins/FloorplanPlugin/utils/filter.js +3 -3
  298. package/plugins/FloorplanPlugin/utils/filter.mjs +3 -3
  299. package/plugins/FloorplanPlugin/utils/fiveModelLoad.js +3 -3
  300. package/plugins/FloorplanPlugin/utils/fiveModelLoad.mjs +3 -3
  301. package/plugins/FloorplanPlugin/utils/formatData.js +3 -3
  302. package/plugins/FloorplanPlugin/utils/formatData.mjs +3 -3
  303. package/plugins/FloorplanPlugin/utils/formatFloorplanJson.js +3 -3
  304. package/plugins/FloorplanPlugin/utils/formatFloorplanJson.mjs +3 -3
  305. package/plugins/FloorplanPlugin/utils/formatPosition.js +3 -3
  306. package/plugins/FloorplanPlugin/utils/formatPosition.mjs +3 -3
  307. package/plugins/FloorplanPlugin/utils/getDistanceFromModel.js +3 -3
  308. package/plugins/FloorplanPlugin/utils/getDistanceFromModel.mjs +3 -3
  309. package/plugins/FloorplanPlugin/utils/getPxmm.js +3 -3
  310. package/plugins/FloorplanPlugin/utils/getPxmm.mjs +3 -3
  311. package/plugins/FloorplanPlugin/utils/isTruelyObject.js +3 -3
  312. package/plugins/FloorplanPlugin/utils/isTruelyObject.mjs +3 -3
  313. package/plugins/FloorplanPlugin/utils/nearlyEqual.js +3 -3
  314. package/plugins/FloorplanPlugin/utils/nearlyEqual.mjs +3 -3
  315. package/plugins/FloorplanPlugin/utils/polylabel.js +3 -3
  316. package/plugins/FloorplanPlugin/utils/polylabel.mjs +3 -3
  317. package/plugins/FloorplanPlugin/utils/to.js +3 -3
  318. package/plugins/FloorplanPlugin/utils/to.mjs +3 -3
  319. package/plugins/GaussianSplattingEntranceAnimationPlugin/Controller.d.ts +6 -0
  320. package/plugins/GaussianSplattingEntranceAnimationPlugin/Controller.js +3 -3
  321. package/plugins/GaussianSplattingEntranceAnimationPlugin/Controller.mjs +3 -3
  322. package/plugins/GaussianSplattingEntranceAnimationPlugin/index.js +3 -3
  323. package/plugins/GaussianSplattingEntranceAnimationPlugin/index.mjs +3 -3
  324. package/plugins/Object3DHelperPlugin/Controller.js +3 -3
  325. package/plugins/Object3DHelperPlugin/Controller.mjs +3 -3
  326. package/plugins/Object3DHelperPlugin/Controllers/BaseController.js +3 -3
  327. package/plugins/Object3DHelperPlugin/Controllers/BaseController.mjs +3 -3
  328. package/plugins/Object3DHelperPlugin/Controllers/BoundingBoxController.js +3 -3
  329. package/plugins/Object3DHelperPlugin/Controllers/BoundingBoxController.mjs +3 -3
  330. package/plugins/Object3DHelperPlugin/Controllers/MoveController.js +3 -3
  331. package/plugins/Object3DHelperPlugin/Controllers/MoveController.mjs +3 -3
  332. package/plugins/Object3DHelperPlugin/Controllers/RotateController.js +3 -3
  333. package/plugins/Object3DHelperPlugin/Controllers/RotateController.mjs +3 -3
  334. package/plugins/Object3DHelperPlugin/FiveControllerWrapper.js +3 -3
  335. package/plugins/Object3DHelperPlugin/FiveControllerWrapper.mjs +3 -3
  336. package/plugins/Object3DHelperPlugin/Helper/BaseHelper.js +3 -3
  337. package/plugins/Object3DHelperPlugin/Helper/BaseHelper.mjs +3 -3
  338. package/plugins/Object3DHelperPlugin/Helper/BoundingBoxHelper.js +3 -3
  339. package/plugins/Object3DHelperPlugin/Helper/BoundingBoxHelper.mjs +3 -3
  340. package/plugins/Object3DHelperPlugin/Helper/MoveHelper.js +3 -3
  341. package/plugins/Object3DHelperPlugin/Helper/MoveHelper.mjs +3 -3
  342. package/plugins/Object3DHelperPlugin/Helper/RotateHelper.js +3 -3
  343. package/plugins/Object3DHelperPlugin/Helper/RotateHelper.mjs +3 -3
  344. package/plugins/Object3DHelperPlugin/constant.js +3 -3
  345. package/plugins/Object3DHelperPlugin/constant.mjs +3 -3
  346. package/plugins/Object3DHelperPlugin/index.js +3 -3
  347. package/plugins/Object3DHelperPlugin/index.mjs +3 -3
  348. package/plugins/Object3DHelperPlugin/utils/ArrowGroup.js +3 -3
  349. package/plugins/Object3DHelperPlugin/utils/ArrowGroup.mjs +3 -3
  350. package/plugins/Object3DHelperPlugin/utils/CenterHandle.js +3 -3
  351. package/plugins/Object3DHelperPlugin/utils/CenterHandle.mjs +3 -3
  352. package/plugins/Object3DHelperPlugin/utils/PlaneHandle.js +3 -3
  353. package/plugins/Object3DHelperPlugin/utils/PlaneHandle.mjs +3 -3
  354. package/plugins/Object3DHelperPlugin/utils/calculateScaleByCamera.js +3 -3
  355. package/plugins/Object3DHelperPlugin/utils/calculateScaleByCamera.mjs +3 -3
  356. package/plugins/Object3DHelperPlugin/utils/cameraHooks.js +3 -3
  357. package/plugins/Object3DHelperPlugin/utils/cameraHooks.mjs +3 -3
  358. package/plugins/Object3DHelperPlugin/utils/direction.js +3 -3
  359. package/plugins/Object3DHelperPlugin/utils/direction.mjs +3 -3
  360. package/plugins/Object3DHelperPlugin/utils/getMouseRaycaster.js +3 -3
  361. package/plugins/Object3DHelperPlugin/utils/getMouseRaycaster.mjs +3 -3
  362. package/plugins/Object3DHelperPlugin/utils/getOrthographicCameraDirection.js +3 -3
  363. package/plugins/Object3DHelperPlugin/utils/getOrthographicCameraDirection.mjs +3 -3
  364. package/plugins/Object3DHelperPlugin/utils/setObjectQuaternion.js +3 -3
  365. package/plugins/Object3DHelperPlugin/utils/setObjectQuaternion.mjs +3 -3
  366. package/plugins/Object3DHelperPlugin/utils/solidGuide.js +3 -3
  367. package/plugins/Object3DHelperPlugin/utils/solidGuide.mjs +3 -3
  368. package/plugins/Object3DHelperPlugin/utils/tipsDom.js +3 -3
  369. package/plugins/Object3DHelperPlugin/utils/tipsDom.mjs +3 -3
  370. package/plugins/PanoAnimePlugin/Controller.js +3 -3
  371. package/plugins/PanoAnimePlugin/Controller.mjs +3 -3
  372. package/plugins/PanoAnimePlugin/index.js +3 -3
  373. package/plugins/PanoAnimePlugin/index.mjs +3 -3
  374. package/plugins/WordPassPlugin/Controller.js +3 -3
  375. package/plugins/WordPassPlugin/Controller.mjs +3 -3
  376. package/plugins/WordPassPlugin/hersheyFont.js +3 -3
  377. package/plugins/WordPassPlugin/hersheyFont.mjs +3 -3
  378. package/plugins/WordPassPlugin/index.js +3 -3
  379. package/plugins/WordPassPlugin/index.mjs +3 -3
  380. package/plugins/WordPassPlugin/textToStrokeOrderStrokes.js +4 -4
  381. package/plugins/WordPassPlugin/textToStrokeOrderStrokes.mjs +4 -4
  382. package/plugins/WordPassPlugin/word-pass.js +3 -3
  383. package/plugins/WordPassPlugin/word-pass.mjs +3 -3
  384. package/plugins/index.js +3 -3
  385. package/plugins/index.mjs +3 -3
  386. package/plugins/thirdParty/CSS2DRenderer.js +3 -3
  387. package/plugins/thirdParty/CSS2DRenderer.mjs +3 -3
  388. package/plugins/thirdParty/CSS3DRenderer.js +3 -3
  389. package/plugins/thirdParty/CSS3DRenderer.mjs +3 -3
  390. package/plugins/thirdParty/doctorstrange-model.js +75 -75
  391. package/plugins/thirdParty/doctorstrange-model.mjs +75 -75
  392. package/plugins/thirdParty/domevents.js +3 -3
  393. package/plugins/thirdParty/domevents.mjs +3 -3
  394. package/plugins/utils/absoluteUrl.js +3 -3
  395. package/plugins/utils/absoluteUrl.mjs +3 -3
  396. package/plugins/utils/calculatePath.js +3 -3
  397. package/plugins/utils/calculatePath.mjs +3 -3
  398. package/plugins/utils/clamp.js +3 -3
  399. package/plugins/utils/clamp.mjs +3 -3
  400. package/plugins/utils/uuid.js +3 -3
  401. package/plugins/utils/uuid.mjs +3 -3
  402. package/react/hooks/useFiveModelReadyState.d.ts +1 -1
  403. package/react/index.js +3 -3
  404. package/react/index.mjs +3 -644
  405. package/sticker/index.d.ts +7 -0
  406. package/sticker/index.js +46 -3
  407. package/sticker/index.mjs +43 -103
  408. package/umd/five-gltf-loader.js +3 -3
  409. package/umd/five-line.js +3 -3
  410. package/umd/five-plugins.js +3 -3
  411. package/umd/five-react.js +2 -2
  412. package/umd/five-sticker.js +46 -3
  413. package/umd/five-vfx.js +2 -2
  414. package/umd/five.js +216 -179
  415. package/vfx/index.js +3 -3
  416. package/vfx/index.mjs +3 -486
  417. package/work-downloader/index.js +3 -3
  418. package/work-downloader/index.mjs +3 -315
  419. package/docs/functions/index.loadAt3d.html +0 -1
  420. package/docs/functions/index.loadDome.html +0 -1
  421. package/docs/functions/index.loadDomez.html +0 -1
  422. package/docs/functions/index.loadGltf.html +0 -1
  423. package/docs/functions/index.loadPbm.html +0 -1
  424. package/docs/functions/index.loadPly.html +0 -1
  425. package/five/certificates/hardware.d.ts +0 -1
  426. package/five/gaussian-splatting/shStore.d.ts +0 -22
  427. package/five/thirdparty/jsrsasign.d.ts +0 -753
  428. package/five/work/keychain.d.ts +0 -5
  429. package/five/work/verify.d.ts +0 -7
  430. package/five/work/workVerify.d.ts +0 -2
  431. /package/five/{work/_ALLOW_HOST.d.ts → renderer/compute-renderers/shaders/composite-additive.d.ts} +0 -0
@@ -0,0 +1,338 @@
1
+ /**
2
+ * @license
3
+ * @realsee/five-webgpu
4
+ * Generated: 2026/11/3
5
+ * Version: 1.0.0-alpha.14
6
+ * License:
7
+ * Realsee SDK License Agreement
8
+
9
+ * Last updated: 2026-09-22
10
+
11
+ * THIS LICENSE AGREEMENT BETWEEN YOU AND BEIKE REALSEE TECHNOLOGY (HK) LIMITED
12
+ * (“Realsee”) FORMS A LEGALLY BINDING CONTRACT BETWEEN YOU AND REALSEE IN RELATION
13
+ * TO YOUR USE OF THE SDK. This License Agreement accompanies the Realsee Software
14
+ * Development Kit(s) for the software and related explanatory materials (the
15
+ * "SDK") and includes any upgrades, modified versions, updates, additions, and
16
+ * copies of the SDK licensed to You by Realsee.
17
+
18
+ * BY DOWNLOADING, INSTALLING, OR OTHERWISE ACCESSING OR USING THE SDK, YOU AGREE
19
+ * THAT YOU HAVE READ, UNDERSTOOD, AND AGREE TO BE BOUND BY THIS AGREEMENT. YOU ARE
20
+ * AGREEING ON YOUR OWN BEHALF AND/OR ON BEHALF OF YOUR COMPANY OR ORGANIZATION TO
21
+ * THE TERMS AND CONDITIONS STATED BELOW.
22
+
23
+ * This Agreement applies to Your use of the SDK in the country in which You
24
+ * legally install it (“Territory”) and is subject to the laws of such Territory
25
+ * and further subject to Section 12 below. Different terms, conditions, and
26
+ * limitations may apply to the use of the SDK in any additional countries.
27
+
28
+ * 1. DEFINITIONS.
29
+
30
+ * “Agreement” means this Realsee SDK License Agreement.
31
+
32
+ * “Developer”, “You” and “Your” means the person(s) or entity acquiring or using
33
+ * the SDK or otherwise exercising rights under the terms of this Agreement.
34
+
35
+ * “Documentation” means the technical or other specifications or documentation
36
+ * that Realsee may provide to You for use in connection with the SDK.
37
+
38
+ * “Integrated Product” means any software, website, or on-line service developed
39
+ * by You based on or using the SDK (collectively, the “Integrated Product”).
40
+
41
+ * “Intellectual Property” means any patents, patent rights, trademarks, service
42
+ * marks, registered and unregistered designs, applications for any of the
43
+ * foregoing, copyright, and any other similar protected rights in any country and
44
+ * to the extent recognised by any relevant jurisdiction as intellectual property,
45
+ * trade secrets, know-how and confidential information. Realsee reserves all
46
+ * rights not expressly granted to You.
47
+
48
+ * “Realsee” means [Beike Realsee Technology (HK) Limited, a company incorporated
49
+ * and validly existing under the laws of Hong Kong].
50
+
51
+ * “SDK” means the Realsee-proprietary Software Development Kits (SDK) provided
52
+ * hereunder, includes all development tools (including any compiler and debugger),
53
+ * application programming interfaces (“APIs”), libraries, binary utilities, header
54
+ * files, Documentation, content, data, code samples, and other materials provided
55
+ * to You in connection with this Agreement, whether delivered through a download,
56
+ * or any other media or form, and is licensed, not sold, to You by Realsee for use
57
+ * only under the terms of this Agreement. The terms of this Agreement will govern
58
+ * any updates provided by Realsee that replace and/or supplement the original SDK
59
+ * delivered to You, unless such update is accompanied by a separate license, in
60
+ * which case the terms of such license will govern.
61
+
62
+ * “Term” means the period commencing on the date You first download, install,
63
+ * access, or use the SDK, and continuing until this Agreement is terminated in
64
+ * accordance with Section 6.
65
+
66
+ * 2. LICENSED USES AND RESTRICTIONS.
67
+
68
+ * 2.1 Subject to the restrictions contained in this Section 2, Realsee grants to
69
+ * You during the Term, a limited, non-exclusive, revocable, non-sublicensable,
70
+ * non-transferable license to install, use, and integrate the SDK within the
71
+ * Territory only for the purpose of developing, testing, operating and supporting
72
+ * Integrated Products.
73
+
74
+ * 2.2 Restrictions. You acknowledge and agree that, You shall not, and shall
75
+ * ensure that Your affiliates, employees, agents, representatives, officers, and
76
+ * subcontractors do not (directly or indirectly):
77
+
78
+ * 2.2.1 decompile, reverse engineer, disassemble or attempt to derive the source
79
+ * code of, those components of the SDK provided in object code form, or any part
80
+ * thereof;
81
+
82
+ * 2.2.2 remove, alter, or obscure any copyright notice or other proprietary rights
83
+ * notice on any part of the SDK;
84
+
85
+ * 2.2.3 sell, assign, pledge, rent, lease, lend, upload to or host on any website
86
+ * or server for use by any third party except You, redistribute, or sublicense the
87
+ * SDK (or any part thereof), or operate the SDK (or any part thereof) in the
88
+ * capacity of a service bureau or other hosted services provider, in whole or in
89
+ * part, nor may You enable others to do so;
90
+
91
+ * 2.2.4 alter, modify, customize or improve the SDK, or any part thereof;
92
+
93
+ * 2.2.5 use the SDK (or any part thereof) for any illegal purpose, in any manner
94
+ * that is inconsistent with the terms of this Agreement, or to engage in any
95
+ * illegal activity;
96
+
97
+ * 2.2.6 use the SDK (or any part thereof) in any manner that may damage the
98
+ * operation of Realsee’s products or services; or
99
+
100
+ * 2.2.7 use the SDK or any non-public information provided by Realsee for the
101
+ * primary purpose of developing products or services that substantially replicate
102
+ * the core functionality of Realsee proprietary SDK offerings;
103
+
104
+ * 2.2.8 distribute, re-sell, or make available the SDK (or any part thereof) as a
105
+ * standalone product, library, or development toolkit to any third party.
106
+
107
+ * 2.3 Realsee has the right to impose reasonable conditions such as a reasonable
108
+ * fee for use of the SDK in Integrated Product in the future.
109
+
110
+ * 2.4 You may make a limited number of copies of the SDK to be used by Your
111
+ * employees or consultants as provided herein, and not for general business
112
+ * purposes, and such employees or consultants shall be subject to the obligations
113
+ * and restrictions in this Agreement.
114
+
115
+ * 2.5 All licenses not expressly granted in this Agreement are reserved and no
116
+ * other licenses, immunity, or rights, express or implied, are granted by Realsee,
117
+ * by implication, estoppel, or otherwise.
118
+
119
+ * 3. CONFIDENTIALITY.
120
+
121
+ * The SDK and all source code, Documentation, specifications, engineering details,
122
+ * and related information pertaining to the SDK, whether in oral, written,
123
+ * graphic, or electronic form, are and shall remain the confidential and
124
+ * proprietary information of Realsee or its licensors (collectively, the
125
+ * “Confidential Information”). You shall (i) disclose Confidential Information to
126
+ * only those directors and employees (collectively, “Affiliates”) whose duties
127
+ * justify their need to know such information and who have been clearly informed
128
+ * of their obligation to maintain the confidential, proprietary, and/or trade
129
+ * secret status of such Confidential Information; and (ii) use Confidential
130
+ * Information solely in accordance with the license granted hereunder. In any
131
+ * event, You and Your Affiliates shall treat Confidential Information as strictly
132
+ * confidential and shall use the same care to prevent disclosure of such
133
+ * information as You use with respect to Your own similar confidential and/or
134
+ * proprietary information, which shall not be less than the care a reasonable
135
+ * person would use under similar circumstances. All Confidential Information, and
136
+ * any copies thereof, shall be returned promptly to Realsee upon request. You
137
+ * shall ensure that Your Affiliates comply with the provisions of this Section 3,
138
+ * and You shall be liable for any breach of this Section 3 resulting from the act
139
+ * or omission of any of Your Affiliates. You shall not disclose Confidential
140
+ * Information to any third party, including, without limitation, any of Your
141
+ * subcontractors.
142
+
143
+ * 4. PROPRIETARY RIGHTS.
144
+
145
+ * 4.1 As between You and Realsee, Realsee and/or its licensors retain ownership of
146
+ * all right, title, and interest in, to, and under the SDK, including, without
147
+ * limitation, all patents, copyrights, trade secrets, trademarks and other
148
+ * intellectual property and other proprietary rights therein, and reserve all
149
+ * rights not expressly granted to You.
150
+
151
+ * 4.2 The items contained in the SDK are the intellectual property of Realsee and
152
+ * its licensors and are protected by PRC copyright and patent law, international
153
+ * treaty provisions and applicable laws of the country in which it is being used.
154
+ * You agree to protect all copyright and other ownership interests of Realsee
155
+ * and/or its licensors in all items in the SDK supplied under this License
156
+ * Agreement. You agree that all copies of the items in the SDK, reproduced for any
157
+ * reason by You, contain the same copyright notices, and other proprietary notices
158
+ * as appropriate, as appear on or in the original items delivered by Realsee in
159
+ * the SDK. Realsee and/or its licensors retain title and ownership of the items in
160
+ * the SDK, the media on which it is loaded, and all subsequent copies, regardless
161
+ * of the form or media in or on which the original and other copies may exist.
162
+ * Except as stated above, this Agreement does not grant You any rights to patents,
163
+ * copyrights, trade secrets, trademarks or any other rights in respect to the
164
+ * items in the SDK.
165
+
166
+ * 5. DATA PRIVACY AND PROTECTION
167
+
168
+ * 5.1 In connection with Your use of the SDK and any Integrated Product, You shall
169
+ * comply with all applicable privacy, data protection, cybersecurity, and
170
+ * cross-border data transfer laws and regulations. To the extent Your use of the
171
+ * SDK involves the collection, processing, transmission, disclosure, or storage of
172
+ * personal data or personal information, You shall be solely responsible for: (i)
173
+ * ensuring that You have a valid legal basis for such processing; (ii) providing
174
+ * all required notices and obtaining all necessary consents or authorisations; and
175
+ * (iii) implementing reasonable and appropriate technical and organisational
176
+ * measures to protect such data against unauthorised access, use, disclosure,
177
+ * alteration, or destruction.
178
+
179
+ * 5.2 You shall promptly notify Realsee of any material security incident relating
180
+ * to the SDK or Integrated Product that may materially affect Realsee, the SDK, or
181
+ * any personal data processed in connection with the SDK.
182
+
183
+ * 5.3 Developer shall be solely responsible for Developer’s compliance with
184
+ * applicable privacy, data protection, and cybersecurity laws in connection with
185
+ * the Integrated Product.
186
+
187
+ * 6. TERM AND TERMINATION.
188
+
189
+ * 6.1 This Agreement is effective until terminated. Realsee has the right to
190
+ * terminate this Agreement immediately, without judicial intervention, if You fail
191
+ * to comply with any term herein. Upon any such termination You must remove all
192
+ * full and partial copies of the items in the SDK from Your computer and
193
+ * discontinue the use of the items in the SDK.
194
+
195
+ * 6.2 Realsee may at any time, terminate the Agreement with You if: (A) You have
196
+ * breached any provision of the Agreement; or (B) Realsee is required to do so by
197
+ * law; or (C) Realsee decides to no longer provide the SDK or certain parts of the
198
+ * SDK to users in the country in which You are resident or from which You use the
199
+ * service, or the provision of the SDK or certain SDK services to You by Realsee
200
+ * is, in Realsee's sole discretion, no longer legally or commercially viable.
201
+
202
+ * 6.3 When the Agreement comes to an end, all of the legal rights, obligations and
203
+ * liabilities that You and Realsee have benefited from, been subject to (or which
204
+ * have accrued over time whilst the Agreement has been in force) or which are
205
+ * expressed to continue indefinitely, shall be unaffected by this cessation, and
206
+ * the provisions of Sections 3, 4, 5, 7, 8, 9, 10, and 11 shall continue to apply
207
+ * to such rights, obligations and liabilities indefinitely.
208
+
209
+ * 7. DISCLAIMER OF WARRANTY.
210
+
211
+ * YOU EXPRESSLY ACKNOWLEDGE AND AGREE THAT, TO THE EXTENT PERMITTED BY APPLICABLE
212
+ * LAW, USE OF THE SDK (OR ANY PART THEREOF) IS AT YOUR SOLE RISK AND THAT THE
213
+ * ENTIRE RISK AS TO SATISFACTORY QUALITY, PERFORMANCE, ACCURACY, AND EFFORT IS
214
+ * WITH YOU. REALSEE LICENSES THE SDK TO YOU ONLY ON AN "AS-IS" BASIS. REALSEE
215
+ * MAKES NO REPRESENTATION WITH RESPECT TO THE ADEQUACY OF ANY ITEMS IN THE SDK,
216
+ * WHETHER OR NOT USED BY YOU IN THE DEVELOPMENT OF INTEGRATED PRODUCT, FOR ANY
217
+ * PARTICULAR PURPOSE OR WITH RESPECT TO THEIR ADEQUACY TO PRODUCE ANY PARTICULAR
218
+ * RESULT. REALSEE AND ITS LICENSORS SHALL NOT BE LIABLE FOR LOSS OR DAMAGE ARISING
219
+ * OUT OF THIS AGREEMENT OR FROM THE DISTRIBUTION OR USE OF INTEGRATED PRODUCT
220
+ * CONTAINING PORTIONS OF THE SDK. REALSEE AND ITS LICENSORS DISCLAIM ALL
221
+ * WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED
222
+ * CONDITIONS OR WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
223
+ * OR NONINFRINGEMENT OF ANY THIRD PARTY RIGHT IN RESPECT OF THE ITEMS IN THE SDK
224
+ * OR ANY SERVICES RELATED TO THE SDK.
225
+
226
+ * REALSEE IS UNDER NO OBLIGATION TO PROVIDE ANY SUPPORT UNDER THIS LICENSE
227
+ * AGREEMENT, INCLUDING UPGRADES OR FUTURE VERSIONS OF THE SDK OR ANY PORTIONS
228
+ * THEREOF, TO YOU, END USER OR TO ANY OTHER PARTY.
229
+
230
+ * 8. LIMITATION OF LIABILITY.
231
+
232
+ * TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, IN NO EVENT WILL REALSEE OR ITS
233
+ * LICENSORS BE LIABLE FOR ANY DIRECT, INCIDENTAL, SPECIAL, INDIRECT, OR
234
+ * CONSEQUENTIAL DAMAGES, INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE,
235
+ * LOSS OF BUSINESS, REVENUE, OR PROFITS, LOSS OF OPPORTUNITY (WHETHER DIRECT OR
236
+ * INDIRECT), CORRUPTION OR LOSS OF DATA, LOSS OF REPUTATION OR SAVINGS, DOWNTIME,
237
+ * OR DAMAGE TO, LOSS OF OR REPLACEMENT OF DATA OR TRANSACTIONS, COST OF
238
+ * PROCUREMENT OF SUBSTITUTE SERVICES, BUSINESS INTERRUPTION, OR ANY OTHER
239
+ * COMMERCIAL DAMAGES OR LOSSES, ARISING OUT OF OR RELATED TO YOUR USE OR INABILITY
240
+ * TO USE THE SDK (OR ANY PART THEREOF), ANY INTEGRATED PRODUCT, OR ANY THIRD PARTY
241
+ * SOFTWARE, APPLICATIONS, OR SERVICES IN CONJUNCTION WITH THE SDK (OR ANY PART
242
+ * THEREOF), HOWEVER CAUSED, REGARDLESS OF THE THEORY OF LIABILITY (CONTRACT, TORT,
243
+ * OR OTHERWISE) AND EVEN IF REALSEE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
244
+ * DAMAGES. IN NO EVENT WILL REALSEE’S TOTAL LIABILITY TO YOU FOR ALL DAMAGES
245
+ * EXCEED ONE HUNDRED DOLLARS ($100.00). THE FOREGOING LIMITATIONS WILL APPLY EVEN
246
+ * IF THE ABOVE STATED REMEDY FAILS OF ITS ESSENTIAL PURPOSE. THE LIMITATIONS
247
+ * CONTAINED IN SECTION 7 AND THIS SECTION 8 ARE A FUNDAMENTAL PART OF THE BASIS OF
248
+ * REALSEE’S BARGAIN HEREUNDER, AND REALSEE WOULD NOT ENTER INTO THIS AGREEMENT OR
249
+ * PROVIDE YOU WITH ACCESS TO THE SDK ABSENT SUCH LIMITATIONS.
250
+
251
+ * 9. INDEMNIFICATION.
252
+
253
+ * To the extent permitted by applicable law, You agree to indemnify, defend and
254
+ * hold harmless Realsee, its affiliates and each of their directors, officers,
255
+ * employees, independent contractors, and agents (each a “Realsee Indemnified
256
+ * Party”) from any and all claims, losses, liabilities, damages, expenses, and
257
+ * costs (including without limitation attorneys’ fees and court costs) incurred by
258
+ * a Realsee Indemnified Party as a result of: (i) Your non-compliance with any
259
+ * terms of this Agreement; (ii) Your use of the SDK (or any part thereof); or
260
+ * (iii) Your use of any Integrated Product, including any claim that Integrated
261
+ * Product infringes the copyright, trademark, trade secret or other intellectual
262
+ * property right of a third party.
263
+
264
+ * 10. ACKNOWLEDGEMENTS.
265
+
266
+ * Portions of the SDK may utilize or include third party software and other
267
+ * copyrighted material. Acknowledgments, licensing terms, and disclaimers for such
268
+ * material are contained in Documentation for the SDK or may otherwise accompany
269
+ * such material, and Your use of such materials governed by their respective
270
+ * terms. In the event of conflict between the terms of this Agreement and an
271
+ * applicable open source or third party agreement, the open source or third party
272
+ * agreement will control solely with respect to the open source software or third
273
+ * party software. Moreover, You shall not subject any items (including not limited
274
+ * to source code, object code, and any software) included in the SDK to any open
275
+ * source license.
276
+
277
+ * 11. NON-BLOCKING OF REALSEE DEVELOPMENT.
278
+
279
+ * You acknowledge that Realsee is currently developing or may develop technologies
280
+ * and products in the future that have or may have design and/or functionality
281
+ * similar to Integrated Product that You may develop based on Your license herein.
282
+ * Nothing in this Agreement shall impair, limit or curtail Realsee's right to
283
+ * continue with its development, maintenance and/or distribution of Realsee's
284
+ * technology or products.
285
+
286
+ * 12. GENERAL.
287
+
288
+ * 12.1 Export Control. You may not use or otherwise export or re-export the SDK
289
+ * (or any part thereof) except as authorized by United States law and the laws of
290
+ * the jurisdiction(s) in which the SDK (or any part thereof) was obtained. In
291
+ * particular, but without limitation, the SDK may not be exported or re-exported
292
+ * (i) into any U.S. embargoed countries or (ii) to anyone on the U.S. Treasury
293
+ * Department's list of Specially Designated Nationals or the U.S. Department of
294
+ * Commerce Denied Person's List or Entity List. By using the SDK (or any part
295
+ * thereof), You represent and warrant that You are not located in any such country
296
+ * or on any such list.
297
+
298
+ * 12.2 Governing Law and Dispute Resolution.
299
+
300
+ * This Agreement shall be governed by the laws of the Hong Kong Special
301
+ * Administrative Region of the People's Republic of China, without regard to its
302
+ * conflict of laws principles. Any dispute arising out of or in connection with
303
+ * this Agreement, including its existence, validity, interpretation, performance,
304
+ * breach, or termination, shall first be submitted to thirty (30) days of good
305
+ * faith consultation, and if unresolved, to final and binding arbitration
306
+ * administered by the HKIAC in Hong Kong in English under the HKIAC Administered
307
+ * Arbitration Rules in force at the time of submission, with one (1) arbitrator
308
+ * unless the amount in dispute exceeds USD 1,000,000, in which case three (3)
309
+ * arbitrators shall be appointed. Either party may seek interim or injunctive
310
+ * relief from any court of competent jurisdiction notwithstanding the foregoing.
311
+
312
+ * 12.3 Severability. If any provision of this Agreement is held by a court of
313
+ * competent jurisdiction to be unenforceable for any reason, the remaining
314
+ * provisions hereof will be unaffected and remain in full force and effect.
315
+
316
+ * 12.4 Modifications. Realsee reserves the right, from time to time, with or
317
+ * without notice to You, to make revisions to this Agreement in our sole and
318
+ * absolute discretion. The most current version of this Agreement will supersede
319
+ * all previous versions and shall be made available on the website where the SDK
320
+ * is made available, or by such other means as Realsee may determine in its
321
+ * discretion. Any modified versions of this Agreement hereto shall take effect
322
+ * from the time that it is made available. You shall be responsible for regularly
323
+ * checking for notice of any such modifications. You agree that Your continued use
324
+ * of the SDK constitutes Your agreement to the modified Agreement.
325
+
326
+ * 12.5 Relationship of the Parties. This Agreement will not be construed as
327
+ * creating an agency, partnership, joint venture, fiduciary duty, or any other
328
+ * form of legal association between You and Realsee, and You will not represent to
329
+ * the contrary, whether expressly, by implication, appearance, or otherwise.
330
+
331
+ * 12.6 Entire Agreement; Governing Language. This Agreement constitutes the entire
332
+ * agreement between You and Realsee with respect to the use of the SDK licensed
333
+ * hereunder and supersedes all prior understandings regarding such subject matter.
334
+ * No amendment to or modification of this Agreement will be binding unless in
335
+ * writing and signed by Realsee. You and Realsee hereto confirm that this
336
+ * Agreement and all related documents shall be drafted in English.
337
+
338
+ */import{d as noop,n as getMemoryUsage,r as ROTATE_X_MATRIX,u as internalFetcher}from"./memoryUsage.mjs";import{t as lzma}from"./lzma.mjs";import{parse}from"./dome.mjs";import*as THREE from"three/webgpu";function loadDomez(url,options={}){var _a,_b,_c;let upAxis=(_a=options.upAxis)==null?`Z`:_a,fetcher=(_b=options.fetcher)==null?internalFetcher:_b,onDownloadProgress=(_c=options.onDownloadProgress)==null?noop:_c,data={byteLength:0};return Promise.resolve().then(()=>fetcher.ajax(url,{responseType:`arraybuffer`},void 0,void 0,onDownloadProgress)).then(response=>(data.byteLength=response.body.byteLength,lzma(response.body))).then(binaryArrays=>{let length=binaryArrays.reduce((prev,array)=>prev+array.length,0),mergeArrays=new Uint8Array(length),start=0;return binaryArrays.forEach(binaryArray=>{mergeArrays.set(binaryArray,start),start+=binaryArray.length}),mergeArrays}).then(mergeArrays=>{var _a,_b;return parse(mergeArrays,(_a=options.light)==null?!0:_a,options.textureBaseUri||``,(_b=options.textureOptions)==null?{}:_b,fetcher)}).then(result=>{let container=new THREE.Group;container.matrixAutoUpdate=!1,upAxis===`Z`&&container.applyMatrix4(ROTATE_X_MATRIX),container.matrix.compose(container.position,container.quaternion,container.scale),container.name=url;for(let mesh of result.objects)container.add(mesh);return{type:`domez`,modelUpAxis:`Y`,upAxis:`Z`,uri:url,byteLength:data.byteLength,memoryUsage:getMemoryUsage(container),scene:container,textures:result.textures,animations:[],dispose:()=>result.dispose()}})}export{loadDomez};