@realsee/five-webgpu 1.0.0-alpha.11 → 1.0.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{TERMS.txt → LICENSE.txt} +89 -24
- package/_virtual/_rolldown/runtime.js +134 -51
- package/docs/classes/index.Five.html +23 -23
- package/five/application/renderPoweredByRealsee.d.ts +2 -2
- package/five/index.js +136 -53
- package/five/index.mjs +233 -86
- package/five/renderer/postprocessing/passes/pass.js +134 -51
- package/five/renderer/postprocessing/passes/pass.mjs +134 -51
- package/five/renderer/tools/full-screen-quad.js +134 -51
- package/five/renderer/tools/full-screen-quad.mjs +134 -51
- package/five/utils/calculateThreeMouse.js +134 -51
- package/five/utils/calculateThreeMouse.mjs +134 -51
- package/five/utils/distance.js +134 -51
- package/five/utils/distance.mjs +134 -51
- package/five/utils/isNil.js +134 -51
- package/five/utils/isNil.mjs +134 -51
- package/five/utils/uuid.js +134 -51
- package/five/utils/uuid.mjs +134 -51
- package/gltf-loader/index.js +135 -52
- package/gltf-loader/index.mjs +135 -52
- package/line/index.js +135 -52
- package/line/index.mjs +135 -52
- package/package.json +2 -2
- package/plugins/BackgroundPlugin/Controller.js +134 -51
- package/plugins/BackgroundPlugin/Controller.mjs +134 -51
- package/plugins/BackgroundPlugin/index.js +134 -51
- package/plugins/BackgroundPlugin/index.mjs +134 -51
- package/plugins/BasePlugin/index.js +134 -51
- package/plugins/BasePlugin/index.mjs +134 -51
- package/plugins/CSS2DPlugin/Controller.js +134 -51
- package/plugins/CSS2DPlugin/Controller.mjs +134 -51
- package/plugins/CSS2DPlugin/index.js +134 -51
- package/plugins/CSS2DPlugin/index.mjs +134 -51
- package/plugins/CSS2DPlugin/style.css_raw.js +134 -51
- package/plugins/CSS2DPlugin/style.css_raw.mjs +134 -51
- package/plugins/CSS3DPlugin/Controller.js +134 -51
- package/plugins/CSS3DPlugin/Controller.mjs +134 -51
- package/plugins/CSS3DPlugin/index.js +134 -51
- package/plugins/CSS3DPlugin/index.mjs +134 -51
- package/plugins/CSS3DPlugin/style.css_raw.js +134 -51
- package/plugins/CSS3DPlugin/style.css_raw.mjs +134 -51
- package/plugins/FloorplanPlugin/Controller.js +134 -51
- package/plugins/FloorplanPlugin/Controller.mjs +134 -51
- package/plugins/FloorplanPlugin/index.js +134 -51
- package/plugins/FloorplanPlugin/index.mjs +134 -51
- package/plugins/FloorplanPlugin/render/assets.js +134 -51
- package/plugins/FloorplanPlugin/render/assets.mjs +134 -51
- package/plugins/FloorplanPlugin/render/index.js +134 -51
- package/plugins/FloorplanPlugin/render/index.mjs +134 -51
- package/plugins/FloorplanPlugin/render/isPointInPolygon.js +134 -51
- package/plugins/FloorplanPlugin/render/isPointInPolygon.mjs +134 -51
- package/plugins/FloorplanPlugin/render/renderFloor.js +134 -51
- package/plugins/FloorplanPlugin/render/renderFloor.mjs +134 -51
- package/plugins/FloorplanPlugin/render/roomLabelVisibility.js +134 -51
- package/plugins/FloorplanPlugin/render/roomLabelVisibility.mjs +134 -51
- package/plugins/FloorplanPlugin/render/style.css_raw.js +134 -51
- package/plugins/FloorplanPlugin/render/style.css_raw.mjs +134 -51
- package/plugins/FloorplanPlugin/utils/changeMode.js +134 -51
- package/plugins/FloorplanPlugin/utils/changeMode.mjs +134 -51
- package/plugins/FloorplanPlugin/utils/changeModelCanvasOpacity.js +134 -51
- package/plugins/FloorplanPlugin/utils/changeModelCanvasOpacity.mjs +134 -51
- package/plugins/FloorplanPlugin/utils/correctFiveState.js +134 -51
- package/plugins/FloorplanPlugin/utils/correctFiveState.mjs +134 -51
- package/plugins/FloorplanPlugin/utils/equal.js +134 -51
- package/plugins/FloorplanPlugin/utils/equal.mjs +134 -51
- package/plugins/FloorplanPlugin/utils/filter.js +134 -51
- package/plugins/FloorplanPlugin/utils/filter.mjs +134 -51
- package/plugins/FloorplanPlugin/utils/fiveModelLoad.js +134 -51
- package/plugins/FloorplanPlugin/utils/fiveModelLoad.mjs +134 -51
- package/plugins/FloorplanPlugin/utils/formatData.js +134 -51
- package/plugins/FloorplanPlugin/utils/formatData.mjs +134 -51
- package/plugins/FloorplanPlugin/utils/formatFloorplanJson.js +134 -51
- package/plugins/FloorplanPlugin/utils/formatFloorplanJson.mjs +134 -51
- package/plugins/FloorplanPlugin/utils/formatPosition.js +134 -51
- package/plugins/FloorplanPlugin/utils/formatPosition.mjs +134 -51
- package/plugins/FloorplanPlugin/utils/getDistanceFromModel.js +134 -51
- package/plugins/FloorplanPlugin/utils/getDistanceFromModel.mjs +134 -51
- package/plugins/FloorplanPlugin/utils/getPxmm.js +134 -51
- package/plugins/FloorplanPlugin/utils/getPxmm.mjs +134 -51
- package/plugins/FloorplanPlugin/utils/isTruelyObject.js +134 -51
- package/plugins/FloorplanPlugin/utils/isTruelyObject.mjs +134 -51
- package/plugins/FloorplanPlugin/utils/nearlyEqual.js +134 -51
- package/plugins/FloorplanPlugin/utils/nearlyEqual.mjs +134 -51
- package/plugins/FloorplanPlugin/utils/polylabel.js +134 -51
- package/plugins/FloorplanPlugin/utils/polylabel.mjs +134 -51
- package/plugins/FloorplanPlugin/utils/to.js +134 -51
- package/plugins/FloorplanPlugin/utils/to.mjs +134 -51
- package/plugins/GaussianSplattingEntranceAnimationPlugin/Controller.js +134 -51
- package/plugins/GaussianSplattingEntranceAnimationPlugin/Controller.mjs +134 -51
- package/plugins/GaussianSplattingEntranceAnimationPlugin/index.js +134 -51
- package/plugins/GaussianSplattingEntranceAnimationPlugin/index.mjs +134 -51
- package/plugins/Object3DHelperPlugin/Controller.js +134 -51
- package/plugins/Object3DHelperPlugin/Controller.mjs +134 -51
- package/plugins/Object3DHelperPlugin/Controllers/BaseController.js +134 -51
- package/plugins/Object3DHelperPlugin/Controllers/BaseController.mjs +134 -51
- package/plugins/Object3DHelperPlugin/Controllers/BoundingBoxController.js +134 -51
- package/plugins/Object3DHelperPlugin/Controllers/BoundingBoxController.mjs +134 -51
- package/plugins/Object3DHelperPlugin/Controllers/MoveController.js +134 -51
- package/plugins/Object3DHelperPlugin/Controllers/MoveController.mjs +134 -51
- package/plugins/Object3DHelperPlugin/Controllers/RotateController.js +134 -51
- package/plugins/Object3DHelperPlugin/Controllers/RotateController.mjs +134 -51
- package/plugins/Object3DHelperPlugin/FiveControllerWrapper.js +134 -51
- package/plugins/Object3DHelperPlugin/FiveControllerWrapper.mjs +134 -51
- package/plugins/Object3DHelperPlugin/Helper/BaseHelper.js +134 -51
- package/plugins/Object3DHelperPlugin/Helper/BaseHelper.mjs +134 -51
- package/plugins/Object3DHelperPlugin/Helper/BoundingBoxHelper.js +134 -51
- package/plugins/Object3DHelperPlugin/Helper/BoundingBoxHelper.mjs +134 -51
- package/plugins/Object3DHelperPlugin/Helper/MoveHelper.js +134 -51
- package/plugins/Object3DHelperPlugin/Helper/MoveHelper.mjs +134 -51
- package/plugins/Object3DHelperPlugin/Helper/RotateHelper.js +134 -51
- package/plugins/Object3DHelperPlugin/Helper/RotateHelper.mjs +134 -51
- package/plugins/Object3DHelperPlugin/constant.js +134 -51
- package/plugins/Object3DHelperPlugin/constant.mjs +134 -51
- package/plugins/Object3DHelperPlugin/index.js +134 -51
- package/plugins/Object3DHelperPlugin/index.mjs +134 -51
- package/plugins/Object3DHelperPlugin/utils/ArrowGroup.js +134 -51
- package/plugins/Object3DHelperPlugin/utils/ArrowGroup.mjs +134 -51
- package/plugins/Object3DHelperPlugin/utils/CenterHandle.js +134 -51
- package/plugins/Object3DHelperPlugin/utils/CenterHandle.mjs +134 -51
- package/plugins/Object3DHelperPlugin/utils/PlaneHandle.js +134 -51
- package/plugins/Object3DHelperPlugin/utils/PlaneHandle.mjs +134 -51
- package/plugins/Object3DHelperPlugin/utils/calculateScaleByCamera.js +134 -51
- package/plugins/Object3DHelperPlugin/utils/calculateScaleByCamera.mjs +134 -51
- package/plugins/Object3DHelperPlugin/utils/cameraHooks.js +134 -51
- package/plugins/Object3DHelperPlugin/utils/cameraHooks.mjs +134 -51
- package/plugins/Object3DHelperPlugin/utils/direction.js +134 -51
- package/plugins/Object3DHelperPlugin/utils/direction.mjs +134 -51
- package/plugins/Object3DHelperPlugin/utils/getMouseRaycaster.js +134 -51
- package/plugins/Object3DHelperPlugin/utils/getMouseRaycaster.mjs +134 -51
- package/plugins/Object3DHelperPlugin/utils/getOrthographicCameraDirection.js +134 -51
- package/plugins/Object3DHelperPlugin/utils/getOrthographicCameraDirection.mjs +134 -51
- package/plugins/Object3DHelperPlugin/utils/setObjectQuaternion.js +134 -51
- package/plugins/Object3DHelperPlugin/utils/setObjectQuaternion.mjs +134 -51
- package/plugins/Object3DHelperPlugin/utils/solidGuide.js +134 -51
- package/plugins/Object3DHelperPlugin/utils/solidGuide.mjs +134 -51
- package/plugins/Object3DHelperPlugin/utils/tipsDom.js +134 -51
- package/plugins/Object3DHelperPlugin/utils/tipsDom.mjs +134 -51
- package/plugins/PanoAnimePlugin/Controller.js +134 -51
- package/plugins/PanoAnimePlugin/Controller.mjs +134 -51
- package/plugins/PanoAnimePlugin/index.js +134 -51
- package/plugins/PanoAnimePlugin/index.mjs +134 -51
- package/plugins/WordPassPlugin/Controller.js +134 -51
- package/plugins/WordPassPlugin/Controller.mjs +134 -51
- package/plugins/WordPassPlugin/hersheyFont.js +134 -51
- package/plugins/WordPassPlugin/hersheyFont.mjs +134 -51
- package/plugins/WordPassPlugin/index.js +134 -51
- package/plugins/WordPassPlugin/index.mjs +134 -51
- package/plugins/WordPassPlugin/textToStrokeOrderStrokes.js +134 -51
- package/plugins/WordPassPlugin/textToStrokeOrderStrokes.mjs +134 -51
- package/plugins/WordPassPlugin/word-pass.js +134 -51
- package/plugins/WordPassPlugin/word-pass.mjs +134 -51
- package/plugins/index.js +134 -51
- package/plugins/index.mjs +134 -51
- package/plugins/thirdParty/CSS2DRenderer.js +134 -51
- package/plugins/thirdParty/CSS2DRenderer.mjs +134 -51
- package/plugins/thirdParty/CSS3DRenderer.js +134 -51
- package/plugins/thirdParty/CSS3DRenderer.mjs +134 -51
- package/plugins/thirdParty/doctorstrange-model.js +134 -51
- package/plugins/thirdParty/doctorstrange-model.mjs +134 -51
- package/plugins/thirdParty/domevents.js +134 -51
- package/plugins/thirdParty/domevents.mjs +134 -51
- package/plugins/utils/absoluteUrl.js +134 -51
- package/plugins/utils/absoluteUrl.mjs +134 -51
- package/plugins/utils/calculatePath.js +134 -51
- package/plugins/utils/calculatePath.mjs +134 -51
- package/plugins/utils/clamp.js +134 -51
- package/plugins/utils/clamp.mjs +134 -51
- package/plugins/utils/uuid.js +134 -51
- package/plugins/utils/uuid.mjs +134 -51
- package/react/index.js +134 -51
- package/react/index.mjs +134 -51
- package/sticker/index.js +135 -52
- package/sticker/index.mjs +135 -52
- package/umd/five-gltf-loader.js +135 -52
- package/umd/five-line.js +135 -52
- package/umd/five-plugins.js +134 -51
- package/umd/five-react.js +134 -51
- package/umd/five-sticker.js +135 -52
- package/umd/five-vfx.js +134 -51
- package/umd/five.js +202 -119
- package/vfx/index.js +134 -51
- package/vfx/index.mjs +134 -51
- package/work-downloader/index.js +134 -51
- package/work-downloader/index.mjs +134 -51
- /package/five/assets/{realsee-pmg-data-url.d.ts → realsee-png-data-url.d.ts} +0 -0
package/five/index.mjs
CHANGED
|
@@ -1,41 +1,53 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* @realsee/five-webgpu
|
|
4
|
-
* Generated: 10/
|
|
5
|
-
* Version: 1.0.0-alpha.
|
|
6
|
-
*
|
|
4
|
+
* Generated: 2026/10/29
|
|
5
|
+
* Version: 1.0.0-alpha.12
|
|
6
|
+
* License:
|
|
7
7
|
* Realsee SDK License Agreement
|
|
8
|
-
|
|
9
|
-
*
|
|
10
|
-
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
8
|
+
|
|
9
|
+
* Last updated: 2026-09-22
|
|
10
|
+
|
|
11
|
+
* THIS LICENSE AGREEMENT BETWEEN YOU AND BEIKE REALSEE TECHNOLOGY (HK) LIMITED
|
|
12
|
+
* (“Realsee”) FORMS A LEGALLY BINDING CONTRACT BETWEEN YOU AND REALSEE IN RELATION
|
|
13
|
+
* TO YOUR USE OF THE SDK. This License Agreement accompanies the Realsee Software
|
|
14
|
+
* Development Kit(s) for the software and related explanatory materials (the
|
|
15
|
+
* "SDK") and includes any upgrades, modified versions, updates, additions, and
|
|
16
|
+
* copies of the SDK licensed to You by Realsee.
|
|
17
|
+
|
|
15
18
|
* BY DOWNLOADING, INSTALLING, OR OTHERWISE ACCESSING OR USING THE SDK, YOU AGREE
|
|
16
19
|
* THAT YOU HAVE READ, UNDERSTOOD, AND AGREE TO BE BOUND BY THIS AGREEMENT. YOU ARE
|
|
17
20
|
* AGREEING ON YOUR OWN BEHALF AND/OR ON BEHALF OF YOUR COMPANY OR ORGANIZATION TO
|
|
18
21
|
* THE TERMS AND CONDITIONS STATED BELOW.
|
|
22
|
+
|
|
19
23
|
* This Agreement applies to Your use of the SDK in the country in which You
|
|
20
24
|
* legally install it (“Territory”) and is subject to the laws of such Territory
|
|
21
25
|
* and further subject to Section 12 below. Different terms, conditions, and
|
|
22
26
|
* limitations may apply to the use of the SDK in any additional countries.
|
|
27
|
+
|
|
23
28
|
* 1. DEFINITIONS.
|
|
29
|
+
|
|
24
30
|
* “Agreement” means this Realsee SDK License Agreement.
|
|
31
|
+
|
|
25
32
|
* “Developer”, “You” and “Your” means the person(s) or entity acquiring or using
|
|
26
33
|
* the SDK or otherwise exercising rights under the terms of this Agreement.
|
|
34
|
+
|
|
27
35
|
* “Documentation” means the technical or other specifications or documentation
|
|
28
36
|
* that Realsee may provide to You for use in connection with the SDK.
|
|
37
|
+
|
|
29
38
|
* “Integrated Product” means any software, website, or on-line service developed
|
|
30
39
|
* by You based on or using the SDK (collectively, the “Integrated Product”).
|
|
40
|
+
|
|
31
41
|
* “Intellectual Property” means any patents, patent rights, trademarks, service
|
|
32
42
|
* marks, registered and unregistered designs, applications for any of the
|
|
33
43
|
* foregoing, copyright, and any other similar protected rights in any country and
|
|
34
44
|
* to the extent recognised by any relevant jurisdiction as intellectual property,
|
|
35
45
|
* trade secrets, know-how and confidential information. Realsee reserves all
|
|
36
46
|
* rights not expressly granted to You.
|
|
47
|
+
|
|
37
48
|
* “Realsee” means [Beike Realsee Technology (HK) Limited, a company incorporated
|
|
38
49
|
* and validly existing under the laws of Hong Kong].
|
|
50
|
+
|
|
39
51
|
* “SDK” means the Realsee-proprietary Software Development Kits (SDK) provided
|
|
40
52
|
* hereunder, includes all development tools (including any compiler and debugger),
|
|
41
53
|
* application programming interfaces (“APIs”), libraries, binary utilities, header
|
|
@@ -46,45 +58,66 @@
|
|
|
46
58
|
* any updates provided by Realsee that replace and/or supplement the original SDK
|
|
47
59
|
* delivered to You, unless such update is accompanied by a separate license, in
|
|
48
60
|
* which case the terms of such license will govern.
|
|
61
|
+
|
|
62
|
+
* “Term” means the period commencing on the date You first download, install,
|
|
63
|
+
* access, or use the SDK, and continuing until this Agreement is terminated in
|
|
64
|
+
* accordance with Section 6.
|
|
65
|
+
|
|
49
66
|
* 2. LICENSED USES AND RESTRICTIONS.
|
|
67
|
+
|
|
50
68
|
* 2.1 Subject to the restrictions contained in this Section 2, Realsee grants to
|
|
51
|
-
* You during the
|
|
52
|
-
* non-transferable license to install and
|
|
53
|
-
* for the purpose of
|
|
69
|
+
* You during the Term, a limited, non-exclusive, revocable, non-sublicensable,
|
|
70
|
+
* non-transferable license to install, use, and integrate the SDK within the
|
|
71
|
+
* Territory only for the purpose of developing, testing, operating and supporting
|
|
72
|
+
* Integrated Products.
|
|
73
|
+
|
|
54
74
|
* 2.2 Restrictions. You acknowledge and agree that, You shall not, and shall
|
|
55
|
-
* ensure that Your affiliates, employees, agents, representatives, officers,
|
|
56
|
-
*
|
|
75
|
+
* ensure that Your affiliates, employees, agents, representatives, officers, and
|
|
76
|
+
* subcontractors do not (directly or indirectly):
|
|
77
|
+
|
|
57
78
|
* 2.2.1 decompile, reverse engineer, disassemble or attempt to derive the source
|
|
58
79
|
* code of, those components of the SDK provided in object code form, or any part
|
|
59
80
|
* thereof;
|
|
81
|
+
|
|
60
82
|
* 2.2.2 remove, alter, or obscure any copyright notice or other proprietary rights
|
|
61
83
|
* notice on any part of the SDK;
|
|
84
|
+
|
|
62
85
|
* 2.2.3 sell, assign, pledge, rent, lease, lend, upload to or host on any website
|
|
63
86
|
* or server for use by any third party except You, redistribute, or sublicense the
|
|
64
87
|
* SDK (or any part thereof), or operate the SDK (or any part thereof) in the
|
|
65
88
|
* capacity of a service bureau or other hosted services provider, in whole or in
|
|
66
89
|
* part, nor may You enable others to do so;
|
|
67
|
-
|
|
90
|
+
|
|
91
|
+
* 2.2.4 alter, modify, customize or improve the SDK, or any part thereof;
|
|
92
|
+
|
|
68
93
|
* 2.2.5 use the SDK (or any part thereof) for any illegal purpose, in any manner
|
|
69
94
|
* that is inconsistent with the terms of this Agreement, or to engage in any
|
|
70
95
|
* illegal activity;
|
|
96
|
+
|
|
71
97
|
* 2.2.6 use the SDK (or any part thereof) in any manner that may damage the
|
|
72
98
|
* operation of Realsee’s products or services; or
|
|
73
|
-
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
|
|
99
|
+
|
|
100
|
+
* 2.2.7 use the SDK or any non-public information provided by Realsee for the
|
|
101
|
+
* primary purpose of developing products or services that substantially replicate
|
|
102
|
+
* the core functionality of Realsee proprietary SDK offerings;
|
|
103
|
+
|
|
104
|
+
* 2.2.8 distribute, re-sell, or make available the SDK (or any part thereof) as a
|
|
105
|
+
* standalone product, library, or development toolkit to any third party.
|
|
106
|
+
|
|
78
107
|
* 2.3 Realsee has the right to impose reasonable conditions such as a reasonable
|
|
79
108
|
* fee for use of the SDK in Integrated Product in the future.
|
|
109
|
+
|
|
80
110
|
* 2.4 You may make a limited number of copies of the SDK to be used by Your
|
|
81
111
|
* employees or consultants as provided herein, and not for general business
|
|
82
112
|
* purposes, and such employees or consultants shall be subject to the obligations
|
|
83
113
|
* and restrictions in this Agreement.
|
|
114
|
+
|
|
84
115
|
* 2.5 All licenses not expressly granted in this Agreement are reserved and no
|
|
85
116
|
* other licenses, immunity, or rights, express or implied, are granted by Realsee,
|
|
86
117
|
* by implication, estoppel, or otherwise.
|
|
118
|
+
|
|
87
119
|
* 3. CONFIDENTIALITY.
|
|
120
|
+
|
|
88
121
|
* The SDK and all source code, Documentation, specifications, engineering details,
|
|
89
122
|
* and related information pertaining to the SDK, whether in oral, written,
|
|
90
123
|
* graphic, or electronic form, are and shall remain the confidential and
|
|
@@ -106,12 +139,15 @@
|
|
|
106
139
|
* or omission of any of Your Affiliates. You shall not disclose Confidential
|
|
107
140
|
* Information to any third party, including, without limitation, any of Your
|
|
108
141
|
* subcontractors.
|
|
142
|
+
|
|
109
143
|
* 4. PROPRIETARY RIGHTS.
|
|
144
|
+
|
|
110
145
|
* 4.1 As between You and Realsee, Realsee and/or its licensors retain ownership of
|
|
111
146
|
* all right, title, and interest in, to, and under the SDK, including, without
|
|
112
147
|
* limitation, all patents, copyrights, trade secrets, trademarks and other
|
|
113
148
|
* intellectual property and other proprietary rights therein, and reserve all
|
|
114
149
|
* rights not expressly granted to You.
|
|
150
|
+
|
|
115
151
|
* 4.2 The items contained in the SDK are the intellectual property of Realsee and
|
|
116
152
|
* its licensors and are protected by PRC copyright and patent law, international
|
|
117
153
|
* treaty provisions and applicable laws of the country in which it is being used.
|
|
@@ -126,25 +162,52 @@
|
|
|
126
162
|
* Except as stated above, this Agreement does not grant You any rights to patents,
|
|
127
163
|
* copyrights, trade secrets, trademarks or any other rights in respect to the
|
|
128
164
|
* items in the SDK.
|
|
129
|
-
|
|
130
|
-
* 5.
|
|
165
|
+
|
|
166
|
+
* 5. DATA PRIVACY AND PROTECTION
|
|
167
|
+
|
|
168
|
+
* 5.1 In connection with Your use of the SDK and any Integrated Product, You shall
|
|
169
|
+
* comply with all applicable privacy, data protection, cybersecurity, and
|
|
170
|
+
* cross-border data transfer laws and regulations. To the extent Your use of the
|
|
171
|
+
* SDK involves the collection, processing, transmission, disclosure, or storage of
|
|
172
|
+
* personal data or personal information, You shall be solely responsible for: (i)
|
|
173
|
+
* ensuring that You have a valid legal basis for such processing; (ii) providing
|
|
174
|
+
* all required notices and obtaining all necessary consents or authorisations; and
|
|
175
|
+
* (iii) implementing reasonable and appropriate technical and organisational
|
|
176
|
+
* measures to protect such data against unauthorised access, use, disclosure,
|
|
177
|
+
* alteration, or destruction.
|
|
178
|
+
|
|
179
|
+
* 5.2 You shall promptly notify Realsee of any material security incident relating
|
|
180
|
+
* to the SDK or Integrated Product that may materially affect Realsee, the SDK, or
|
|
181
|
+
* any personal data processed in connection with the SDK.
|
|
182
|
+
|
|
183
|
+
* 5.3 Developer shall be solely responsible for Developer’s compliance with
|
|
184
|
+
* applicable privacy, data protection, and cybersecurity laws in connection with
|
|
185
|
+
* the Integrated Product.
|
|
186
|
+
|
|
187
|
+
* 6. TERM AND TERMINATION.
|
|
188
|
+
|
|
189
|
+
* 6.1 This Agreement is effective until terminated. Realsee has the right to
|
|
131
190
|
* terminate this Agreement immediately, without judicial intervention, if You fail
|
|
132
191
|
* to comply with any term herein. Upon any such termination You must remove all
|
|
133
192
|
* full and partial copies of the items in the SDK from Your computer and
|
|
134
193
|
* discontinue the use of the items in the SDK.
|
|
135
|
-
|
|
194
|
+
|
|
195
|
+
* 6.2 Realsee may at any time, terminate the Agreement with You if: (A) You have
|
|
136
196
|
* breached any provision of the Agreement; or (B) Realsee is required to do so by
|
|
137
197
|
* law; or (C) Realsee decides to no longer provide the SDK or certain parts of the
|
|
138
198
|
* SDK to users in the country in which You are resident or from which You use the
|
|
139
199
|
* service, or the provision of the SDK or certain SDK services to You by Realsee
|
|
140
200
|
* is, in Realsee's sole discretion, no longer legally or commercially viable.
|
|
141
|
-
|
|
201
|
+
|
|
202
|
+
* 6.3 When the Agreement comes to an end, all of the legal rights, obligations and
|
|
142
203
|
* liabilities that You and Realsee have benefited from, been subject to (or which
|
|
143
204
|
* have accrued over time whilst the Agreement has been in force) or which are
|
|
144
205
|
* expressed to continue indefinitely, shall be unaffected by this cessation, and
|
|
145
|
-
* the provisions of
|
|
146
|
-
* rights, obligations and liabilities indefinitely.
|
|
147
|
-
|
|
206
|
+
* the provisions of Sections 3, 4, 5, 7, 8, 9, 10, and 11 shall continue to apply
|
|
207
|
+
* to such rights, obligations and liabilities indefinitely.
|
|
208
|
+
|
|
209
|
+
* 7. DISCLAIMER OF WARRANTY.
|
|
210
|
+
|
|
148
211
|
* YOU EXPRESSLY ACKNOWLEDGE AND AGREE THAT, TO THE EXTENT PERMITTED BY APPLICABLE
|
|
149
212
|
* LAW, USE OF THE SDK (OR ANY PART THEREOF) IS AT YOUR SOLE RISK AND THAT THE
|
|
150
213
|
* ENTIRE RISK AS TO SATISFACTORY QUALITY, PERFORMANCE, ACCURACY, AND EFFORT IS
|
|
@@ -159,10 +222,13 @@
|
|
|
159
222
|
* CONDITIONS OR WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
160
223
|
* OR NONINFRINGEMENT OF ANY THIRD PARTY RIGHT IN RESPECT OF THE ITEMS IN THE SDK
|
|
161
224
|
* OR ANY SERVICES RELATED TO THE SDK.
|
|
225
|
+
|
|
162
226
|
* REALSEE IS UNDER NO OBLIGATION TO PROVIDE ANY SUPPORT UNDER THIS LICENSE
|
|
163
227
|
* AGREEMENT, INCLUDING UPGRADES OR FUTURE VERSIONS OF THE SDK OR ANY PORTIONS
|
|
164
228
|
* THEREOF, TO YOU, END USER OR TO ANY OTHER PARTY.
|
|
165
|
-
|
|
229
|
+
|
|
230
|
+
* 8. LIMITATION OF LIABILITY.
|
|
231
|
+
|
|
166
232
|
* TO THE EXTENT NOT PROHIBITED BY APPLICABLE LAW, IN NO EVENT WILL REALSEE OR ITS
|
|
167
233
|
* LICENSORS BE LIABLE FOR ANY DIRECT, INCIDENTAL, SPECIAL, INDIRECT, OR
|
|
168
234
|
* CONSEQUENTIAL DAMAGES, INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE,
|
|
@@ -178,10 +244,12 @@
|
|
|
178
244
|
* DAMAGES. IN NO EVENT WILL REALSEE’S TOTAL LIABILITY TO YOU FOR ALL DAMAGES
|
|
179
245
|
* EXCEED ONE HUNDRED DOLLARS ($100.00). THE FOREGOING LIMITATIONS WILL APPLY EVEN
|
|
180
246
|
* IF THE ABOVE STATED REMEDY FAILS OF ITS ESSENTIAL PURPOSE. THE LIMITATIONS
|
|
181
|
-
* CONTAINED IN
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
|
|
247
|
+
* CONTAINED IN SECTION 7 AND THIS SECTION 8 ARE A FUNDAMENTAL PART OF THE BASIS OF
|
|
248
|
+
* REALSEE’S BARGAIN HEREUNDER, AND REALSEE WOULD NOT ENTER INTO THIS AGREEMENT OR
|
|
249
|
+
* PROVIDE YOU WITH ACCESS TO THE SDK ABSENT SUCH LIMITATIONS.
|
|
250
|
+
|
|
251
|
+
* 9. INDEMNIFICATION.
|
|
252
|
+
|
|
185
253
|
* To the extent permitted by applicable law, You agree to indemnify, defend and
|
|
186
254
|
* hold harmless Realsee, its affiliates and each of their directors, officers,
|
|
187
255
|
* employees, independent contractors, and agents (each a “Realsee Indemnified
|
|
@@ -192,7 +260,9 @@
|
|
|
192
260
|
* (iii) Your use of any Integrated Product, including any claim that Integrated
|
|
193
261
|
* Product infringes the copyright, trademark, trade secret or other intellectual
|
|
194
262
|
* property right of a third party.
|
|
195
|
-
|
|
263
|
+
|
|
264
|
+
* 10. ACKNOWLEDGEMENTS.
|
|
265
|
+
|
|
196
266
|
* Portions of the SDK may utilize or include third party software and other
|
|
197
267
|
* copyrighted material. Acknowledgments, licensing terms, and disclaimers for such
|
|
198
268
|
* material are contained in Documentation for the SDK or may otherwise accompany
|
|
@@ -203,15 +273,19 @@
|
|
|
203
273
|
* party software. Moreover, You shall not subject any items (including not limited
|
|
204
274
|
* to source code, object code, and any software) included in the SDK to any open
|
|
205
275
|
* source license.
|
|
206
|
-
|
|
276
|
+
|
|
277
|
+
* 11. NON-BLOCKING OF REALSEE DEVELOPMENT.
|
|
278
|
+
|
|
207
279
|
* You acknowledge that Realsee is currently developing or may develop technologies
|
|
208
280
|
* and products in the future that have or may have design and/or functionality
|
|
209
281
|
* similar to Integrated Product that You may develop based on Your license herein.
|
|
210
282
|
* Nothing in this Agreement shall impair, limit or curtail Realsee's right to
|
|
211
283
|
* continue with its development, maintenance and/or distribution of Realsee's
|
|
212
284
|
* technology or products.
|
|
213
|
-
|
|
214
|
-
*
|
|
285
|
+
|
|
286
|
+
* 12. GENERAL.
|
|
287
|
+
|
|
288
|
+
* 12.1 Export Control. You may not use or otherwise export or re-export the SDK
|
|
215
289
|
* (or any part thereof) except as authorized by United States law and the laws of
|
|
216
290
|
* the jurisdiction(s) in which the SDK (or any part thereof) was obtained. In
|
|
217
291
|
* particular, but without limitation, the SDK may not be exported or re-exported
|
|
@@ -220,20 +294,26 @@
|
|
|
220
294
|
* Commerce Denied Person's List or Entity List. By using the SDK (or any part
|
|
221
295
|
* thereof), You represent and warrant that You are not located in any such country
|
|
222
296
|
* or on any such list.
|
|
223
|
-
|
|
224
|
-
*
|
|
225
|
-
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
*
|
|
231
|
-
*
|
|
232
|
-
*
|
|
233
|
-
*
|
|
297
|
+
|
|
298
|
+
* 12.2 Governing Law and Dispute Resolution.
|
|
299
|
+
|
|
300
|
+
* This Agreement shall be governed by the laws of the Hong Kong Special
|
|
301
|
+
* Administrative Region of the People's Republic of China, without regard to its
|
|
302
|
+
* conflict of laws principles. Any dispute arising out of or in connection with
|
|
303
|
+
* this Agreement, including its existence, validity, interpretation, performance,
|
|
304
|
+
* breach, or termination, shall first be submitted to thirty (30) days of good
|
|
305
|
+
* faith consultation, and if unresolved, to final and binding arbitration
|
|
306
|
+
* administered by the HKIAC in Hong Kong in English under the HKIAC Administered
|
|
307
|
+
* Arbitration Rules in force at the time of submission, with one (1) arbitrator
|
|
308
|
+
* unless the amount in dispute exceeds USD 1,000,000, in which case three (3)
|
|
309
|
+
* arbitrators shall be appointed. Either party may seek interim or injunctive
|
|
310
|
+
* relief from any court of competent jurisdiction notwithstanding the foregoing.
|
|
311
|
+
|
|
312
|
+
* 12.3 Severability. If any provision of this Agreement is held by a court of
|
|
234
313
|
* competent jurisdiction to be unenforceable for any reason, the remaining
|
|
235
314
|
* provisions hereof will be unaffected and remain in full force and effect.
|
|
236
|
-
|
|
315
|
+
|
|
316
|
+
* 12.4 Modifications. Realsee reserves the right, from time to time, with or
|
|
237
317
|
* without notice to You, to make revisions to this Agreement in our sole and
|
|
238
318
|
* absolute discretion. The most current version of this Agreement will supersede
|
|
239
319
|
* all previous versions and shall be made available on the website where the SDK
|
|
@@ -242,16 +322,19 @@
|
|
|
242
322
|
* from the time that it is made available. You shall be responsible for regularly
|
|
243
323
|
* checking for notice of any such modifications. You agree that Your continued use
|
|
244
324
|
* of the SDK constitutes Your agreement to the modified Agreement.
|
|
245
|
-
|
|
325
|
+
|
|
326
|
+
* 12.5 Relationship of the Parties. This Agreement will not be construed as
|
|
246
327
|
* creating an agency, partnership, joint venture, fiduciary duty, or any other
|
|
247
328
|
* form of legal association between You and Realsee, and You will not represent to
|
|
248
329
|
* the contrary, whether expressly, by implication, appearance, or otherwise.
|
|
249
|
-
|
|
330
|
+
|
|
331
|
+
* 12.6 Entire Agreement; Governing Language. This Agreement constitutes the entire
|
|
250
332
|
* agreement between You and Realsee with respect to the use of the SDK licensed
|
|
251
333
|
* hereunder and supersedes all prior understandings regarding such subject matter.
|
|
252
334
|
* No amendment to or modification of this Agreement will be binding unless in
|
|
253
335
|
* writing and signed by Realsee. You and Realsee hereto confirm that this
|
|
254
336
|
* Agreement and all related documents shall be drafted in English.
|
|
337
|
+
|
|
255
338
|
*/import * as e from "three/webgpu";
|
|
256
339
|
import { Mesh as t, MeshBasicMaterial as n, Object3D as r, SphereGeometry as i } from "three/webgpu";
|
|
257
340
|
import { __awaiter as a, __rest as o } from "tslib";
|
|
@@ -25330,7 +25413,7 @@ var UE = (() => {
|
|
|
25330
25413
|
TITLE: "メガネモード",
|
|
25331
25414
|
HIT: "携帯電話をVRメガネに水平に入れてください。"
|
|
25332
25415
|
}
|
|
25333
|
-
}, iD = typeof navigator < "u" ? (nD = rD[navigator.language.split("-")[0]]) == null ? rD.
|
|
25416
|
+
}, iD = typeof navigator < "u" ? (nD = rD[navigator.language.split("-")[0]]) == null ? rD.en : nD : rD.zh, aD = `
|
|
25334
25417
|
<style>
|
|
25335
25418
|
.$id {
|
|
25336
25419
|
all: initial;
|
|
@@ -28495,19 +28578,19 @@ function _O() {
|
|
|
28495
28578
|
let t = new e.Group();
|
|
28496
28579
|
t.name = "internalLights";
|
|
28497
28580
|
{
|
|
28498
|
-
let n = new e.DirectionalLight(16777215, .1);
|
|
28581
|
+
let n = new e.DirectionalLight(16777215, .1 * Math.PI);
|
|
28499
28582
|
n.name = "direction0", n.position.copy(new e.Vector3(0, 1, 0)), t.add(n);
|
|
28500
28583
|
}
|
|
28501
28584
|
{
|
|
28502
|
-
let n = new e.DirectionalLight(16777215, .1);
|
|
28585
|
+
let n = new e.DirectionalLight(16777215, .1 * Math.PI);
|
|
28503
28586
|
n.name = "direction1", n.position.copy(new e.Vector3(-1, -1, -1)), t.add(n);
|
|
28504
28587
|
}
|
|
28505
28588
|
{
|
|
28506
|
-
let n = new e.DirectionalLight(16777215, .3);
|
|
28589
|
+
let n = new e.DirectionalLight(16777215, .3 * Math.PI);
|
|
28507
28590
|
n.name = "direction2", n.position.copy(new e.Vector3(1, 1, 1)), t.add(n);
|
|
28508
28591
|
}
|
|
28509
28592
|
{
|
|
28510
|
-
let n = new e.AmbientLight(16777215, .6);
|
|
28593
|
+
let n = new e.AmbientLight(16777215, .6 * Math.PI);
|
|
28511
28594
|
n.name = "ambient0", t.add(n);
|
|
28512
28595
|
}
|
|
28513
28596
|
return t;
|
|
@@ -28538,8 +28621,68 @@ function yO() {
|
|
|
28538
28621
|
return 1;
|
|
28539
28622
|
}
|
|
28540
28623
|
//#endregion
|
|
28624
|
+
//#region build/five/assets/realsee-png-data-url.js
|
|
28625
|
+
var bO, xO = {
|
|
28626
|
+
zh: "data:image/png;base64,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",
|
|
28627
|
+
en: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcIAAAA/CAMAAABEvTgEAAAANlBMVEUAAAADAwP////////////////////5+fn9/f3u7u7////7+/v+/v7////39/fT09P8/Pz4+PjGw8iqAAAAEnRSTlMABWVqWkxREjELYCtASRoHOSTOWamvAAAIpklEQVR42uyYidabIBCF9YLs6/u/bDsBQao0aY9d0ub2nBLHAfn5nGFw+a8lbUph+ehNFYNyghtwG5eP3k86Ky+4MYYbtsnlozeTzmnjhviRwD+p9L0krRONHwnig/CdFJXY8X0QvqViMiB+H4Rvq8zB+QRhlOFT1/z1ismYa4Qx2OQ3nz/ni5sVznEhQ/j5ZdYO/CQjcrDOb0JsYsvLv6Dsm1yyf/S9BPi3JgHoexEC24Pf5r826p8IQ4tB5kf+qndDaADGGN8e/LZ/CaFpfyGJv75mb4XQGDASBPHbvkEY1CjZD5aD3R6nE3Ma01YMWZ9mkS9HDuo07tlMw7+EMLUZSAfALy/rnRASwClC6TGK21bUHmTYcCRRBsYeH5iwNfbXIzNeBrB8NAtZzrHfmL18EeHaFQC8vMm/E0KwXVcIg2BgB4FYFfuoSqB3EvKAS9DloJjYKK9b1/O4gX9jFj+KkKQoKl/UGyE0jDSPwo0JZXdlJVgJr2wYV7ZLHROlgjGAOiDcTh/R9caMsweV+9YwobLtyrrAGM0qx59AGIBt6frR/T5eddATh257hjDG2xCyCUKvh9jBjjDNHk3YnWCbfoJQhKtVvxo3KkCdzD+MMAJ8XcuM0mZgthSqp3NtMsm5Nm/n0rJ7cEA4u89CORcX+Rjk0qHbeNJzhFGRB/Vq02jKzuVbopBQdKkehWq6coYl7ZjJzxDKS4R2uURof5jg+i1CTQhJi8IutcP2+8QAhJZO4OpsUSV0B5BBMieHquiriYcZQsmHXnlIExwId0ThHGGaje6ZycTR6Z9CqOI1wvijBNeLROqpfaztlrJ6tLpwM3V84pL6KtetmILJ2iQAE9otAxgOc+2waPrtVFYbjKSX54xQcgiVS6zSYkQDtEUJHfv9UThHWG95TR1N/ssQunqdaJ3pxyJ5jbOtFauOYqIFpKE2ciDFRwdLrOmXAB7fJNdFr+u3DgvJU2ytJAtRU3jXYwQBVdKDqM9Mh4LL1RRxfxTiSSKNrrgoMBd/CuE9iXQdEZZLyK+tBIysNk3ZqtxzJccaeICWvhtVbetvWxFiI2ozhwCI2J9MCDvEfQRVHaIAMr1SPfIiAH17FFJPhidRmHlhIwXj4bsIefgNCGORDLYtmad2VwZE3SaXuvLSEITiGOieocjbxcFjBSDpeuZAcd1thLAzXCvC3uuRNfde+/bs7qpIuevyvKbHbCDcUS1pJlYhJBDlKULPzGGEVpN9O27YEW7HabjwGsJRNVRwXHAqGnRZu1CCiK8evhWwhbJbm1JxFNU4cSidm2y/2gmuor5J7UqWofxKKvvwPVEIPG6itKyyyJyuuxqt0E7xgcJxinBRY38kXRGOdlUQfmOG+gmEPqwkCWxrl2uZVJWldKuFaWQKE9v9c7kSNchmDpJYNIWGcIAWTtOI9Y2i/vyucyEMCYDh9MOHpSI0R0F1MqlvimqOUCt+7M9MrgiHYY0tCM/mJ6rvvlBFNst4ETN979ItoWb6L/RVpXwqtiYBpB4168xhfIq+RijHadTXQe3tfV9ncpDZg3ErQwi6lZ0udFX7uANmTuBmCJcoQ1P2dY+153FrIk2j+UWEaT1J1UXqRFPloB9XkVaXTAZ8X+tRnowlWiYOp6dcIxxrrbRHX8vvt36dCRtrBea0Iu11aK9NJwjP/WBvPdrPEeZTnapqaynyiE+iZQzkV+E6lQ7/bEc4daCnPEWoxxer11D1CLvcWpEGwdpZfaxI50WKMMT/RxGqX4qwrk5XqptafJgNbHHRdCN0jwmAqUMYEql8ZS/MLc+3JH7vuTBzxlJ8gnCsRgCY/KMI50f7mxDGcTk3QO6vfwwVDJHk4D3HTRDOHWhvfVLODOB92xk5TNznePO50HIG9X2E2jHDRRc3zMW/LQrpkJaP8WFags0JosaEl61zGGhQfHSEcwcDyG67RuiPxE3shY3d0+rNX2eUYcZO9sJewATZlam4+esQZkAcF9e26HQCqboYRQh6vAwpsSGcOxAJ1wFdI+yQE5C6s2ij3/x1JiYw/oV9c9ttHAQCaEyAAczN//+zywRkmBIqUFZar9vzELWTASMfDwGUHKdCB7olr19OAWSLASI1DLoSMLv5F+zzVGiBZGaFXXj5gI3OnS705eGYYcyfRcF4Ow1C8cwZU1XhKAHJfyBajhRyOKdi066OcoEuKzTJXa9QosLa7il9qbcvU6aFupmv+FyG2j1Zm42deNdGzHnq0/eLZlNYkrD+QCEkVfKATR+CobRancw09ze2pcoUJBc7x5tLFfYJtTvrQ7oKZ4K/U2gcM3tq5SM2bx6IxLGkkBYhVehlawXcEx0WmwSTwhYPaSgxhbKCFtSqnhQHuV8axdRy4dUvXowUlrIocKhhU+c+xb5svE9cqArHCchhWAJfuH6vUMuckJXRE9U1hdQgrUJLHnhvOc/vQRSkLBxgrvAPihev9mF3soLdB8VlSyxOIEpabvA+rFcVUqJhiLFhowv7wRLSy2LckxXpOAEBkWPpIryRUhVuweYMCRvd56gFhfkElEuBBnuFQYMmTcFDeQcoycrrlVBj0KJfPXUhhMZrj336hMPv0Ic69DZP8Pvu9WqC3+lVupGFI7UKGyGfk85sKl6Hnqz4Ow3e6KvA2+WYGlk9exgrDLGcWXMZo5AuC7yfwnKnrqN1bhiuzuePIV6w5M/FA4K3+UPwlgovVptzo9BkMTMElFUeNNp08qtBd5dfNl3M4dQoyC7/8R0hb447hViRUkb9uDXbv2ByEKGezD0moArRHwqU8f4/890+Z7Gz2UHsjInSYklh9SdcPG5eg5X27v7tiqLMP0l4epibrCg8y09YdYC+8VLmA6qNIX3GrImB9GmFxZ/DFc6PKcBLsm4Q0UomhIu7/y2/K7DoDwHlbPydPv9r/rRHxzQAAAAIgE5n/8IGESrQ+AMAAAAAAODcAD1ClWuE0S+mAAAAAElFTkSuQmCC"
|
|
28628
|
+
}, SO = typeof navigator < "u" ? (bO = xO[navigator.language.split("-")[0]]) == null ? xO.en : bO : xO.zh, CO = [450, 63], wO = [20, 20], TO = new Float32Array([
|
|
28629
|
+
-.5,
|
|
28630
|
+
-.5,
|
|
28631
|
+
0,
|
|
28632
|
+
.5,
|
|
28633
|
+
-.5,
|
|
28634
|
+
0,
|
|
28635
|
+
-.5,
|
|
28636
|
+
.5,
|
|
28637
|
+
0,
|
|
28638
|
+
.5,
|
|
28639
|
+
.5,
|
|
28640
|
+
0
|
|
28641
|
+
]), EO = new Float32Array([
|
|
28642
|
+
0,
|
|
28643
|
+
0,
|
|
28644
|
+
1,
|
|
28645
|
+
0,
|
|
28646
|
+
0,
|
|
28647
|
+
1,
|
|
28648
|
+
1,
|
|
28649
|
+
1
|
|
28650
|
+
]), DO = new Uint8Array([
|
|
28651
|
+
0,
|
|
28652
|
+
1,
|
|
28653
|
+
2,
|
|
28654
|
+
1,
|
|
28655
|
+
3,
|
|
28656
|
+
2
|
|
28657
|
+
]), OO = new c.BufferGeometry();
|
|
28658
|
+
OO.setAttribute("position", new c.BufferAttribute(TO, 3)), OO.setAttribute("uv", new c.BufferAttribute(EO, 2)), OO.setIndex(new c.BufferAttribute(DO, 1));
|
|
28659
|
+
var kO = new c.MeshBasicMaterial({
|
|
28660
|
+
transparent: !0,
|
|
28661
|
+
depthTest: !1,
|
|
28662
|
+
depthWrite: !1,
|
|
28663
|
+
stencilWrite: !1,
|
|
28664
|
+
fog: !1
|
|
28665
|
+
}), AO = new c.Mesh(OO, kO);
|
|
28666
|
+
AO.matrixAutoUpdate = !1;
|
|
28667
|
+
var jO = new c.Scene();
|
|
28668
|
+
jO.add(AO), jO.matrixAutoUpdate = !1;
|
|
28669
|
+
var MO = new c.OrthographicCamera(-.5, .5, .5, -.5, .1, 1);
|
|
28670
|
+
MO.position.set(0, 0, .5), MO.lookAt(0, 0, 0), MO.updateMatrixWorld(!0), MO.matrixAutoUpdate = !1;
|
|
28671
|
+
var NO = new c.Vector4(), PO = new c.Vector4();
|
|
28672
|
+
function FO(e) {
|
|
28673
|
+
if (kO.map) {
|
|
28674
|
+
let t = e.getViewport(NO), n = e.getScissor(PO), r = e.getScissorTest(), i = e.autoClear, a = CO[0] / 3, o = CO[1] / 3, s = n.x + wO[0] / 3, c = n.y + n.height - wO[1] / 3 - o;
|
|
28675
|
+
e.setViewport(s, c, a, o), e.setScissor(s, c, a, o), e.setScissorTest(!0), e.autoClear = !1, e.render(jO, MO), e.setViewport(t), e.setScissor(n), e.setScissorTest(r), e.autoClear = i;
|
|
28676
|
+
} else {
|
|
28677
|
+
let e = new c.Texture(), t = new Image();
|
|
28678
|
+
t.onload = () => {
|
|
28679
|
+
e.image = t, e.wrapS = c.ClampToEdgeWrapping, e.wrapT = c.ClampToEdgeWrapping, e.minFilter = c.LinearFilter, e.needsUpdate = !0, e.generateMipmaps = !1, kO.needsUpdate = !0, t.onload = Y;
|
|
28680
|
+
}, t.src = SO, kO.map = e;
|
|
28681
|
+
}
|
|
28682
|
+
}
|
|
28683
|
+
//#endregion
|
|
28541
28684
|
//#region build/five/utils/requestPermission.js
|
|
28542
|
-
function
|
|
28685
|
+
function IO() {
|
|
28543
28686
|
return typeof location > "u" || location.protocol !== "https:" ? Promise.reject(/* @__PURE__ */ Error("Request DeviceOrientation Permission denied.")) : typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" ? DeviceOrientationEvent.requestPermission().then((e) => {
|
|
28544
28687
|
if (e == "granted") return Promise.resolve();
|
|
28545
28688
|
{
|
|
@@ -28548,7 +28691,7 @@ function bO() {
|
|
|
28548
28691
|
}
|
|
28549
28692
|
}) : Promise.resolve();
|
|
28550
28693
|
}
|
|
28551
|
-
function
|
|
28694
|
+
function LO() {
|
|
28552
28695
|
if ("xr" in navigator) return navigator.xr.isSessionSupported("immersive-vr").then((e) => e ? Promise.resolve() : Promise.reject()).then(() => navigator.xr.requestSession("immersive-vr", { optionalFeatures: ["local-floor"] }).then((e) => Promise.resolve(e)));
|
|
28553
28696
|
{
|
|
28554
28697
|
let e = /* @__PURE__ */ Error("Request XR Permission denied.");
|
|
@@ -28557,9 +28700,9 @@ function xO() {
|
|
|
28557
28700
|
}
|
|
28558
28701
|
//#endregion
|
|
28559
28702
|
//#region build/five/application/five.js
|
|
28560
|
-
var
|
|
28703
|
+
var RO = 800, zO = 90, BO = (e) => e.replace("//vrlab-public.ljcdn.com/", "//vr-public.realsee-cdn.cn/").replace("//vrlab-image4.ljcdn.com/", "//vr-image-4.realsee-cdn.cn/").replace("//vrlab-image3.ljcdn.com/", "//vr-image-3.realsee-cdn.cn/").replace("//vrlab-image2.ljcdn.com/", "//vr-image-2.realsee-cdn.cn/").replace("//vrlab-image1.ljcdn.com/", "//vr-image-1.realsee-cdn.cn/"), VO = new e.Sphere(), HO = new e.Box3(), UO = new e.Vector4(), WO = new e.Vector4(), GO = new e.Color(), KO = new e.Vector2(), qO = /* @__PURE__ */ new WeakMap(), JO = Hx([zx(null)]), YO = {}, XO = class t extends Cn {
|
|
28561
28704
|
static get version() {
|
|
28562
|
-
return "1.0.0-alpha.
|
|
28705
|
+
return "1.0.0-alpha.12";
|
|
28563
28706
|
}
|
|
28564
28707
|
static get dracoPath() {
|
|
28565
28708
|
return Uf.decoderPath;
|
|
@@ -28581,7 +28724,7 @@ var SO = 800, CO = 90, wO = (e) => e.replace("//vrlab-public.ljcdn.com/", "//vr-
|
|
|
28581
28724
|
}
|
|
28582
28725
|
constructor(t = {}) {
|
|
28583
28726
|
var n, r, i, a, o, s, c, l, u, d, f, p;
|
|
28584
|
-
if (super(), this.pbmGaussianSplattingRenderMesh = null, this.fiveId = vn(),
|
|
28727
|
+
if (super(), this.pbmGaussianSplattingRenderMesh = null, this.fiveId = vn(), YO[this.fiveId] = this, this.currentUpdateArgs = {
|
|
28585
28728
|
time: J(),
|
|
28586
28729
|
args: []
|
|
28587
28730
|
}, this.currentMode = "Panorama", this.pano = {
|
|
@@ -28598,7 +28741,7 @@ var SO = 800, CO = 90, wO = (e) => e.replace("//vrlab-public.ljcdn.com/", "//vr-
|
|
|
28598
28741
|
}, this.fps = {
|
|
28599
28742
|
testCount: 0,
|
|
28600
28743
|
testTime: J()
|
|
28601
|
-
}, this.modeChangeDuration = (c = t.modeChangeDuration) == null ?
|
|
28744
|
+
}, this.modeChangeDuration = (c = t.modeChangeDuration) == null ? RO : c, this.enableWheel = (l = t.enableWheel) == null ? !0 : l, this._enableHDR = !!t.enableHDR && EC && !t.forceWebGL, typeof window < "u") if ("renderer" in t) t.renderer instanceof UC && this.throwError(/* @__PURE__ */ Error("cannot render a internal renderer")), this.renderer = t.renderer;
|
|
28602
28745
|
else try {
|
|
28603
28746
|
this.renderer = new UC({
|
|
28604
28747
|
outputType: this._enableHDR ? e.HalfFloatType : void 0,
|
|
@@ -28619,7 +28762,7 @@ var SO = 800, CO = 90, wO = (e) => e.replace("//vrlab-public.ljcdn.com/", "//vr-
|
|
|
28619
28762
|
bottom: 0,
|
|
28620
28763
|
width: 1,
|
|
28621
28764
|
height: 1
|
|
28622
|
-
}, t.viewport), this.camera = new po(
|
|
28765
|
+
}, t.viewport), this.camera = new po(zO), this.scene = new YC(), this.scene.background = this.backgroundColor, this.xrCustomObjectsScene = new e.Scene(), this.scene.add(this.xrCustomObjectsScene), this.scene.matrixAutoUpdate = !1, this.requestProxy = (p = t.requestProxy) == null ? BO : p, this.networkSubscribe = new Wl(), this.networkSubscribe.on("network", (e, t, n, r) => {
|
|
28623
28766
|
var i;
|
|
28624
28767
|
this.emit("network.resource", $("network.resource", {
|
|
28625
28768
|
source: e,
|
|
@@ -28627,10 +28770,10 @@ var SO = 800, CO = 90, wO = (e) => e.replace("//vrlab-public.ljcdn.com/", "//vr-
|
|
|
28627
28770
|
requestState: n,
|
|
28628
28771
|
detail: r
|
|
28629
28772
|
})), (i = this.analysis) == null || i.network(this.works, e, t, n, r);
|
|
28630
|
-
}), this.readyCallbacks = [], this.syncingState = !1, this.helperGroup = new e.Group(), this.helperGroup.name = "helper", this.helperGroup.matrixAutoUpdate = !1, this.scene.add(this.helperGroup),
|
|
28773
|
+
}), this.readyCallbacks = [], this.syncingState = !1, this.helperGroup = new e.Group(), this.helperGroup.name = "helper", this.helperGroup.matrixAutoUpdate = !1, this.scene.add(this.helperGroup), qO.set(this, JO), this.modelScene = new kb({ fiveId: this.fiveId }), this.modelScene.addEventListener("model.create", (e) => {
|
|
28631
28774
|
this.bindModel(e.model);
|
|
28632
28775
|
}), this.scene.add(this.modelScene);
|
|
28633
|
-
let [m] = this.modelScene.setModels(
|
|
28776
|
+
let [m] = this.modelScene.setModels(JO, { forceReplaceImmediately: !0 });
|
|
28634
28777
|
Q(m, "loaded", {
|
|
28635
28778
|
get() {
|
|
28636
28779
|
return !1;
|
|
@@ -28689,11 +28832,11 @@ var SO = 800, CO = 90, wO = (e) => e.replace("//vrlab-public.ljcdn.com/", "//vr-
|
|
|
28689
28832
|
dispose() {
|
|
28690
28833
|
var t;
|
|
28691
28834
|
if (this.destroyed === !0) return;
|
|
28692
|
-
delete
|
|
28835
|
+
delete YO[this.fiveId], this.emit("dispose"), this.destroyed = !0, this.pause(), this.stopAnimationLoop && (this.stopAnimationLoop(), this.stopAnimationLoop = void 0), this.off(), this.networkSubscribe.off(), this.controller && (this.controller.destroy(), this.controller = void 0);
|
|
28693
28836
|
let n = this.getElement();
|
|
28694
28837
|
n && n.parentNode && n.parentNode.removeChild(n);
|
|
28695
28838
|
let r = this.modelScene.parameter;
|
|
28696
|
-
r.pano0 && r.pano0.map.dispose(), r.pano1 && r.pano1.map !== ((t = r.pano0) == null ? void 0 : t.map) && r.pano1.map.dispose(), r.reset("pano0", "pano1"), this.modelScene.dispose(),
|
|
28839
|
+
r.pano0 && r.pano0.map.dispose(), r.pano1 && r.pano1.map !== ((t = r.pano0) == null ? void 0 : t.map) && r.pano1.map.dispose(), r.reset("pano0", "pano1"), this.modelScene.dispose(), qO.set(this, JO), this.renderer && (!(this.renderer instanceof UC) || this.renderer.isInitialized) && this.renderer.render(new e.Scene(), new e.PerspectiveCamera()), this.fiveRenderer.dispose(), this.renderer instanceof UC && this.renderer.dispose();
|
|
28697
28840
|
}
|
|
28698
28841
|
setViewport(e) {
|
|
28699
28842
|
Object.assign(this.viewport, e), this.needsRender = !0;
|
|
@@ -28762,7 +28905,7 @@ var SO = 800, CO = 90, wO = (e) => e.replace("//vrlab-public.ljcdn.com/", "//vr-
|
|
|
28762
28905
|
return this.controller.updateCameraWithKeyframes(e, t, n);
|
|
28763
28906
|
}
|
|
28764
28907
|
get works() {
|
|
28765
|
-
return
|
|
28908
|
+
return qO.get(this) || JO;
|
|
28766
28909
|
}
|
|
28767
28910
|
get work() {
|
|
28768
28911
|
return this.works[0];
|
|
@@ -28786,7 +28929,7 @@ var SO = 800, CO = 90, wO = (e) => e.replace("//vrlab-public.ljcdn.com/", "//vr-
|
|
|
28786
28929
|
load_(n, r, i, a = !0) {
|
|
28787
28930
|
var o, s, c, l, u, d, f, p, m, h;
|
|
28788
28931
|
let g = {};
|
|
28789
|
-
typeof i == "number" ? g.duration = i : typeof i == "object" && Object.assign(g, i), this.works ===
|
|
28932
|
+
typeof i == "number" ? g.duration = i : typeof i == "object" && Object.assign(g, i), this.works === JO && (g.duration === void 0 && (g.duration = 0), g.effect === void 0 && (g.effect = "instant"));
|
|
28790
28933
|
let _ = {};
|
|
28791
28934
|
Object.assign(_, g.model), !_["3d-tiles"] && g["3d-tiles"] && (_["3d-tiles"] = g["3d-tiles"]), !_.textureOptions && g.textureOptions && (_.textureOptions = g.textureOptions), !_.textureOptions && this.textureOptions && (_.textureOptions = this.textureOptions);
|
|
28792
28935
|
let v = [];
|
|
@@ -28800,7 +28943,7 @@ var SO = 800, CO = 90, wO = (e) => e.replace("//vrlab-public.ljcdn.com/", "//vr-
|
|
|
28800
28943
|
return this.throwError(e), Promise.reject(e);
|
|
28801
28944
|
}
|
|
28802
28945
|
for (let e of y) this.bindWorkFetcher(e);
|
|
28803
|
-
r === void 0 && (r = "inherit"), r === "inherit" && this.works ===
|
|
28946
|
+
r === void 0 && (r = "inherit"), r === "inherit" && this.works === JO && (r = "initial");
|
|
28804
28947
|
let b = this.currentMode, x = y.initial, S = x.work.observers[0], C = S ? {
|
|
28805
28948
|
workCode: S.work.workCode,
|
|
28806
28949
|
panoIndex: S.panoIndex
|
|
@@ -28900,7 +29043,7 @@ var SO = 800, CO = 90, wO = (e) => e.replace("//vrlab-public.ljcdn.com/", "//vr-
|
|
|
28900
29043
|
}
|
|
28901
29044
|
this.state.workCode = this.pano.workCode, this.state.panoIndex = this.pano.panoIndex, this.updateTime(this.currentUpdateArgs.time, 0, ...this.currentUpdateArgs.args);
|
|
28902
29045
|
};
|
|
28903
|
-
|
|
29046
|
+
qO.set(this, y);
|
|
28904
29047
|
let k = Promise.resolve();
|
|
28905
29048
|
if (w === t.Mode.Floorplan || w === t.Mode.Topview || w === t.Mode.Mapview || w === t.Mode.Model) {
|
|
28906
29049
|
this.modelScene.loaded === !1 && (this.camera.setFromPose(T), Aw(this.state, this.camera.pose));
|
|
@@ -28951,12 +29094,12 @@ var SO = 800, CO = 90, wO = (e) => e.replace("//vrlab-public.ljcdn.com/", "//vr-
|
|
|
28951
29094
|
pano0: null,
|
|
28952
29095
|
pano1: null,
|
|
28953
29096
|
modelAlpha: 1
|
|
28954
|
-
}),
|
|
29097
|
+
}), qO.set(this, JO), this.modelScene.setModels(JO, { forceReplaceImmediately: !0 }), this.renderer && this.modelScene.update(this.renderer, this.camera), this.needsRender = !0, this.currentMode = "Panorama", this.pano = {
|
|
28955
29098
|
workCode: "",
|
|
28956
29099
|
panoIndex: 0
|
|
28957
29100
|
}, this.camera.setFromPose({
|
|
28958
29101
|
distance: 0,
|
|
28959
|
-
fov:
|
|
29102
|
+
fov: zO,
|
|
28960
29103
|
longitude: 0,
|
|
28961
29104
|
latitude: 0,
|
|
28962
29105
|
offset: new e.Vector3(0, 0, 0)
|
|
@@ -29024,7 +29167,7 @@ var SO = 800, CO = 90, wO = (e) => e.replace("//vrlab-public.ljcdn.com/", "//vr-
|
|
|
29024
29167
|
}
|
|
29025
29168
|
o();
|
|
29026
29169
|
}, v = Bu.shared.getContext();
|
|
29027
|
-
if (v && (typeof XRSession < "u" && v instanceof XRSession && v.end(), Bu.shared.setContext(null)), e === t.Mode.VRPanorama) this.requestFullscreen(),
|
|
29170
|
+
if (v && (typeof XRSession < "u" && v instanceof XRSession && v.end(), Bu.shared.setContext(null)), e === t.Mode.VRPanorama) this.requestFullscreen(), IO().then(() => _()).catch((e) => {
|
|
29028
29171
|
let t = e instanceof Error ? e : Error(String(e));
|
|
29029
29172
|
this.exitFullscreen(), this.throwError(t), s(t);
|
|
29030
29173
|
});
|
|
@@ -29039,7 +29182,7 @@ var SO = 800, CO = 90, wO = (e) => e.replace("//vrlab-public.ljcdn.com/", "//vr-
|
|
|
29039
29182
|
this.throwError(e), s(e);
|
|
29040
29183
|
return;
|
|
29041
29184
|
}
|
|
29042
|
-
|
|
29185
|
+
LO().then((e) => {
|
|
29043
29186
|
Bu.shared.setContext(e), a = !0;
|
|
29044
29187
|
try {
|
|
29045
29188
|
_();
|
|
@@ -29064,7 +29207,7 @@ var SO = 800, CO = 90, wO = (e) => e.replace("//vrlab-public.ljcdn.com/", "//vr-
|
|
|
29064
29207
|
this.helperVisible = v == null ? this.helperVisible : v, y && (this.controller instanceof fO.Panorama || this.controller instanceof fO.VRPanorama || this.controller instanceof fO.XRPanorama) && y === !0 && this.modelScene.parameter.set("modelAlpha", 1), this.modelScene.update(this.renderer, this.camera);
|
|
29065
29208
|
let C = this.getPixelsRenderTarget;
|
|
29066
29209
|
C.setSize(m * g, h * g), this.renderer.setRenderTarget(C), this.camera.pixelRatio = g, this.camera.resolution.set(m, h), this.camera.setViewOffset(d.width, d.height, f, d.height - p - h, m, h), this.camera.aspect = d.width / d.height, this.camera.updateTime(a), this.scene.update(this.renderer, this.camera);
|
|
29067
|
-
let w = this.renderer.autoClear, T = this.renderer.autoClearColor, E = this.renderer.autoClearDepth, D = this.renderer.autoClearStencil, O = this.renderer.getClearColor(
|
|
29210
|
+
let w = this.renderer.autoClear, T = this.renderer.autoClearColor, E = this.renderer.autoClearDepth, D = this.renderer.autoClearStencil, O = this.renderer.getClearColor(GO), k = this.renderer.getClearAlpha(), A = this.renderer.getScissorTest();
|
|
29068
29211
|
this.renderer.autoClear = !0, this.renderer.autoClearColor = !0, this.renderer.autoClearDepth = !0, this.renderer.autoClearStencil = !0, this.renderer.setScissorTest(!1);
|
|
29069
29212
|
let j = this.scene.background;
|
|
29070
29213
|
this.scene.background = this.camera.isOrthographicCamera || this.backgroundAlpha < 1 ? null : j, this.renderer.render(this.scene, this.camera), this.scene.background = j, this.renderer.autoClear = w, this.renderer.autoClearColor = T, this.renderer.autoClearDepth = E, this.renderer.autoClearStencil = D, this.renderer.setClearColor(O, k), this.renderer.setScissorTest(A), this.helperVisible = x, S === void 0 ? this.modelScene.parameter.reset("modelAlpha") : this.modelScene.parameter.set("modelAlpha", S), this.renderer.setRenderTarget(u), this.camera.clearViewOffset(), this.camera.pixelRatio = l, this.camera.resolution.copy(d), this.camera.aspect = this.camera.resolution.width / this.camera.resolution.height, this.camera.updateTime(a), this.modelScene.update(this.renderer, this.camera), this.scene.update(this.renderer, this.camera);
|
|
@@ -29097,16 +29240,20 @@ var SO = 800, CO = 90, wO = (e) => e.replace("//vrlab-public.ljcdn.com/", "//vr-
|
|
|
29097
29240
|
if (!t) return;
|
|
29098
29241
|
let n = t.getRenderTarget();
|
|
29099
29242
|
t.setRenderTarget(null);
|
|
29100
|
-
let r = t.autoClear, i = t.autoClearColor, a = t.autoClearDepth, o = t.autoClearStencil, s = t.getClearColor(
|
|
29243
|
+
let r = t.autoClear, i = t.autoClearColor, a = t.autoClearDepth, o = t.autoClearStencil, s = t.getClearColor(GO), c = t.getClearAlpha(), l = t.getViewport(UO), u = t.getScissor(WO), d = t.getScissorTest();
|
|
29101
29244
|
t.autoClear = !0, t.autoClearColor = !0, t.autoClearDepth = !0, t.autoClearStencil = !0;
|
|
29102
|
-
let f = t.getSize(
|
|
29245
|
+
let f = t.getSize(KO), p = Math.floor(f.x * this.viewport.left), m = Math.floor(f.y * this.viewport.bottom), h = Math.floor(f.x * this.viewport.width), g = Math.floor(f.y * this.viewport.height);
|
|
29103
29246
|
t.setClearColor(this.backgroundColor, this.backgroundAlpha), t.setViewport(p, m, h, g), t.setScissor(p, m, h, g);
|
|
29104
29247
|
let _ = this.viewport.bottom !== 0 || this.viewport.left !== 0 || this.viewport.width !== 1 || this.viewport.height !== 1;
|
|
29105
29248
|
t.setScissorTest(_);
|
|
29106
29249
|
let v = this.scene.background;
|
|
29107
29250
|
this.scene.background = this.camera.isOrthographicCamera || this.backgroundAlpha < 1 ? null : v;
|
|
29108
29251
|
let y = !0;
|
|
29109
|
-
this.controller && this.controller.render() && (y = !1), y
|
|
29252
|
+
if (this.controller && this.controller.render() && (y = !1), y) {
|
|
29253
|
+
let e = this.fiveRenderer.render(t, this.scene, this.modelScene, this.camera, this.needsRender);
|
|
29254
|
+
this.poweredByRealsee && e && FO(t);
|
|
29255
|
+
}
|
|
29256
|
+
this.scene.background = v, t.autoClear = r, t.autoClearColor = i, t.autoClearDepth = a, t.autoClearStencil = o, t.setClearColor(s, c), t.setViewport(l), t.setScissor(u), t.setScissorTest(d), t.setRenderTarget(n), e && Bu.shared.add(e, !0);
|
|
29110
29257
|
}
|
|
29111
29258
|
updateTime(e, t, ...n) {
|
|
29112
29259
|
if (this.currentUpdateArgs = {
|
|
@@ -29122,8 +29269,8 @@ var SO = 800, CO = 90, wO = (e) => e.replace("//vrlab-public.ljcdn.com/", "//vr-
|
|
|
29122
29269
|
}, !0, 0, 10);
|
|
29123
29270
|
}
|
|
29124
29271
|
if (this.camera.autoNearFar) {
|
|
29125
|
-
|
|
29126
|
-
let t =
|
|
29272
|
+
HO.makeEmpty(), HO.expandByObject(this.modelScene.boundingMesh);
|
|
29273
|
+
let t = HO.getBoundingSphere(VO), n = t.radius * 2;
|
|
29127
29274
|
t.containsPoint(this.camera.position) || (n = this.camera.position.distanceTo(t.center) + t.radius);
|
|
29128
29275
|
let r = q(n / 500, .001, .1), i = q(n, 800);
|
|
29129
29276
|
this.camera.near !== r && (this.camera.near = r), this.camera.far !== i && (this.camera.far = i), this.camera.updateTime(e);
|
|
@@ -29642,7 +29789,7 @@ var SO = 800, CO = 90, wO = (e) => e.replace("//vrlab-public.ljcdn.com/", "//vr-
|
|
|
29642
29789
|
return this._enableHDR;
|
|
29643
29790
|
}
|
|
29644
29791
|
};
|
|
29645
|
-
|
|
29792
|
+
XO.Mode = {
|
|
29646
29793
|
Panorama: "Panorama",
|
|
29647
29794
|
Model: "Model",
|
|
29648
29795
|
Floorplan: "Floorplan",
|
|
@@ -29652,12 +29799,12 @@ PO.Mode = {
|
|
|
29652
29799
|
XRPanorama: "XRPanorama"
|
|
29653
29800
|
}, typeof window < "u" && Object.assign(window, { __FIVE_DEBUG__: {
|
|
29654
29801
|
THREE: e,
|
|
29655
|
-
constructor:
|
|
29656
|
-
instances:
|
|
29802
|
+
constructor: XO,
|
|
29803
|
+
instances: YO
|
|
29657
29804
|
} });
|
|
29658
29805
|
//#endregion
|
|
29659
29806
|
//#region build/five/webxr/xrButton.js
|
|
29660
|
-
var
|
|
29807
|
+
var ZO = class {
|
|
29661
29808
|
static createButton(e) {
|
|
29662
29809
|
let t = document.createElement("button"), n = "ENTER VR", r = "calc(50% - 50px)", i = "100px", a;
|
|
29663
29810
|
function o() {
|
|
@@ -29702,4 +29849,4 @@ var FO = class {
|
|
|
29702
29849
|
}
|
|
29703
29850
|
};
|
|
29704
29851
|
//#endregion
|
|
29705
|
-
export { OS as AdaptiveLuminancePass, Bu as AnimationFrameLoop, Db as BoundingMesh, po as Camera, Wx as EffectComposer, AS as EyeDomeLightingPass, Yl as Fetcher,
|
|
29852
|
+
export { OS as AdaptiveLuminancePass, Bu as AnimationFrameLoop, Db as BoundingMesh, po as Camera, Wx as EffectComposer, AS as EyeDomeLightingPass, Yl as Fetcher, XO as Five, Kx as FivePass, CC as FiveRenderer, BS as FlowingFireworks3DPass, PS as FlowingLight2DPass, MS as FlowingLight3DPass, Gx as FullScreenQuad, ta as GSPLAT_PIPELINE_AUTO, na as GSPLAT_PIPELINE_RASTER_CPU_SORT, ra as GSPLAT_PIPELINE_RASTER_GPU_SORT, jS as GaussianBlurPass, fS as Histogram, UC as InternalWebGPURenderer, vb as Model, kb as ModelScene, X as Motion, Wl as NetworkSubscribe, An as PBMCustomNode, hn as PBMGSObject, hn as PBMGaussianSplattingObject, $r as PBMGaussianSplattingNodeMaterial, la as PBMGaussianSplattingRenderMesh, sn as PBMGroup, fn as PBMMesh, ua as PBMMeshBasicMaterial, Cl as PBMMeshBasicNodeMaterial, da as PBMMeshPanoOnlyMaterial, kl as PBMMeshPanoOnlyNodeMaterial, fa as PBMMeshPhongMaterial, Tl as PBMMeshPhongNodeMaterial, pa as PBMMeshPhysicalMaterial, Dl as PBMMeshPhysicalNodeMaterial, Mn as PBMPanoFilter, Yn as PBMPointCloud, Un as PBMPointCloudMaterial, pn as PBMSkinnedMesh, kn as PBMUpdateable, On as PBMVertexMarkFlag, mO as PROXY_CONTROLLER_EVENT_NAMES, rw as PanoCircleMesh, yw as PanoCircleMeshCustom, dw as PanoCircleMeshSolid, Ry as Parameter, YC as Scene, Cn as Subscribe, Qu as TextureLoader, Pm as Tile, Zy as Tile3D, Zy as Tile3DModel, vg as TileCache, sg as TileNode, hg as TileRequestScheduler, wg as Tileset, dg as Trajectory, fg as TrajectoryNode, Rx as Work, Vx as WorkResolvedObserver, ZO as XRButton, pO as controllersDefaultInitArgs, $a as coordinatesToVector, km as createDebugBoundingMesh, Hx as createWorks, jn as customNodesCacheKey, ku as defaultImageURLTransform, Uf as draco, yO as getViewportScale, no as headingToLongitude, fu as imageSupport, wm as isBoundingVolume, ex as isPanoId, zd as loadAt3d, Wd as loadDome, Zd as loadDomez, rm as loadGltf, _d as loadPbm, tf as loadPly, to as longitudeToHeading, Tm as makeBoundingVolume, $b as panoEqual, Qb as panoParse, Zb as panoStringify, zx as parseWork, Ml as registerPBMMaterials, eo as vectorToCoordinates, Pb as workToJson };
|