@realsee/five 6.0.0-alpha.10 → 6.0.0-alpha.100

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 (385) hide show
  1. package/README.md +58 -1
  2. package/TERMS.txt +0 -2
  3. package/docs/assets/highlight.css +20 -20
  4. package/docs/assets/main.js +59 -52
  5. package/docs/assets/navigation.js +1 -0
  6. package/docs/assets/search.js +1 -1
  7. package/docs/assets/style.css +805 -825
  8. package/docs/classes/five.AnimationFrameLoop.html +16 -15
  9. package/docs/classes/five.BoxBoundingVolume.html +19 -1
  10. package/docs/classes/five.Camera.html +38 -11
  11. package/docs/classes/five.CullingVolume.html +13 -1
  12. package/docs/classes/five.Fetcher.html +5 -0
  13. package/docs/classes/five.Five.html +235 -290
  14. package/docs/classes/five.InternalWebGLRenderer.html +2 -1
  15. package/docs/classes/five.IntersectMesh.html +4 -1
  16. package/docs/classes/five.Model.html +69 -55
  17. package/docs/classes/five.ModelViewLayer.html +18 -0
  18. package/docs/classes/five.NetworkAbortError.html +2 -0
  19. package/docs/classes/five.NetworkFirbiddenError.html +2 -0
  20. package/docs/classes/five.NetworkResponseError.html +3 -0
  21. package/docs/classes/five.NetworkSubscribe.html +42 -56
  22. package/docs/classes/five.NetworkTimeoutError.html +2 -0
  23. package/docs/classes/five.PBMContainer.html +12 -13
  24. package/docs/classes/five.PBMGroup.html +3 -3
  25. package/docs/classes/five.PBMMesh.html +4 -5
  26. package/docs/classes/five.PBMMeshMaterial.html +50 -45
  27. package/docs/classes/five.PanoCircleMesh.html +30 -7
  28. package/docs/classes/five.PanoCircleMeshCustom.html +30 -7
  29. package/docs/classes/five.PanoCircleMeshSolid.html +30 -7
  30. package/docs/classes/five.RegionBoundingVolume.html +22 -1
  31. package/docs/classes/five.RequestScheduler.html +13 -12
  32. package/docs/classes/five.Scene.html +5 -3
  33. package/docs/classes/five.SphereBoundingVolume.html +18 -1
  34. package/docs/classes/five.Subscribe.html +43 -62
  35. package/docs/classes/five.TextureLoader.html +5 -1
  36. package/docs/classes/five.Tile.html +30 -1
  37. package/docs/classes/five.Tile3DModel.html +45 -1
  38. package/docs/classes/five.TileCubeTextureTarget.html +9 -1
  39. package/docs/classes/five.TileNode.html +5 -1
  40. package/docs/classes/five.Tileset.html +33 -5
  41. package/docs/classes/five.TilesetCache.html +8 -1
  42. package/docs/classes/five.TilesetTraverser.html +19 -1
  43. package/docs/classes/five.Work.html +33 -28
  44. package/docs/classes/five.XRButton.html +3 -1
  45. package/docs/classes/gltf_loader.DDSLoader.html +3 -1
  46. package/docs/classes/gltf_loader.DRACOLoader.html +8 -1
  47. package/docs/classes/gltf_loader.GLTFLoader.html +18 -17
  48. package/docs/classes/gltf_loader.GLTFObject.html +8 -6
  49. package/docs/classes/gltf_loader.GLTFParser.html +6 -1
  50. package/docs/classes/gltf_loader.THREEGLTFLoader.html +8 -1
  51. package/docs/classes/line.Line.html +10 -1
  52. package/docs/classes/line.LineGeometry.html +14 -1
  53. package/docs/classes/line.LineMaterial.html +8 -1
  54. package/docs/classes/line.LineSegmentsGeometry.html +12 -1
  55. package/docs/classes/line.THREE_Line2.html +4 -1
  56. package/docs/classes/line.THREE_LineSegments2.html +4 -1
  57. package/docs/classes/plugins.BasePlugin.Controller.html +38 -0
  58. package/docs/classes/plugins.ItemMaskController.html +37 -0
  59. package/docs/classes/react.Store.html +23 -29
  60. package/docs/classes/sticker.Sticker.html +25 -32
  61. package/docs/classes/vfx.Airflow.html +8 -1
  62. package/docs/classes/vfx.Flame.html +10 -1
  63. package/docs/classes/vfx.Particle.html +79 -82
  64. package/docs/classes/vfx.SpotLight.html +7 -1
  65. package/docs/enums/five.VolumePlaneIntersect.html +4 -1
  66. package/docs/functions/five.defaultImageURLTransform.html +5 -0
  67. package/docs/functions/five.getViewportScale.html +1 -0
  68. package/docs/functions/five.imageSupport.html +1 -0
  69. package/docs/functions/five.isPanoId.html +1 -0
  70. package/docs/functions/five.loadAt3d.html +1 -0
  71. package/docs/functions/five.loadB3dm.html +1 -0
  72. package/docs/functions/five.loadDome.html +1 -0
  73. package/docs/functions/five.loadDomez.html +1 -0
  74. package/docs/functions/five.loadPbm.html +1 -0
  75. package/docs/functions/five.loadPnts.html +1 -0
  76. package/docs/functions/five.panoEqual.html +1 -0
  77. package/docs/functions/five.panoParse.html +1 -0
  78. package/docs/functions/five.panoStringify.html +1 -0
  79. package/docs/functions/five.parseWork.html +7 -0
  80. package/docs/functions/plugins.ItemMaskPlugin.html +1 -0
  81. package/docs/functions/react.FiveCanvas-1.html +6 -0
  82. package/docs/functions/react.createFiveFeature.html +1 -0
  83. package/docs/functions/react.createFiveProvider.html +9 -0
  84. package/docs/functions/react.createStore.html +15 -0
  85. package/docs/functions/react.unsafe__useFiveInstance.html +5 -0
  86. package/docs/functions/react.useFiveAction.html +19 -0
  87. package/docs/functions/react.useFiveCameraDirection.html +3 -0
  88. package/docs/functions/react.useFiveCameraRaycaster.html +3 -0
  89. package/docs/functions/react.useFiveCurrentObserver.html +5 -0
  90. package/docs/functions/react.useFiveCurrentState.html +5 -0
  91. package/docs/functions/react.useFiveEventCallback.html +5 -0
  92. package/docs/functions/react.useFiveFloor.html +5 -0
  93. package/docs/functions/react.useFiveHelper.html +5 -0
  94. package/docs/functions/react.useFiveModelIntersectRaycaster.html +7 -0
  95. package/docs/functions/react.useFiveModelReadyState.html +4 -0
  96. package/docs/functions/react.useFiveProject2d.html +7 -0
  97. package/docs/functions/react.useFiveScene.html +2 -0
  98. package/docs/functions/react.useFiveSceneEffect.html +5 -0
  99. package/docs/functions/react.useFiveState.html +1 -0
  100. package/docs/functions/react.useFiveWork.html +8 -0
  101. package/docs/functions/react.withFive.html +1 -0
  102. package/docs/functions/vue.unsafe__useFiveInject.html +5 -0
  103. package/docs/functions/vue.useFiveAction.html +25 -0
  104. package/docs/functions/vue.useFiveCameraDirection.html +3 -0
  105. package/docs/functions/vue.useFiveCameraRaycaster.html +3 -0
  106. package/docs/functions/vue.useFiveCurrentObserver.html +5 -0
  107. package/docs/functions/vue.useFiveCurrentState.html +5 -0
  108. package/docs/functions/vue.useFiveEventCallback.html +5 -0
  109. package/docs/functions/vue.useFiveFloor.html +5 -0
  110. package/docs/functions/vue.useFiveHelper.html +5 -0
  111. package/docs/functions/vue.useFiveModel.html +2 -0
  112. package/docs/functions/vue.useFiveModelBounding.html +2 -0
  113. package/docs/functions/vue.useFiveModelIntersectRaycaster.html +7 -0
  114. package/docs/functions/vue.useFiveModelReadyState.html +4 -0
  115. package/docs/functions/vue.useFiveProject2d.html +7 -0
  116. package/docs/functions/vue.useFiveScene.html +2 -0
  117. package/docs/functions/vue.useFiveState.html +5 -0
  118. package/docs/functions/vue.useFiveWorks.html +8 -0
  119. package/docs/index.html +81 -79
  120. package/docs/interfaces/five.AddableObject.html +9 -9
  121. package/docs/interfaces/five.AjaxOptions.html +11 -0
  122. package/docs/interfaces/five.AnimationFrame.html +5 -1
  123. package/docs/interfaces/five.BaseEvent.html +5 -1
  124. package/docs/interfaces/five.BoundingVolume.html +15 -1
  125. package/docs/interfaces/five.CameraPose.html +6 -1
  126. package/docs/interfaces/five.ClipperParameter.html +3 -1
  127. package/docs/interfaces/five.EventCallback.html +355 -462
  128. package/docs/interfaces/five.FiveInitArgs.html +80 -86
  129. package/docs/interfaces/five.FiveLoadOptions.html +36 -0
  130. package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +17 -15
  131. package/docs/interfaces/five.GestureEvent.html +19 -1
  132. package/docs/interfaces/five.ImageOptions.html +16 -18
  133. package/docs/interfaces/five.ImageURLMappings.html +1 -1
  134. package/docs/interfaces/five.ImageURLOptions.html +15 -15
  135. package/docs/interfaces/five.IntersectEvent.html +8 -1
  136. package/docs/interfaces/five.IntersectMeshInterface.html +3 -3
  137. package/docs/interfaces/five.Intersection.html +5 -7
  138. package/docs/interfaces/five.MapviewControllerCustomInitArgs.html +15 -11
  139. package/docs/interfaces/five.ModeChangeEvent.html +9 -1
  140. package/docs/interfaces/five.ModelControllerCustomInitArgs.html +18 -18
  141. package/docs/interfaces/five.ModelEvent.html +8 -1
  142. package/docs/interfaces/five.ModelsEvent.html +6 -1
  143. package/docs/interfaces/five.MotionKeyframe.html +4 -1
  144. package/docs/interfaces/five.MovePanoOptions.html +24 -35
  145. package/docs/interfaces/five.NetworkOptions.html +9 -9
  146. package/docs/interfaces/five.NetworkResourceEvent.html +9 -1
  147. package/docs/interfaces/five.ObjectEvent.html +6 -1
  148. package/docs/interfaces/five.PBMPanoPicture.html +9 -7
  149. package/docs/interfaces/five.PBMParameters.html +42 -43
  150. package/docs/interfaces/five.PanoCircleMeshCustomOptions.html +9 -1
  151. package/docs/interfaces/five.PanoCircleMeshInterface.html +21 -10
  152. package/docs/interfaces/five.PanoCircleMeshOptions.html +3 -1
  153. package/docs/interfaces/five.PanoCircleMeshSolidOptions.html +3 -1
  154. package/docs/interfaces/five.PanoEvent.html +11 -1
  155. package/docs/interfaces/five.PanoTextureEvent.html +9 -1
  156. package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +32 -32
  157. package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +18 -18
  158. package/docs/interfaces/five.Pose.html +15 -32
  159. package/docs/interfaces/five.RenderEvent.html +7 -1
  160. package/docs/interfaces/five.Scissor.html +11 -12
  161. package/docs/interfaces/five.State.html +20 -21
  162. package/docs/interfaces/five.StateEvent.html +7 -1
  163. package/docs/interfaces/five.SubscribeMixinType.emit.html +1 -1
  164. package/docs/interfaces/five.SubscribeMixinType.hasListener.html +1 -1
  165. package/docs/interfaces/five.SubscribeMixinType.off.html +1 -1
  166. package/docs/interfaces/five.SubscribeMixinType.on.html +1 -1
  167. package/docs/interfaces/five.SubscribeMixinType.once.html +1 -1
  168. package/docs/interfaces/five.SubscribeMixinType.waitUnitl.html +1 -1
  169. package/docs/interfaces/five.TextureOptions.html +18 -20
  170. package/docs/interfaces/five.Tile3DModelLoaderOptions.html +12 -3
  171. package/docs/interfaces/five.TileCubeNode.html +7 -1
  172. package/docs/interfaces/five.TileCubeTree.html +2 -1
  173. package/docs/interfaces/five.TileHeader.html +9 -1
  174. package/docs/interfaces/five.TilesetHeader.html +6 -1
  175. package/docs/interfaces/five.TilesetOptions.html +6 -1
  176. package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +9 -9
  177. package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +28 -28
  178. package/docs/interfaces/five.WebXRAxesParams.html +4 -1
  179. package/docs/interfaces/five.WebXRControllerParams.html +2 -1
  180. package/docs/interfaces/five.WorkCubeImage.html +15 -13
  181. package/docs/interfaces/five.WorkImage.html +20 -21
  182. package/docs/interfaces/five.WorkInitial.html +17 -17
  183. package/docs/interfaces/five.WorkModel.html +12 -13
  184. package/docs/interfaces/five.WorkObserver.html +40 -39
  185. package/docs/interfaces/five.WorkResolvedObserver.html +41 -37
  186. package/docs/interfaces/five.WorkTile.html +10 -1
  187. package/docs/interfaces/five.WorkVideo.html +8 -9
  188. package/docs/interfaces/five.WorksEvent.html +9 -1
  189. package/docs/interfaces/five.XRControllerEvent.html +8 -1
  190. package/docs/interfaces/five.XRGestureEvent.html +11 -1
  191. package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +28 -28
  192. package/docs/interfaces/five.XRSessionEvent.html +7 -1
  193. package/docs/interfaces/gltf_loader.DDS.html +7 -1
  194. package/docs/interfaces/gltf_loader.GLTF.html +10 -4
  195. package/docs/interfaces/gltf_loader.GLTFReference.html +3 -1
  196. package/docs/interfaces/gltf_loader.THREEGLTF.html +8 -1
  197. package/docs/interfaces/plugins.BasePlugin.BaseOptions.html +3 -0
  198. package/docs/interfaces/plugins.BasePlugin.Config.html +5 -0
  199. package/docs/interfaces/plugins.BasePlugin.State.html +8 -0
  200. package/docs/interfaces/plugins.ItemMaskPluginType.Config.html +2 -0
  201. package/docs/interfaces/plugins.ItemMaskPluginType.EventMap.html +10 -0
  202. package/docs/interfaces/plugins.ItemMaskPluginType.ItemType.html +13 -0
  203. package/docs/interfaces/plugins.ItemMaskPluginType.MaskType.html +4 -0
  204. package/docs/interfaces/plugins.ItemMaskPluginType.Params.html +4 -0
  205. package/docs/interfaces/plugins.ItemMaskPluginType.State.html +14 -0
  206. package/docs/interfaces/react.FiveActionReactCallbacks.html +27 -37
  207. package/docs/interfaces/react.FiveInjectionTypes.html +112 -138
  208. package/docs/interfaces/react.PropTypeOfFiveFeatures.html +2 -1
  209. package/docs/interfaces/sticker.IntersectionLike.html +7 -8
  210. package/docs/interfaces/vfx.ParticleArgs.html +67 -68
  211. package/docs/interfaces/vfx.ParticleTweenKeyframe.html +3 -1
  212. package/docs/interfaces/vue.FiveActionVueCallbacks.html +31 -42
  213. package/docs/modules/five.SubscribeMixinType.html +7 -1
  214. package/docs/modules/five.html +170 -643
  215. package/docs/modules/gltf_loader.html +11 -1
  216. package/docs/modules/line.html +8 -1
  217. package/docs/modules/plugins.BasePlugin.html +6 -0
  218. package/docs/modules/plugins.ItemMaskPluginType.html +9 -0
  219. package/docs/modules/plugins.html +5 -0
  220. package/docs/modules/react.FiveCanvas.html +8 -0
  221. package/docs/modules/react.html +37 -130
  222. package/docs/modules/sticker.html +3 -1
  223. package/docs/modules/vfx.html +8 -1
  224. package/docs/modules/vue.html +24 -115
  225. package/docs/types/five.AjaxResponseType.html +1 -0
  226. package/docs/types/five.AjaxResponseTypeMapping.html +1 -0
  227. package/docs/types/five.BoundingVolumeJson.html +1 -0
  228. package/docs/types/five.BoxBoundingVolumeJson.html +1 -0
  229. package/docs/types/five.ControllerCustomInitTypes.html +1 -0
  230. package/docs/types/five.ControllerEventTypes.html +32 -0
  231. package/docs/types/five.EventTypes.html +26 -0
  232. package/docs/types/five.FivePlugin.html +71 -0
  233. package/docs/types/five.FivePluginInit.html +3 -0
  234. package/docs/types/five.FivePluginInstance.html +3 -0
  235. package/docs/types/five.GestureTypes.html +1 -0
  236. package/docs/types/five.LegacyEventType.html +203 -0
  237. package/docs/types/five.LooseWork.html +1 -0
  238. package/docs/types/five.LooseWorkInitial.html +1 -0
  239. package/docs/types/five.LooseWorkModel.html +1 -0
  240. package/docs/types/five.LooseWorkObserver.html +1 -0
  241. package/docs/types/five.LooseWorkPanorama.html +1 -0
  242. package/docs/types/five.LooseWorkVideo.html +1 -0
  243. package/docs/types/five.LooseWorkWithExtrinsics.html +2 -0
  244. package/docs/types/five.Mirror.html +1 -0
  245. package/docs/types/five.Mode.html +10 -0
  246. package/docs/types/five.ModelMaterialValues.html +1 -0
  247. package/docs/types/five.Models.html +13 -0
  248. package/docs/types/five.MotionValue.html +1 -0
  249. package/docs/types/five.MovePanoEffect.html +11 -0
  250. package/docs/types/five.NetWorkMeta.html +1 -0
  251. package/docs/types/five.NetworkError.html +1 -0
  252. package/docs/types/five.NetworkErrorCallback.html +1 -0
  253. package/docs/types/five.NetworkProgressCallback.html +1 -0
  254. package/docs/types/five.NetworkResponse.html +1 -0
  255. package/docs/types/five.NetworkState.html +1 -0
  256. package/docs/types/five.NetworkSuccessCallback.html +1 -0
  257. package/docs/types/five.NetworkType.html +1 -0
  258. package/docs/types/five.Pano.html +1 -0
  259. package/docs/types/five.PanoId.html +1 -0
  260. package/docs/types/five.ParseWorkOptions.html +6 -0
  261. package/docs/types/five.ParsedResultType.html +1 -0
  262. package/docs/types/five.PostProcessingType.html +1 -0
  263. package/docs/types/five.RegionBoundingVolumeJson.html +1 -0
  264. package/docs/types/five.RequestResult.html +1 -0
  265. package/docs/types/five.SphereBoundingVolumeJson.html +1 -0
  266. package/docs/types/five.SubscribeEventMap.html +1 -0
  267. package/docs/types/five.TileContentData.html +1 -0
  268. package/docs/types/five.TilesetFrameState.html +1 -0
  269. package/docs/types/five.WebXRControllerKey.html +1 -0
  270. package/docs/types/five.WebXRControllerType.html +1 -0
  271. package/docs/types/five.Works.html +1 -0
  272. package/docs/types/line.LineMaterialParameters.html +1 -0
  273. package/docs/types/plugins.BasePlugin.EventMap.html +6 -0
  274. package/docs/types/plugins.ItemMaskPluginType.PluginData.html +1 -0
  275. package/docs/types/plugins.ItemMaskPluginType.ServerData.html +1 -0
  276. package/docs/types/react.FiveInjectionActionFeature.html +1 -0
  277. package/docs/types/react.FiveInjectionDataFeature.html +1 -0
  278. package/docs/types/react.FiveInjectionFeature.html +1 -0
  279. package/docs/types/react.FiveProviderPropTypes.html +1 -0
  280. package/docs/types/react.FiveProviderType.html +1 -0
  281. package/docs/types/react.StoreActionMapHanlder.html +1 -0
  282. package/docs/types/react.StoreActionMapType.html +1 -0
  283. package/docs/types/react.StoreProviderType.html +1 -0
  284. package/docs/types/react.StoreValueMapType.html +1 -0
  285. package/docs/types/vfx.ParticleType.html +1 -0
  286. package/docs/types/vue.FiveModelIntersectRaycaster.html +1 -0
  287. package/docs/types/vue.FiveProviderComponent.html +1 -0
  288. package/docs/types/vue.Project2d.html +1 -0
  289. package/docs/variables/five.PROXY_CONTROLLER_EVENT_NAMES.html +1 -0
  290. package/docs/variables/five.defaultPbmParameters.html +1 -0
  291. package/docs/variables/react.INJECTION_PROPNAME.html +1 -0
  292. package/docs/variables/vue.FiveCanvas.html +8 -0
  293. package/docs/variables/vue.FiveProvider.html +8 -0
  294. package/five/index.d.ts +553 -351
  295. package/five/index.js +1879 -218
  296. package/five/index.mjs +23248 -0
  297. package/gltf-loader/index.js +204 -203
  298. package/gltf-loader/index.mjs +1708 -0
  299. package/line/index.js +396 -202
  300. package/line/index.mjs +776 -0
  301. package/package.json +48 -12
  302. package/plugins/index.d.ts +253 -0
  303. package/plugins/index.js +350 -0
  304. package/plugins/index.mjs +796 -0
  305. package/react/index.d.ts +38 -45
  306. package/react/index.js +198 -203
  307. package/react/index.mjs +1072 -0
  308. package/scripts/five-staticify.js +183 -2
  309. package/sticker/index.js +198 -203
  310. package/sticker/index.mjs +399 -0
  311. package/umd/five-gltf-loader.js +261 -1
  312. package/umd/five-line.js +454 -1
  313. package/umd/five-plugins.js +350 -0
  314. package/umd/five-react.js +255 -1
  315. package/umd/five-sticker.js +255 -1
  316. package/umd/five-vfx.js +539 -1
  317. package/umd/five-vue.js +255 -1
  318. package/umd/five.js +2023 -2
  319. package/vfx/index.js +481 -202
  320. package/vfx/index.mjs +1032 -0
  321. package/vue/index.d.ts +1 -1
  322. package/vue/index.js +198 -203
  323. package/vue/index.mjs +574 -0
  324. package/docs/assets/icons.css +0 -1043
  325. package/docs/assets/icons.png +0 -0
  326. package/docs/assets/icons@2x.png +0 -0
  327. package/docs/assets/widgets.png +0 -0
  328. package/docs/assets/widgets@2x.png +0 -0
  329. package/docs/classes/five.BVH.html +0 -10
  330. package/docs/classes/five.BVHIntersect.html +0 -1
  331. package/docs/classes/five.BVHNode.html +0 -7
  332. package/docs/classes/five.BVHVector3.html +0 -1
  333. package/docs/classes/five.Clipper.html +0 -1
  334. package/docs/classes/five.PBMMaterialReferenceCache.html +0 -1
  335. package/docs/enums/five.PBMPointColorType.html +0 -1
  336. package/docs/enums/five.PBMPointShapeType.html +0 -1
  337. package/docs/enums/five.PBMPointSizeType.html +0 -1
  338. package/docs/interfaces/five.DepthPanoramaControllerCustomInitArgs.html +0 -26
  339. package/docs/interfaces/five.ModelLodOptions.html +0 -1
  340. package/docs/interfaces/five.WorkOptions.html +0 -15
  341. package/docs/modules.html +0 -1
  342. package/exporters/staticify.js +0 -210
  343. package/scripts/five-plugin-init.js +0 -83
  344. package/scripts/five-quick-start-init.js +0 -80
  345. package/scripts/five-react-component-init.js +0 -83
  346. package/templates/plugin/README.md +0 -38
  347. package/templates/plugin/devtools/external-five.js +0 -5
  348. package/templates/plugin/devtools/external-three.js +0 -5
  349. package/templates/plugin/devtools/tsconfig.build.json +0 -18
  350. package/templates/plugin/devtools/webpack.bundle.js +0 -44
  351. package/templates/plugin/devtools/webpack.example.js +0 -39
  352. package/templates/plugin/docs/.gitkeep +0 -0
  353. package/templates/plugin/examples/data.json +0 -507
  354. package/templates/plugin/examples/index.html +0 -28
  355. package/templates/plugin/examples/index.ts +0 -12
  356. package/templates/plugin/lib/index.ts +0 -30
  357. package/templates/plugin/package.json +0 -32
  358. package/templates/plugin/tsconfig.json +0 -26
  359. package/templates/quick-start/README.md +0 -47
  360. package/templates/quick-start/assets/work.json +0 -507
  361. package/templates/quick-start/index.html +0 -54
  362. package/templates/quick-start/index.tsx +0 -123
  363. package/templates/quick-start/package.json +0 -25
  364. package/templates/quick-start/tsconfig.json +0 -27
  365. package/templates/quick-start/webpack.config.js +0 -45
  366. package/templates/quick-start/webpack.production.js +0 -42
  367. package/templates/react-component/README.md +0 -32
  368. package/templates/react-component/devtools/external-five.js +0 -5
  369. package/templates/react-component/devtools/external-react.js +0 -5
  370. package/templates/react-component/devtools/external-three.js +0 -5
  371. package/templates/react-component/devtools/tsconfig.build.json +0 -19
  372. package/templates/react-component/devtools/webpack.bundle.js +0 -44
  373. package/templates/react-component/devtools/webpack.example.js +0 -39
  374. package/templates/react-component/docs/.gitkeep +0 -0
  375. package/templates/react-component/examples/data.json +0 -507
  376. package/templates/react-component/examples/index.html +0 -17
  377. package/templates/react-component/examples/index.tsx +0 -62
  378. package/templates/react-component/lib/index.tsx +0 -157
  379. package/templates/react-component/package.json +0 -38
  380. package/templates/react-component/tsconfig.json +0 -27
  381. package/umd/five-gltf-loader.js.LICENSE.txt +0 -14
  382. package/umd/five-line.js.LICENSE.txt +0 -14
  383. package/umd/five-react.js.LICENSE.txt +0 -14
  384. package/umd/five-sticker.js.LICENSE.txt +0 -14
  385. package/umd/five.js.LICENSE.txt +0 -100
