x_ite 10.0.5 → 10.1.0
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/README.md +12 -9
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +14 -14
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +25 -25
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +13 -13
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +18 -18
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +23 -23
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +61 -46
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +23 -23
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +26 -26
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +17 -17
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +38 -38
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +275 -201
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjection.js +15 -15
- package/dist/assets/components/TextureProjection.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +27 -27
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +19 -19
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +19 -19
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/example.html +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +211 -139
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +211 -139
- package/dist/x_ite.zip +0 -0
- package/package.json +1 -1
package/dist/x_ite.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* X_ITE v10.0
|
|
1
|
+
/* X_ITE v10.1.0 */var __webpack_modules__ = ({
|
|
2
2
|
|
|
3
|
-
/***/
|
|
3
|
+
/***/ 531:
|
|
4
4
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
5
5
|
|
|
6
|
-
/* provided dependency */ var jQuery = __webpack_require__(
|
|
6
|
+
/* provided dependency */ var jQuery = __webpack_require__(439);
|
|
7
7
|
/**
|
|
8
8
|
* @preserve jquery.fullscreen 1.1.5
|
|
9
9
|
* https://github.com/code-lts/jquery-fullscreen-plugin
|
|
@@ -199,7 +199,7 @@ installFullScreenHandlers();
|
|
|
199
199
|
|
|
200
200
|
/***/ }),
|
|
201
201
|
|
|
202
|
-
/***/
|
|
202
|
+
/***/ 583:
|
|
203
203
|
/***/ ((module, exports, __webpack_require__) => {
|
|
204
204
|
|
|
205
205
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -213,7 +213,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
213
213
|
(function (factory) {
|
|
214
214
|
if ( true ) {
|
|
215
215
|
// AMD. Register as an anonymous module.
|
|
216
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
|
|
216
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(439)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
217
217
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
218
218
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
219
219
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
@@ -424,7 +424,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
424
424
|
|
|
425
425
|
/***/ }),
|
|
426
426
|
|
|
427
|
-
/***/
|
|
427
|
+
/***/ 439:
|
|
428
428
|
/***/ (function(module, exports) {
|
|
429
429
|
|
|
430
430
|
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -11148,7 +11148,7 @@ return jQuery;
|
|
|
11148
11148
|
|
|
11149
11149
|
/***/ }),
|
|
11150
11150
|
|
|
11151
|
-
/***/
|
|
11151
|
+
/***/ 12:
|
|
11152
11152
|
/***/ ((module) => {
|
|
11153
11153
|
|
|
11154
11154
|
/**
|
|
@@ -15927,7 +15927,7 @@ if (true) {
|
|
|
15927
15927
|
|
|
15928
15928
|
/***/ }),
|
|
15929
15929
|
|
|
15930
|
-
/***/
|
|
15930
|
+
/***/ 964:
|
|
15931
15931
|
/***/ (function(__unused_webpack_module, exports) {
|
|
15932
15932
|
|
|
15933
15933
|
|
|
@@ -19172,7 +19172,7 @@ if (true) {
|
|
|
19172
19172
|
|
|
19173
19173
|
/***/ }),
|
|
19174
19174
|
|
|
19175
|
-
/***/
|
|
19175
|
+
/***/ 448:
|
|
19176
19176
|
/***/ (function(module, exports) {
|
|
19177
19177
|
|
|
19178
19178
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
|
|
@@ -20297,7 +20297,7 @@ Object .defineProperty (Namespace, "add",
|
|
|
20297
20297
|
}
|
|
20298
20298
|
else
|
|
20299
20299
|
{
|
|
20300
|
-
const X3D = window [Symbol .for ("X_ITE.X3D-10.0
|
|
20300
|
+
const X3D = window [Symbol .for ("X_ITE.X3D-10.1.0")];
|
|
20301
20301
|
|
|
20302
20302
|
if (X3D)
|
|
20303
20303
|
X3D [name] = module;
|
|
@@ -30135,6 +30135,7 @@ x_ite_Namespace .add ("SFVec3", "x_ite/Fields/SFVec3", SFVec3_default_);
|
|
|
30135
30135
|
|
|
30136
30136
|
|
|
30137
30137
|
|
|
30138
|
+
|
|
30138
30139
|
const
|
|
30139
30140
|
SFVec3d = Fields_SFVec3 .SFVec3d,
|
|
30140
30141
|
SFVec3f = Fields_SFVec3 .SFVec3f,
|
|
@@ -30222,6 +30223,25 @@ Object .assign (Object .setPrototypeOf (SFRotation .prototype, Base_X3DField .pr
|
|
|
30222
30223
|
{
|
|
30223
30224
|
return new SFMatrix3f (this .getValue () .getMatrix ());
|
|
30224
30225
|
},
|
|
30226
|
+
setQuaternion: (function ()
|
|
30227
|
+
{
|
|
30228
|
+
const q = new Numbers_Quaternion ();
|
|
30229
|
+
|
|
30230
|
+
return function (x, y, z, w)
|
|
30231
|
+
{
|
|
30232
|
+
this .getValue () .setQuaternion (q .set (x, y, z, w));
|
|
30233
|
+
this .addEvent ();
|
|
30234
|
+
};
|
|
30235
|
+
})(),
|
|
30236
|
+
getQuaternion: (function ()
|
|
30237
|
+
{
|
|
30238
|
+
const q = new Numbers_Quaternion ();
|
|
30239
|
+
|
|
30240
|
+
return function ()
|
|
30241
|
+
{
|
|
30242
|
+
return [... this .getValue () .getQuaternion (q)];
|
|
30243
|
+
};
|
|
30244
|
+
})(),
|
|
30225
30245
|
inverse ()
|
|
30226
30246
|
{
|
|
30227
30247
|
return new SFRotation (this .getValue () .copy () .inverse ());
|
|
@@ -34263,7 +34283,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
34263
34283
|
x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
34264
34284
|
/* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
|
|
34265
34285
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
|
|
34266
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
34286
|
+
/* provided dependency */ var $ = __webpack_require__(439);
|
|
34267
34287
|
/*******************************************************************************
|
|
34268
34288
|
*
|
|
34269
34289
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -34400,7 +34420,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
|
|
|
34400
34420
|
*
|
|
34401
34421
|
******************************************************************************/
|
|
34402
34422
|
|
|
34403
|
-
const BROWSER_VERSION_default_ = "10.0
|
|
34423
|
+
const BROWSER_VERSION_default_ = "10.1.0";
|
|
34404
34424
|
;
|
|
34405
34425
|
|
|
34406
34426
|
x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
|
|
@@ -37586,7 +37606,7 @@ const X3DBindableNode_default_ = X3DBindableNode;
|
|
|
37586
37606
|
x_ite_Namespace .add ("X3DBindableNode", "x_ite/Components/Core/X3DBindableNode", X3DBindableNode_default_);
|
|
37587
37607
|
/* harmony default export */ const Core_X3DBindableNode = (X3DBindableNode_default_);
|
|
37588
37608
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
37589
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
37609
|
+
/* provided dependency */ var libtess = __webpack_require__(12);
|
|
37590
37610
|
/*******************************************************************************
|
|
37591
37611
|
*
|
|
37592
37612
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -40156,7 +40176,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
40156
40176
|
x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
|
|
40157
40177
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
|
|
40158
40178
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
40159
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
40179
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(439);
|
|
40160
40180
|
/*******************************************************************************
|
|
40161
40181
|
*
|
|
40162
40182
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -40414,7 +40434,7 @@ const Expressions_default_ = Expressions;
|
|
|
40414
40434
|
x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
|
|
40415
40435
|
/* harmony default export */ const Parser_Expressions = (Expressions_default_);
|
|
40416
40436
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
|
|
40417
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
40437
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(439);
|
|
40418
40438
|
/*******************************************************************************
|
|
40419
40439
|
*
|
|
40420
40440
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -43114,7 +43134,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
43114
43134
|
x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
43115
43135
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
43116
43136
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
43117
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
43137
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(439);
|
|
43118
43138
|
/*******************************************************************************
|
|
43119
43139
|
*
|
|
43120
43140
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -45290,7 +45310,7 @@ const URLs_default_ = URLs;
|
|
|
45290
45310
|
x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
|
|
45291
45311
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
45292
45312
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
45293
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
45313
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(439);
|
|
45294
45314
|
/*******************************************************************************
|
|
45295
45315
|
*
|
|
45296
45316
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -47648,7 +47668,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
47648
47668
|
|
|
47649
47669
|
const node = this .nodes [target .node] ?.transformNode;
|
|
47650
47670
|
|
|
47651
|
-
if (!node)
|
|
47671
|
+
if (!node && target .path !== "pointer")
|
|
47652
47672
|
return [ ];
|
|
47653
47673
|
|
|
47654
47674
|
const sampler = samplers [channel .sampler];
|
|
@@ -48544,6 +48564,22 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
48544
48564
|
|
|
48545
48565
|
return interpolatorNodes;
|
|
48546
48566
|
}
|
|
48567
|
+
case "pointer":
|
|
48568
|
+
{
|
|
48569
|
+
// const
|
|
48570
|
+
// pointer = target .extensions ?.KHR_animation_pointer ?.pointer ?? "",
|
|
48571
|
+
// path = pointer .split ("/") .filter (p => p)
|
|
48572
|
+
// name = path .pop ();
|
|
48573
|
+
|
|
48574
|
+
// let glTF = this .input;
|
|
48575
|
+
|
|
48576
|
+
// for (const property of path)
|
|
48577
|
+
// glTF = glTF [property]
|
|
48578
|
+
|
|
48579
|
+
// console .log (glTF)
|
|
48580
|
+
|
|
48581
|
+
return [ ];
|
|
48582
|
+
}
|
|
48547
48583
|
default:
|
|
48548
48584
|
{
|
|
48549
48585
|
return [ ];
|
|
@@ -48933,7 +48969,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
48933
48969
|
x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
48934
48970
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
48935
48971
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
48936
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
48972
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(439);
|
|
48937
48973
|
/*******************************************************************************
|
|
48938
48974
|
*
|
|
48939
48975
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -49085,7 +49121,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
49085
49121
|
x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
49086
49122
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
49087
49123
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
49088
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
49124
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(439);
|
|
49089
49125
|
/*******************************************************************************
|
|
49090
49126
|
*
|
|
49091
49127
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -52430,8 +52466,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
52430
52466
|
x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
|
|
52431
52467
|
/* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
|
|
52432
52468
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
52433
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
52434
|
-
/* provided dependency */ var SVGParser_libtess = __webpack_require__(
|
|
52469
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(439);
|
|
52470
|
+
/* provided dependency */ var SVGParser_libtess = __webpack_require__(12);
|
|
52435
52471
|
/*******************************************************************************
|
|
52436
52472
|
*
|
|
52437
52473
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -55202,7 +55238,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
55202
55238
|
x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
|
|
55203
55239
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
55204
55240
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
55205
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
55241
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(439);
|
|
55206
55242
|
/*******************************************************************************
|
|
55207
55243
|
*
|
|
55208
55244
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -63170,7 +63206,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
63170
63206
|
x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
63171
63207
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
63172
63208
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
63173
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
63209
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(439);
|
|
63174
63210
|
/*******************************************************************************
|
|
63175
63211
|
*
|
|
63176
63212
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -63829,8 +63865,14 @@ Object .assign (Object .setPrototypeOf (X3DLayerNode .prototype, Core_X3DNode .p
|
|
|
63829
63865
|
},
|
|
63830
63866
|
getUserViewpoints ()
|
|
63831
63867
|
{
|
|
63832
|
-
|
|
63833
|
-
|
|
63868
|
+
const
|
|
63869
|
+
browser = this .getBrowser (),
|
|
63870
|
+
enableInlineViewpoints = browser .getBrowserOption ("EnableInlineViewpoints"),
|
|
63871
|
+
currentScene = browser .currentScene;
|
|
63872
|
+
|
|
63873
|
+
return Array .from (new Set (this .viewpoints .get ()
|
|
63874
|
+
.filter (viewpointNode => viewpointNode ._description .length)
|
|
63875
|
+
.filter (viewpointNode => enableInlineViewpoints || viewpointNode .getScene () === currentScene)));
|
|
63834
63876
|
},
|
|
63835
63877
|
getBackgroundStack ()
|
|
63836
63878
|
{
|
|
@@ -66754,7 +66796,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
66754
66796
|
x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
66755
66797
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
66756
66798
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
66757
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
66799
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(439);
|
|
66758
66800
|
/*******************************************************************************
|
|
66759
66801
|
*
|
|
66760
66802
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -67688,7 +67730,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
|
|
|
67688
67730
|
x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
|
|
67689
67731
|
/* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
|
|
67690
67732
|
;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
|
|
67691
|
-
/* provided dependency */ var X3DRoute_$ = __webpack_require__(
|
|
67733
|
+
/* provided dependency */ var X3DRoute_$ = __webpack_require__(439);
|
|
67692
67734
|
/*******************************************************************************
|
|
67693
67735
|
*
|
|
67694
67736
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -91238,7 +91280,7 @@ mediump samplerCube textureCube;
|
|
|
91238
91280
|
x_ite_Namespace .add ("MaterialTextures", "assets/shaders/MaterialTextures", MaterialTextures_default_);
|
|
91239
91281
|
/* harmony default export */ const MaterialTextures = (MaterialTextures_default_);
|
|
91240
91282
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
91241
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
91283
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(439);
|
|
91242
91284
|
/*******************************************************************************
|
|
91243
91285
|
*
|
|
91244
91286
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -96691,7 +96733,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
96691
96733
|
x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
96692
96734
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
96693
96735
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
96694
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
96736
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(439);
|
|
96695
96737
|
/*******************************************************************************
|
|
96696
96738
|
*
|
|
96697
96739
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -97362,7 +97404,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
|
|
|
97362
97404
|
x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
|
|
97363
97405
|
/* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
|
|
97364
97406
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
|
|
97365
|
-
/* provided dependency */ var Appearance_$ = __webpack_require__(
|
|
97407
|
+
/* provided dependency */ var Appearance_$ = __webpack_require__(439);
|
|
97366
97408
|
/*******************************************************************************
|
|
97367
97409
|
*
|
|
97368
97410
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -106286,8 +106328,8 @@ const GifMedia_default_ = GifMedia;
|
|
|
106286
106328
|
x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
|
|
106287
106329
|
/* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
|
|
106288
106330
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
106289
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
106290
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
106331
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(439);
|
|
106332
|
+
/* provided dependency */ var SuperGif = __webpack_require__(448);
|
|
106291
106333
|
/*******************************************************************************
|
|
106292
106334
|
*
|
|
106293
106335
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -109619,7 +109661,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
|
|
|
109619
109661
|
x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
|
|
109620
109662
|
/* harmony default export */ const gettext = (gettext_default_);
|
|
109621
109663
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
109622
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
109664
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(439);
|
|
109623
109665
|
/*******************************************************************************
|
|
109624
109666
|
*
|
|
109625
109667
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110191,8 +110233,69 @@ const TextureQuality_default_ = TextureQuality;
|
|
|
110191
110233
|
|
|
110192
110234
|
x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
|
|
110193
110235
|
/* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
|
|
110236
|
+
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/TextCompression.js
|
|
110237
|
+
/*******************************************************************************
|
|
110238
|
+
*
|
|
110239
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
110240
|
+
*
|
|
110241
|
+
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
110242
|
+
*
|
|
110243
|
+
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
110244
|
+
*
|
|
110245
|
+
* The copyright notice above does not evidence any actual of intended
|
|
110246
|
+
* publication of such source code, and is an unpublished work by create3000.
|
|
110247
|
+
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
110248
|
+
* create3000.
|
|
110249
|
+
*
|
|
110250
|
+
* No permission is granted to copy, distribute, or create derivative works from
|
|
110251
|
+
* the contents of this software, in whole or in part, without the prior written
|
|
110252
|
+
* permission of create3000.
|
|
110253
|
+
*
|
|
110254
|
+
* NON-MILITARY USE ONLY
|
|
110255
|
+
*
|
|
110256
|
+
* All create3000 software are effectively free software with a non-military use
|
|
110257
|
+
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
110258
|
+
* source in any way you please with the exception anything that uses it must be
|
|
110259
|
+
* marked to indicate is contains 'non-military use only' components.
|
|
110260
|
+
*
|
|
110261
|
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
110262
|
+
*
|
|
110263
|
+
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
110264
|
+
*
|
|
110265
|
+
* This file is part of the X_ITE Project.
|
|
110266
|
+
*
|
|
110267
|
+
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
110268
|
+
* terms of the GNU General Public License version 3 only, as published by the
|
|
110269
|
+
* Free Software Foundation.
|
|
110270
|
+
*
|
|
110271
|
+
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
110272
|
+
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
110273
|
+
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
110274
|
+
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
110275
|
+
*
|
|
110276
|
+
* You should have received a copy of the GNU General Public License version 3
|
|
110277
|
+
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
110278
|
+
* copy of the GPLv3 License.
|
|
110279
|
+
*
|
|
110280
|
+
* For Silvio, Joy and Adi.
|
|
110281
|
+
*
|
|
110282
|
+
******************************************************************************/
|
|
110283
|
+
|
|
110284
|
+
let TextCompression_i = 0;
|
|
110285
|
+
|
|
110286
|
+
const TextCompression =
|
|
110287
|
+
{
|
|
110288
|
+
CHAR_SPACING: TextCompression_i ++,
|
|
110289
|
+
SCALING: TextCompression_i ++,
|
|
110290
|
+
};
|
|
110291
|
+
|
|
110292
|
+
const TextCompression_default_ = TextCompression;
|
|
110293
|
+
;
|
|
110294
|
+
|
|
110295
|
+
x_ite_Namespace .add ("TextCompression", "x_ite/Browser/Core/TextCompression", TextCompression_default_);
|
|
110296
|
+
/* harmony default export */ const Core_TextCompression = (TextCompression_default_);
|
|
110194
110297
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
110195
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
110298
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(439);
|
|
110196
110299
|
/*******************************************************************************
|
|
110197
110300
|
*
|
|
110198
110301
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110250,6 +110353,7 @@ x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", Tex
|
|
|
110250
110353
|
|
|
110251
110354
|
|
|
110252
110355
|
|
|
110356
|
+
|
|
110253
110357
|
// https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/networking.html#BrowserProperties
|
|
110254
110358
|
|
|
110255
110359
|
function BrowserOptions (executionContext)
|
|
@@ -110320,6 +110424,7 @@ Object .assign (Object .setPrototypeOf (BrowserOptions .prototype, Base_X3DBaseN
|
|
|
110320
110424
|
"Notifications",
|
|
110321
110425
|
"OrderIndependentTransparency",
|
|
110322
110426
|
"SplashScreen",
|
|
110427
|
+
"TextCompression",
|
|
110323
110428
|
"ToneMapping",
|
|
110324
110429
|
]);
|
|
110325
110430
|
|
|
@@ -110389,6 +110494,16 @@ Object .assign (Object .setPrototypeOf (BrowserOptions .prototype, Base_X3DBaseN
|
|
|
110389
110494
|
{
|
|
110390
110495
|
return this .textureQuality;
|
|
110391
110496
|
},
|
|
110497
|
+
getTextCompression ()
|
|
110498
|
+
{
|
|
110499
|
+
switch (this ._TextCompression .getValue ())
|
|
110500
|
+
{
|
|
110501
|
+
default: // CHAR_SPACING
|
|
110502
|
+
return Core_TextCompression .CHAR_SPACING;
|
|
110503
|
+
case "SCALING":
|
|
110504
|
+
return Core_TextCompression .SCALING;
|
|
110505
|
+
}
|
|
110506
|
+
},
|
|
110392
110507
|
set_Rubberband__ (rubberband)
|
|
110393
110508
|
{
|
|
110394
110509
|
this .localStorage .Rubberband = rubberband .getValue ();
|
|
@@ -110600,6 +110715,7 @@ Object .defineProperties (BrowserOptions,
|
|
|
110600
110715
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "Notifications", new x_ite_Fields .SFBool (true)),
|
|
110601
110716
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "OrderIndependentTransparency", new x_ite_Fields .SFBool ()),
|
|
110602
110717
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "StraightenHorizon", new x_ite_Fields .SFBool (true)),
|
|
110718
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "TextCompression", new x_ite_Fields .SFString ("CHAR_SPACING")),
|
|
110603
110719
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "Timings", new x_ite_Fields .SFBool ()),
|
|
110604
110720
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "ToneMapping", new x_ite_Fields .SFString ("NONE")),
|
|
110605
110721
|
]),
|
|
@@ -110813,7 +110929,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
110813
110929
|
x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
110814
110930
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
110815
110931
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
110816
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
110932
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(439);
|
|
110817
110933
|
/*******************************************************************************
|
|
110818
110934
|
*
|
|
110819
110935
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110936,8 +111052,8 @@ const Notification_default_ = Notification;
|
|
|
110936
111052
|
x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
|
|
110937
111053
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
110938
111054
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
110939
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
110940
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
111055
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(531);
|
|
111056
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(439);
|
|
110941
111057
|
/*******************************************************************************
|
|
110942
111058
|
*
|
|
110943
111059
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -111045,7 +111161,7 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
|
|
|
111045
111161
|
browser = this .getBrowser (),
|
|
111046
111162
|
fullscreen = browser .getElement () .fullScreen ();
|
|
111047
111163
|
|
|
111048
|
-
if (!
|
|
111164
|
+
if (!browser .getBrowserOption ("ContextMenu"))
|
|
111049
111165
|
return;
|
|
111050
111166
|
|
|
111051
111167
|
const menu = {
|
|
@@ -111341,19 +111457,19 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
|
|
|
111341
111457
|
delete menu .items ["available-viewers"];
|
|
111342
111458
|
}
|
|
111343
111459
|
|
|
111344
|
-
if (!
|
|
111460
|
+
if (!browser .getCurrentViewer () .match (/^(?:EXAMINE|FLY)$/))
|
|
111345
111461
|
{
|
|
111346
111462
|
delete menu .items ["straighten-horizon"];
|
|
111347
111463
|
}
|
|
111348
111464
|
|
|
111349
|
-
if (!
|
|
111465
|
+
if (!browser .getBrowserOption ("Debug"))
|
|
111350
111466
|
{
|
|
111351
111467
|
delete menu .items ["shading"];
|
|
111352
111468
|
}
|
|
111353
111469
|
|
|
111354
111470
|
const worldInfo = browser .getExecutionContext () .getWorldInfos () [0];
|
|
111355
111471
|
|
|
111356
|
-
if (!
|
|
111472
|
+
if (!worldInfo || (worldInfo .title .length === 0 && worldInfo .info .length === 0))
|
|
111357
111473
|
{
|
|
111358
111474
|
delete menu .items ["world-info"];
|
|
111359
111475
|
}
|
|
@@ -111366,26 +111482,18 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
|
|
|
111366
111482
|
browser = this .getBrowser (),
|
|
111367
111483
|
activeLayer = browser .getActiveLayer ();
|
|
111368
111484
|
|
|
111369
|
-
if (!
|
|
111485
|
+
if (!activeLayer)
|
|
111370
111486
|
return { };
|
|
111371
111487
|
|
|
111372
111488
|
const
|
|
111373
|
-
|
|
111374
|
-
|
|
111375
|
-
|
|
111376
|
-
currentViewpoint = activeLayer .getViewpoint (),
|
|
111377
|
-
menu = { };
|
|
111489
|
+
viewpoints = activeLayer .getUserViewpoints (),
|
|
111490
|
+
currentViewpoint = activeLayer .getViewpoint (),
|
|
111491
|
+
menu = { };
|
|
111378
111492
|
|
|
111379
111493
|
for (const viewpoint of viewpoints)
|
|
111380
111494
|
{
|
|
111381
111495
|
const description = viewpoint .getDescriptions () .join (" » ");
|
|
111382
111496
|
|
|
111383
|
-
if (description === "")
|
|
111384
|
-
continue;
|
|
111385
|
-
|
|
111386
|
-
if (! enableInlineViewpoints && viewpoint .getScene () !== currentScene)
|
|
111387
|
-
continue;
|
|
111388
|
-
|
|
111389
111497
|
const item = {
|
|
111390
111498
|
name: description,
|
|
111391
111499
|
callback: () =>
|
|
@@ -111398,7 +111506,7 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
|
|
|
111398
111506
|
if (viewpoint === currentViewpoint)
|
|
111399
111507
|
item .className = "context-menu-selected";
|
|
111400
111508
|
|
|
111401
|
-
menu [
|
|
111509
|
+
menu [`Viewpoint-${viewpoint .getId ()}`] = item;
|
|
111402
111510
|
}
|
|
111403
111511
|
|
|
111404
111512
|
return menu;
|
|
@@ -111464,7 +111572,7 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
|
|
|
111464
111572
|
menu = options .build (event),
|
|
111465
111573
|
level = 1;
|
|
111466
111574
|
|
|
111467
|
-
if (!
|
|
111575
|
+
if (!menu) return;
|
|
111468
111576
|
|
|
111469
111577
|
// Layer
|
|
111470
111578
|
|
|
@@ -111543,7 +111651,7 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
|
|
|
111543
111651
|
t = ContextMenu_$(event .target) .closest ("li"),
|
|
111544
111652
|
e = t .children ("ul");
|
|
111545
111653
|
|
|
111546
|
-
if (!
|
|
111654
|
+
if (!e .length)
|
|
111547
111655
|
return;
|
|
111548
111656
|
|
|
111549
111657
|
e .css ("top", "");
|
|
@@ -113690,7 +113798,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
113690
113798
|
x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
|
|
113691
113799
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
113692
113800
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
113693
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
113801
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(439);
|
|
113694
113802
|
/*******************************************************************************
|
|
113695
113803
|
*
|
|
113696
113804
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -114087,6 +114195,12 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
114087
114195
|
|
|
114088
114196
|
break;
|
|
114089
114197
|
}
|
|
114198
|
+
case "textCompression":
|
|
114199
|
+
case "textcompression":
|
|
114200
|
+
{
|
|
114201
|
+
this .setBrowserOption ("TextCompression", newValue);
|
|
114202
|
+
break;
|
|
114203
|
+
}
|
|
114090
114204
|
case "timings":
|
|
114091
114205
|
{
|
|
114092
114206
|
this .setBrowserOption ("Timings", this .parseBooleanAttribute (newValue, false));
|
|
@@ -116270,8 +116384,8 @@ const X3DViewer_default_ = X3DViewer;
|
|
|
116270
116384
|
x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
|
|
116271
116385
|
/* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
|
|
116272
116386
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
116273
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
116274
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
116387
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(583);
|
|
116388
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(439);
|
|
116275
116389
|
/*******************************************************************************
|
|
116276
116390
|
*
|
|
116277
116391
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -117187,8 +117301,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
117187
117301
|
x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
117188
117302
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
117189
117303
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
117190
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
117191
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
117304
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(583);
|
|
117305
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(439);
|
|
117192
117306
|
/*******************************************************************************
|
|
117193
117307
|
*
|
|
117194
117308
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118203,8 +118317,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
118203
118317
|
x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
118204
118318
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
118205
118319
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
118206
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
118207
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
118320
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(583);
|
|
118321
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(439);
|
|
118208
118322
|
/*******************************************************************************
|
|
118209
118323
|
*
|
|
118210
118324
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118535,8 +118649,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
118535
118649
|
x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
118536
118650
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
118537
118651
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
118538
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
118539
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
118652
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(583);
|
|
118653
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(439);
|
|
118540
118654
|
/*******************************************************************************
|
|
118541
118655
|
*
|
|
118542
118656
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -119675,8 +119789,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
119675
119789
|
x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
119676
119790
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
119677
119791
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
119678
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
119679
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
119792
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(583);
|
|
119793
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(439);
|
|
119680
119794
|
/*******************************************************************************
|
|
119681
119795
|
*
|
|
119682
119796
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -120977,7 +121091,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
120977
121091
|
x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
120978
121092
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
120979
121093
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
120980
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
121094
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(439);
|
|
120981
121095
|
/*******************************************************************************
|
|
120982
121096
|
*
|
|
120983
121097
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -121984,7 +122098,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
|
|
|
121984
122098
|
x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
|
|
121985
122099
|
/* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
|
|
121986
122100
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
121987
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
122101
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(439);
|
|
121988
122102
|
const KTXDecoder_default_ = class KTXDecoder
|
|
121989
122103
|
{
|
|
121990
122104
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -123598,7 +123712,7 @@ const Components_default_ = Components;
|
|
|
123598
123712
|
x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
|
|
123599
123713
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
123600
123714
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
123601
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
123715
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(439);
|
|
123602
123716
|
/*******************************************************************************
|
|
123603
123717
|
* MIT License
|
|
123604
123718
|
*
|
|
@@ -124866,7 +124980,7 @@ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x
|
|
|
124866
124980
|
x_ite_Namespace .add ("FieldTypes", "x_ite/Configuration/FieldTypes", FieldTypes_default_);
|
|
124867
124981
|
/* harmony default export */ const FieldTypes = (FieldTypes_default_);
|
|
124868
124982
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
124869
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
124983
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(439);
|
|
124870
124984
|
/*******************************************************************************
|
|
124871
124985
|
*
|
|
124872
124986
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -125688,88 +125802,50 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
125688
125802
|
|
|
125689
125803
|
layerNode = Base_X3DCast (Base_X3DConstants .X3DLayerNode, layerNode) ?? this .getActiveLayer ();
|
|
125690
125804
|
|
|
125691
|
-
|
|
125692
|
-
return;
|
|
125693
|
-
|
|
125694
|
-
layerNode .viewAll (transitionTime, 1, this .getBrowserOption ("StraightenHorizon"));
|
|
125805
|
+
layerNode ?.viewAll (transitionTime, 1, this .getBrowserOption ("StraightenHorizon"));
|
|
125695
125806
|
},
|
|
125696
125807
|
firstViewpoint (layerNode)
|
|
125697
125808
|
{
|
|
125698
125809
|
layerNode = Base_X3DCast (Base_X3DConstants .X3DLayerNode, layerNode) ?? this .getActiveLayer ();
|
|
125699
125810
|
|
|
125700
|
-
const viewpoints = layerNode
|
|
125811
|
+
const viewpoints = layerNode ?.getUserViewpoints ();
|
|
125701
125812
|
|
|
125702
|
-
if (viewpoints
|
|
125703
|
-
this .bindViewpoint (layerNode, viewpoints
|
|
125813
|
+
if (viewpoints ?.length)
|
|
125814
|
+
this .bindViewpoint (layerNode, viewpoints .at (0));
|
|
125704
125815
|
},
|
|
125705
125816
|
previousViewpoint (layerNode)
|
|
125706
125817
|
{
|
|
125707
125818
|
layerNode = Base_X3DCast (Base_X3DConstants .X3DLayerNode, layerNode) ?? this .getActiveLayer ();
|
|
125708
125819
|
|
|
125709
|
-
|
|
125710
|
-
return;
|
|
125711
|
-
|
|
125712
|
-
const viewpoints = layerNode .getUserViewpoints ();
|
|
125820
|
+
const viewpoints = layerNode ?.getUserViewpoints ();
|
|
125713
125821
|
|
|
125714
|
-
if (viewpoints
|
|
125822
|
+
if (!viewpoints ?.length)
|
|
125715
125823
|
return;
|
|
125716
125824
|
|
|
125717
|
-
|
|
125718
|
-
{
|
|
125719
|
-
if (viewpoints [i] ._isBound .getValue ())
|
|
125720
|
-
break;
|
|
125721
|
-
}
|
|
125722
|
-
|
|
125723
|
-
if (i < viewpoints .length)
|
|
125724
|
-
{
|
|
125725
|
-
if (i === 0)
|
|
125726
|
-
this .bindViewpoint (layerNode, viewpoints .at (-1));
|
|
125825
|
+
const i = viewpoints .findIndex (viewpointNode => viewpointNode ._isBound .getValue ());
|
|
125727
125826
|
|
|
125728
|
-
|
|
125729
|
-
this .bindViewpoint (layerNode, viewpoints [i - 1]);
|
|
125730
|
-
}
|
|
125731
|
-
else
|
|
125732
|
-
this .bindViewpoint (layerNode, viewpoints .at (-1));
|
|
125827
|
+
this .bindViewpoint (layerNode, viewpoints .at (i > -1 ? i - 1 : -1));
|
|
125733
125828
|
},
|
|
125734
125829
|
nextViewpoint (layerNode)
|
|
125735
125830
|
{
|
|
125736
125831
|
layerNode = Base_X3DCast (Base_X3DConstants .X3DLayerNode, layerNode) ?? this .getActiveLayer ();
|
|
125737
125832
|
|
|
125738
|
-
|
|
125739
|
-
return;
|
|
125740
|
-
|
|
125741
|
-
const viewpoints = layerNode .getUserViewpoints ();
|
|
125833
|
+
const viewpoints = layerNode ?.getUserViewpoints ();
|
|
125742
125834
|
|
|
125743
|
-
if (viewpoints
|
|
125835
|
+
if (!viewpoints ?.length)
|
|
125744
125836
|
return;
|
|
125745
125837
|
|
|
125746
|
-
|
|
125747
|
-
{
|
|
125748
|
-
if (viewpoints [i] ._isBound .getValue ())
|
|
125749
|
-
break;
|
|
125750
|
-
}
|
|
125751
|
-
|
|
125752
|
-
if (i < viewpoints .length)
|
|
125753
|
-
{
|
|
125754
|
-
if (i === viewpoints .length - 1)
|
|
125755
|
-
this .bindViewpoint (layerNode, viewpoints [0]);
|
|
125838
|
+
const i = viewpoints .findIndex (viewpointNode => viewpointNode ._isBound .getValue ());
|
|
125756
125839
|
|
|
125757
|
-
|
|
125758
|
-
this .bindViewpoint (layerNode, viewpoints [i + 1]);
|
|
125759
|
-
}
|
|
125760
|
-
else
|
|
125761
|
-
this .bindViewpoint (layerNode, viewpoints [0]);
|
|
125840
|
+
this .bindViewpoint (layerNode, viewpoints .at ((i + 1) % viewpoints .length));
|
|
125762
125841
|
},
|
|
125763
125842
|
lastViewpoint (layerNode)
|
|
125764
125843
|
{
|
|
125765
125844
|
layerNode = Base_X3DCast (Base_X3DConstants .X3DLayerNode, layerNode) ?? this .getActiveLayer ();
|
|
125766
125845
|
|
|
125767
|
-
|
|
125768
|
-
return;
|
|
125769
|
-
|
|
125770
|
-
const viewpoints = layerNode .getUserViewpoints ();
|
|
125846
|
+
const viewpoints = layerNode ?.getUserViewpoints ();
|
|
125771
125847
|
|
|
125772
|
-
if (viewpoints
|
|
125848
|
+
if (viewpoints ?.length)
|
|
125773
125849
|
this .bindViewpoint (layerNode, viewpoints .at (-1));
|
|
125774
125850
|
},
|
|
125775
125851
|
changeViewpoint (layerNode, name)
|
|
@@ -125782,17 +125858,11 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
125782
125858
|
|
|
125783
125859
|
layerNode = Base_X3DCast (Base_X3DConstants .X3DLayerNode, layerNode) ?? this .getActiveLayer ();
|
|
125784
125860
|
|
|
125785
|
-
|
|
125786
|
-
|
|
125787
|
-
|
|
125788
|
-
for (const viewpointNode of layerNode .getViewpoints () .get ())
|
|
125789
|
-
{
|
|
125790
|
-
if (viewpointNode .getName () !== name)
|
|
125791
|
-
continue;
|
|
125861
|
+
const viewpointNode = layerNode ?.getViewpoints () .get ()
|
|
125862
|
+
.find (viewpointNode => viewpointNode .getName () === name);
|
|
125792
125863
|
|
|
125864
|
+
if (viewpointNode)
|
|
125793
125865
|
this .bindViewpoint (layerNode, viewpointNode);
|
|
125794
|
-
break;
|
|
125795
|
-
}
|
|
125796
125866
|
},
|
|
125797
125867
|
bindViewpoint (layerNode, viewpointNode)
|
|
125798
125868
|
{
|
|
@@ -125968,7 +126038,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
125968
126038
|
x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
125969
126039
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
125970
126040
|
;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
|
|
125971
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
126041
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(439);
|
|
125972
126042
|
/*******************************************************************************
|
|
125973
126043
|
*
|
|
125974
126044
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -126075,6 +126145,8 @@ class X3DCanvasElement extends HTMLElement
|
|
|
126075
126145
|
"splashScreen",
|
|
126076
126146
|
"splashscreen",
|
|
126077
126147
|
"src",
|
|
126148
|
+
"textCompression",
|
|
126149
|
+
"textcompression",
|
|
126078
126150
|
"timings",
|
|
126079
126151
|
"toneMapping",
|
|
126080
126152
|
"tonemapping",
|
|
@@ -126118,8 +126190,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
|
|
|
126118
126190
|
x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
|
|
126119
126191
|
/* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
|
|
126120
126192
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
126121
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
126122
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
126193
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(439);
|
|
126194
|
+
/* provided dependency */ var pako = __webpack_require__(964);
|
|
126123
126195
|
Object .assign (jquery_$,
|
|
126124
126196
|
{
|
|
126125
126197
|
decodeText (input)
|
|
@@ -126196,14 +126268,14 @@ const jquery_default_ = jquery_$;
|
|
|
126196
126268
|
x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
|
|
126197
126269
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
126198
126270
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
126199
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
126271
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(12);
|
|
126200
126272
|
const libtess_default_ = libtess_libtess;
|
|
126201
126273
|
;
|
|
126202
126274
|
|
|
126203
126275
|
x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
|
|
126204
126276
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
126205
126277
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
126206
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
126278
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(439);
|
|
126207
126279
|
/*******************************************************************************
|
|
126208
126280
|
*
|
|
126209
126281
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -126511,7 +126583,7 @@ Object .assign (X3D,
|
|
|
126511
126583
|
|
|
126512
126584
|
// Assign X3D to global namespace.
|
|
126513
126585
|
|
|
126514
|
-
window [Symbol .for ("X_ITE.X3D-10.0
|
|
126586
|
+
window [Symbol .for ("X_ITE.X3D-10.1.0")] = x_ite_X3D;
|
|
126515
126587
|
|
|
126516
126588
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
126517
126589
|
|