@realsee/five-webgpu 1.0.0-alpha.1

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 (674) hide show
  1. package/AGENTS_READ_ME.md +9 -0
  2. package/AI_CONTEXT.md +9 -0
  3. package/README.md +80 -0
  4. package/TERMS.txt +54 -0
  5. package/ai_guides/README.md +118 -0
  6. package/ai_guides/ai-doc-guidelines.md +102 -0
  7. package/ai_guides/api.md +274 -0
  8. package/ai_guides/features/3dtile.md +172 -0
  9. package/ai_guides/features/camera-animation.md +205 -0
  10. package/ai_guides/features/clipper.md +135 -0
  11. package/ai_guides/features/coordinate-system.md +128 -0
  12. package/ai_guides/features/event.md +154 -0
  13. package/ai_guides/features/five.md +184 -0
  14. package/ai_guides/features/gesture.md +181 -0
  15. package/ai_guides/features/get-screen-pixels.md +182 -0
  16. package/ai_guides/features/image-options.md +164 -0
  17. package/ai_guides/features/load-external-model.md +350 -0
  18. package/ai_guides/features/load-progress.md +140 -0
  19. package/ai_guides/features/material.md +153 -0
  20. package/ai_guides/features/mode.md +269 -0
  21. package/ai_guides/features/model.md +186 -0
  22. package/ai_guides/features/move-pano-effect.md +145 -0
  23. package/ai_guides/features/multi-work.md +146 -0
  24. package/ai_guides/features/pano-filter.md +144 -0
  25. package/ai_guides/features/pano-tile.md +132 -0
  26. package/ai_guides/features/pano-uv.md +131 -0
  27. package/ai_guides/features/parameter.md +153 -0
  28. package/ai_guides/features/raycast.md +175 -0
  29. package/ai_guides/features/request-proxy.md +112 -0
  30. package/ai_guides/features/screen-project.md +165 -0
  31. package/ai_guides/features/state.md +101 -0
  32. package/ai_guides/features/ultra-hdr.md +204 -0
  33. package/ai_guides/features/view-layer.md +187 -0
  34. package/ai_guides/features/work.md +303 -0
  35. package/ai_guides/glossary.md +93 -0
  36. package/ai_guides/intro.md +23 -0
  37. package/ai_guides/quick-start.md +69 -0
  38. package/ai_guides/release_notes/6.6.md +86 -0
  39. package/ai_guides/release_notes/6.7.md +401 -0
  40. package/ai_guides/release_notes/6.8.md +208 -0
  41. package/ai_guides/support.md +23 -0
  42. package/ai_guides/template.md +70 -0
  43. package/docs/.nojekyll +1 -0
  44. package/docs/00_FOR_AI_AGENTS.md +12 -0
  45. package/docs/README.md +12 -0
  46. package/docs/assets/hierarchy.js +1 -0
  47. package/docs/assets/highlight.css +134 -0
  48. package/docs/assets/icons.js +18 -0
  49. package/docs/assets/icons.svg +1 -0
  50. package/docs/assets/main.js +60 -0
  51. package/docs/assets/navigation.js +1 -0
  52. package/docs/assets/search.js +1 -0
  53. package/docs/assets/style.css +1633 -0
  54. package/docs/classes/index.AdaptiveLuminancePass.html +23 -0
  55. package/docs/classes/index.AnimationFrameLoop.html +18 -0
  56. package/docs/classes/index.BoundingMesh.html +4 -0
  57. package/docs/classes/index.Camera.html +42 -0
  58. package/docs/classes/index.EffectComposer.html +25 -0
  59. package/docs/classes/index.EyeDomeLightingPass.html +20 -0
  60. package/docs/classes/index.Fetcher.html +5 -0
  61. package/docs/classes/index.Five.html +311 -0
  62. package/docs/classes/index.FivePass.html +17 -0
  63. package/docs/classes/index.FiveRenderer.html +8 -0
  64. package/docs/classes/index.FlowingFireworks3DPass.html +22 -0
  65. package/docs/classes/index.FlowingLight2DPass.html +21 -0
  66. package/docs/classes/index.FlowingLight3DPass.html +23 -0
  67. package/docs/classes/index.FullScreenQuad.html +7 -0
  68. package/docs/classes/index.GaussianBlurPass.html +19 -0
  69. package/docs/classes/index.Histogram.html +19 -0
  70. package/docs/classes/index.InternalWebGPURenderer.html +4 -0
  71. package/docs/classes/index.Model.html +93 -0
  72. package/docs/classes/index.ModelScene.html +40 -0
  73. package/docs/classes/index.Motion.html +17 -0
  74. package/docs/classes/index.NetworkSubscribe.html +41 -0
  75. package/docs/classes/index.PBMGaussianSplattingNodeMaterial.html +37 -0
  76. package/docs/classes/index.PBMGaussianSplattingObject.html +32 -0
  77. package/docs/classes/index.PBMGaussianSplattingRenderMesh.html +19 -0
  78. package/docs/classes/index.PBMGroup.html +5 -0
  79. package/docs/classes/index.PBMMesh.html +2 -0
  80. package/docs/classes/index.PBMMeshBasicMaterial.html +70 -0
  81. package/docs/classes/index.PBMMeshBasicNodeMaterial.html +74 -0
  82. package/docs/classes/index.PBMMeshPanoOnlyMaterial.html +70 -0
  83. package/docs/classes/index.PBMMeshPanoOnlyNodeMaterial.html +74 -0
  84. package/docs/classes/index.PBMMeshPhongMaterial.html +69 -0
  85. package/docs/classes/index.PBMMeshPhongNodeMaterial.html +73 -0
  86. package/docs/classes/index.PBMMeshPhysicalMaterial.html +69 -0
  87. package/docs/classes/index.PBMMeshPhysicalNodeMaterial.html +73 -0
  88. package/docs/classes/index.PBMPanoFilter.html +61 -0
  89. package/docs/classes/index.PBMPointCloud.html +50 -0
  90. package/docs/classes/index.PBMSkinnedMesh.html +8 -0
  91. package/docs/classes/index.PBMUpdateable.html +41 -0
  92. package/docs/classes/index.PanoCircleMesh.html +30 -0
  93. package/docs/classes/index.PanoCircleMeshCustom.html +30 -0
  94. package/docs/classes/index.PanoCircleMeshSolid.html +30 -0
  95. package/docs/classes/index.Parameter.html +114 -0
  96. package/docs/classes/index.Scene.html +18 -0
  97. package/docs/classes/index.Subscribe.html +43 -0
  98. package/docs/classes/index.TextureLoader.html +4 -0
  99. package/docs/classes/index.Tile.html +34 -0
  100. package/docs/classes/index.Tile3D.html +98 -0
  101. package/docs/classes/index.TileCache.html +8 -0
  102. package/docs/classes/index.TileNode.html +14 -0
  103. package/docs/classes/index.TileRequestScheduler.html +4 -0
  104. package/docs/classes/index.Tileset.html +38 -0
  105. package/docs/classes/index.Trajectory.html +8 -0
  106. package/docs/classes/index.TrajectoryNode.html +8 -0
  107. package/docs/classes/index.Work.html +52 -0
  108. package/docs/classes/index.WorkResolvedObserver.html +68 -0
  109. package/docs/documents/README.html +134 -0
  110. package/docs/documents/ai-doc-guidelines.html +117 -0
  111. package/docs/documents/api.html +337 -0
  112. package/docs/documents/features_3dtile.html +216 -0
  113. package/docs/documents/features_camera-animation.html +157 -0
  114. package/docs/documents/features_clipper.html +80 -0
  115. package/docs/documents/features_coordinate-system.html +127 -0
  116. package/docs/documents/features_event.html +104 -0
  117. package/docs/documents/features_five.html +147 -0
  118. package/docs/documents/features_gesture.html +121 -0
  119. package/docs/documents/features_get-screen-pixels.html +88 -0
  120. package/docs/documents/features_image-options.html +108 -0
  121. package/docs/documents/features_load-external-model.html +600 -0
  122. package/docs/documents/features_load-progress.html +110 -0
  123. package/docs/documents/features_material.html +341 -0
  124. package/docs/documents/features_mode.html +114 -0
  125. package/docs/documents/features_model.html +141 -0
  126. package/docs/documents/features_move-pano-effect.html +110 -0
  127. package/docs/documents/features_multi-work.html +97 -0
  128. package/docs/documents/features_pano-filter.html +119 -0
  129. package/docs/documents/features_pano-tile.html +100 -0
  130. package/docs/documents/features_pano-uv.html +82 -0
  131. package/docs/documents/features_parameter.html +101 -0
  132. package/docs/documents/features_raycast.html +98 -0
  133. package/docs/documents/features_request-proxy.html +78 -0
  134. package/docs/documents/features_screen-project.html +112 -0
  135. package/docs/documents/features_state.html +71 -0
  136. package/docs/documents/features_ultra-hdr.html +188 -0
  137. package/docs/documents/features_view-layer.html +158 -0
  138. package/docs/documents/features_work.html +129 -0
  139. package/docs/documents/glossary.html +94 -0
  140. package/docs/documents/intro.html +24 -0
  141. package/docs/documents/quick-start.html +32 -0
  142. package/docs/documents/release_notes_6.6.html +79 -0
  143. package/docs/documents/release_notes_6.7.html +209 -0
  144. package/docs/documents/release_notes_6.8.html +189 -0
  145. package/docs/documents/support.html +49 -0
  146. package/docs/documents/template.html +80 -0
  147. package/docs/enums/index.VolumePlaneIntersect.html +4 -0
  148. package/docs/functions/index.coordinatesToVector.html +2 -0
  149. package/docs/functions/index.createDebugBoundingMesh.html +1 -0
  150. package/docs/functions/index.createWorks.html +1 -0
  151. package/docs/functions/index.defaultImageURLTransform.html +5 -0
  152. package/docs/functions/index.getViewportScale.html +1 -0
  153. package/docs/functions/index.headingToLongitude.html +4 -0
  154. package/docs/functions/index.imageSupport.html +1 -0
  155. package/docs/functions/index.isBoundingVolume.html +1 -0
  156. package/docs/functions/index.isPanoId.html +1 -0
  157. package/docs/functions/index.loadAt3d.html +1 -0
  158. package/docs/functions/index.loadDome.html +1 -0
  159. package/docs/functions/index.loadDomez.html +1 -0
  160. package/docs/functions/index.loadGltf.html +1 -0
  161. package/docs/functions/index.loadPbm.html +1 -0
  162. package/docs/functions/index.loadPly.html +1 -0
  163. package/docs/functions/index.longitudeToHeading.html +4 -0
  164. package/docs/functions/index.makeBoundingVolume.html +1 -0
  165. package/docs/functions/index.panoEqual.html +1 -0
  166. package/docs/functions/index.panoParse.html +1 -0
  167. package/docs/functions/index.panoStringify.html +1 -0
  168. package/docs/functions/index.parseWork.html +7 -0
  169. package/docs/functions/index.registerPBMMaterials.html +3 -0
  170. package/docs/functions/index.vectorToCoordinates.html +2 -0
  171. package/docs/functions/index.workToJson.html +1 -0
  172. package/docs/hierarchy.html +1 -0
  173. package/docs/index.html +134 -0
  174. package/docs/interfaces/index.AddableObject.html +9 -0
  175. package/docs/interfaces/index.AjaxOptions.html +9 -0
  176. package/docs/interfaces/index.AnimationFrame.html +6 -0
  177. package/docs/interfaces/index.AnimationFrameContext.html +3 -0
  178. package/docs/interfaces/index.BaseEvent.html +5 -0
  179. package/docs/interfaces/index.BoundingVolume.html +15 -0
  180. package/docs/interfaces/index.BoxBoundingVolume.html +18 -0
  181. package/docs/interfaces/index.CameraPose.html +6 -0
  182. package/docs/interfaces/index.CullingVolume.html +9 -0
  183. package/docs/interfaces/index.Draco.html +12 -0
  184. package/docs/interfaces/index.EventCallback.html +394 -0
  185. package/docs/interfaces/index.FiveInitArgs.html +104 -0
  186. package/docs/interfaces/index.FiveLoadOptions.html +12 -0
  187. package/docs/interfaces/index.FloorplanControllerCustomInitArgs.html +17 -0
  188. package/docs/interfaces/index.GestureEvent.html +19 -0
  189. package/docs/interfaces/index.IPBMMaterial.html +64 -0
  190. package/docs/interfaces/index.ImageOptions.html +21 -0
  191. package/docs/interfaces/index.ImageURLMappings.html +1 -0
  192. package/docs/interfaces/index.ImageURLOptions.html +17 -0
  193. package/docs/interfaces/index.IntersectEvent.html +8 -0
  194. package/docs/interfaces/index.IntersectMesh.html +2 -0
  195. package/docs/interfaces/index.IntersectMeshInterface.html +3 -0
  196. package/docs/interfaces/index.Intersection.html +9 -0
  197. package/docs/interfaces/index.LoosePanoWork.html +10 -0
  198. package/docs/interfaces/index.LooseWork.html +15 -0
  199. package/docs/interfaces/index.LooseWorkInitial.html +11 -0
  200. package/docs/interfaces/index.LooseWorkModel.html +8 -0
  201. package/docs/interfaces/index.LooseWorkObserver.html +17 -0
  202. package/docs/interfaces/index.LooseWorkPanorama.html +22 -0
  203. package/docs/interfaces/index.LooseWorkVideo.html +4 -0
  204. package/docs/interfaces/index.LooseWorkWithExtrinsics.html +15 -0
  205. package/docs/interfaces/index.MapviewControllerCustomInitArgs.html +20 -0
  206. package/docs/interfaces/index.ModeChangeEvent.html +9 -0
  207. package/docs/interfaces/index.ModelControllerCustomInitArgs.html +20 -0
  208. package/docs/interfaces/index.ModelEvent.html +8 -0
  209. package/docs/interfaces/index.ModelOptions.html +11 -0
  210. package/docs/interfaces/index.ModelSceneEvent.html +6 -0
  211. package/docs/interfaces/index.ModelTileEvent.html +8 -0
  212. package/docs/interfaces/index.MotionKeyframe.html +4 -0
  213. package/docs/interfaces/index.MovePanoOptions.html +35 -0
  214. package/docs/interfaces/index.NetworkAbortError.html +1 -0
  215. package/docs/interfaces/index.NetworkFirbiddenError.html +1 -0
  216. package/docs/interfaces/index.NetworkOptions.html +7 -0
  217. package/docs/interfaces/index.NetworkProxyError.html +1 -0
  218. package/docs/interfaces/index.NetworkResourceEvent.html +9 -0
  219. package/docs/interfaces/index.NetworkResponseError.html +2 -0
  220. package/docs/interfaces/index.NetworkTimeoutError.html +1 -0
  221. package/docs/interfaces/index.ObjectEvent.html +6 -0
  222. package/docs/interfaces/index.PBMClipperParameter.html +3 -0
  223. package/docs/interfaces/index.PBMHDRConfig.html +12 -0
  224. package/docs/interfaces/index.PBMPanoDepth.html +9 -0
  225. package/docs/interfaces/index.PBMPanoFilterValue.html +6 -0
  226. package/docs/interfaces/index.PBMPanoPicture.html +14 -0
  227. package/docs/interfaces/index.PBMRefinedScreen.html +6 -0
  228. package/docs/interfaces/index.PanoCircleMeshCustomOptions.html +9 -0
  229. package/docs/interfaces/index.PanoCircleMeshInterface.html +30 -0
  230. package/docs/interfaces/index.PanoCircleMeshOptions.html +3 -0
  231. package/docs/interfaces/index.PanoCircleMeshSolidOptions.html +3 -0
  232. package/docs/interfaces/index.PanoEvent.html +11 -0
  233. package/docs/interfaces/index.PanoTextureEvent.html +9 -0
  234. package/docs/interfaces/index.PanoramaControllerCustomInitArgs.html +41 -0
  235. package/docs/interfaces/index.PanoramaLikeControllerCustomInitArgs.html +20 -0
  236. package/docs/interfaces/index.ParameterMaterialValue.html +74 -0
  237. package/docs/interfaces/index.ParameterTilesetValue.html +30 -0
  238. package/docs/interfaces/index.ParameterValue.html +103 -0
  239. package/docs/interfaces/index.Pass.html +9 -0
  240. package/docs/interfaces/index.PointCloudData.html +6 -0
  241. package/docs/interfaces/index.Pose.html +12 -0
  242. package/docs/interfaces/index.RegionBoundingVolume.html +21 -0
  243. package/docs/interfaces/index.RenderEvent.html +6 -0
  244. package/docs/interfaces/index.ResolvedParameterValue.html +104 -0
  245. package/docs/interfaces/index.RgbaData.html +7 -0
  246. package/docs/interfaces/index.SphereBoundingVolume.html +17 -0
  247. package/docs/interfaces/index.SplatData.html +10 -0
  248. package/docs/interfaces/index.State.html +23 -0
  249. package/docs/interfaces/index.StateEvent.html +7 -0
  250. package/docs/interfaces/index.TextureOptions.html +23 -0
  251. package/docs/interfaces/index.Tile3DOptions.html +11 -0
  252. package/docs/interfaces/index.TileCoordinateSystem.html +3 -0
  253. package/docs/interfaces/index.TileHeader.html +9 -0
  254. package/docs/interfaces/index.TilesetHeader.html +20 -0
  255. package/docs/interfaces/index.TilesetOptions.html +7 -0
  256. package/docs/interfaces/index.TopviewControllerCustomInitArgs.html +13 -0
  257. package/docs/interfaces/index.TrajectoryHeader.html +5 -0
  258. package/docs/interfaces/index.ViewLayer.html +97 -0
  259. package/docs/interfaces/index.Viewport.html +13 -0
  260. package/docs/interfaces/index.WebXRAxesParams.html +4 -0
  261. package/docs/interfaces/index.WebXRControllerParams.html +2 -0
  262. package/docs/interfaces/index.WorkCubeImage.html +15 -0
  263. package/docs/interfaces/index.WorkImage.html +22 -0
  264. package/docs/interfaces/index.WorkInitial.html +17 -0
  265. package/docs/interfaces/index.WorkInitialJson.html +8 -0
  266. package/docs/interfaces/index.WorkJson.html +11 -0
  267. package/docs/interfaces/index.WorkModel.html +16 -0
  268. package/docs/interfaces/index.WorkModelJson.html +6 -0
  269. package/docs/interfaces/index.WorkModelLayer.html +11 -0
  270. package/docs/interfaces/index.WorkModelLayerJson.html +5 -0
  271. package/docs/interfaces/index.WorkObserver.html +63 -0
  272. package/docs/interfaces/index.WorkObserverJson.html +10 -0
  273. package/docs/interfaces/index.WorkPanoramaJson.html +14 -0
  274. package/docs/interfaces/index.WorkPanoramasJson.html +3 -0
  275. package/docs/interfaces/index.WorkTile.html +21 -0
  276. package/docs/interfaces/index.WorkVideo.html +9 -0
  277. package/docs/interfaces/index.WorksEvent.html +8 -0
  278. package/docs/interfaces/index.XRControllerEvent.html +8 -0
  279. package/docs/interfaces/index.XRGestureEvent.html +11 -0
  280. package/docs/interfaces/index.XRSessionEvent.html +7 -0
  281. package/docs/modules/index.html +1 -0
  282. package/docs/modules.html +1 -0
  283. package/docs/types/index.AjaxResponseType.html +1 -0
  284. package/docs/types/index.AjaxResponseTypeMapping.html +1 -0
  285. package/docs/types/index.AnimationFrameLoopType.html +1 -0
  286. package/docs/types/index.BoundingVolumeJson.html +1 -0
  287. package/docs/types/index.BoxBoundingVolumeJson.html +2 -0
  288. package/docs/types/index.ControllerCustomInitTypes.html +6 -0
  289. package/docs/types/index.ControllerEventTypes.html +68 -0
  290. package/docs/types/index.CubeFace.html +1 -0
  291. package/docs/types/index.EasingFunction.html +1 -0
  292. package/docs/types/index.EventTypes.html +28 -0
  293. package/docs/types/index.FivePlugin.html +4 -0
  294. package/docs/types/index.FivePluginInit.html +3 -0
  295. package/docs/types/index.FivePluginInstance.html +3 -0
  296. package/docs/types/index.FlowingFireworks3DPassLine.html +16 -0
  297. package/docs/types/index.FlowingLight2DPassLine.html +10 -0
  298. package/docs/types/index.FlowingLight3DPassLine.html +10 -0
  299. package/docs/types/index.GestureTypes.html +1 -0
  300. package/docs/types/index.LegacyEventType.html +282 -0
  301. package/docs/types/index.LoadResultType.html +12 -0
  302. package/docs/types/index.Mode.html +15 -0
  303. package/docs/types/index.Models.html +11 -0
  304. package/docs/types/index.MotionCircle.html +2 -0
  305. package/docs/types/index.MotionConfig.html +1 -0
  306. package/docs/types/index.MotionInitalValue.html +1 -0
  307. package/docs/types/index.MotionValue.html +1 -0
  308. package/docs/types/index.MovePanoEffect.html +12 -0
  309. package/docs/types/index.NetWorkMeta.html +8 -0
  310. package/docs/types/index.NetworkError.html +1 -0
  311. package/docs/types/index.NetworkErrorCallback.html +1 -0
  312. package/docs/types/index.NetworkProgressCallback.html +1 -0
  313. package/docs/types/index.NetworkResponse.html +3 -0
  314. package/docs/types/index.NetworkState.html +1 -0
  315. package/docs/types/index.NetworkSuccessCallback.html +1 -0
  316. package/docs/types/index.NetworkType.html +1 -0
  317. package/docs/types/index.OutputTextureDataType.html +1 -0
  318. package/docs/types/index.PBMAlphaMode.html +1 -0
  319. package/docs/types/index.PBMColorStyle.html +1 -0
  320. package/docs/types/index.PBMFloorStyle.html +1 -0
  321. package/docs/types/index.PBMMeshMaterial.html +1 -0
  322. package/docs/types/index.PBMPointBack.html +1 -0
  323. package/docs/types/index.PBMPointCloudShaderType.html +1 -0
  324. package/docs/types/index.PBMPointShape.html +1 -0
  325. package/docs/types/index.PBMPointSize.html +1 -0
  326. package/docs/types/index.PBMTransition.html +1 -0
  327. package/docs/types/index.Pano.html +3 -0
  328. package/docs/types/index.PanoId.html +1 -0
  329. package/docs/types/index.ParseOptions.html +13 -0
  330. package/docs/types/index.PostProcessingType.html +1 -0
  331. package/docs/types/index.RegionBoundingVolumeJson.html +2 -0
  332. package/docs/types/index.RequestAnimationFrameArgs.html +1 -0
  333. package/docs/types/index.Scissor.html +2 -0
  334. package/docs/types/index.SphereBoundingVolumeJson.html +2 -0
  335. package/docs/types/index.SubscribeEventMap.html +1 -0
  336. package/docs/types/index.TileCacheOptions.html +3 -0
  337. package/docs/types/index.TileContentData.html +6 -0
  338. package/docs/types/index.TileRequestOrder.html +1 -0
  339. package/docs/types/index.TileRequestSchedulerOptions.html +4 -0
  340. package/docs/types/index.TilesetFrameState.html +21 -0
  341. package/docs/types/index.TrajectoryContentData.html +7 -0
  342. package/docs/types/index.WebXRControllerKey.html +1 -0
  343. package/docs/types/index.WebXRControllerType.html +1 -0
  344. package/docs/types/index.Works.html +1 -0
  345. package/docs/variables/index.PROXY_CONTROLLER_EVENT_NAMES.html +1 -0
  346. package/docs/variables/index.controllersDefaultInitArgs.html +1 -0
  347. package/docs/variables/index.draco.html +1 -0
  348. package/five/application/analysis.d.ts +40 -0
  349. package/five/application/controllers.d.ts +33 -0
  350. package/five/application/events-legacy.d.ts +454 -0
  351. package/five/application/events.d.ts +69 -0
  352. package/five/application/five.d.ts +498 -0
  353. package/five/application/fiveInitArgs.d.ts +173 -0
  354. package/five/application/fiveLoadOptions.d.ts +21 -0
  355. package/five/application/generateDefaultVideoElement.d.ts +2 -0
  356. package/five/application/getViewportScale.d.ts +2 -0
  357. package/five/application/initLights.d.ts +3 -0
  358. package/five/application/mode.d.ts +24 -0
  359. package/five/application/renderPoweredByRealsee.d.ts +3 -0
  360. package/five/assets/cardboard-png-data-url.d.ts +2 -0
  361. package/five/assets/gradient-png-data-url.d.ts +2 -0
  362. package/five/assets/loading-png-data-url.d.ts +2 -0
  363. package/five/assets/phone-png-data-url.d.ts +2 -0
  364. package/five/assets/realsee-pmg-data-url.d.ts +2 -0
  365. package/five/bvh/bvhMath.d.ts +33 -0
  366. package/five/bvh/bvhMesh.d.ts +7 -0
  367. package/five/bvh/bvhNode.d.ts +29 -0
  368. package/five/bvh/bvhObject.d.ts +19 -0
  369. package/five/bvh/bvhPoints.d.ts +6 -0
  370. package/five/bvh/index.d.ts +14 -0
  371. package/five/bvh/type.d.ts +1 -0
  372. package/five/bvh/worker.d.ts +36 -0
  373. package/five/certificates/hardware.d.ts +1 -0
  374. package/five/controllers/base.d.ts +166 -0
  375. package/five/controllers/events.d.ts +71 -0
  376. package/five/controllers/floorplan.d.ts +119 -0
  377. package/five/controllers/mapview.d.ts +138 -0
  378. package/five/controllers/model.d.ts +57 -0
  379. package/five/controllers/panorama.d.ts +143 -0
  380. package/five/controllers/panoramaLike.d.ts +87 -0
  381. package/five/controllers/topview.d.ts +42 -0
  382. package/five/core/camera.d.ts +65 -0
  383. package/five/core/internalWebGPURenderer.d.ts +13 -0
  384. package/five/core/panoVideo.d.ts +18 -0
  385. package/five/core/scene.d.ts +10 -0
  386. package/five/core/tiling.d.ts +56 -0
  387. package/five/declare.d.ts +35 -0
  388. package/five/gaussian-splatting/util/renderData.d.ts +66 -0
  389. package/five/gaussian-splatting/wasm/data.d.ts +20 -0
  390. package/five/gaussian-splatting/wasm/sort.d.ts +18 -0
  391. package/five/gaussian-splatting/worker/dataWorker.d.ts +1 -0
  392. package/five/gaussian-splatting/worker/sortWorker.d.ts +1 -0
  393. package/five/index.d.ts +58 -0
  394. package/five/index.js +1179 -0
  395. package/five/index.mjs +25111 -0
  396. package/five/meshes/boundingMesh.d.ts +12 -0
  397. package/five/meshes/intersectMesh.d.ts +8 -0
  398. package/five/meshes/panoCircleMesh.d.ts +36 -0
  399. package/five/meshes/panoCircleMeshCustom.d.ts +40 -0
  400. package/five/meshes/panoCircleMeshSolid.d.ts +35 -0
  401. package/five/meshes/panoSphereMesh.d.ts +29 -0
  402. package/five/model/helpers/coordinate-transform.d.ts +3 -0
  403. package/five/model/helpers/ellipsoid-coordinates.d.ts +14 -0
  404. package/five/model/helpers/get-edges-by-sphere.d.ts +8 -0
  405. package/five/model/helpers/get-recommend-tile3d-parameters.d.ts +8 -0
  406. package/five/model/index.d.ts +55 -0
  407. package/five/model/intersection.d.ts +18 -0
  408. package/five/model/loaders/at3d.d.ts +12 -0
  409. package/five/model/loaders/b3dm.d.ts +10 -0
  410. package/five/model/loaders/dome.d.ts +22 -0
  411. package/five/model/loaders/domez.d.ts +11 -0
  412. package/five/model/loaders/fbx.d.ts +8 -0
  413. package/five/model/loaders/glTF-helpers/extensions/CESIUM_RTC.d.ts +9 -0
  414. package/five/model/loaders/glTF-helpers/extensions/EXT_meshopt_compression.d.ts +8 -0
  415. package/five/model/loaders/glTF-helpers/extensions/EXT_texture_webp.d.ts +11 -0
  416. package/five/model/loaders/glTF-helpers/extensions/KHR_animation_pointer.d.ts +6 -0
  417. package/five/model/loaders/glTF-helpers/extensions/KHR_binary_glTF.d.ts +25 -0
  418. package/five/model/loaders/glTF-helpers/extensions/KHR_draco_mesh_compression.d.ts +11 -0
  419. package/five/model/loaders/glTF-helpers/extensions/KHR_gaussian_splatting.d.ts +26 -0
  420. package/five/model/loaders/glTF-helpers/extensions/KHR_gaussian_splatting_compression_spz.d.ts +11 -0
  421. package/five/model/loaders/glTF-helpers/extensions/KHR_gaussian_splatting_compression_spz_2.d.ts +13 -0
  422. package/five/model/loaders/glTF-helpers/extensions/KHR_materials_clearcoat.d.ts +10 -0
  423. package/five/model/loaders/glTF-helpers/extensions/KHR_materials_emissive_strength.d.ts +10 -0
  424. package/five/model/loaders/glTF-helpers/extensions/KHR_materials_sheen.d.ts +10 -0
  425. package/five/model/loaders/glTF-helpers/extensions/KHR_materials_transmission.d.ts +10 -0
  426. package/five/model/loaders/glTF-helpers/extensions/KHR_materials_unlit.d.ts +12 -0
  427. package/five/model/loaders/glTF-helpers/extensions/KHR_mesh_quantization.d.ts +6 -0
  428. package/five/model/loaders/glTF-helpers/extensions/KHR_node_visibility.d.ts +10 -0
  429. package/five/model/loaders/glTF-helpers/extensions/KHR_texture_basisu.d.ts +9 -0
  430. package/five/model/loaders/glTF-helpers/extensions/KHR_texture_transform.d.ts +10 -0
  431. package/five/model/loaders/glTF-helpers/extensions/REALSEE_materials_lightmap.d.ts +7 -0
  432. package/five/model/loaders/glTF-helpers/extensions/base.d.ts +25 -0
  433. package/five/model/loaders/glTF-helpers/glTF.d.ts +713 -0
  434. package/five/model/loaders/glTF-helpers/index.d.ts +51 -0
  435. package/five/model/loaders/glTF-helpers/parser.d.ts +115 -0
  436. package/five/model/loaders/glTF-helpers/type.d.ts +14 -0
  437. package/five/model/loaders/gltf.d.ts +10 -0
  438. package/five/model/loaders/obj.d.ts +9 -0
  439. package/five/model/loaders/pbm.d.ts +26 -0
  440. package/five/model/loaders/ply.d.ts +24 -0
  441. package/five/model/loaders/pnts.d.ts +8 -0
  442. package/five/model/loaders/protobuf/dome.d.ts +540 -0
  443. package/five/model/loaders/protobuf/pbm.d.ts +203 -0
  444. package/five/model/loaders/shared.d.ts +16 -0
  445. package/five/model/loaders/splat.d.ts +8 -0
  446. package/five/model/loaders/spz.d.ts +14 -0
  447. package/five/model/loaders/tile3d-helpers/feature-table.d.ts +15 -0
  448. package/five/model/loaders/tile3d-helpers/gl-type.d.ts +20 -0
  449. package/five/model/loaders/tile3d-helpers/parse-gltf-array-buffer.d.ts +2 -0
  450. package/five/model/loaders/tile3d-helpers/parse-header.d.ts +2 -0
  451. package/five/model/loaders/tile3d-helpers/parse-point-cloud-attributes.d.ts +2 -0
  452. package/five/model/loaders/tile3d-helpers/parse-point-cloud-attributes.worker.d.ts +6 -0
  453. package/five/model/loaders/tile3d-helpers/parse-table.d.ts +3 -0
  454. package/five/model/loaders/tile3d-helpers/tile3d-type.d.ts +36 -0
  455. package/five/model/loaders/x3p.d.ts +22 -0
  456. package/five/model/materials/nodes/pbmMeshBasicNodeMaterial.d.ts +14 -0
  457. package/five/model/materials/nodes/pbmMeshPanoOnlyNodeMaterial.d.ts +14 -0
  458. package/five/model/materials/nodes/pbmMeshPhongNodeMaterial.d.ts +14 -0
  459. package/five/model/materials/nodes/pbmMeshPhysicalNodeMaterial.d.ts +14 -0
  460. package/five/model/materials/nodes/pbmPointCloudNodeMaterial.d.ts +22 -0
  461. package/five/model/materials/pbmGaussianSplattingNodeMaterial.d.ts +78 -0
  462. package/five/model/materials/pbmMaterial.d.ts +171 -0
  463. package/five/model/materials/pbmMaterialRegister.d.ts +6 -0
  464. package/five/model/materials/pbmMeshMaterial.d.ts +57 -0
  465. package/five/model/materials/pbmPointCloudMaterial.d.ts +20 -0
  466. package/five/model/materials/pbmPointCloudNodeMaterial.d.ts +46 -0
  467. package/five/model/materials/tsl/colorFilter.d.ts +9 -0
  468. package/five/model/materials/tsl/defines.d.ts +68 -0
  469. package/five/model/materials/tsl/nodeTypes.d.ts +12 -0
  470. package/five/model/materials/tsl/outputBuilder.d.ts +26 -0
  471. package/five/model/materials/tsl/panoColor.d.ts +17 -0
  472. package/five/model/materials/tsl/panoTransition.d.ts +8 -0
  473. package/five/model/materials/tsl/utils.d.ts +11 -0
  474. package/five/model/model-scene.d.ts +172 -0
  475. package/five/model/model.d.ts +203 -0
  476. package/five/model/objects/pbmGaussianSplattingObject.d.ts +47 -0
  477. package/five/model/objects/pbmGaussianSplattingRenderMesh.d.ts +73 -0
  478. package/five/model/objects/pbmGroup.d.ts +8 -0
  479. package/five/model/objects/pbmMesh.d.ts +10 -0
  480. package/five/model/objects/pbmPointCloud.d.ts +89 -0
  481. package/five/model/objects/pbmPointCloudObject.d.ts +81 -0
  482. package/five/model/parameter.d.ts +138 -0
  483. package/five/model/tile3d/header.d.ts +88 -0
  484. package/five/model/tile3d/index.d.ts +213 -0
  485. package/five/model/tile3d/tile-cache.d.ts +18 -0
  486. package/five/model/tile3d/tile-content.d.ts +10 -0
  487. package/five/model/tile3d/tile-node.d.ts +26 -0
  488. package/five/model/tile3d/tile-request-scheduler.d.ts +17 -0
  489. package/five/model/tile3d/tile.d.ts +79 -0
  490. package/five/model/tile3d/tileset-base-traverser.d.ts +59 -0
  491. package/five/model/tile3d/tileset-most-detail-traverser.d.ts +14 -0
  492. package/five/model/tile3d/tileset-normal-traverser.d.ts +15 -0
  493. package/five/model/tile3d/tileset-skip-traverser.d.ts +60 -0
  494. package/five/model/tile3d/tileset.d.ts +65 -0
  495. package/five/model/tile3d/trajectory-content.d.ts +0 -0
  496. package/five/model/tile3d/trajectory-node.d.ts +15 -0
  497. package/five/model/tile3d/trajectory.d.ts +30 -0
  498. package/five/model/tile3d/types.d.ts +33 -0
  499. package/five/model/view-layer.d.ts +20 -0
  500. package/five/renderer/compute-renderers/pointcloud-compute-renderer.d.ts +154 -0
  501. package/five/renderer/compute-renderers/rgb565.d.ts +45 -0
  502. package/five/renderer/compute-renderers/shaders/clear.d.ts +2 -0
  503. package/five/renderer/compute-renderers/shaders/fullscreenQuad.d.ts +2 -0
  504. package/five/renderer/compute-renderers/shaders/rasterize.d.ts +2 -0
  505. package/five/renderer/five-renderer.d.ts +33 -0
  506. package/five/renderer/index.d.ts +3 -0
  507. package/five/renderer/postprocessing/composer.d.ts +45 -0
  508. package/five/renderer/postprocessing/index.d.ts +8 -0
  509. package/five/renderer/postprocessing/passes/adaptive-luminance-pass.d.ts +27 -0
  510. package/five/renderer/postprocessing/passes/eye-dome-lighting-pass.d.ts +31 -0
  511. package/five/renderer/postprocessing/passes/flowing-fireworks-3d-pass.d.ts +71 -0
  512. package/five/renderer/postprocessing/passes/flowing-light-2d-pass.d.ts +26 -0
  513. package/five/renderer/postprocessing/passes/flowing-light-3d-pass.d.ts +75 -0
  514. package/five/renderer/postprocessing/passes/gaussian-blur-pass.d.ts +22 -0
  515. package/five/renderer/postprocessing/passes/pass.d.ts +38 -0
  516. package/five/renderer/scene-renderers/scene-renderer.d.ts +9 -0
  517. package/five/renderer/tools/full-screen-quad.d.ts +17 -0
  518. package/five/renderer/tools/postprocess-uv.d.ts +11 -0
  519. package/five/renderer/tools/render-cube-to-equirectangular.d.ts +7 -0
  520. package/five/renderer/tools/render-full-screen-depth.d.ts +2 -0
  521. package/five/renderer/tools/render-full-screen.d.ts +2 -0
  522. package/five/texture/histogram.d.ts +54 -0
  523. package/five/texture/imageBitmap.d.ts +13 -0
  524. package/five/texture/initTexture.d.ts +3 -0
  525. package/five/texture/loader.d.ts +39 -0
  526. package/five/texture/textureData.d.ts +11 -0
  527. package/five/thirdparty/fflate.d.ts +1407 -0
  528. package/five/thirdparty/hammer.d.ts +375 -0
  529. package/five/thirdparty/jsrsasign.d.ts +753 -0
  530. package/five/thirdparty/meshopt_decoder.d.ts +15 -0
  531. package/five/three-version-check.d.ts +1 -0
  532. package/five/types/addableObject.d.ts +12 -0
  533. package/five/types/cube.d.ts +2 -0
  534. package/five/types/gestureInput.d.ts +24 -0
  535. package/five/types/imageOptions.d.ts +20 -0
  536. package/five/types/intersectMeshInterface.d.ts +8 -0
  537. package/five/types/movePanoEffect.d.ts +13 -0
  538. package/five/types/movePanoOptions.d.ts +36 -0
  539. package/five/types/panoCircleMeshInterface.d.ts +34 -0
  540. package/five/types/plugin.d.ts +25 -0
  541. package/five/types/pose.d.ts +17 -0
  542. package/five/types/state.d.ts +20 -0
  543. package/five/types/viewport.d.ts +22 -0
  544. package/five/utils/ajax.d.ts +66 -0
  545. package/five/utils/animationFrameLoop.d.ts +45 -0
  546. package/five/utils/array.d.ts +31 -0
  547. package/five/utils/asyncTaskQueue.d.ts +8 -0
  548. package/five/utils/bufferGeometry.d.ts +33 -0
  549. package/five/utils/calculateProgress.d.ts +39 -0
  550. package/five/utils/calculateThreeMouse.d.ts +13 -0
  551. package/five/utils/canplayVideo.d.ts +2 -0
  552. package/five/utils/clamp.d.ts +2 -0
  553. package/five/utils/clock.d.ts +30 -0
  554. package/five/utils/createSymbol.d.ts +5 -0
  555. package/five/utils/decodeText.d.ts +2 -0
  556. package/five/utils/deepEqual.d.ts +2 -0
  557. package/five/utils/deepFreeze.d.ts +2 -0
  558. package/five/utils/defineProperty.d.ts +9 -0
  559. package/five/utils/detector.d.ts +14 -0
  560. package/five/utils/distance.d.ts +10 -0
  561. package/five/utils/draco.d.ts +26 -0
  562. package/five/utils/easing.d.ts +63 -0
  563. package/five/utils/event.d.ts +159 -0
  564. package/five/utils/face3.d.ts +12 -0
  565. package/five/utils/formatRad.d.ts +7 -0
  566. package/five/utils/hdr-data.d.ts +13 -0
  567. package/five/utils/imageSupport.d.ts +6 -0
  568. package/five/utils/imageURL.d.ts +42 -0
  569. package/five/utils/isEmptyObject.d.ts +2 -0
  570. package/five/utils/isNil.d.ts +6 -0
  571. package/five/utils/isNumber.d.ts +2 -0
  572. package/five/utils/isPowerOfTwo.d.ts +2 -0
  573. package/five/utils/isPromise.d.ts +2 -0
  574. package/five/utils/isSimilar.d.ts +6 -0
  575. package/five/utils/json.d.ts +7 -0
  576. package/five/utils/ktx2.d.ts +30 -0
  577. package/five/utils/lzma/index.d.ts +2 -0
  578. package/five/utils/lzma/lzma.d.ts +3 -0
  579. package/five/utils/lzma/lzmaWASM.d.ts +2 -0
  580. package/five/utils/lzma/lzmaWorker.d.ts +14 -0
  581. package/five/utils/memoryUsage.d.ts +37 -0
  582. package/five/utils/motion.d.ts +38 -0
  583. package/five/utils/noop.d.ts +6 -0
  584. package/five/utils/now.d.ts +7 -0
  585. package/five/utils/pano.d.ts +9 -0
  586. package/five/utils/pick.d.ts +3 -0
  587. package/five/utils/poseUtils.d.ts +5 -0
  588. package/five/utils/renderCubeTextureToCubeRenderTarget.d.ts +3 -0
  589. package/five/utils/renderDepth.d.ts +2 -0
  590. package/five/utils/renderTexturesToCubeRenderTarget.d.ts +10 -0
  591. package/five/utils/requestPermission.d.ts +3 -0
  592. package/five/utils/shaderContentFix.d.ts +7 -0
  593. package/five/utils/shaderMaterial.d.ts +20 -0
  594. package/five/utils/stateUtils.d.ts +5 -0
  595. package/five/utils/string-pattern.d.ts +8 -0
  596. package/five/utils/subscribe.d.ts +67 -0
  597. package/five/utils/tileCube.d.ts +19 -0
  598. package/five/utils/toFastProperties.d.ts +1 -0
  599. package/five/utils/typedCache.d.ts +10 -0
  600. package/five/utils/uniform.d.ts +15 -0
  601. package/five/utils/url.d.ts +35 -0
  602. package/five/utils/uuid.d.ts +5 -0
  603. package/five/utils/values.d.ts +2 -0
  604. package/five/utils/vectorCoordinates.d.ts +29 -0
  605. package/five/utils/volume.d.ts +111 -0
  606. package/five/utils/worker.d.ts +26 -0
  607. package/five/work/_ALLOW_HOST.d.ts +2 -0
  608. package/five/work/index.d.ts +6 -0
  609. package/five/work/keychain.d.ts +5 -0
  610. package/five/work/looseWorkType.d.ts +128 -0
  611. package/five/work/verify.d.ts +7 -0
  612. package/five/work/work.d.ts +246 -0
  613. package/five/work/workFetcher.d.ts +4 -0
  614. package/five/work/workJson.d.ts +3 -0
  615. package/five/work/workJsonType.d.ts +73 -0
  616. package/five/work/workObserverUtils.d.ts +36 -0
  617. package/five/work/workParser.d.ts +6 -0
  618. package/five/work/workResolvedObserver.d.ts +12 -0
  619. package/five/work/workVerify.d.ts +2 -0
  620. package/five/work/works.d.ts +10 -0
  621. package/llms.txt +66 -0
  622. package/package.json +56 -0
  623. package/plugins/BasePlugin/index.d.ts +96 -0
  624. package/plugins/GaussianSplattingEntranceAnimationPlugin/Controller.d.ts +66 -0
  625. package/plugins/GaussianSplattingEntranceAnimationPlugin/index.d.ts +5 -0
  626. package/plugins/GaussianSplattingEntranceAnimationPlugin/typing.d.ts +32 -0
  627. package/plugins/index.d.ts +2 -0
  628. package/plugins/index.js +255 -0
  629. package/plugins/index.mjs +539 -0
  630. package/plugins/utils/absoluteUrl.d.ts +5 -0
  631. package/react/autoCanvas.d.ts +9 -0
  632. package/react/canvas.d.ts +19 -0
  633. package/react/context.d.ts +12 -0
  634. package/react/createProvider.d.ts +98 -0
  635. package/react/createStore.d.ts +144 -0
  636. package/react/fiveApp.d.ts +22 -0
  637. package/react/hooks/unsafe__useFiveInstance.d.ts +9 -0
  638. package/react/hooks/useFiveAction.d.ts +147 -0
  639. package/react/hooks/useFiveCameraDirection.d.ts +7 -0
  640. package/react/hooks/useFiveCameraRaycaster.d.ts +7 -0
  641. package/react/hooks/useFiveCurrentObserver.d.ts +11 -0
  642. package/react/hooks/useFiveCurrentState.d.ts +15 -0
  643. package/react/hooks/useFiveEventCallback.d.ts +12 -0
  644. package/react/hooks/useFiveFloor.d.ts +15 -0
  645. package/react/hooks/useFiveHelper.d.ts +14 -0
  646. package/react/hooks/useFiveModelBounding.d.ts +5 -0
  647. package/react/hooks/useFiveModelEffect.d.ts +14 -0
  648. package/react/hooks/useFiveModelIntersectRaycaster.d.ts +22 -0
  649. package/react/hooks/useFiveModelReadyState.d.ts +8 -0
  650. package/react/hooks/useFivePlugin.d.ts +22 -0
  651. package/react/hooks/useFiveProject2d.d.ts +21 -0
  652. package/react/hooks/useFiveSceneEffect.d.ts +21 -0
  653. package/react/hooks/useFiveState.d.ts +6 -0
  654. package/react/hooks/useFiveWork.d.ts +29 -0
  655. package/react/index.d.ts +28 -0
  656. package/react/index.js +255 -0
  657. package/react/index.mjs +896 -0
  658. package/react/withFive.d.ts +213 -0
  659. package/resource/basis/1.16/basis_transcoder.js +22 -0
  660. package/resource/basis/1.16/basis_transcoder.wasm +0 -0
  661. package/resource/basis/README.md +5 -0
  662. package/resource/draco/1.5.6/draco_decoder.js +34 -0
  663. package/resource/draco/1.5.6/draco_decoder.wasm +0 -0
  664. package/resource/draco/1.5.6/draco_decoder_gltf.js +33 -0
  665. package/resource/draco/1.5.6/draco_decoder_gltf.wasm +0 -0
  666. package/resource/draco/1.5.6/draco_encoder.js +35 -0
  667. package/resource/draco/1.5.6/draco_encoder.wasm +0 -0
  668. package/resource/draco/1.5.6/draco_encoder_wrapper.js +97 -0
  669. package/resource/draco/1.5.6/draco_wasm_wrapper.js +117 -0
  670. package/resource/draco/1.5.6/draco_wasm_wrapper_gltf.js +116 -0
  671. package/resource/draco/README.md +5 -0
  672. package/umd/five-plugins.js +255 -0
  673. package/umd/five-react.js +255 -0
  674. package/umd/five.js +1579 -0
