sunrize 2.1.18 → 2.1.20
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/LICENSES/CC-BY-4.0.txt +268 -0
- package/LICENSES/CC-BY-NC-4.0.txt +252 -0
- package/LICENSES/CC0-1.0.txt +105 -0
- package/package.json +12 -12
- package/src/Application/Application.js +2 -5
- package/src/Application/Dashboard.js +2 -2
- package/src/Application/Document.js +17 -16
- package/src/Components/Geometry3D/IndexedFaceSet.js +3 -3
- package/src/Editors/BrowserFrame.js +26 -40
- package/src/Editors/OutlineEditor.js +1 -1
- package/src/Editors/OutlineView.js +24 -16
- package/src/Editors/SceneProperties.js +25 -1
- package/src/Undo/Editor.js +1 -1
- package/src/assets/X3DUOM.xml +28 -28
- package/src/assets/html/window-template.html +1 -0
- package/src/assets/html/window.html +1 -0
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
Creative Commons Attribution 4.0 International Public License
|
|
2
|
+
|
|
3
|
+
By exercising the Licensed Rights (defined below), You accept and agree to
|
|
4
|
+
be bound by the terms and conditions of this Creative Commons Attribution
|
|
5
|
+
4.0 International Public License ("Public License"). To the extent this Public
|
|
6
|
+
License may be interpreted as a contract, You are granted the Licensed Rights
|
|
7
|
+
in consideration of Your acceptance of these terms and conditions, and the
|
|
8
|
+
Licensor grants You such rights in consideration of benefits the Licensor
|
|
9
|
+
receives from making the Licensed Material available under these terms and
|
|
10
|
+
conditions.
|
|
11
|
+
|
|
12
|
+
Section 1 – Definitions.
|
|
13
|
+
|
|
14
|
+
a. Adapted Material means material subject to Copyright and Similar Rights
|
|
15
|
+
that is derived from or based upon the Licensed Material and in which the
|
|
16
|
+
Licensed Material is translated, altered, arranged, transformed, or otherwise
|
|
17
|
+
modified in a manner requiring permission under the Copyright and Similar
|
|
18
|
+
Rights held by the Licensor. For purposes of this Public License, where the
|
|
19
|
+
Licensed Material is a musical work, performance, or sound recording, Adapted
|
|
20
|
+
Material is always produced where the Licensed Material is synched in timed
|
|
21
|
+
relation with a moving image.
|
|
22
|
+
|
|
23
|
+
b. Adapter's License means the license You apply to Your Copyright and Similar
|
|
24
|
+
Rights in Your contributions to Adapted Material in accordance with the terms
|
|
25
|
+
and conditions of this Public License.
|
|
26
|
+
|
|
27
|
+
c. Copyright and Similar Rights means copyright and/or similar rights closely
|
|
28
|
+
related to copyright including, without limitation, performance, broadcast,
|
|
29
|
+
sound recording, and Sui Generis Database Rights, without regard to how the
|
|
30
|
+
rights are labeled or categorized. For purposes of this Public License, the
|
|
31
|
+
rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
|
|
32
|
+
|
|
33
|
+
d. Effective Technological Measures means those measures that, in the absence
|
|
34
|
+
of proper authority, may not be circumvented under laws fulfilling obligations
|
|
35
|
+
under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996,
|
|
36
|
+
and/or similar international agreements.
|
|
37
|
+
|
|
38
|
+
e. Exceptions and Limitations means fair use, fair dealing, and/or any other
|
|
39
|
+
exception or limitation to Copyright and Similar Rights that applies to Your
|
|
40
|
+
use of the Licensed Material.
|
|
41
|
+
|
|
42
|
+
f. Licensed Material means the artistic or literary work, database, or other
|
|
43
|
+
material to which the Licensor applied this Public License.
|
|
44
|
+
|
|
45
|
+
g. Licensed Rights means the rights granted to You subject to the terms and
|
|
46
|
+
conditions of this Public License, which are limited to all Copyright and
|
|
47
|
+
Similar Rights that apply to Your use of the Licensed Material and that the
|
|
48
|
+
Licensor has authority to license.
|
|
49
|
+
|
|
50
|
+
h. Licensor means the individual(s) or entity(ies) granting rights under this
|
|
51
|
+
Public License.
|
|
52
|
+
|
|
53
|
+
i. Share means to provide material to the public by any means or process that
|
|
54
|
+
requires permission under the Licensed Rights, such as reproduction, public
|
|
55
|
+
display, public performance, distribution, dissemination, communication, or
|
|
56
|
+
importation, and to make material available to the public including in ways
|
|
57
|
+
that members of the public may access the material from a place and at a time
|
|
58
|
+
individually chosen by them.
|
|
59
|
+
|
|
60
|
+
j. Sui Generis Database Rights means rights other than copyright resulting
|
|
61
|
+
from Directive 96/9/EC of the European Parliament and of the Council of 11
|
|
62
|
+
March 1996 on the legal protection of databases, as amended and/or succeeded,
|
|
63
|
+
as well as other essentially equivalent rights anywhere in the world.
|
|
64
|
+
|
|
65
|
+
k. You means the individual or entity exercising the Licensed Rights under
|
|
66
|
+
this Public License. Your has a corresponding meaning.
|
|
67
|
+
|
|
68
|
+
Section 2 – Scope.
|
|
69
|
+
|
|
70
|
+
a. License grant.
|
|
71
|
+
|
|
72
|
+
1. Subject to the terms and conditions of this Public License, the Licensor
|
|
73
|
+
hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive,
|
|
74
|
+
irrevocable license to exercise the Licensed Rights in the Licensed Material
|
|
75
|
+
to:
|
|
76
|
+
|
|
77
|
+
A. reproduce and Share the Licensed Material, in whole or in part; and
|
|
78
|
+
|
|
79
|
+
B. produce, reproduce, and Share Adapted Material.
|
|
80
|
+
|
|
81
|
+
2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions
|
|
82
|
+
and Limitations apply to Your use, this Public License does not apply, and
|
|
83
|
+
You do not need to comply with its terms and conditions.
|
|
84
|
+
|
|
85
|
+
3. Term. The term of this Public License is specified in Section 6(a).
|
|
86
|
+
|
|
87
|
+
4. Media and formats; technical modifications allowed. The Licensor authorizes
|
|
88
|
+
You to exercise the Licensed Rights in all media and formats whether now known
|
|
89
|
+
or hereafter created, and to make technical modifications necessary to do
|
|
90
|
+
so. The Licensor waives and/or agrees not to assert any right or authority
|
|
91
|
+
to forbid You from making technical modifications necessary to exercise the
|
|
92
|
+
Licensed Rights, including technical modifications necessary to circumvent
|
|
93
|
+
Effective Technological Measures. For purposes of this Public License, simply
|
|
94
|
+
making modifications authorized by this Section 2(a)(4) never produces Adapted
|
|
95
|
+
Material.
|
|
96
|
+
|
|
97
|
+
5. Downstream recipients.
|
|
98
|
+
|
|
99
|
+
A. Offer from the Licensor – Licensed Material. Every recipient of the Licensed
|
|
100
|
+
Material automatically receives an offer from the Licensor to exercise the
|
|
101
|
+
Licensed Rights under the terms and conditions of this Public License.
|
|
102
|
+
|
|
103
|
+
B. No downstream restrictions. You may not offer or impose any additional
|
|
104
|
+
or different terms or conditions on, or apply any Effective Technological
|
|
105
|
+
Measures to, the Licensed Material if doing so restricts exercise of the Licensed
|
|
106
|
+
Rights by any recipient of the Licensed Material.
|
|
107
|
+
|
|
108
|
+
6. No endorsement. Nothing in this Public License constitutes or may be construed
|
|
109
|
+
as permission to assert or imply that You are, or that Your use of the Licensed
|
|
110
|
+
Material is, connected with, or sponsored, endorsed, or granted official status
|
|
111
|
+
by, the Licensor or others designated to receive attribution as provided in
|
|
112
|
+
Section 3(a)(1)(A)(i).
|
|
113
|
+
|
|
114
|
+
b. Other rights.
|
|
115
|
+
|
|
116
|
+
1. Moral rights, such as the right of integrity, are not licensed under this
|
|
117
|
+
Public License, nor are publicity, privacy, and/or other similar personality
|
|
118
|
+
rights; however, to the extent possible, the Licensor waives and/or agrees
|
|
119
|
+
not to assert any such rights held by the Licensor to the limited extent necessary
|
|
120
|
+
to allow You to exercise the Licensed Rights, but not otherwise.
|
|
121
|
+
|
|
122
|
+
2. Patent and trademark rights are not licensed under this Public License.
|
|
123
|
+
|
|
124
|
+
3. To the extent possible, the Licensor waives any right to collect royalties
|
|
125
|
+
from You for the exercise of the Licensed Rights, whether directly or through
|
|
126
|
+
a collecting society under any voluntary or waivable statutory or compulsory
|
|
127
|
+
licensing scheme. In all other cases the Licensor expressly reserves any right
|
|
128
|
+
to collect such royalties.
|
|
129
|
+
|
|
130
|
+
Section 3 – License Conditions.
|
|
131
|
+
|
|
132
|
+
Your exercise of the Licensed Rights is expressly made subject to the following
|
|
133
|
+
conditions.
|
|
134
|
+
|
|
135
|
+
a. Attribution.
|
|
136
|
+
|
|
137
|
+
1. If You Share the Licensed Material (including in modified form), You must:
|
|
138
|
+
|
|
139
|
+
A. retain the following if it is supplied by the Licensor with the Licensed
|
|
140
|
+
Material:
|
|
141
|
+
|
|
142
|
+
i. identification of the creator(s) of the Licensed Material and any others
|
|
143
|
+
designated to receive attribution, in any reasonable manner requested by the
|
|
144
|
+
Licensor (including by pseudonym if designated);
|
|
145
|
+
|
|
146
|
+
ii. a copyright notice;
|
|
147
|
+
|
|
148
|
+
iii. a notice that refers to this Public License;
|
|
149
|
+
|
|
150
|
+
iv. a notice that refers to the disclaimer of warranties;
|
|
151
|
+
|
|
152
|
+
v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
|
|
153
|
+
|
|
154
|
+
B. indicate if You modified the Licensed Material and retain an indication
|
|
155
|
+
of any previous modifications; and
|
|
156
|
+
|
|
157
|
+
C. indicate the Licensed Material is licensed under this Public License, and
|
|
158
|
+
include the text of, or the URI or hyperlink to, this Public License.
|
|
159
|
+
|
|
160
|
+
2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner
|
|
161
|
+
based on the medium, means, and context in which You Share the Licensed Material.
|
|
162
|
+
For example, it may be reasonable to satisfy the conditions by providing a
|
|
163
|
+
URI or hyperlink to a resource that includes the required information.
|
|
164
|
+
|
|
165
|
+
3. If requested by the Licensor, You must remove any of the information required
|
|
166
|
+
by Section 3(a)(1)(A) to the extent reasonably practicable.
|
|
167
|
+
|
|
168
|
+
4. If You Share Adapted Material You produce, the Adapter's License You apply
|
|
169
|
+
must not prevent recipients of the Adapted Material from complying with this
|
|
170
|
+
Public License.
|
|
171
|
+
|
|
172
|
+
Section 4 – Sui Generis Database Rights.
|
|
173
|
+
|
|
174
|
+
Where the Licensed Rights include Sui Generis Database Rights that apply to
|
|
175
|
+
Your use of the Licensed Material:
|
|
176
|
+
|
|
177
|
+
a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract,
|
|
178
|
+
reuse, reproduce, and Share all or a substantial portion of the contents of
|
|
179
|
+
the database;
|
|
180
|
+
|
|
181
|
+
b. if You include all or a substantial portion of the database contents in
|
|
182
|
+
a database in which You have Sui Generis Database Rights, then the database
|
|
183
|
+
in which You have Sui Generis Database Rights (but not its individual contents)
|
|
184
|
+
is Adapted Material; and
|
|
185
|
+
|
|
186
|
+
c. You must comply with the conditions in Section 3(a) if You Share all or
|
|
187
|
+
a substantial portion of the contents of the database.
|
|
188
|
+
|
|
189
|
+
For the avoidance of doubt, this Section 4 supplements and does not replace
|
|
190
|
+
Your obligations under this Public License where the Licensed Rights include
|
|
191
|
+
other Copyright and Similar Rights.
|
|
192
|
+
|
|
193
|
+
Section 5 – Disclaimer of Warranties and Limitation of Liability.
|
|
194
|
+
|
|
195
|
+
a. Unless otherwise separately undertaken by the Licensor, to the extent possible,
|
|
196
|
+
the Licensor offers the Licensed Material as-is and as-available, and makes
|
|
197
|
+
no representations or warranties of any kind concerning the Licensed Material,
|
|
198
|
+
whether express, implied, statutory, or other. This includes, without limitation,
|
|
199
|
+
warranties of title, merchantability, fitness for a particular purpose, non-infringement,
|
|
200
|
+
absence of latent or other defects, accuracy, or the presence or absence of
|
|
201
|
+
errors, whether or not known or discoverable. Where disclaimers of warranties
|
|
202
|
+
are not allowed in full or in part, this disclaimer may not apply to You.
|
|
203
|
+
|
|
204
|
+
b. To the extent possible, in no event will the Licensor be liable to You
|
|
205
|
+
on any legal theory (including, without limitation, negligence) or otherwise
|
|
206
|
+
for any direct, special, indirect, incidental, consequential, punitive, exemplary,
|
|
207
|
+
or other losses, costs, expenses, or damages arising out of this Public License
|
|
208
|
+
or use of the Licensed Material, even if the Licensor has been advised of
|
|
209
|
+
the possibility of such losses, costs, expenses, or damages. Where a limitation
|
|
210
|
+
of liability is not allowed in full or in part, this limitation may not apply
|
|
211
|
+
to You.
|
|
212
|
+
|
|
213
|
+
c. The disclaimer of warranties and limitation of liability provided above
|
|
214
|
+
shall be interpreted in a manner that, to the extent possible, most closely
|
|
215
|
+
approximates an absolute disclaimer and waiver of all liability.
|
|
216
|
+
|
|
217
|
+
Section 6 – Term and Termination.
|
|
218
|
+
|
|
219
|
+
a. This Public License applies for the term of the Copyright and Similar Rights
|
|
220
|
+
licensed here. However, if You fail to comply with this Public License, then
|
|
221
|
+
Your rights under this Public License terminate automatically.
|
|
222
|
+
|
|
223
|
+
b. Where Your right to use the Licensed Material has terminated under Section
|
|
224
|
+
6(a), it reinstates:
|
|
225
|
+
|
|
226
|
+
1. automatically as of the date the violation is cured, provided it is cured
|
|
227
|
+
within 30 days of Your discovery of the violation; or
|
|
228
|
+
|
|
229
|
+
2. upon express reinstatement by the Licensor.
|
|
230
|
+
|
|
231
|
+
c. For the avoidance of doubt, this Section 6(b) does not affect any right
|
|
232
|
+
the Licensor may have to seek remedies for Your violations of this Public
|
|
233
|
+
License.
|
|
234
|
+
|
|
235
|
+
d. For the avoidance of doubt, the Licensor may also offer the Licensed Material
|
|
236
|
+
under separate terms or conditions or stop distributing the Licensed Material
|
|
237
|
+
at any time; however, doing so will not terminate this Public License.
|
|
238
|
+
|
|
239
|
+
e. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
|
|
240
|
+
|
|
241
|
+
Section 7 – Other Terms and Conditions.
|
|
242
|
+
|
|
243
|
+
a. The Licensor shall not be bound by any additional or different terms or
|
|
244
|
+
conditions communicated by You unless expressly agreed.
|
|
245
|
+
|
|
246
|
+
b. Any arrangements, understandings, or agreements regarding the Licensed
|
|
247
|
+
Material not stated herein are separate from and independent of the terms
|
|
248
|
+
and conditions of this Public License.
|
|
249
|
+
|
|
250
|
+
Section 8 – Interpretation.
|
|
251
|
+
|
|
252
|
+
a. For the avoidance of doubt, this Public License does not, and shall not
|
|
253
|
+
be interpreted to, reduce, limit, restrict, or impose conditions on any use
|
|
254
|
+
of the Licensed Material that could lawfully be made without permission under
|
|
255
|
+
this Public License.
|
|
256
|
+
|
|
257
|
+
b. To the extent possible, if any provision of this Public License is deemed
|
|
258
|
+
unenforceable, it shall be automatically reformed to the minimum extent necessary
|
|
259
|
+
to make it enforceable. If the provision cannot be reformed, it shall be severed
|
|
260
|
+
from this Public License without affecting the enforceability of the remaining
|
|
261
|
+
terms and conditions.
|
|
262
|
+
|
|
263
|
+
c. No term or condition of this Public License will be waived and no failure
|
|
264
|
+
to comply consented to unless expressly agreed to by the Licensor.
|
|
265
|
+
|
|
266
|
+
d. Nothing in this Public License constitutes or may be interpreted as a limitation
|
|
267
|
+
upon, or waiver of, any privileges and immunities that apply to the Licensor
|
|
268
|
+
or You, including from the legal processes of any jurisdiction or authority.
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
By exercising the Licensed Rights (defined below), You accept and agree to
|
|
2
|
+
be bound by the terms and conditions of this Creative Commons
|
|
3
|
+
Attribution-NonCommercial 4.0 International Public License ("Public
|
|
4
|
+
License"). To the extent this Public License may be interpreted as a
|
|
5
|
+
contract, You are granted the Licensed Rights in consideration of Your
|
|
6
|
+
acceptance of these terms and conditions, and the Licensor grants You such
|
|
7
|
+
rights in consideration of benefits the Licensor receives from making the
|
|
8
|
+
Licensed Material available under these terms and conditions.
|
|
9
|
+
|
|
10
|
+
Section 1 – Definitions.
|
|
11
|
+
|
|
12
|
+
Adapted Material means material subject to Copyright and Similar Rights
|
|
13
|
+
that is derived from or based upon the Licensed Material and in which
|
|
14
|
+
the Licensed Material is translated, altered, arranged, transformed, or
|
|
15
|
+
otherwise modified in a manner requiring permission under the Copyright
|
|
16
|
+
and Similar Rights held by the Licensor. For purposes of this Public
|
|
17
|
+
License, where the Licensed Material is a musical work, performance, or
|
|
18
|
+
sound recording, Adapted Material is always produced where the Licensed
|
|
19
|
+
Material is synched in timed relation with a moving image.
|
|
20
|
+
Adapter's License means the license You apply to Your Copyright and
|
|
21
|
+
Similar Rights in Your contributions to Adapted Material in accordance
|
|
22
|
+
with the terms and conditions of this Public License.
|
|
23
|
+
Copyright and Similar Rights means copyright and/or similar rights
|
|
24
|
+
closely related to copyright including, without limitation,
|
|
25
|
+
performance, broadcast, sound recording, and Sui Generis Database
|
|
26
|
+
Rights, without regard to how the rights are labeled or categorized.
|
|
27
|
+
For purposes of this Public License, the rights specified in Section
|
|
28
|
+
2(b)(1)-(2) are not Copyright and Similar Rights.
|
|
29
|
+
Effective Technological Measures means those measures that, in the
|
|
30
|
+
absence of proper authority, may not be circumvented under laws
|
|
31
|
+
fulfilling obligations under Article 11 of the WIPO Copyright Treaty
|
|
32
|
+
adopted on December 20, 1996, and/or similar international agreements.
|
|
33
|
+
Exceptions and Limitations means fair use, fair dealing, and/or any
|
|
34
|
+
other exception or limitation to Copyright and Similar Rights that
|
|
35
|
+
applies to Your use of the Licensed Material.
|
|
36
|
+
Licensed Material means the artistic or literary work, database, or
|
|
37
|
+
other material to which the Licensor applied this Public License.
|
|
38
|
+
Licensed Rights means the rights granted to You subject to the terms
|
|
39
|
+
and conditions of this Public License, which are limited to all
|
|
40
|
+
Copyright and Similar Rights that apply to Your use of the Licensed
|
|
41
|
+
Material and that the Licensor has authority to license.
|
|
42
|
+
Licensor means the individual(s) or entity(ies) granting rights under
|
|
43
|
+
this Public License.
|
|
44
|
+
NonCommercial means not primarily intended for or directed towards
|
|
45
|
+
commercial advantage or monetary compensation. For purposes of this
|
|
46
|
+
Public License, the exchange of the Licensed Material for other
|
|
47
|
+
material subject to Copyright and Similar Rights by digital
|
|
48
|
+
file-sharing or similar means is NonCommercial provided there is no
|
|
49
|
+
payment of monetary compensation in connection with the exchange.
|
|
50
|
+
Share means to provide material to the public by any means or process
|
|
51
|
+
that requires permission under the Licensed Rights, such as
|
|
52
|
+
reproduction, public display, public performance, distribution,
|
|
53
|
+
dissemination, communication, or importation, and to make material
|
|
54
|
+
available to the public including in ways that members of the public
|
|
55
|
+
may access the material from a place and at a time individually chosen
|
|
56
|
+
by them.
|
|
57
|
+
Sui Generis Database Rights means rights other than copyright resulting
|
|
58
|
+
from Directive 96/9/EC of the European Parliament and of the Council of
|
|
59
|
+
11 March 1996 on the legal protection of databases, as amended and/or
|
|
60
|
+
succeeded, as well as other essentially equivalent rights anywhere in
|
|
61
|
+
the world.
|
|
62
|
+
You means the individual or entity exercising the Licensed Rights under
|
|
63
|
+
this Public License. Your has a corresponding meaning.
|
|
64
|
+
|
|
65
|
+
Section 2 – Scope.
|
|
66
|
+
|
|
67
|
+
License grant.
|
|
68
|
+
Subject to the terms and conditions of this Public License, the
|
|
69
|
+
Licensor hereby grants You a worldwide, royalty-free,
|
|
70
|
+
non-sublicensable, non-exclusive, irrevocable license to exercise
|
|
71
|
+
the Licensed Rights in the Licensed Material to:
|
|
72
|
+
reproduce and Share the Licensed Material, in whole or in part,
|
|
73
|
+
for NonCommercial purposes only; and
|
|
74
|
+
produce, reproduce, and Share Adapted Material for
|
|
75
|
+
NonCommercial purposes only.
|
|
76
|
+
Exceptions and Limitations. For the avoidance of doubt, where
|
|
77
|
+
Exceptions and Limitations apply to Your use, this Public License
|
|
78
|
+
does not apply, and You do not need to comply with its terms and
|
|
79
|
+
conditions.
|
|
80
|
+
Term. The term of this Public License is specified in Section 6(a).
|
|
81
|
+
Media and formats; technical modifications allowed. The Licensor
|
|
82
|
+
authorizes You to exercise the Licensed Rights in all media and
|
|
83
|
+
formats whether now known or hereafter created, and to make
|
|
84
|
+
technical modifications necessary to do so. The Licensor waives
|
|
85
|
+
and/or agrees not to assert any right or authority to forbid You
|
|
86
|
+
from making technical modifications necessary to exercise the
|
|
87
|
+
Licensed Rights, including technical modifications necessary to
|
|
88
|
+
circumvent Effective Technological Measures. For purposes of this
|
|
89
|
+
Public License, simply making modifications authorized by this
|
|
90
|
+
Section 2(a)(4) never produces Adapted Material.
|
|
91
|
+
Downstream recipients.
|
|
92
|
+
Offer from the Licensor – Licensed Material. Every recipient of
|
|
93
|
+
the Licensed Material automatically receives an offer from the
|
|
94
|
+
Licensor to exercise the Licensed Rights under the terms and
|
|
95
|
+
conditions of this Public License.
|
|
96
|
+
No downstream restrictions. You may not offer or impose any
|
|
97
|
+
additional or different terms or conditions on, or apply any
|
|
98
|
+
Effective Technological Measures to, the Licensed Material if
|
|
99
|
+
doing so restricts exercise of the Licensed Rights by any
|
|
100
|
+
recipient of the Licensed Material.
|
|
101
|
+
No endorsement. Nothing in this Public License constitutes or may
|
|
102
|
+
be construed as permission to assert or imply that You are, or that
|
|
103
|
+
Your use of the Licensed Material is, connected with, or sponsored,
|
|
104
|
+
endorsed, or granted official status by, the Licensor or others
|
|
105
|
+
designated to receive attribution as provided in Section
|
|
106
|
+
3(a)(1)(A)(i).
|
|
107
|
+
|
|
108
|
+
Other rights.
|
|
109
|
+
Moral rights, such as the right of integrity, are not licensed
|
|
110
|
+
under this Public License, nor are publicity, privacy, and/or other
|
|
111
|
+
similar personality rights; however, to the extent possible, the
|
|
112
|
+
Licensor waives and/or agrees not to assert any such rights held by
|
|
113
|
+
the Licensor to the limited extent necessary to allow You to
|
|
114
|
+
exercise the Licensed Rights, but not otherwise.
|
|
115
|
+
Patent and trademark rights are not licensed under this Public
|
|
116
|
+
License.
|
|
117
|
+
To the extent possible, the Licensor waives any right to collect
|
|
118
|
+
royalties from You for the exercise of the Licensed Rights, whether
|
|
119
|
+
directly or through a collecting society under any voluntary or
|
|
120
|
+
waivable statutory or compulsory licensing scheme. In all other
|
|
121
|
+
cases the Licensor expressly reserves any right to collect such
|
|
122
|
+
royalties, including when the Licensed Material is used other than
|
|
123
|
+
for NonCommercial purposes.
|
|
124
|
+
|
|
125
|
+
Section 3 – License Conditions.
|
|
126
|
+
|
|
127
|
+
Your exercise of the Licensed Rights is expressly made subject to the
|
|
128
|
+
following conditions.
|
|
129
|
+
|
|
130
|
+
Attribution.
|
|
131
|
+
|
|
132
|
+
If You Share the Licensed Material (including in modified form),
|
|
133
|
+
You must:
|
|
134
|
+
retain the following if it is supplied by the Licensor with the
|
|
135
|
+
Licensed Material:
|
|
136
|
+
identification of the creator(s) of the Licensed Material
|
|
137
|
+
and any others designated to receive attribution, in any
|
|
138
|
+
reasonable manner requested by the Licensor (including by
|
|
139
|
+
pseudonym if designated);
|
|
140
|
+
a copyright notice;
|
|
141
|
+
a notice that refers to this Public License;
|
|
142
|
+
a notice that refers to the disclaimer of warranties;
|
|
143
|
+
a URI or hyperlink to the Licensed Material to the extent
|
|
144
|
+
reasonably practicable;
|
|
145
|
+
indicate if You modified the Licensed Material and retain an
|
|
146
|
+
indication of any previous modifications; and
|
|
147
|
+
indicate the Licensed Material is licensed under this Public
|
|
148
|
+
License, and include the text of, or the URI or hyperlink to,
|
|
149
|
+
this Public License.
|
|
150
|
+
You may satisfy the conditions in Section 3(a)(1) in any reasonable
|
|
151
|
+
manner based on the medium, means, and context in which You Share
|
|
152
|
+
the Licensed Material. For example, it may be reasonable to satisfy
|
|
153
|
+
the conditions by providing a URI or hyperlink to a resource that
|
|
154
|
+
includes the required information.
|
|
155
|
+
If requested by the Licensor, You must remove any of the
|
|
156
|
+
information required by Section 3(a)(1)(A) to the extent reasonably
|
|
157
|
+
practicable.
|
|
158
|
+
If You Share Adapted Material You produce, the Adapter's License
|
|
159
|
+
You apply must not prevent recipients of the Adapted Material from
|
|
160
|
+
complying with this Public License.
|
|
161
|
+
|
|
162
|
+
Section 4 – Sui Generis Database Rights.
|
|
163
|
+
|
|
164
|
+
Where the Licensed Rights include Sui Generis Database Rights that apply to
|
|
165
|
+
Your use of the Licensed Material:
|
|
166
|
+
|
|
167
|
+
for the avoidance of doubt, Section 2(a)(1) grants You the right to
|
|
168
|
+
extract, reuse, reproduce, and Share all or a substantial portion of
|
|
169
|
+
the contents of the database for NonCommercial purposes only;
|
|
170
|
+
if You include all or a substantial portion of the database contents in
|
|
171
|
+
a database in which You have Sui Generis Database Rights, then the
|
|
172
|
+
database in which You have Sui Generis Database Rights (but not its
|
|
173
|
+
individual contents) is Adapted Material; and
|
|
174
|
+
You must comply with the conditions in Section 3(a) if You Share all or
|
|
175
|
+
a substantial portion of the contents of the database.
|
|
176
|
+
|
|
177
|
+
For the avoidance of doubt, this Section 4 supplements and does not replace
|
|
178
|
+
Your obligations under this Public License where the Licensed Rights
|
|
179
|
+
include other Copyright and Similar Rights.
|
|
180
|
+
|
|
181
|
+
Section 5 – Disclaimer of Warranties and Limitation of Liability.
|
|
182
|
+
|
|
183
|
+
Unless otherwise separately undertaken by the Licensor, to the extent
|
|
184
|
+
possible, the Licensor offers the Licensed Material as-is and
|
|
185
|
+
as-available, and makes no representations or warranties of any kind
|
|
186
|
+
concerning the Licensed Material, whether express, implied, statutory,
|
|
187
|
+
or other. This includes, without limitation, warranties of title,
|
|
188
|
+
merchantability, fitness for a particular purpose, non-infringement,
|
|
189
|
+
absence of latent or other defects, accuracy, or the presence or
|
|
190
|
+
absence of errors, whether or not known or discoverable. Where
|
|
191
|
+
disclaimers of warranties are not allowed in full or in part, this
|
|
192
|
+
disclaimer may not apply to You.
|
|
193
|
+
To the extent possible, in no event will the Licensor be liable to You
|
|
194
|
+
on any legal theory (including, without limitation, negligence) or
|
|
195
|
+
otherwise for any direct, special, indirect, incidental, consequential,
|
|
196
|
+
punitive, exemplary, or other losses, costs, expenses, or damages
|
|
197
|
+
arising out of this Public License or use of the Licensed Material,
|
|
198
|
+
even if the Licensor has been advised of the possibility of such
|
|
199
|
+
losses, costs, expenses, or damages. Where a limitation of liability is
|
|
200
|
+
not allowed in full or in part, this limitation may not apply to You.
|
|
201
|
+
|
|
202
|
+
The disclaimer of warranties and limitation of liability provided above
|
|
203
|
+
shall be interpreted in a manner that, to the extent possible, most
|
|
204
|
+
closely approximates an absolute disclaimer and waiver of all liability.
|
|
205
|
+
|
|
206
|
+
Section 6 – Term and Termination.
|
|
207
|
+
|
|
208
|
+
This Public License applies for the term of the Copyright and Similar
|
|
209
|
+
Rights licensed here. However, if You fail to comply with this Public
|
|
210
|
+
License, then Your rights under this Public License terminate
|
|
211
|
+
automatically.
|
|
212
|
+
|
|
213
|
+
Where Your right to use the Licensed Material has terminated under
|
|
214
|
+
Section 6(a), it reinstates:
|
|
215
|
+
automatically as of the date the violation is cured, provided it is
|
|
216
|
+
cured within 30 days of Your discovery of the violation; or
|
|
217
|
+
upon express reinstatement by the Licensor.
|
|
218
|
+
For the avoidance of doubt, this Section 6(b) does not affect any right
|
|
219
|
+
the Licensor may have to seek remedies for Your violations of this
|
|
220
|
+
Public License.
|
|
221
|
+
For the avoidance of doubt, the Licensor may also offer the Licensed
|
|
222
|
+
Material under separate terms or conditions or stop distributing the
|
|
223
|
+
Licensed Material at any time; however, doing so will not terminate
|
|
224
|
+
this Public License.
|
|
225
|
+
Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
|
|
226
|
+
|
|
227
|
+
Section 7 – Other Terms and Conditions.
|
|
228
|
+
|
|
229
|
+
The Licensor shall not be bound by any additional or different terms or
|
|
230
|
+
conditions communicated by You unless expressly agreed.
|
|
231
|
+
Any arrangements, understandings, or agreements regarding the Licensed
|
|
232
|
+
Material not stated herein are separate from and independent of the
|
|
233
|
+
terms and conditions of this Public License.
|
|
234
|
+
|
|
235
|
+
Section 8 – Interpretation.
|
|
236
|
+
|
|
237
|
+
For the avoidance of doubt, this Public License does not, and shall not
|
|
238
|
+
be interpreted to, reduce, limit, restrict, or impose conditions on any
|
|
239
|
+
use of the Licensed Material that could lawfully be made without
|
|
240
|
+
permission under this Public License.
|
|
241
|
+
To the extent possible, if any provision of this Public License is
|
|
242
|
+
deemed unenforceable, it shall be automatically reformed to the minimum
|
|
243
|
+
extent necessary to make it enforceable. If the provision cannot be
|
|
244
|
+
reformed, it shall be severed from this Public License without
|
|
245
|
+
affecting the enforceability of the remaining terms and conditions.
|
|
246
|
+
No term or condition of this Public License will be waived and no
|
|
247
|
+
failure to comply consented to unless expressly agreed to by the
|
|
248
|
+
Licensor.
|
|
249
|
+
Nothing in this Public License constitutes or may be interpreted as a
|
|
250
|
+
limitation upon, or waiver of, any privileges and immunities that apply
|
|
251
|
+
to the Licensor or You, including from the legal processes of any
|
|
252
|
+
jurisdiction or authority.
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
Creative Commons
|
|
2
|
+
CC0 1.0 Universal
|
|
3
|
+
|
|
4
|
+
Statement of Purpose
|
|
5
|
+
|
|
6
|
+
The laws of most jurisdictions throughout the world automatically confer
|
|
7
|
+
exclusive Copyright and Related Rights (defined below) upon the creator and
|
|
8
|
+
subsequent owner(s) (each and all, an "owner") of an original work of
|
|
9
|
+
authorship and/or a database (each, a "Work").
|
|
10
|
+
|
|
11
|
+
Certain owners wish to permanently relinquish those rights to a Work for the
|
|
12
|
+
purpose of contributing to a commons of creative, cultural and scientific works
|
|
13
|
+
("Commons") that the public can reliably and without fear of later claims of
|
|
14
|
+
infringement build upon, modify, incorporate in other works, reuse and
|
|
15
|
+
redistribute as freely as possible in any form whatsoever and for any purposes,
|
|
16
|
+
including without limitation commercial purposes. These owners may contribute
|
|
17
|
+
to the Commons to promote the ideal of a free culture and the further
|
|
18
|
+
production of creative, cultural and scientific works, or to gain reputation or
|
|
19
|
+
greater distribution for their Work in part through the use and efforts of
|
|
20
|
+
others.
|
|
21
|
+
|
|
22
|
+
For these and/or other purposes and motivations, and without any expectation of
|
|
23
|
+
additional consideration or compensation, the person associating CC0 with a
|
|
24
|
+
Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
|
|
25
|
+
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and
|
|
26
|
+
publicly distribute the Work under its terms, with knowledge of his or her
|
|
27
|
+
Copyright and Related Rights in the Work and the meaning and intended legal
|
|
28
|
+
effect of CC0 on those rights.
|
|
29
|
+
|
|
30
|
+
1. Copyright and Related Rights. A Work made available under CC0 may be
|
|
31
|
+
protected by copyright and related or neighboring rights ("Copyright and
|
|
32
|
+
Related Rights"). Copyright and Related Rights include, but are not limited to,
|
|
33
|
+
the following:
|
|
34
|
+
|
|
35
|
+
i. the right to reproduce, adapt, distribute, perform, display, communicate,
|
|
36
|
+
and translate a Work;
|
|
37
|
+
ii. moral rights retained by the original author(s) and/or performer(s);
|
|
38
|
+
iii. publicity and privacy rights pertaining to a person's image or likeness
|
|
39
|
+
depicted in a Work;
|
|
40
|
+
iv. rights protecting against unfair competition in regards to a Work, subject
|
|
41
|
+
to the limitations in paragraph 4(a), below;
|
|
42
|
+
v. rights protecting the extraction, dissemination, use and reuse of data in a
|
|
43
|
+
Work;
|
|
44
|
+
vi. database rights (such as those arising under Directive 96/9/EC of the
|
|
45
|
+
European Parliament and of the Council of 11 March 1996 on the legal
|
|
46
|
+
protection of databases, and under any national implementation thereof,
|
|
47
|
+
including any amended or successor version of such directive); and
|
|
48
|
+
vii. other similar, equivalent or corresponding rights throughout the world
|
|
49
|
+
based on applicable law or treaty, and any national implementations thereof.
|
|
50
|
+
|
|
51
|
+
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
|
52
|
+
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
|
53
|
+
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
|
|
54
|
+
and Related Rights and associated claims and causes of action, whether now
|
|
55
|
+
known or unknown (including existing as well as future claims and causes of
|
|
56
|
+
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
|
57
|
+
duration provided by applicable law or treaty (including future time
|
|
58
|
+
extensions), (iii) in any current or future medium and for any number of
|
|
59
|
+
copies, and (iv) for any purpose whatsoever, including without limitation
|
|
60
|
+
commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
|
|
61
|
+
the Waiver for the benefit of each member of the public at large and to the
|
|
62
|
+
detriment of Affirmer's heirs and successors, fully intending that such Waiver
|
|
63
|
+
shall not be subject to revocation, rescission, cancellation, termination, or
|
|
64
|
+
any other legal or equitable action to disrupt the quiet enjoyment of the Work
|
|
65
|
+
by the public as contemplated by Affirmer's express Statement of Purpose.
|
|
66
|
+
|
|
67
|
+
3. Public License Fallback. Should any part of the Waiver for any reason be
|
|
68
|
+
judged legally invalid or ineffective under applicable law, then the Waiver
|
|
69
|
+
shall be preserved to the maximum extent permitted taking into account
|
|
70
|
+
Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
|
|
71
|
+
is so judged Affirmer hereby grants to each affected person a royalty-free, non
|
|
72
|
+
transferable, non sublicensable, non exclusive, irrevocable and unconditional
|
|
73
|
+
license to exercise Affirmer's Copyright and Related Rights in the Work (i) in
|
|
74
|
+
all territories worldwide, (ii) for the maximum duration provided by applicable
|
|
75
|
+
law or treaty (including future time extensions), (iii) in any current or
|
|
76
|
+
future medium and for any number of copies, and (iv) for any purpose
|
|
77
|
+
whatsoever, including without limitation commercial, advertising or promotional
|
|
78
|
+
purposes (the "License"). The License shall be deemed effective as of the date
|
|
79
|
+
CC0 was applied by Affirmer to the Work. Should any part of the License for any
|
|
80
|
+
reason be judged legally invalid or ineffective under applicable law, such
|
|
81
|
+
partial invalidity or ineffectiveness shall not invalidate the remainder of the
|
|
82
|
+
License, and in such case Affirmer hereby affirms that he or she will not (i)
|
|
83
|
+
exercise any of his or her remaining Copyright and Related Rights in the Work
|
|
84
|
+
or (ii) assert any associated claims and causes of action with respect to the
|
|
85
|
+
Work, in either case contrary to Affirmer's express Statement of Purpose.
|
|
86
|
+
|
|
87
|
+
4. Limitations and Disclaimers.
|
|
88
|
+
|
|
89
|
+
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
|
90
|
+
surrendered, licensed or otherwise affected by this document.
|
|
91
|
+
b. Affirmer offers the Work as-is and makes no representations or warranties
|
|
92
|
+
of any kind concerning the Work, express, implied, statutory or otherwise,
|
|
93
|
+
including without limitation warranties of title, merchantability, fitness
|
|
94
|
+
for a particular purpose, non infringement, or the absence of latent or
|
|
95
|
+
other defects, accuracy, or the present or absence of errors, whether or
|
|
96
|
+
not discoverable, all to the greatest extent permissible under applicable
|
|
97
|
+
law.
|
|
98
|
+
c. Affirmer disclaims responsibility for clearing rights of other persons that
|
|
99
|
+
may apply to the Work or any use thereof, including without limitation any
|
|
100
|
+
person's Copyright and Related Rights in the Work. Further, Affirmer
|
|
101
|
+
disclaims responsibility for obtaining any necessary consents, permissions
|
|
102
|
+
or other rights required for any use of the Work.
|
|
103
|
+
d. Affirmer understands and acknowledges that Creative Commons is not a party
|
|
104
|
+
to this document and has no duty or obligation with respect to this CC0 or
|
|
105
|
+
use of the Work.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sunrize",
|
|
3
3
|
"productName": "Sunrize X3D Editor",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.20",
|
|
5
5
|
"description": "Sunrize — A Multi-Platform X3D Editor",
|
|
6
6
|
"main": "src/main.js",
|
|
7
7
|
"bin": {
|
|
@@ -91,15 +91,15 @@
|
|
|
91
91
|
"@electron-forge/maker-zip": "^7.11.2",
|
|
92
92
|
"@electron-forge/publisher-github": "^7.11.2",
|
|
93
93
|
"@eslint/js": "^10.0.1",
|
|
94
|
-
"eslint": "^10.8.
|
|
95
|
-
"globals": "^17.
|
|
94
|
+
"eslint": "^10.8.1",
|
|
95
|
+
"globals": "^17.11.0",
|
|
96
96
|
"shell-tools": "^1.1.9"
|
|
97
97
|
},
|
|
98
98
|
"dependencies": {
|
|
99
99
|
"@vscode/codicons": "^0.0.45",
|
|
100
100
|
"capitalize": "^2.0.4",
|
|
101
101
|
"console": "^0.7.2",
|
|
102
|
-
"electron": "^43.
|
|
102
|
+
"electron": "^43.4.0",
|
|
103
103
|
"electron-prompt": "^1.7.0",
|
|
104
104
|
"electron-squirrel-startup": "^1.0.1",
|
|
105
105
|
"electron-tabs": "^1.0.4",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"jquery-ui-dist": "^1.13.3",
|
|
109
109
|
"jstree": "^3.3.17",
|
|
110
110
|
"material-icons": "^1.13.14",
|
|
111
|
-
"material-symbols": "^0.
|
|
111
|
+
"material-symbols": "^0.46.0",
|
|
112
112
|
"md5": "^2.3.0",
|
|
113
113
|
"mime-types": "^3.0.2",
|
|
114
114
|
"monaco-editor": "^0.55.1",
|
|
@@ -118,15 +118,15 @@
|
|
|
118
118
|
"string-similarity": "^4.0.4",
|
|
119
119
|
"tweakpane": "^4.0.5",
|
|
120
120
|
"update-electron-app": "^3.3.0",
|
|
121
|
-
"x_ite": "^16.
|
|
122
|
-
"x_ite-off-parser": "^1.
|
|
123
|
-
"x_ite-sog-parser": "^2.0
|
|
124
|
-
"x_ite-spz-parser": "^2.
|
|
125
|
-
"x3d-traverse": "^2.0
|
|
121
|
+
"x_ite": "^16.1.1",
|
|
122
|
+
"x_ite-off-parser": "^1.3.0",
|
|
123
|
+
"x_ite-sog-parser": "^2.1.0",
|
|
124
|
+
"x_ite-spz-parser": "^2.1.0",
|
|
125
|
+
"x3d-traverse": "^2.1.0"
|
|
126
126
|
},
|
|
127
127
|
"allowScripts": {
|
|
128
|
+
"electron-winstaller@5.4.4": true,
|
|
128
129
|
"fs-xattr@0.3.1": true,
|
|
129
|
-
"macos-alias@0.2.12": true
|
|
130
|
-
"electron-winstaller@5.4.4": true
|
|
130
|
+
"macos-alias@0.2.12": true
|
|
131
131
|
}
|
|
132
132
|
}
|
|
@@ -534,12 +534,9 @@ module .exports = class Application
|
|
|
534
534
|
label: _("View"),
|
|
535
535
|
submenu: [
|
|
536
536
|
{
|
|
537
|
-
|
|
538
|
-
visible: process .env .SUNRISE_ENVIRONMENT === "DEVELOPMENT",
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
role: "forceReload",
|
|
537
|
+
label: _("Reload"),
|
|
542
538
|
visible: process .env .SUNRISE_ENVIRONMENT === "DEVELOPMENT",
|
|
539
|
+
click: () => this .mainWindow .reload (),
|
|
543
540
|
},
|
|
544
541
|
{
|
|
545
542
|
role: "toggleDevTools",
|
|
@@ -234,9 +234,9 @@ module .exports = class Dashboard extends Interface
|
|
|
234
234
|
viewpointNode = this .browser .getActiveViewpoint (),
|
|
235
235
|
straighten = this .browser .getBrowserOption ("StraightenHorizon");
|
|
236
236
|
|
|
237
|
-
const [
|
|
237
|
+
const [, bbox] = Editor .getModelMatricesAndBBoxes (executionContext, layerNode, nodes);
|
|
238
238
|
|
|
239
|
-
viewpointNode .lookAtBBox (layerNode, bbox,
|
|
239
|
+
viewpointNode .lookAtBBox ({ layerNode, bbox, straighten });
|
|
240
240
|
}
|
|
241
241
|
else
|
|
242
242
|
{
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
const
|
|
4
4
|
$ = window .jQuery = require ("jquery"),
|
|
5
|
-
$ui = require ("jquery-ui-dist/jquery-ui"),
|
|
6
5
|
electron = require ("electron"),
|
|
7
6
|
fs = require ("fs"),
|
|
8
7
|
path = require ("path"),
|
|
@@ -20,6 +19,7 @@ const
|
|
|
20
19
|
AudioParser = require ("../Parser/AudioParser"),
|
|
21
20
|
_ = require ("./GetText");
|
|
22
21
|
|
|
22
|
+
require ("jquery-ui-dist/jquery-ui");
|
|
23
23
|
require ("x_ite-sog-parser");
|
|
24
24
|
require ("x_ite-spz-parser/x_ite-spz-parser-123.js");
|
|
25
25
|
require ("x_ite-spz-parser/x_ite-spz-parser-4.js");
|
|
@@ -205,6 +205,7 @@ module .exports = class Document extends Interface
|
|
|
205
205
|
configure ()
|
|
206
206
|
{
|
|
207
207
|
this .config .file .setDefaultValues ({
|
|
208
|
+
commonMetaData: true,
|
|
208
209
|
inferProfileAndComponents: true,
|
|
209
210
|
primitiveQuality: "MEDIUM",
|
|
210
211
|
textureQuality: "MEDIUM",
|
|
@@ -459,22 +460,25 @@ Viewpoint {
|
|
|
459
460
|
if (this .config .file .inferProfileAndComponents ?? true)
|
|
460
461
|
Editor .inferProfileAndComponents (scene, new UndoManager ());
|
|
461
462
|
|
|
462
|
-
// Add
|
|
463
|
+
// Add common meta data.
|
|
463
464
|
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
465
|
+
if (this .config .file .commonMetaData ?? true)
|
|
466
|
+
{
|
|
467
|
+
const
|
|
468
|
+
pkg = require ("../../package.json"),
|
|
469
|
+
generator = scene .getMetaData ("generator") ?.filter (value => !value .startsWith (pkg .productName)) ?? [ ];
|
|
467
470
|
|
|
468
|
-
|
|
471
|
+
generator .unshift (`${pkg .productName} V${pkg .version}, ${pkg .homepage}`);
|
|
469
472
|
|
|
470
|
-
|
|
471
|
-
|
|
473
|
+
if (!scene .getMetaData ("creator") ?.some (value => value .includes (this .fullname)))
|
|
474
|
+
scene .addMetaData ("creator", this .fullname);
|
|
472
475
|
|
|
473
|
-
|
|
474
|
-
|
|
476
|
+
if (!scene .getMetaData ("created"))
|
|
477
|
+
scene .setMetaData ("created", new Date () .toUTCString ());
|
|
475
478
|
|
|
476
|
-
|
|
477
|
-
|
|
479
|
+
scene .setMetaData ("modified", new Date () .toUTCString ());
|
|
480
|
+
scene .setMetaData ("generator", generator);
|
|
481
|
+
}
|
|
478
482
|
|
|
479
483
|
// Save source code.
|
|
480
484
|
|
|
@@ -1102,7 +1106,7 @@ Viewpoint {
|
|
|
1102
1106
|
tool = geometryTool ?? shapeNode .getExecutionContext () .getOuterNode () ?.getTool (),
|
|
1103
1107
|
node = tool ?? shapeNode .getExecutionContext () .getOuterNode () ?? shapeNode;
|
|
1104
1108
|
|
|
1105
|
-
outlineEditor .expandTo (node, { expandObject: true, expandAll: true });
|
|
1109
|
+
outlineEditor .expandTo (node, { expandObject: true, expandInlineNodes: true, expandAll: true });
|
|
1106
1110
|
|
|
1107
1111
|
let elements = outlineEditor .sceneGraph .find (`.node[node-id=${node .getId ()}]`);
|
|
1108
1112
|
|
|
@@ -1130,10 +1134,7 @@ Viewpoint {
|
|
|
1130
1134
|
else
|
|
1131
1135
|
{
|
|
1132
1136
|
while (!outlineEditor .isEditable (elements))
|
|
1133
|
-
{
|
|
1134
|
-
elements .jstree ("close_node", elements);
|
|
1135
1137
|
elements = elements .parent () .closest (".node, .scene", outlineEditor .sceneGraph);
|
|
1136
|
-
}
|
|
1137
1138
|
|
|
1138
1139
|
elements = Array .from (elements);
|
|
1139
1140
|
}
|
|
@@ -109,7 +109,7 @@ Object .assign (X3D .IndexedFaceSet .prototype,
|
|
|
109
109
|
if (this ._colorPerVertex .getValue ())
|
|
110
110
|
colorIndex .push (-1);
|
|
111
111
|
else
|
|
112
|
-
colorIndex .push (this .
|
|
112
|
+
colorIndex .push (this ._colorIndex [face] ?? face);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
coordIndex .push (-1);
|
|
@@ -133,7 +133,7 @@ Object .assign (X3D .IndexedFaceSet .prototype,
|
|
|
133
133
|
if (this ._color .getValue ())
|
|
134
134
|
{
|
|
135
135
|
if (this ._colorPerVertex .getValue ())
|
|
136
|
-
colorIndex .push (this .
|
|
136
|
+
colorIndex .push (this ._colorIndex [p] ?? this ._coordIndex [p]);
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
coordIndex .push (previous);
|
|
@@ -142,7 +142,7 @@ Object .assign (X3D .IndexedFaceSet .prototype,
|
|
|
142
142
|
if (this ._color .getValue ())
|
|
143
143
|
{
|
|
144
144
|
if (this ._colorPerVertex .getValue ())
|
|
145
|
-
colorIndex .push (this .
|
|
145
|
+
colorIndex .push (this ._colorIndex [c] ?? this ._coordIndex [c]);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
coordIndex .push (index);
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
const
|
|
4
|
-
$
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Editor = require ("../Undo/Editor"),
|
|
8
|
-
UndoManager = require ("../Undo/UndoManager"),
|
|
9
|
-
_ = require ("../Application/GetText");
|
|
4
|
+
$ = require ("jquery"),
|
|
5
|
+
Dialog = require ("../Controls/Dialog"),
|
|
6
|
+
_ = require ("../Application/GetText");
|
|
10
7
|
|
|
11
8
|
module .exports = new class BrowserFrame extends Dialog
|
|
12
9
|
{
|
|
@@ -124,25 +121,24 @@ module .exports = new class BrowserFrame extends Dialog
|
|
|
124
121
|
{
|
|
125
122
|
super .configure ({ size: [388, 175] });
|
|
126
123
|
|
|
127
|
-
this .
|
|
124
|
+
this .config .file .setDefaultValues ({
|
|
125
|
+
fixedSize: false,
|
|
126
|
+
numerator: 1,
|
|
127
|
+
denominator: 1,
|
|
128
|
+
backgroundColor: "",
|
|
129
|
+
});
|
|
130
|
+
|
|
128
131
|
this .updateInputs ();
|
|
129
132
|
this .onresize ();
|
|
130
133
|
}
|
|
131
134
|
|
|
132
|
-
connect (worldInfoNode)
|
|
133
|
-
{
|
|
134
|
-
worldInfoNode ?.addMetaDataCallback (this, "Sunrize/BrowserFrame/fixedSize", () => this .updateInputs ());
|
|
135
|
-
worldInfoNode ?.addMetaDataCallback (this, "Sunrize/BrowserFrame/aspectRatio", () => this .updateInputs ());
|
|
136
|
-
worldInfoNode ?.addMetaDataCallback (this, "Sunrize/BrowserFrame/backgroundColor", () => this .updateInputs ());
|
|
137
|
-
}
|
|
138
|
-
|
|
139
135
|
updateInputs ()
|
|
140
136
|
{
|
|
141
137
|
const
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
138
|
+
fixedSize = this .config .file .fixedSize,
|
|
139
|
+
numerator = this .config .file .numerator,
|
|
140
|
+
denominator = this .config .file .denominator,
|
|
141
|
+
backgroundColor = this .config .file .backgroundColor;
|
|
146
142
|
|
|
147
143
|
this .updateSize ();
|
|
148
144
|
|
|
@@ -160,22 +156,12 @@ module .exports = new class BrowserFrame extends Dialog
|
|
|
160
156
|
|
|
161
157
|
onchange ()
|
|
162
158
|
{
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
backgroundColor = new X3D .SFString (this .backgroundColor .val ());
|
|
159
|
+
this .config .file .fixedSize = this .fixedSize .prop ("checked");
|
|
160
|
+
this .config .file .numerator = this .numerator .val ();
|
|
161
|
+
this .config .file .denominator = this .denominator .val ();
|
|
162
|
+
this .config .file .backgroundColor = this .backgroundColor .val ();
|
|
168
163
|
|
|
169
|
-
this .
|
|
170
|
-
|
|
171
|
-
UndoManager .shared .beginUndo (_("Change Browser Frame"));
|
|
172
|
-
|
|
173
|
-
Editor .setNodeMetaData (worldInfoNode, "Sunrize/BrowserFrame/fixedSize", fixedSize);
|
|
174
|
-
Editor .setNodeMetaData (worldInfoNode, "Sunrize/BrowserFrame/aspectRatio", aspectRatio);
|
|
175
|
-
Editor .setNodeMetaData (worldInfoNode, "Sunrize/BrowserFrame/backgroundColor", backgroundColor);
|
|
176
|
-
Editor .deferFunction (() => this .onresize ());
|
|
177
|
-
|
|
178
|
-
UndoManager .shared .endUndo ();
|
|
164
|
+
this .onresize ();
|
|
179
165
|
}
|
|
180
166
|
|
|
181
167
|
/**
|
|
@@ -184,13 +170,13 @@ module .exports = new class BrowserFrame extends Dialog
|
|
|
184
170
|
onresize ()
|
|
185
171
|
{
|
|
186
172
|
const
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
aspectRatio
|
|
192
|
-
frameAspectRatio
|
|
193
|
-
element
|
|
173
|
+
fixedSize = this .config .file .fixedSize,
|
|
174
|
+
numerator = this .config .file .numerator,
|
|
175
|
+
denominator = this .config .file .denominator,
|
|
176
|
+
backgroundColor = this .config .file .backgroundColor,
|
|
177
|
+
aspectRatio = numerator / denominator,
|
|
178
|
+
frameAspectRatio = $("#browser-frame") .width () / $("#browser-frame") .height (),
|
|
179
|
+
element = $(this .browser .element);
|
|
194
180
|
|
|
195
181
|
if (fixedSize && aspectRatio)
|
|
196
182
|
{
|
|
@@ -500,7 +500,7 @@ module .exports = class OutlineEditor extends OutlineRouteGraph
|
|
|
500
500
|
},
|
|
501
501
|
{
|
|
502
502
|
label: _("Import Node..."),
|
|
503
|
-
visible: executionContext !== this .executionContext && !element .closest (".instance-scene") .length,
|
|
503
|
+
visible: executionContext !== this .executionContext && !element .closest (".instance-scene, .InlineGeometry.internal-scene", this .sceneGraph) .length && !element .closest (".internal-scene", this .sceneGraph) .parent () .closest (".internal-scene", this .sceneGraph) .length,
|
|
504
504
|
args: ["addImportedNode", element .attr ("id")],
|
|
505
505
|
},
|
|
506
506
|
];
|
|
@@ -657,6 +657,11 @@ module .exports = class OutlineView extends Interface
|
|
|
657
657
|
this .restoreScrollPositions ();
|
|
658
658
|
}
|
|
659
659
|
|
|
660
|
+
#inlineNodes = new Set ([
|
|
661
|
+
X3D .X3DConstants .Inline,
|
|
662
|
+
X3D .X3DConstants .InlineGeometry,
|
|
663
|
+
]);
|
|
664
|
+
|
|
660
665
|
#updateNodeSymbol = Symbol ();
|
|
661
666
|
|
|
662
667
|
expandNode (parent, node, full)
|
|
@@ -754,7 +759,7 @@ module .exports = class OutlineView extends Interface
|
|
|
754
759
|
{
|
|
755
760
|
// X3DUrlObject
|
|
756
761
|
|
|
757
|
-
if (node .getType () .
|
|
762
|
+
if (node .getType () .some (type => this .#inlineNodes .has (type)))
|
|
758
763
|
{
|
|
759
764
|
node .getLoadState () .addFieldCallback (this .#updateNodeSymbol, this .updateNode .bind (this, parent, node, full));
|
|
760
765
|
}
|
|
@@ -763,9 +768,9 @@ module .exports = class OutlineView extends Interface
|
|
|
763
768
|
node .getLoadState () .addFieldCallback (this .#updateNodeSymbol, this .updateFieldLoadState .bind (this, node));
|
|
764
769
|
}
|
|
765
770
|
|
|
766
|
-
if (node .checkLoadState () === X3D .X3DConstants .COMPLETE_STATE && this .expandInlineNodes && node .getType () .
|
|
771
|
+
if (node .checkLoadState () === X3D .X3DConstants .COMPLETE_STATE && this .expandInlineNodes && node .getType () .some (type => this .#inlineNodes .has (type)))
|
|
767
772
|
{
|
|
768
|
-
ul .append (this .createSceneElement (node .getInternalScene (), "Scene", "internal-scene"));
|
|
773
|
+
ul .append (this .createSceneElement (node .getInternalScene (), "Scene", ["internal-scene", node .getTypeName ()]));
|
|
769
774
|
}
|
|
770
775
|
else
|
|
771
776
|
{
|
|
@@ -1193,13 +1198,16 @@ module .exports = class OutlineView extends Interface
|
|
|
1193
1198
|
.addClass (node ._isActive .getValue () ? "on" : "off")
|
|
1194
1199
|
.text ("stop"));
|
|
1195
1200
|
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
.
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1201
|
+
if (node .getFieldDefinition ("loop"))
|
|
1202
|
+
{
|
|
1203
|
+
buttons .push ($("<span></span>")
|
|
1204
|
+
.attr ("order", "7")
|
|
1205
|
+
.attr ("title", _("Toggle loop."))
|
|
1206
|
+
.attr ("action", "loop-node")
|
|
1207
|
+
.addClass (["button", "material-icons"])
|
|
1208
|
+
.addClass (node ._loop .getValue () ? "on" : "off")
|
|
1209
|
+
.text ("repeat"));
|
|
1210
|
+
}
|
|
1203
1211
|
|
|
1204
1212
|
if (!node ._enabled .getValue ())
|
|
1205
1213
|
buttons .slice (-3) .forEach (button => button .hide ());
|
|
@@ -1210,7 +1218,7 @@ module .exports = class OutlineView extends Interface
|
|
|
1210
1218
|
{
|
|
1211
1219
|
if (node .getExecutionContext () .getOuterNode () instanceof X3D .X3DProtoDeclaration)
|
|
1212
1220
|
{
|
|
1213
|
-
if (!node .getType () .
|
|
1221
|
+
if (!node .getType () .some (type => this .#inlineNodes .has (type)))
|
|
1214
1222
|
continue;
|
|
1215
1223
|
}
|
|
1216
1224
|
|
|
@@ -3413,7 +3421,7 @@ module .exports = class OutlineView extends Interface
|
|
|
3413
3421
|
{
|
|
3414
3422
|
// Hide all X3DShapeNode nodes and show all other nodes.
|
|
3415
3423
|
|
|
3416
|
-
for (const object of this .executionContext .traverse (Traverse .INLINE_SCENE | Traverse .PROTOTYPE_INSTANCES | Traverse .PROTO_DECLARATIONS | Traverse .PROTO_DECLARATION_BODY | Traverse .ROOT_NODES))
|
|
3424
|
+
for (const object of this .executionContext .traverse (Traverse .INLINE_SCENE | Traverse .INLINE_GEOMETRY_SCENE | Traverse .PROTOTYPE_INSTANCES | Traverse .PROTO_DECLARATIONS | Traverse .PROTO_DECLARATION_BODY | Traverse .ROOT_NODES))
|
|
3417
3425
|
{
|
|
3418
3426
|
if (!(object instanceof X3D .SFNode))
|
|
3419
3427
|
continue;
|
|
@@ -3430,7 +3438,7 @@ module .exports = class OutlineView extends Interface
|
|
|
3430
3438
|
|
|
3431
3439
|
const selection = require ("../Application/Selection");
|
|
3432
3440
|
|
|
3433
|
-
for (const object of Traverse .traverse (selection .nodes, Traverse .INLINE_SCENE | Traverse .PROTOTYPE_INSTANCES | Traverse .PROTO_DECLARATIONS | Traverse .PROTO_DECLARATION_BODY | Traverse .ROOT_NODES))
|
|
3441
|
+
for (const object of Traverse .traverse (selection .nodes, Traverse .INLINE_SCENE | Traverse .INLINE_GEOMETRY_SCENE | Traverse .PROTOTYPE_INSTANCES | Traverse .PROTO_DECLARATIONS | Traverse .PROTO_DECLARATION_BODY | Traverse .ROOT_NODES))
|
|
3434
3442
|
{
|
|
3435
3443
|
if (!(object instanceof X3D .SFNode))
|
|
3436
3444
|
continue;
|
|
@@ -3451,7 +3459,7 @@ module .exports = class OutlineView extends Interface
|
|
|
3451
3459
|
{
|
|
3452
3460
|
const selection = require ("../Application/Selection");
|
|
3453
3461
|
|
|
3454
|
-
for (const object of Traverse .traverse (selection .nodes .length ? selection .nodes : this .executionContext, Traverse .INLINE_SCENE | Traverse .PROTOTYPE_INSTANCES | Traverse .PROTO_DECLARATIONS | Traverse .PROTO_DECLARATION_BODY | Traverse .ROOT_NODES))
|
|
3462
|
+
for (const object of Traverse .traverse (selection .nodes .length ? selection .nodes : this .executionContext, Traverse .INLINE_SCENE | Traverse .INLINE_GEOMETRY_SCENE | Traverse .PROTOTYPE_INSTANCES | Traverse .PROTO_DECLARATIONS | Traverse .PROTO_DECLARATION_BODY | Traverse .ROOT_NODES))
|
|
3455
3463
|
{
|
|
3456
3464
|
if (!(object instanceof X3D .SFNode))
|
|
3457
3465
|
continue;
|
|
@@ -3467,7 +3475,7 @@ module .exports = class OutlineView extends Interface
|
|
|
3467
3475
|
|
|
3468
3476
|
showAllObjects ()
|
|
3469
3477
|
{
|
|
3470
|
-
for (const object of this .executionContext .traverse (Traverse .INLINE_SCENE | Traverse .PROTOTYPE_INSTANCES | Traverse .PROTO_DECLARATIONS | Traverse .PROTO_DECLARATION_BODY | Traverse .ROOT_NODES))
|
|
3478
|
+
for (const object of this .executionContext .traverse (Traverse .INLINE_SCENE | Traverse .INLINE_GEOMETRY_SCENE | Traverse .PROTOTYPE_INSTANCES | Traverse .PROTO_DECLARATIONS | Traverse .PROTO_DECLARATION_BODY | Traverse .ROOT_NODES))
|
|
3471
3479
|
{
|
|
3472
3480
|
if (!(object instanceof X3D .SFNode))
|
|
3473
3481
|
continue;
|
|
@@ -3923,7 +3931,7 @@ module .exports = class OutlineView extends Interface
|
|
|
3923
3931
|
flags |= Traverse .PROTO_DECLARATION_BODY;
|
|
3924
3932
|
|
|
3925
3933
|
if (this .expandInlineNodes && expandInlineNodes)
|
|
3926
|
-
flags |= Traverse .INLINE_SCENE;
|
|
3934
|
+
flags |= Traverse .INLINE_SCENE | Traverse .INLINE_GEOMETRY_SCENE;
|
|
3927
3935
|
|
|
3928
3936
|
flags |= Traverse .ROOT_NODES;
|
|
3929
3937
|
|
|
@@ -37,7 +37,7 @@ module .exports = new class SceneProperties extends Dialog
|
|
|
37
37
|
|
|
38
38
|
this .tabs .addTextTab ("profile-and-components", _("Profile & Components"));
|
|
39
39
|
this .tabs .addTextTab ("units", _("Units"));
|
|
40
|
-
this .tabs .addTextTab ("meta-data", _("
|
|
40
|
+
this .tabs .addTextTab ("meta-data", _("Meta Data"));
|
|
41
41
|
this .tabs .addTextTab ("world-info", _("World Info"));
|
|
42
42
|
|
|
43
43
|
this .tabs .setup ();
|
|
@@ -178,6 +178,22 @@ module .exports = new class SceneProperties extends Dialog
|
|
|
178
178
|
|
|
179
179
|
// Meta Data
|
|
180
180
|
|
|
181
|
+
this .metaDataOptions = $("<table></table>") .appendTo (this .metaData);
|
|
182
|
+
this .metaDataOptions .body = $("<tbody></tbody>") .appendTo (this .metaDataOptions);
|
|
183
|
+
|
|
184
|
+
this .commonMetaData = $("<input></input>")
|
|
185
|
+
.attr ("id", "common-metadata")
|
|
186
|
+
.attr ("type", "checkbox")
|
|
187
|
+
.on ("click", () => this .toggleCommonMetaData ());
|
|
188
|
+
|
|
189
|
+
$("<tr></tr>")
|
|
190
|
+
.append ($("<td></td>")
|
|
191
|
+
.append (this .commonMetaData)
|
|
192
|
+
.append ($("<label></label>")
|
|
193
|
+
.attr ("for", "common-metadata")
|
|
194
|
+
.text (_("Add Common Meta Data when Saving"))))
|
|
195
|
+
.appendTo (this .metaDataOptions .body);
|
|
196
|
+
|
|
181
197
|
this .metaData .table = $("<table></table>") .addClass ("sticky-headers") .appendTo (this .metaData);
|
|
182
198
|
this .metaData .table .head = $("<thead></thead>") .appendTo (this .metaData .table);
|
|
183
199
|
this .metaData .table .body = $("<tbody></tbody>") .appendTo (this .metaData .table) .sortable ({
|
|
@@ -285,6 +301,7 @@ module .exports = new class SceneProperties extends Dialog
|
|
|
285
301
|
const app = require ("../Application/Window");
|
|
286
302
|
|
|
287
303
|
this .profileAndComponents .inputs .checkbox .prop ("checked", app .config .file .inferProfileAndComponents);
|
|
304
|
+
this .commonMetaData .prop ("checked", app .config .file .commonMetaData);
|
|
288
305
|
|
|
289
306
|
this .toggleInferProfileAndComponents ();
|
|
290
307
|
this .updateProfile ();
|
|
@@ -418,6 +435,13 @@ module .exports = new class SceneProperties extends Dialog
|
|
|
418
435
|
Editor .updateUnit (this .executionContext, category, name .val (), conversionFactor .val ());
|
|
419
436
|
}
|
|
420
437
|
|
|
438
|
+
toggleCommonMetaData ()
|
|
439
|
+
{
|
|
440
|
+
const app = require ("../Application/Window");
|
|
441
|
+
|
|
442
|
+
app .config .file .commonMetaData = this .commonMetaData .prop ("checked");
|
|
443
|
+
}
|
|
444
|
+
|
|
421
445
|
sortMetaData (event)
|
|
422
446
|
{
|
|
423
447
|
event .preventDefault ();
|
package/src/Undo/Editor.js
CHANGED
|
@@ -2623,11 +2623,11 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
|
|
|
2623
2623
|
oldCenterOfRotation = viewpointNode .getCenterOfRotation () .copy (),
|
|
2624
2624
|
oldFieldOfView = viewpointNode .getFieldOfView ();
|
|
2625
2625
|
|
|
2626
|
-
viewpointNode .resetUserOffsets ();
|
|
2627
2626
|
viewpointNode .setPosition (position);
|
|
2628
2627
|
viewpointNode .setOrientation (orientation);
|
|
2629
2628
|
viewpointNode .setCenterOfRotation (centerOfRotation);
|
|
2630
2629
|
viewpointNode .setFieldOfView (fieldOfView);
|
|
2630
|
+
viewpointNode .resetUserOffsets ();
|
|
2631
2631
|
|
|
2632
2632
|
undoManager .registerUndo (() =>
|
|
2633
2633
|
{
|
package/src/assets/X3DUOM.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<!-- X3D Unified Object Model (X3DUOM) X3dUnifiedObjectModel-4.1.xml -->
|
|
3
3
|
<!-- Online at https://www.web3d.org/specifications/X3dUnifiedObjectModel-4.1.xml -->
|
|
4
4
|
<!-- This file contains a listing of all abstract and concrete nodes in version 4.1 of X3D -->
|
|
5
|
-
<!-- Generated 2026-
|
|
5
|
+
<!-- Generated 2026-08-12-07:00 17:00:03.4836953-07:00 -->
|
|
6
6
|
<X3dUnifiedObjectModel xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"
|
|
7
7
|
version="4.1"
|
|
8
8
|
xsd:noNamespaceSchemaLocation="https://www.web3d.org/specifications/X3dUnifiedObjectModel.xsd">
|
|
@@ -699,7 +699,7 @@
|
|
|
699
699
|
<SimpleType name="geoMetadataSummaryKeyValues"
|
|
700
700
|
baseType="xs:NMTOKEN"
|
|
701
701
|
appinfo="The enumeration keys for the GeoMetadata summary field. This list is unbounded, additional enumeration values are allowed."
|
|
702
|
-
documentation="https://www.web3d.org/
|
|
702
|
+
documentation="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/geospatial.html#t-keywordsandvalues">
|
|
703
703
|
<enumeration value="title"
|
|
704
704
|
appinfo="A name to succinctly identify the dataset to user. For example, "San Francisco, California"."/>
|
|
705
705
|
<enumeration value="description"
|
|
@@ -4145,11 +4145,11 @@
|
|
|
4145
4145
|
appinfo="intersectionTypeValues are supported enumeration values for X3DPickSensorNode type intersectionType field. This list is unbounded, additional enumeration values are allowed."
|
|
4146
4146
|
documentation="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/picking.html#X3DPickSensorNode">
|
|
4147
4147
|
<enumeration value="BOUNDS"
|
|
4148
|
-
appinfo="
|
|
4149
|
-
documentation="https://www.web3d.org/
|
|
4148
|
+
appinfo="When testing intersections, BOUNDS indicates that the pickingGeometry is intersected with the bounding box of the pickable object"
|
|
4149
|
+
documentation="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/picking.html#X3DPickSensorNode"/>
|
|
4150
4150
|
<enumeration value="GEOMETRY"
|
|
4151
|
-
appinfo="
|
|
4152
|
-
documentation="https://www.web3d.org/
|
|
4151
|
+
appinfo="When testing intersections, GEOMETRY indicates that the pickingGeometry is intersected with the geometry of the pickable object"
|
|
4152
|
+
documentation="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/picking.html#X3DPickSensorNode"/>
|
|
4153
4153
|
</SimpleType>
|
|
4154
4154
|
<SimpleType name="justifyChoices"
|
|
4155
4155
|
baseType="MFString"
|
|
@@ -7766,11 +7766,11 @@
|
|
|
7766
7766
|
simpleType="intersectionTypeValues"
|
|
7767
7767
|
baseType="xs:NMTOKEN">
|
|
7768
7768
|
<enumeration value="BOUNDS"
|
|
7769
|
-
appinfo="
|
|
7770
|
-
documentation="https://www.web3d.org/
|
|
7769
|
+
appinfo="When testing intersections, BOUNDS indicates that the pickingGeometry is intersected with the bounding box of the pickable object."
|
|
7770
|
+
documentation="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/picking.html#X3DPickSensorNode"/>
|
|
7771
7771
|
<enumeration value="GEOMETRY"
|
|
7772
|
-
appinfo="
|
|
7773
|
-
documentation="https://www.web3d.org/
|
|
7772
|
+
appinfo="When testing intersections, GEOMETRY indicates that the pickingGeometry is intersected with the geometry of the pickable object."
|
|
7773
|
+
documentation="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/picking.html#X3DPickSensorNode"/>
|
|
7774
7774
|
</field>
|
|
7775
7775
|
<field name="IS"
|
|
7776
7776
|
type="SFNode"
|
|
@@ -21983,7 +21983,7 @@
|
|
|
21983
21983
|
<field name="version"
|
|
21984
21984
|
type="SFString"
|
|
21985
21985
|
accessType="inputOutput"
|
|
21986
|
-
|
|
21986
|
+
use="required"
|
|
21987
21987
|
additionalEnumerationValuesAllowed="false"
|
|
21988
21988
|
simpleType="hanimVersionChoices"
|
|
21989
21989
|
baseType="xs:NMTOKEN"
|
|
@@ -27486,11 +27486,11 @@
|
|
|
27486
27486
|
baseType="xs:NMTOKEN"
|
|
27487
27487
|
description="intersectionType specifies precision of the collision computation.">
|
|
27488
27488
|
<enumeration value="BOUNDS"
|
|
27489
|
-
appinfo="
|
|
27490
|
-
documentation="https://www.web3d.org/
|
|
27489
|
+
appinfo="When testing intersections, BOUNDS indicates that the pickingGeometry is intersected with the bounding box of the pickable object."
|
|
27490
|
+
documentation="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/picking.html#X3DPickSensorNode"/>
|
|
27491
27491
|
<enumeration value="GEOMETRY"
|
|
27492
|
-
appinfo="
|
|
27493
|
-
documentation="https://www.web3d.org/
|
|
27492
|
+
appinfo="When testing intersections, GEOMETRY indicates that the pickingGeometry is intersected with the geometry of the pickable object."
|
|
27493
|
+
documentation="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/picking.html#X3DPickSensorNode"/>
|
|
27494
27494
|
</field>
|
|
27495
27495
|
<field name="IS"
|
|
27496
27496
|
type="SFNode"
|
|
@@ -29524,7 +29524,7 @@
|
|
|
29524
29524
|
additionalEnumerationValuesAllowed="true"
|
|
29525
29525
|
simpleType="multiTextureFunctionValues"
|
|
29526
29526
|
baseType="MFString"
|
|
29527
|
-
description="function operators COMPLEMENT or
|
|
29527
|
+
description="function operators COMPLEMENT or ALPHA_REPLICATE can be applied after the mode blending operation.">
|
|
29528
29528
|
<enumeration value=""COMPLEMENT"" appinfo="Invert argument x as (1 - x)."/>
|
|
29529
29529
|
<enumeration value=""ALPHA_REPLICATE""
|
|
29530
29530
|
appinfo="Replicate alpha information to all color channels before operation completes. (previously no underscore in X3D 3.0-4.0)."/>
|
|
@@ -32997,11 +32997,11 @@
|
|
|
32997
32997
|
baseType="xs:NMTOKEN"
|
|
32998
32998
|
description="intersectionType specifies precision of the collision computation.">
|
|
32999
32999
|
<enumeration value="BOUNDS"
|
|
33000
|
-
appinfo="
|
|
33001
|
-
documentation="https://www.web3d.org/
|
|
33000
|
+
appinfo="When testing intersections, BOUNDS indicates that the pickingGeometry is intersected with the bounding box of the pickable object."
|
|
33001
|
+
documentation="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/picking.html#X3DPickSensorNode"/>
|
|
33002
33002
|
<enumeration value="GEOMETRY"
|
|
33003
|
-
appinfo="
|
|
33004
|
-
documentation="https://www.web3d.org/
|
|
33003
|
+
appinfo="When testing intersections, GEOMETRY indicates that the pickingGeometry is intersected with the geometry of the pickable object."
|
|
33004
|
+
documentation="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/picking.html#X3DPickSensorNode"/>
|
|
33005
33005
|
</field>
|
|
33006
33006
|
<field name="IS"
|
|
33007
33007
|
type="SFNode"
|
|
@@ -34061,11 +34061,11 @@
|
|
|
34061
34061
|
baseType="xs:NMTOKEN"
|
|
34062
34062
|
description="intersectionType specifies precision of the collision computation.">
|
|
34063
34063
|
<enumeration value="BOUNDS"
|
|
34064
|
-
appinfo="
|
|
34065
|
-
documentation="https://www.web3d.org/
|
|
34064
|
+
appinfo="When testing intersections, BOUNDS indicates that the pickingGeometry is intersected with the bounding box of the pickable object."
|
|
34065
|
+
documentation="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/picking.html#X3DPickSensorNode"/>
|
|
34066
34066
|
<enumeration value="GEOMETRY"
|
|
34067
|
-
appinfo="
|
|
34068
|
-
documentation="https://www.web3d.org/
|
|
34067
|
+
appinfo="When testing intersections, GEOMETRY indicates that the pickingGeometry is intersected with the geometry of the pickable object."
|
|
34068
|
+
documentation="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/picking.html#X3DPickSensorNode"/>
|
|
34069
34069
|
</field>
|
|
34070
34070
|
<field name="IS"
|
|
34071
34071
|
type="SFNode"
|
|
@@ -42675,11 +42675,11 @@
|
|
|
42675
42675
|
baseType="xs:NMTOKEN"
|
|
42676
42676
|
description="intersectionType specifies precision of the collision computation.">
|
|
42677
42677
|
<enumeration value="BOUNDS"
|
|
42678
|
-
appinfo="
|
|
42679
|
-
documentation="https://www.web3d.org/
|
|
42678
|
+
appinfo="When testing intersections, BOUNDS indicates that the pickingGeometry is intersected with the bounding box of the pickable object."
|
|
42679
|
+
documentation="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/picking.html#X3DPickSensorNode"/>
|
|
42680
42680
|
<enumeration value="GEOMETRY"
|
|
42681
|
-
appinfo="
|
|
42682
|
-
documentation="https://www.web3d.org/
|
|
42681
|
+
appinfo="When testing intersections, GEOMETRY indicates that the pickingGeometry is intersected with the geometry of the pickable object."
|
|
42682
|
+
documentation="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4.1-CD/Part01/components/picking.html#X3DPickSensorNode"/>
|
|
42683
42683
|
</field>
|
|
42684
42684
|
<field name="IS"
|
|
42685
42685
|
type="SFNode"
|