@@ -1,507 +0,0 @@
1
- {
2
- "user_id": 1000000020355831,
3
- "project_id": "auto3d-DJaa08PIzN4JYluXQ1j2VS",
4
- "name": "贝壳·如视 | 真实,如你所视",
5
- "is_active": true,
6
- "title": "a62e1ebf7d013f7df117551a14af79fc",
7
- "description": "",
8
- "picture_url": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/screenshot\/1617181538_6\/pc0_Ta021gL8o.jpg",
9
- "picture_checksum": "be869ab9ddad58a1037c9ba556d36baa",
10
- "initial": {
11
- "pano_index": 6,
12
- "heading": 0,
13
- "longitude": 2.6869287662553916,
14
- "latitude": 0,
15
- "fov": 95,
16
- "flag_position": [
17
- -6.218280029296875,
18
- -1.368765398621047,
19
- 7.642519855499268
20
- ],
21
- "pano": 6
22
- },
23
- "machine_id": "PHBBC00293",
24
- "machine_version": "3",
25
- "title_picture_url": "http:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/screenshot\/1617181538_6\/pc1_dNN1OSNiN_1.jpg",
26
- "title_picture_checksum": "62a4d5b155dfd7ee5765b1aafb72991a",
27
- "house_layout": {
28
- "bedroom_amount": 2,
29
- "parlor_amount": 1,
30
- "cookroom_amount": 1,
31
- "toilet_amount": 1
32
- },
33
- "status": 1,
34
- "floor_plan_type": 0,
35
- "editor_type": 2,
36
- "panorama_url": "",
37
- "create_time": "2021-03-31 21:02:51",
38
- "work_code": "2kbe37PwJOwMYqG8",
39
- "house_info": {
40
- "relation_id": 15245832,
41
- "city_id": 330100,
42
- "source": "ALLIANCE",
43
- "house_id": "1815046123278",
44
- "house_code": "103114128650"
45
- },
46
- "model": {
47
- "file_url": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/model\/auto3d-DJaa08PIzN4JYluXQ1j2VS.at3d",
48
- "material_base_url": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/materials\/",
49
- "material_textures": [
50
- "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/materials\/texture_0.jpg",
51
- "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/materials\/texture_1.jpg",
52
- "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/materials\/texture_2.jpg",
53
- "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/materials\/texture_3.jpg",
54
- "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/materials\/texture_4.jpg",
55
- "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/materials\/texture_5.jpg",
56
- "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/materials\/texture_6.jpg",
57
- "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/materials\/texture_7.jpg",
58
- "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/materials\/texture_8.jpg",
59
- "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/materials\/texture_9.jpg"
60
- ],
61
- "score": 106.48,
62
- "type": 0,
63
- "work_code": "2kbe37PwJOwMYqG8"
64
- },
65
- "panorama": {
66
- "count": 10,
67
- "base_url": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/",
68
- "type": 0,
69
- "list": [
70
- {
71
- "index": 0,
72
- "up": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/0\/2257f0f0b29d5b00ff01934ce51aaa35\/0_u.jpg",
73
- "down": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/0\/2257f0f0b29d5b00ff01934ce51aaa35\/0_d.jpg",
74
- "left": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/0\/2257f0f0b29d5b00ff01934ce51aaa35\/0_l.jpg",
75
- "right": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/0\/2257f0f0b29d5b00ff01934ce51aaa35\/0_r.jpg",
76
- "front": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/0\/2257f0f0b29d5b00ff01934ce51aaa35\/0_f.jpg",
77
- "back": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/0\/2257f0f0b29d5b00ff01934ce51aaa35\/0_b.jpg"
78
- },
79
- {
80
- "index": 1,
81
- "up": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/1\/ecb554bb1c122fa90186d176ccfecde4\/1_u.jpg",
82
- "down": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/1\/ecb554bb1c122fa90186d176ccfecde4\/1_d.jpg",
83
- "left": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/1\/ecb554bb1c122fa90186d176ccfecde4\/1_l.jpg",
84
- "right": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/1\/ecb554bb1c122fa90186d176ccfecde4\/1_r.jpg",
85
- "front": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/1\/ecb554bb1c122fa90186d176ccfecde4\/1_f.jpg",
86
- "back": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/1\/ecb554bb1c122fa90186d176ccfecde4\/1_b.jpg"
87
- },
88
- {
89
- "index": 2,
90
- "up": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/2\/9bd853b960ff837ab3dda99d80c60a3d\/2_u.jpg",
91
- "down": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/2\/9bd853b960ff837ab3dda99d80c60a3d\/2_d.jpg",
92
- "left": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/2\/9bd853b960ff837ab3dda99d80c60a3d\/2_l.jpg",
93
- "right": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/2\/9bd853b960ff837ab3dda99d80c60a3d\/2_r.jpg",
94
- "front": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/2\/9bd853b960ff837ab3dda99d80c60a3d\/2_f.jpg",
95
- "back": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/2\/9bd853b960ff837ab3dda99d80c60a3d\/2_b.jpg"
96
- },
97
- {
98
- "index": 3,
99
- "up": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/3\/2ff55fa5be112fe1314cbcaf97ac27df\/3_u.jpg",
100
- "down": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/3\/2ff55fa5be112fe1314cbcaf97ac27df\/3_d.jpg",
101
- "left": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/3\/2ff55fa5be112fe1314cbcaf97ac27df\/3_l.jpg",
102
- "right": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/3\/2ff55fa5be112fe1314cbcaf97ac27df\/3_r.jpg",
103
- "front": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/3\/2ff55fa5be112fe1314cbcaf97ac27df\/3_f.jpg",
104
- "back": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/3\/2ff55fa5be112fe1314cbcaf97ac27df\/3_b.jpg"
105
- },
106
- {
107
- "index": 4,
108
- "up": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/4\/bda2a018e6d4ba63cdb86aaf6bd8d295\/4_u.jpg",
109
- "down": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/4\/bda2a018e6d4ba63cdb86aaf6bd8d295\/4_d.jpg",
110
- "left": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/4\/bda2a018e6d4ba63cdb86aaf6bd8d295\/4_l.jpg",
111
- "right": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/4\/bda2a018e6d4ba63cdb86aaf6bd8d295\/4_r.jpg",
112
- "front": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/4\/bda2a018e6d4ba63cdb86aaf6bd8d295\/4_f.jpg",
113
- "back": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/4\/bda2a018e6d4ba63cdb86aaf6bd8d295\/4_b.jpg"
114
- },
115
- {
116
- "index": 5,
117
- "up": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/5\/f6f2b65ecdf3618ebe79e470ed978d9f\/5_u.jpg",
118
- "down": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/5\/f6f2b65ecdf3618ebe79e470ed978d9f\/5_d.jpg",
119
- "left": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/5\/f6f2b65ecdf3618ebe79e470ed978d9f\/5_l.jpg",
120
- "right": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/5\/f6f2b65ecdf3618ebe79e470ed978d9f\/5_r.jpg",
121
- "front": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/5\/f6f2b65ecdf3618ebe79e470ed978d9f\/5_f.jpg",
122
- "back": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/5\/f6f2b65ecdf3618ebe79e470ed978d9f\/5_b.jpg"
123
- },
124
- {
125
- "index": 6,
126
- "up": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/6\/f5c80eedf90fab92c3e28025e5cf1701\/6_u.jpg",
127
- "down": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/6\/f5c80eedf90fab92c3e28025e5cf1701\/6_d.jpg",
128
- "left": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/6\/f5c80eedf90fab92c3e28025e5cf1701\/6_l.jpg",
129
- "right": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/6\/f5c80eedf90fab92c3e28025e5cf1701\/6_r.jpg",
130
- "front": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/6\/f5c80eedf90fab92c3e28025e5cf1701\/6_f.jpg",
131
- "back": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/6\/f5c80eedf90fab92c3e28025e5cf1701\/6_b.jpg"
132
- },
133
- {
134
- "index": 7,
135
- "up": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/7\/e7609b5109d6dce4cd3ef2c7243b32f4\/7_u.jpg",
136
- "down": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/7\/e7609b5109d6dce4cd3ef2c7243b32f4\/7_d.jpg",
137
- "left": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/7\/e7609b5109d6dce4cd3ef2c7243b32f4\/7_l.jpg",
138
- "right": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/7\/e7609b5109d6dce4cd3ef2c7243b32f4\/7_r.jpg",
139
- "front": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/7\/e7609b5109d6dce4cd3ef2c7243b32f4\/7_f.jpg",
140
- "back": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/7\/e7609b5109d6dce4cd3ef2c7243b32f4\/7_b.jpg"
141
- },
142
- {
143
- "index": 8,
144
- "up": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/8\/ab3505c91eca2a2ae84ccf00b61c2d24\/8_u.jpg",
145
- "down": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/8\/ab3505c91eca2a2ae84ccf00b61c2d24\/8_d.jpg",
146
- "left": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/8\/ab3505c91eca2a2ae84ccf00b61c2d24\/8_l.jpg",
147
- "right": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/8\/ab3505c91eca2a2ae84ccf00b61c2d24\/8_r.jpg",
148
- "front": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/8\/ab3505c91eca2a2ae84ccf00b61c2d24\/8_f.jpg",
149
- "back": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/8\/ab3505c91eca2a2ae84ccf00b61c2d24\/8_b.jpg"
150
- },
151
- {
152
- "index": 9,
153
- "up": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/9\/abb9cda32ccb7b2caf42020893ab0aab\/9_u.jpg",
154
- "down": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/9\/abb9cda32ccb7b2caf42020893ab0aab\/9_d.jpg",
155
- "left": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/9\/abb9cda32ccb7b2caf42020893ab0aab\/9_l.jpg",
156
- "right": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/9\/abb9cda32ccb7b2caf42020893ab0aab\/9_r.jpg",
157
- "front": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/9\/abb9cda32ccb7b2caf42020893ab0aab\/9_f.jpg",
158
- "back": "https:\/\/vrlab-public.ljcdn.com\/release\/auto3dhd\/a62e1ebf7d013f7df117551a14af79fc\/images\/cube_2048\/9\/abb9cda32ccb7b2caf42020893ab0aab\/9_b.jpg"
159
- }
160
- ],
161
- "work_code": "2kbe37PwJOwMYqG8"
162
- },
163
- "observers": [
164
- {
165
- "visible_nodes": [
166
- 1,
167
- 2
168
- ],
169
- "accessible_nodes": [
170
- 1,
171
- 2
172
- ],
173
- "index": 0,
174
- "quaternion": {
175
- "w": 0.45076583925142194,
176
- "x": 0.010070951976936936,
177
- "y": -0.8925839597148215,
178
- "z": -0.0016154299986102319
179
- },
180
- "standing_position": [
181
- -6.956049919128418,
182
- -1.3924440682333898,
183
- 1.6591600179672241
184
- ],
185
- "position": [
186
- -6.956049919128418,
187
- -0.10312400013208389,
188
- 1.6591600179672241
189
- ],
190
- "floor_index": 0,
191
- "offset_point_count": 0,
192
- "device_info": null,
193
- "work_code": "2kbe37PwJOwMYqG8"
194
- },
195
- {
196
- "visible_nodes": [
197
- 0,
198
- 2,
199
- 4,
200
- 9
201
- ],
202
- "accessible_nodes": [
203
- 0,
204
- 2,
205
- 4,
206
- 9
207
- ],
208
- "index": 1,
209
- "quaternion": {
210
- "w": -0.9884643083591809,
211
- "x": -0.0038900979633806664,
212
- "y": 0.1512670435365699,
213
- "z": -0.006439990839033269
214
- },
215
- "standing_position": [
216
- -6.176340103149414,
217
- -1.380554749576384,
218
- 2.179759979248047
219
- ],
220
- "position": [
221
- -6.176340103149414,
222
- -0.10025200247764587,
223
- 2.179759979248047
224
- ],
225
- "floor_index": 0,
226
- "offset_point_count": 0,
227
- "device_info": null,
228
- "work_code": "2kbe37PwJOwMYqG8"
229
- },
230
- {
231
- "visible_nodes": [
232
- 0,
233
- 1,
234
- 3,
235
- 5,
236
- 6,
237
- 7
238
- ],
239
- "accessible_nodes": [
240
- 0,
241
- 1,
242
- 3,
243
- 5,
244
- 6,
245
- 7
246
- ],
247
- "index": 2,
248
- "quaternion": {
249
- "w": -0.9759043268507697,
250
- "x": -0.0019721373978620915,
251
- "y": -0.21808668862894345,
252
- "z": 0.006711333945888228
253
- },
254
- "standing_position": [
255
- -5.437339782714844,
256
- -1.383095554575539,
257
- 2.598710060119629
258
- ],
259
- "position": [
260
- -5.437339782714844,
261
- -0.09842800348997116,
262
- 2.598710060119629
263
- ],
264
- "floor_index": 0,
265
- "offset_point_count": 0,
266
- "device_info": null,
267
- "work_code": "2kbe37PwJOwMYqG8"
268
- },
269
- {
270
- "visible_nodes": [
271
- 2,
272
- 4,
273
- 5,
274
- 6,
275
- 7
276
- ],
277
- "accessible_nodes": [
278
- 2,
279
- 4,
280
- 5,
281
- 6,
282
- 7
283
- ],
284
- "index": 3,
285
- "quaternion": {
286
- "w": -0.029965333012015812,
287
- "x": 0.004792436102214012,
288
- "y": -0.9995382032440286,
289
- "z": -0.0015766008368684518
290
- },
291
- "standing_position": [
292
- -5.576590061187744,
293
- -1.3838616484886683,
294
- -0.6104490160942078
295
- ],
296
- "position": [
297
- -5.576590061187744,
298
- -0.09492909908294678,
299
- -0.6104490160942078
300
- ],
301
- "floor_index": 0,
302
- "offset_point_count": 0,
303
- "device_info": null,
304
- "work_code": "2kbe37PwJOwMYqG8"
305
- },
306
- {
307
- "visible_nodes": [
308
- 1,
309
- 3
310
- ],
311
- "accessible_nodes": [
312
- 1,
313
- 3
314
- ],
315
- "index": 4,
316
- "quaternion": {
317
- "w": -0.7784191742286066,
318
- "x": 0.0061470501387415315,
319
- "y": -0.6276976570495352,
320
- "z": 0.004634062159598484
321
- },
322
- "standing_position": [
323
- -4.817440032958984,
324
- -1.4112677188270255,
325
- -0.9183740019798279
326
- ],
327
- "position": [
328
- -4.817440032958984,
329
- -0.11868900060653687,
330
- -0.9183740019798279
331
- ],
332
- "floor_index": 0,
333
- "offset_point_count": 0,
334
- "device_info": null,
335
- "work_code": "2kbe37PwJOwMYqG8"
336
- },
337
- {
338
- "visible_nodes": [
339
- 2,
340
- 3,
341
- 6,
342
- 7
343
- ],
344
- "accessible_nodes": [
345
- 2,
346
- 3,
347
- 6,
348
- 7
349
- ],
350
- "index": 5,
351
- "quaternion": {
352
- "w": -0.008301990565287179,
353
- "x": 0.0010872283475401893,
354
- "y": -0.9999649444038442,
355
- "z": 2.064128384382794e-5
356
- },
357
- "standing_position": [
358
- -5.5607099533081055,
359
- -1.3013700964729957,
360
- -2.5796799659729004
361
- ],
362
- "position": [
363
- -5.5607099533081055,
364
- -0.013925399631261826,
365
- -2.5796799659729004
366
- ],
367
- "floor_index": 0,
368
- "offset_point_count": 0,
369
- "device_info": null,
370
- "work_code": "2kbe37PwJOwMYqG8"
371
- },
372
- {
373
- "visible_nodes": [
374
- 2,
375
- 3,
376
- 5,
377
- 7,
378
- 8
379
- ],
380
- "accessible_nodes": [
381
- 2,
382
- 3,
383
- 5,
384
- 7,
385
- 8
386
- ],
387
- "index": 6,
388
- "quaternion": {
389
- "w": -0.9524056894064341,
390
- "x": 0.003977047065914255,
391
- "y": -0.30475313278605054,
392
- "z": 0.005755277061564329
393
- },
394
- "standing_position": [
395
- -5.829790115356445,
396
- -1.3787892565785258,
397
- 4.545259952545166
398
- ],
399
- "position": [
400
- -5.829790115356445,
401
- -0.08911240100860596,
402
- 4.545259952545166
403
- ],
404
- "floor_index": 0,
405
- "offset_point_count": 0,
406
- "device_info": null,
407
- "work_code": "2kbe37PwJOwMYqG8"
408
- },
409
- {
410
- "visible_nodes": [
411
- 2,
412
- 3,
413
- 5,
414
- 6
415
- ],
416
- "accessible_nodes": [
417
- 2,
418
- 3,
419
- 5,
420
- 6
421
- ],
422
- "index": 7,
423
- "quaternion": {
424
- "w": -0.9793688239077526,
425
- "x": 0.000149504411328741,
426
- "y": -0.20206542477861278,
427
- "z": -0.0024980745397071816
428
- },
429
- "standing_position": [
430
- -6.018280029296875,
431
- -1.368765398621047,
432
- 7.492519855499268
433
- ],
434
- "position": [
435
- -6.018280029296875,
436
- -0.09965620189905167,
437
- 7.492519855499268
438
- ],
439
- "floor_index": 0,
440
- "offset_point_count": 0,
441
- "device_info": null,
442
- "work_code": "2kbe37PwJOwMYqG8"
443
- },
444
- {
445
- "visible_nodes": [
446
- 6,
447
- 9
448
- ],
449
- "accessible_nodes": [
450
- 6,
451
- 9
452
- ],
453
- "index": 8,
454
- "quaternion": {
455
- "w": -0.7800473501085893,
456
- "x": -0.001135920118785392,
457
- "y": -0.6257123047165654,
458
- "z": -0.002988083746027829
459
- },
460
- "standing_position": [
461
- -4.782979965209961,
462
- -1.3791146295179708,
463
- 4.005970001220703
464
- ],
465
- "position": [
466
- -4.782979965209961,
467
- -0.09461440145969391,
468
- 4.005970001220703
469
- ],
470
- "floor_index": 0,
471
- "offset_point_count": 0,
472
- "device_info": null,
473
- "work_code": "2kbe37PwJOwMYqG8"
474
- },
475
- {
476
- "visible_nodes": [
477
- 1,
478
- 8
479
- ],
480
- "accessible_nodes": [
481
- 1,
482
- 8
483
- ],
484
- "index": 9,
485
- "quaternion": {
486
- "w": -0.9990515085044664,
487
- "x": 0.0014573951598469209,
488
- "y": -0.04350557140644017,
489
- "z": -0.001106412146558715
490
- },
491
- "standing_position": [
492
- -4.202330112457275,
493
- -1.3785217045092475,
494
- 5.68356990814209
495
- ],
496
- "position": [
497
- -4.202330112457275,
498
- -0.09259240329265594,
499
- 5.68356990814209
500
- ],
501
- "floor_index": 0,
502
- "offset_point_count": 0,
503
- "device_info": null,
504
- "work_code": "2kbe37PwJOwMYqG8"
505
- }
506
- ]
507
- }
@@ -1,28 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <title>SAMPLE</title>
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
7
- <style>
8
- * { margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
9
- html, body { height: 100%; width: 100%; overflow: hidden;}
10
- #app { position: fixed; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; }
11
- .buttons { position: absolute; top: 30px; }
12
- </style>
13
- </head>
14
- <body>
15
- <div id="app"></div>
16
- <div class="buttons">
17
- <button onclick="five.changeMode(Five.Mode.VRPanorama)">VRPanorama</button>
18
- <button onclick="five.changeMode(Five.Mode.Floorplan)">Floorplan</button>
19
- <button onclick="five.changeMode(Five.Mode.Topview)">Topview</button>
20
- <button onclick="five.changeMode(Five.Mode.Panorama)">Panorama</button>
21
- <button onclick="five.changeMode(Five.Mode.Model)">Model</button>
22
- <button onclick="five.destroy()">destroy</button>
23
- </div>
24
- <script>
25
- document.write('<script src="./index.bundle.js"><\/script>')
26
- </script>
27
- </body>
28
- </html>
@@ -1,12 +0,0 @@
1
- // @ts-nocheck
2
- import { Five, FivePluginInit } from "@realsee/five";
3
- import { AFivePlugin } from "../lib/index";
4
-
5
- const five = new Five({
6
- plugins: [AFivePlugin, null, { color: "red" }] as FivePluginInit<typeof AFivePlugin>,
7
- });
8
-
9
- five.appendTo(document.getElementById("app")!);
10
- fetch("./data.json").then(res => res.json()).then(work => five.load(work));
11
-
12
- Object.assign(window, { Five, five });
@@ -1,30 +0,0 @@
1
- // @ts-nocheck
2
-
3
- import { FivePlugin } from "@realsee/five";
4
-
5
- // 一个显示加载进度条的插件
6
- const AFivePlugin: FivePlugin<{ color: string }, void> = (five, { color }) => {
7
- const bar = document.createElement("div");
8
- bar.style.cssText = `
9
- position: fixed;
10
- top: 0;
11
- left: 0;
12
- right: 0,
13
- height: 10px;
14
- background: ${color};
15
- width: 0%;
16
- `;
17
- document.body.appendChild(bar);
18
- const loading = (progress: number) => {
19
- bar.style.width = `${progress * 100}%`
20
- };
21
- const loaded = () => {
22
- document.body.removeChild(bar);
23
- five.off("textureLoading", loading);
24
- five.off("panoArrived", loaded);
25
- };
26
- five.on("textureLoading", loading);
27
- five.on("panoArrived", loaded);
28
- };
29
-
30
- export { AFivePlugin };
@@ -1,32 +0,0 @@
1
- {
2
- "name": "a-five-plugin",
3
- "version": "1.0.0",
4
- "description": "a-five-plugin",
5
- "main": "./build/index.js",
6
- "scripts": {
7
- "example": "concurrently --names \"http,webpack\" --kill-others \"http-server ./ -p 8080 -c-1 --cors\" \"webpack -w --config ./devtools/webpack.example.js\"",
8
- "build:example": "webpack --config ./devtools/webpack.example.js",
9
- "build:doc": "typedoc --hideGenerator --includeVersion --excludeExternals --tsconfig ./devtools/tsconfig.build.json --out ./docs ./lib/index.ts",
10
- "build:typescript": "del ./build && tsc --project ./devtools/tsconfig.build.json",
11
- "build:bundle": "webpack --progress --config ./devtools/webpack.bundle.js",
12
- "build:all": "npm run build:doc && npm run build:typescript && && npm run build:example && npm run build:bundle"
13
- },
14
- "author": "realsee.com",
15
- "license": "ISC",
16
- "peerDependencies": {
17
- "three": "^0.117.1",
18
- "typescript": "^4.3.2"
19
- },
20
- "devDependencies": {
21
- "concurrently": "^6.2.0",
22
- "del-cli": "^4.0.1",
23
- "three": "^0.117.1",
24
- "glob": "^7.1.6",
25
- "http-server": "^0.12.1",
26
- "ts-loader": "^9.1.1",
27
- "typedoc": "^0.20.36",
28
- "typescript": "^4.2.4",
29
- "webpack": "^5.35.1",
30
- "webpack-cli": "^4.6.0"
31
- }
32
- }
@@ -1,26 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- /* Basic Options */
4
- "target": "ES5",
5
- "lib": ["ES5", "DOM"],
6
- "declaration": true,
7
- "sourceMap": true,
8
- "rootDir": "./",
9
-
10
- /* Strict Type-Checking Options */
11
- "strict": true,
12
- "noImplicitAny": true,
13
- "strictNullChecks": true,
14
- "declarationMap": false,
15
-
16
- /* Module Resolution Options */
17
- "moduleResolution": "node",
18
- "baseUrl": "./",
19
- "esModuleInterop": true,
20
- "preserveSymlinks": true,
21
-
22
- /* Experimental Options */
23
- "experimentalDecorators": true,
24
- "emitDecoratorMetadata": true
25
- }
26
- }