@@ -0,0 +1,12 @@
1
+ import * as THREE from "three/webgpu";
2
+ import { PBMMesh } from "../model";
3
+ import { type Camera } from '../core/camera';
4
+ import { type ModelScene } from '../model';
5
+ declare class BoundingMesh extends PBMMesh {
6
+ constructor(options?: {
7
+ name?: string;
8
+ });
9
+ update(renderer: THREE.WebGPURenderer, camera: Camera, modelScene: ModelScene): boolean;
10
+ dispose(): void;
11
+ }
12
+ export { BoundingMesh };
@@ -0,0 +1,8 @@
1
+ import * as THREE from "three/webgpu";
2
+ import { IntersectMeshInterface } from "../types/intersectMeshInterface";
3
+ declare class IntersectMesh extends THREE.Object3D implements IntersectMeshInterface {
4
+ private ringMesh;
5
+ constructor();
6
+ dispose(): void;
7
+ }
8
+ export { IntersectMesh };
@@ -0,0 +1,36 @@
1
+ import * as THREE from "three/webgpu";
2
+ import { PanoCircleMeshInterface } from "../types/panoCircleMeshInterface";
3
+ interface PanoCircleMeshOptions {
4
+ scale?: number;
5
+ color?: number;
6
+ }
7
+ declare class PanoCircleMesh extends THREE.Object3D implements PanoCircleMeshInterface {
8
+ needsRender: boolean;
9
+ private currentStartTime;
10
+ private currentMotion;
11
+ private ringMotion;
12
+ private tapMotion;
13
+ private loadingOpacityMotion;
14
+ private progressMotion;
15
+ private progressOpacityMotion;
16
+ private opacityMotion;
17
+ private disableMotion;
18
+ progress: number;
19
+ opacity: number;
20
+ current: boolean;
21
+ loading: boolean;
22
+ disabled: boolean;
23
+ private panoMesh;
24
+ private panoU;
25
+ constructor(options?: PanoCircleMeshOptions);
26
+ setProgress(progress: number): void;
27
+ setOpacity(opacity: number): void;
28
+ setCurrent(current: boolean): void;
29
+ setLoading(loading: boolean): void;
30
+ setDisabled(disabled: boolean): void;
31
+ tap(): Promise<void>;
32
+ updateTime(time: number, deltaTime: number): void;
33
+ dispose(): void;
34
+ }
35
+ export { PanoCircleMesh };
36
+ export type { PanoCircleMeshOptions };
@@ -0,0 +1,40 @@
1
+ import * as THREE from "three/webgpu";
2
+ import { PanoCircleMeshInterface } from "../types/panoCircleMeshInterface";
3
+ interface PanoCircleMeshCustomOptions {
4
+ scale?: number;
5
+ color?: number;
6
+ map?: THREE.Texture;
7
+ mapAlpha?: number;
8
+ borderWidth?: number;
9
+ borderColor?: number;
10
+ mapUseColor?: boolean;
11
+ mapUseReverse?: boolean;
12
+ }
13
+ declare class PanoCircleMeshCustom extends THREE.Object3D implements PanoCircleMeshInterface {
14
+ needsRender: boolean;
15
+ private currentStartTime;
16
+ private currentMotion;
17
+ private tapMotion;
18
+ private loadingOpacityMotion;
19
+ private progressMotion;
20
+ private progressOpacityMotion;
21
+ private opacityMotion;
22
+ private disableMotion;
23
+ progress: number;
24
+ opacity: number;
25
+ current: boolean;
26
+ loading: boolean;
27
+ disabled: boolean;
28
+ private panoMesh;
29
+ constructor(options?: PanoCircleMeshCustomOptions);
30
+ setProgress(progress: number): void;
31
+ setOpacity(opacity: number): void;
32
+ setCurrent(current: boolean): void;
33
+ setLoading(loading: boolean): void;
34
+ setDisabled(disabled: boolean): void;
35
+ tap(): Promise<void>;
36
+ updateTime(time: number, deltaTime: number): void;
37
+ dispose(): void;
38
+ }
39
+ export { PanoCircleMeshCustom };
40
+ export type { PanoCircleMeshCustomOptions };
@@ -0,0 +1,35 @@
1
+ import * as THREE from "three/webgpu";
2
+ import { PanoCircleMeshInterface } from "../types/panoCircleMeshInterface";
3
+ interface PanoCircleMeshSolidOptions {
4
+ scale?: number;
5
+ color?: number;
6
+ }
7
+ declare class PanoCircleMeshSolid extends THREE.Object3D implements PanoCircleMeshInterface {
8
+ needsRender: boolean;
9
+ private currentStartTime;
10
+ private currentMotion;
11
+ private tapMotion;
12
+ private loadingOpacityMotion;
13
+ private progressMotion;
14
+ private progressOpacityMotion;
15
+ private opacityMotion;
16
+ private disableMotion;
17
+ progress: number;
18
+ opacity: number;
19
+ current: boolean;
20
+ loading: boolean;
21
+ disabled: boolean;
22
+ private panoMesh;
23
+ private panoU;
24
+ constructor(options?: PanoCircleMeshSolidOptions);
25
+ setProgress(progress: number): void;
26
+ setOpacity(opacity: number): void;
27
+ setCurrent(current: boolean): void;
28
+ setLoading(loading: boolean): void;
29
+ setDisabled(disabled: boolean): void;
30
+ tap(): Promise<void>;
31
+ updateTime(time: number, deltaTime: number): void;
32
+ dispose(): void;
33
+ }
34
+ export { PanoCircleMeshSolid };
35
+ export type { PanoCircleMeshSolidOptions };
@@ -0,0 +1,29 @@
1
+ import * as THREE from "three/webgpu";
2
+ import { PanoCircleMeshInterface } from "../types/panoCircleMeshInterface";
3
+ declare class PanoSphereMesh extends THREE.Object3D implements PanoCircleMeshInterface {
4
+ needsRender: boolean;
5
+ hitTestMesh: THREE.Mesh<THREE.BufferGeometry, THREE.MeshBasicMaterial>;
6
+ private ringMesh;
7
+ private panoMesh;
8
+ private ringU;
9
+ private panoU;
10
+ private currentMotion;
11
+ private opacityMotion;
12
+ private loadingMotion;
13
+ private disableMotion;
14
+ progress: number;
15
+ opacity: number;
16
+ current: boolean;
17
+ loading: boolean;
18
+ disabled: boolean;
19
+ constructor();
20
+ setProgress(progress: number): void;
21
+ setOpacity(opacity: number): void;
22
+ setCurrent(current: boolean): void;
23
+ setLoading(loading: boolean): void;
24
+ setDisabled(disabled: boolean): void;
25
+ tap(): Promise<void>;
26
+ updateTime(time: number, deltaTime: number): void;
27
+ dispose(): void;
28
+ }
29
+ export { PanoSphereMesh };
@@ -0,0 +1,3 @@
1
+ import * as THREE from 'three/webgpu';
2
+ export declare const enuToLocalMatrix: THREE.Matrix4;
3
+ export declare const localToEnuMatrix: THREE.Matrix4;
@@ -0,0 +1,14 @@
1
+ import * as THREE from 'three/webgpu';
2
+ /**
3
+ * 坐标转化 ecef -> lla
4
+ * @param vector x: lat, y: lon, z: alt
5
+ * @returns ecef 坐标系下的 xyz
6
+ */
7
+ export declare function ecefToLla(vector: THREE.Vector3): THREE.Vector3;
8
+ /**
9
+ * 坐标转化 lla -> ecef
10
+ * @param vector ecef 坐标系下的 xyz
11
+ * @returns x: lat, y: lon, z: alt
12
+ */
13
+ export declare function llaToEcef(vector: THREE.Vector3): THREE.Vector3;
14
+ export declare function getEcefToEnuMatrix(vector: THREE.Vector3, target: THREE.Matrix4): THREE.Matrix4;
@@ -0,0 +1,8 @@
1
+ import * as THREE from "three/webgpu";
2
+ /**
3
+ * 获取模型边界线
4
+ * @param sphere - 获取区域
5
+ * @param threshold - 面片间夹角阈值
6
+ * @returns 所有模型边界线
7
+ */
8
+ export declare function getEdgesBySphere(object: THREE.Object3D, sphere: THREE.Sphere, threshold?: number): THREE.Line3[];
@@ -0,0 +1,8 @@
1
+ import type { Tile3D } from '../tile3d';
2
+ export declare function getRecommendTile3dProps(tile3d: Tile3D, options?: {
3
+ powerPreference?: 'high' | 'default';
4
+ }): {
5
+ pointScale: number;
6
+ pointMinPixel: number;
7
+ maxScreenSpaceError: number;
8
+ };
@@ -0,0 +1,55 @@
1
+ export { PBMGroup } from "./objects/pbmGroup";
2
+ export { PBMMesh, PBMSkinnedMesh, } from "./objects/pbmMesh";
3
+ export { PBMGaussianSplattingObject, type SplatData, } from "./objects/pbmGaussianSplattingObject";
4
+ export { PBMGaussianSplattingObject as PBMGSObject, } from "./objects/pbmGaussianSplattingObject";
5
+ export { PBMPointCloud, type PointCloudData, } from "./objects/pbmPointCloud";
6
+ export { PBMGaussianSplattingRenderMesh, } from "./objects/pbmGaussianSplattingRenderMesh";
7
+ export { PBMGaussianSplattingNodeMaterial, } from "./materials/pbmGaussianSplattingNodeMaterial";
8
+ export { PBMUpdateable, PBMPanoFilter, type IPBMMaterial, type PBMPanoFilterValue, type PBMAlphaMode, type PBMClipperParameter, type PBMColorStyle, type PBMFloorStyle, type PBMPanoPicture, type PBMHDRConfig, type PBMPanoDepth, type PBMPointBack, type PBMPointCloudShaderType, type PBMPointShape, type PBMPointSize, type PBMRefinedScreen, type PBMTransition, } from "./materials/pbmMaterial";
9
+ export { type PBMMeshMaterial, PBMMeshBasicMaterial, PBMMeshPhongMaterial, PBMMeshPhysicalMaterial, PBMMeshPanoOnlyMaterial } from './materials/pbmMeshMaterial';
10
+ export { registerPBMMaterials, } from './materials/pbmMaterialRegister';
11
+ export { PBMMeshBasicNodeMaterial, } from './materials/nodes/pbmMeshBasicNodeMaterial';
12
+ export { PBMMeshPhongNodeMaterial, } from './materials/nodes/pbmMeshPhongNodeMaterial';
13
+ export { PBMMeshPhysicalNodeMaterial, } from './materials/nodes/pbmMeshPhysicalNodeMaterial';
14
+ export { PBMMeshPanoOnlyNodeMaterial, } from './materials/nodes/pbmMeshPanoOnlyNodeMaterial';
15
+ export { type LoadResultType } from "./loaders/shared";
16
+ export { loadPbm } from "./loaders/pbm";
17
+ export { loadAt3d } from "./loaders/at3d";
18
+ export { loadDome } from "./loaders/dome";
19
+ export { loadDomez } from "./loaders/domez";
20
+ export { loadPly } from "./loaders/ply";
21
+ export { loadGltf } from "./loaders/gltf";
22
+ export { type TilesetHeader, type TileHeader, type TrajectoryHeader } from './tile3d/header';
23
+ export { Tile, type TileContentData } from './tile3d/tile';
24
+ export { TileNode } from './tile3d/tile-node';
25
+ export { Trajectory, type TrajectoryContentData, } from './tile3d/trajectory';
26
+ export { TrajectoryNode } from './tile3d/trajectory-node';
27
+ export { Tileset, type TilesetOptions } from './tile3d/tileset';
28
+ export { TileCache, type TileCacheOptions, } from './tile3d/tile-cache';
29
+ export { TileRequestScheduler, type TileRequestSchedulerOptions, } from './tile3d/tile-request-scheduler';
30
+ export { type FrameState as TilesetFrameState, type TileRequestOrder, } from './tile3d/types';
31
+ export { Tile3D,
32
+ /**
33
+ * @deprecated
34
+ * use Tile3D insread.
35
+ */
36
+ Tile3D as Tile3DModel, type Tile3DOptions,
37
+ /**
38
+ * @deprecated
39
+ * use Tile3DOptions insread.
40
+ */
41
+ type Tile3DOptions as Tile3DModelLoaderOptions, type TileCoordinateSystem, } from './tile3d';
42
+ export { type ViewLayer } from './view-layer';
43
+ export { Model, } from './model';
44
+ export { ModelScene, type ModelOptions, type Models } from './model-scene';
45
+ export { Parameter, type ParameterValue,
46
+ /**
47
+ * @deprecated
48
+ * use ParameterValue instead
49
+ */
50
+ type ParameterValue as PBMParameters, type ResolvedParameterValue, type ParameterMaterialValue,
51
+ /**
52
+ * @deprecated
53
+ * use ParameterMaterialValue instead
54
+ */
55
+ type ParameterMaterialValue as ModelMaterialValues, type ParameterTilesetValue } from './parameter';
@@ -0,0 +1,18 @@
1
+ import * as THREE from 'three/webgpu';
2
+ import { type ViewLayer } from './view-layer';
3
+ import { type Model } from './model';
4
+ import { type Tile } from './tile3d/tile';
5
+ export interface Intersection extends THREE.Intersection {
6
+ /** 楼层 */
7
+ floorIndex: number;
8
+ /**
9
+ * 楼层
10
+ * @deprecated
11
+ * use floorIndex instead.
12
+ */
13
+ floor: number;
14
+ model?: Model;
15
+ viewLayer?: ViewLayer;
16
+ tile?: Tile;
17
+ }
18
+ export declare function sortIntersects(intersects: Intersection[], sortByDistance?: boolean, firstHitOnly?: boolean): Intersection[];
@@ -0,0 +1,12 @@
1
+ import { Fetcher } from "../../utils/ajax";
2
+ import { LoadResultType } from './shared';
3
+ import { TextureOptions } from "../../types/imageOptions";
4
+ export declare function loadAt3d(url: string, options?: {
5
+ upAxis?: 'Y' | 'Z';
6
+ light?: boolean;
7
+ textureOptions?: TextureOptions;
8
+ textureBaseUri?: string;
9
+ textureArray?: string[];
10
+ fetcher?: Fetcher;
11
+ onDownloadProgress?: (percent: number, loaded?: number, total?: number) => void;
12
+ }): Promise<LoadResultType>;
@@ -0,0 +1,10 @@
1
+ import { Fetcher } from '../../utils/ajax';
2
+ import { LoadResultType } from './shared';
3
+ export declare function loadB3dm(url: string, options?: {
4
+ modelUpAxis?: 'Y' | 'Z';
5
+ upAxis?: 'Y' | 'Z';
6
+ light?: boolean;
7
+ fetcher?: Fetcher;
8
+ onDownloadProgress?: (percent: number, loaded?: number, total?: number) => void;
9
+ jsonModify?: (json: any) => any;
10
+ }): Promise<LoadResultType>;
@@ -0,0 +1,22 @@
1
+ import * as THREE from "three/webgpu";
2
+ import { LoadResultType } from './shared';
3
+ import { Fetcher } from "../../utils/ajax";
4
+ import { WorkModel } from "../../work";
5
+ import { PBMMesh } from "../objects/pbmMesh";
6
+ import { TextureOptions } from "../../types/imageOptions";
7
+ export declare function loadDome(url: string, options?: {
8
+ upAxis?: 'Y' | 'Z';
9
+ light?: boolean;
10
+ textureOptions?: TextureOptions;
11
+ textureBaseUri?: string;
12
+ fetcher?: Fetcher;
13
+ onDownloadProgress?: (percent: number, loaded?: number, total?: number) => void;
14
+ }): Promise<LoadResultType>;
15
+ declare function parse(domeBuffer: ArrayLike<number>, light: boolean, textureBase: WorkModel["textureBase"], textureOptions: TextureOptions, fetcher: Fetcher): Promise<{
16
+ createAt: number;
17
+ description: string;
18
+ objects: (THREE.Group<THREE.Object3DEventMap> | PBMMesh)[];
19
+ textures: THREE.Texture<unknown>[];
20
+ dispose: () => void;
21
+ }>;
22
+ export { parse };
@@ -0,0 +1,11 @@
1
+ import { LoadResultType } from "./shared";
2
+ import { Fetcher } from "../../utils/ajax";
3
+ import { TextureOptions } from "../../types/imageOptions";
4
+ export declare function loadDomez(url: string, options?: {
5
+ upAxis?: 'Y' | 'Z';
6
+ light?: boolean;
7
+ textureOptions?: TextureOptions;
8
+ textureBaseUri?: string;
9
+ fetcher?: Fetcher;
10
+ onDownloadProgress?: (percent: number, loaded?: number, total?: number) => void;
11
+ }): Promise<LoadResultType>;
@@ -0,0 +1,8 @@
1
+ import { Fetcher } from "../../utils/ajax";
2
+ import { LoadResultType } from './shared';
3
+ export declare function loadFbx(url: string, options?: {
4
+ upAxis?: 'Y' | 'Z';
5
+ light?: boolean;
6
+ fetcher?: Fetcher;
7
+ onDownloadProgress?: (percent: number, loaded?: number, total?: number) => void;
8
+ }): Promise<LoadResultType>;
@@ -0,0 +1,9 @@
1
+ import { BaseExtension } from './base';
2
+ import type { Parser } from '../parser';
3
+ import type { GlTFResult } from '../type';
4
+ /**
5
+ * Specification https://github.com/KhronosGroup/glTF/blob/main/extensions/1.0/Vendor/CESIUM_RTC/README.md
6
+ */
7
+ export declare class CESIUM_RTC extends BaseExtension {
8
+ emitResult(result: GlTFResult, parser: Parser): void | Promise<void>;
9
+ }
@@ -0,0 +1,8 @@
1
+ import { BaseExtension } from './base';
2
+ import type { Parser } from '../parser';
3
+ /**
4
+ * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/EXT_meshopt_compression
5
+ */
6
+ export declare class EXT_meshopt_compression extends BaseExtension {
7
+ loadBufferView(index: number, parser: Parser): Promise<ArrayBuffer> | null;
8
+ }
@@ -0,0 +1,11 @@
1
+ import * as THREE from 'three/webgpu';
2
+ import { BaseExtension } from './base';
3
+ import type { Parser } from '../parser';
4
+ /**
5
+ * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/EXT_texture_webp
6
+ */
7
+ export declare class EXT_texture_webp extends BaseExtension {
8
+ private supportsWep;
9
+ prepare(parser: Parser): void | Promise<void>;
10
+ loadTexture(index: number, parser: Parser): null | Promise<THREE.Texture>;
11
+ }
@@ -0,0 +1,6 @@
1
+ import { BaseExtension } from './base';
2
+ /**
3
+ * Specification: https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_animation_pointer
4
+ */
5
+ export declare class KHR_animation_pointer extends BaseExtension {
6
+ }
@@ -0,0 +1,25 @@
1
+ import { BaseExtension } from './base';
2
+ import type { Parser } from '../parser';
3
+ /**
4
+ * Specification: https://github.com/KhronosGroup/glTF/tree/main/extensions/1.0/Khronos/KHR_binary_glTF
5
+ */
6
+ export declare class KHR_binary_glTF extends BaseExtension {
7
+ static HEADER_MAGIC: string;
8
+ static HEADER_LENGTH: number;
9
+ static CHUNK_TYPES: {
10
+ JSON: number;
11
+ BIN: number;
12
+ };
13
+ static getMagic(data: ArrayBuffer): string;
14
+ header: {
15
+ magic: string;
16
+ version: number;
17
+ length: number;
18
+ };
19
+ content: string;
20
+ body: ArrayBuffer | null;
21
+ constructor();
22
+ loadGlbBinary(data: ArrayBuffer): void;
23
+ loadBuffer(index: number, parser: Parser): Promise<ArrayBuffer> | null;
24
+ clear(): void;
25
+ }
@@ -0,0 +1,11 @@
1
+ import * as THREE from 'three/webgpu';
2
+ import { BaseExtension } from './base';
3
+ import type { Parser } from '../parser';
4
+ import { MeshPrimitive } from '../glTF';
5
+ /**
6
+ * Specification: https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_draco_mesh_compression
7
+ */
8
+ export declare class KHR_draco_mesh_compression extends BaseExtension {
9
+ loadGeometry(primitiveDef: MeshPrimitive, parser: Parser): null | Promise<THREE.BufferGeometry>;
10
+ private decodePrimitive;
11
+ }
@@ -0,0 +1,26 @@
1
+ import * as THREE from 'three/webgpu';
2
+ import { BaseExtension } from './base';
3
+ import type { Parser } from '../parser';
4
+ import { Mesh, MeshPrimitive } from '../glTF';
5
+ import type { GaussianSplattingExtensionSpz2 } from './KHR_gaussian_splatting_compression_spz_2';
6
+ export interface GaussianSplattingExtensionOld {
7
+ antialiased: boolean;
8
+ bufferView: number;
9
+ compression: {
10
+ extension: "KHR_gaussian_splatting_compression_spz";
11
+ };
12
+ count: number;
13
+ }
14
+ export interface GaussianSplattingExtension {
15
+ colorSpace: "srgb_rec709_display" | "lin_rec709_display";
16
+ kernel: "ellipse";
17
+ sortingMethod: "cameraDistance";
18
+ projection: "perspective";
19
+ extensions: {
20
+ KHR_gaussian_splatting_compression_spz_2?: GaussianSplattingExtensionSpz2;
21
+ };
22
+ }
23
+ export declare class KHR_gaussian_splatting extends BaseExtension {
24
+ loadMeshPrimitive(meshDef: Mesh, primitiveDef: MeshPrimitive, parser: Parser): null | Promise<THREE.Points | THREE.Line | THREE.Mesh>;
25
+ private loadGaussianSplating;
26
+ }
@@ -0,0 +1,11 @@
1
+ import * as THREE from 'three/webgpu';
2
+ import { BaseExtension } from './base';
3
+ import type { Parser } from '../parser';
4
+ import { PBMGaussianSplattingObject } from '../../../objects/pbmGaussianSplattingObject';
5
+ export declare const EXTENSION_NAME = "KHR_gaussian_splatting_compression_spz";
6
+ export declare class KHR_gaussian_splatting_compression_spz extends BaseExtension {
7
+ load(gaussianSplattingExtension: {
8
+ bufferView: number;
9
+ }, parser: Parser): Promise<THREE.Points>;
10
+ loadSpz(buffer: Uint8Array): Promise<PBMGaussianSplattingObject>;
11
+ }
@@ -0,0 +1,13 @@
1
+ import * as THREE from 'three/webgpu';
2
+ import { BaseExtension } from './base';
3
+ import type { Parser } from '../parser';
4
+ import { PBMGaussianSplattingObject } from '../../../objects/pbmGaussianSplattingObject';
5
+ export interface GaussianSplattingExtensionSpz2 {
6
+ bufferView: number;
7
+ }
8
+ export declare const EXTENSION_NAME = "KHR_gaussian_splatting_compression_spz_2";
9
+ export declare class KHR_gaussian_splatting_compression_spz_2 extends BaseExtension {
10
+ constructor();
11
+ load(gaussianSplattingExtension: GaussianSplattingExtensionSpz2, parser: Parser): Promise<THREE.Points>;
12
+ loadSpz(buffer: Uint8Array): Promise<PBMGaussianSplattingObject>;
13
+ }
@@ -0,0 +1,10 @@
1
+ import * as THREE from 'three/webgpu';
2
+ import { BaseExtension } from './base';
3
+ import type { Parser } from '../parser';
4
+ import { MeshPrimitive } from '../glTF';
5
+ /**
6
+ * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_clearcoat
7
+ */
8
+ export declare class KHR_materials_clearcoat extends BaseExtension {
9
+ extendMaterial(material: THREE.Material, primitiveDef: MeshPrimitive, parser: Parser): Promise<void>;
10
+ }
@@ -0,0 +1,10 @@
1
+ import * as THREE from 'three/webgpu';
2
+ import { BaseExtension } from './base';
3
+ import type { Parser } from '../parser';
4
+ import { MeshPrimitive } from '../glTF';
5
+ /**
6
+ * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_emissive_strength
7
+ */
8
+ export declare class KHR_materials_emissive_strength extends BaseExtension {
9
+ extendMaterial(material: THREE.Material, primitiveDef: MeshPrimitive, parser: Parser): Promise<void>;
10
+ }
@@ -0,0 +1,10 @@
1
+ import * as THREE from 'three/webgpu';
2
+ import { BaseExtension } from './base';
3
+ import type { Parser } from '../parser';
4
+ import { MeshPrimitive } from '../glTF';
5
+ /**
6
+ * Specification: https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_sheen
7
+ */
8
+ export declare class KHR_materials_sheen extends BaseExtension {
9
+ extendMaterial(material: THREE.Material, primitiveDef: MeshPrimitive, parser: Parser): Promise<void>;
10
+ }
@@ -0,0 +1,10 @@
1
+ import * as THREE from 'three/webgpu';
2
+ import { BaseExtension } from './base';
3
+ import type { Parser } from '../parser';
4
+ import { MeshPrimitive } from '../glTF';
5
+ /**
6
+ * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_transmission
7
+ */
8
+ export declare class KHR_materials_transmission extends BaseExtension {
9
+ extendMaterial(material: THREE.Material, primitiveDef: MeshPrimitive, parser: Parser): Promise<void>;
10
+ }
@@ -0,0 +1,12 @@
1
+ import { BaseExtension } from './base';
2
+ declare const EXTENSION_NAME = "KHR_materials_unlit";
3
+ /**
4
+ * Specification: https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_unlit
5
+ *
6
+ * WebGPU 下:material 类已在 parser.loadMaterialAsPBMMeshMaterial 阶段根据是否带
7
+ * `KHR_materials_unlit` 预先选择了 PBMMeshBasicNodeMaterial / PBMMeshPhysicalMaterial,
8
+ * 因此这里无需再做 shaderType 切换(旧 WebGL 版本的逻辑),保持空实现即可。
9
+ */
10
+ export declare class KHR_materials_unlit extends BaseExtension {
11
+ }
12
+ export { EXTENSION_NAME };
@@ -0,0 +1,6 @@
1
+ import { BaseExtension } from './base';
2
+ /**
3
+ * Specification: https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_mesh_quantization
4
+ */
5
+ export declare class KHR_mesh_quantization extends BaseExtension {
6
+ }
@@ -0,0 +1,10 @@
1
+ import * as THREE from 'three/webgpu';
2
+ import { BaseExtension } from './base';
3
+ import type { Parser } from '../parser';
4
+ import { Node } from '../glTF';
5
+ /**
6
+ * Specification: https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_node_visibility
7
+ */
8
+ export declare class KHR_node_visibility extends BaseExtension {
9
+ extendNode(node: THREE.Object3D, nodeDef: Node, parser: Parser): Promise<void>;
10
+ }
@@ -0,0 +1,9 @@
1
+ import * as THREE from 'three/webgpu';
2
+ import { BaseExtension } from './base';
3
+ import type { Parser } from '../parser';
4
+ /**
5
+ * Specification: https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_texture_basisu
6
+ */
7
+ export declare class KHR_texture_basisu extends BaseExtension {
8
+ loadTexture(index: number, parser: Parser): Promise<THREE.Texture> | null;
9
+ }
@@ -0,0 +1,10 @@
1
+ import * as THREE from 'three/webgpu';
2
+ import { BaseExtension } from './base';
3
+ import type { Parser } from '../parser';
4
+ import { TextureInfo } from '../glTF';
5
+ /**
6
+ * Specification: https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_texture_transform
7
+ */
8
+ export declare class KHR_texture_transform extends BaseExtension {
9
+ extendTexture(texture: THREE.Texture, mapDef: TextureInfo, parser: Parser): null | THREE.Texture;
10
+ }
@@ -0,0 +1,7 @@
1
+ import * as THREE from 'three/webgpu';
2
+ import { BaseExtension } from './base';
3
+ import type { Parser } from '../parser';
4
+ import { MeshPrimitive } from '../glTF';
5
+ export declare class REALSEE_materials_lightmap extends BaseExtension {
6
+ extendMaterial(material: THREE.Material, primitiveDef: MeshPrimitive, parser: Parser): Promise<void>;
7
+ }
@@ -0,0 +1,25 @@
1
+ import * as THREE from 'three/webgpu';
2
+ import type { Mesh, MeshPrimitive, TextureInfo, Node } from '../glTF';
3
+ import type { Parser } from '../parser';
4
+ import type { GlTFResult } from '../type';
5
+ import type { ImageBitmapLike } from '../../../../texture/imageBitmap';
6
+ export declare class BaseExtension {
7
+ markDefs(parser: Parser): void;
8
+ prepare(parser: Parser): void | Promise<void>;
9
+ emitResult(result: GlTFResult, parser: Parser): void | Promise<void>;
10
+ createPrimitiveKey(primitiveDef: MeshPrimitive, parser: Parser): void | string;
11
+ extendTexture(texture: THREE.Texture, mapDef: TextureInfo, parser: Parser): null | THREE.Texture;
12
+ loadBuffer(index: number, parser: Parser): null | Promise<ArrayBuffer>;
13
+ loadBufferView(index: number, parser: Parser): null | Promise<ArrayBuffer>;
14
+ loadImage(index: number, parser: Parser): null | Promise<ImageBitmapLike>;
15
+ loadTexture(index: number, parser: Parser): null | Promise<THREE.Texture>;
16
+ loadGeometry(primitiveDef: MeshPrimitive, parser: Parser): null | Promise<THREE.BufferGeometry>;
17
+ loadMaterial(primitiveDef: MeshPrimitive, parser: Parser): null | Promise<THREE.Material>;
18
+ loadMeshPrimitive(meshDef: Mesh, primitiveDef: MeshPrimitive, parser: Parser): null | Promise<THREE.Points | THREE.Line | THREE.Mesh>;
19
+ extendMaterial(material: THREE.Material, primitiveDef: MeshPrimitive, parser: Parser): Promise<void>;
20
+ loadMesh(index: number, parser: Parser): null | Promise<THREE.Object3D>;
21
+ extendNode(node: THREE.Object3D, nodeDef: Node, parser: Parser): Promise<void>;
22
+ loadNodeAttachments(index: number, parser: Parser): null | Promise<THREE.Object3D>;
23
+ loadCamera(index: number, parser: Parser): null | Promise<THREE.Camera>;
24
+ loadAnimation(index: number, parser: Parser): null | Promise<THREE.AnimationClip>;
25
+ }