x_ite 10.0.4 → 10.0.5
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/LICENSE.md +5 -5
- package/README.md +4 -4
- package/dist/LICENSE.md +5 -5
- package/dist/X3DUOM.xml +1 -0
- package/dist/assets/components/Annotation.js +13 -14
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +14 -15
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +25 -26
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +13 -14
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -10
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +18 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -34
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +23 -24
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -9
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +27 -28
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +23 -24
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +26 -27
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -19
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +17 -18
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +38 -39
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +24 -24
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjection.js +15 -16
- package/dist/assets/components/TextureProjection.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +27 -28
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +23 -23
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +19 -20
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/assets/lib/draco_decoder_gltf.js +1 -1
- package/dist/example.html +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +97 -124
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +97 -124
- package/dist/x_ite.zip +0 -0
- package/package.json +3 -3
package/dist/x_ite.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* X_ITE v10.0.
|
|
1
|
+
/* X_ITE v10.0.5 */var __webpack_modules__ = ({
|
|
2
2
|
|
|
3
|
-
/***/
|
|
3
|
+
/***/ 77:
|
|
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__(69);
|
|
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
|
+
/***/ 981:
|
|
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__(69)], __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
|
+
/***/ 69:
|
|
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
|
+
/***/ 350:
|
|
11152
11152
|
/***/ ((module) => {
|
|
11153
11153
|
|
|
11154
11154
|
/**
|
|
@@ -15927,7 +15927,7 @@ if (true) {
|
|
|
15927
15927
|
|
|
15928
15928
|
/***/ }),
|
|
15929
15929
|
|
|
15930
|
-
/***/
|
|
15930
|
+
/***/ 841:
|
|
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
|
+
/***/ 798:
|
|
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.0.5")];
|
|
20301
20301
|
|
|
20302
20302
|
if (X3D)
|
|
20303
20303
|
X3D [name] = module;
|
|
@@ -34263,7 +34263,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
34263
34263
|
x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
34264
34264
|
/* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
|
|
34265
34265
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
|
|
34266
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
34266
|
+
/* provided dependency */ var $ = __webpack_require__(69);
|
|
34267
34267
|
/*******************************************************************************
|
|
34268
34268
|
*
|
|
34269
34269
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -34400,7 +34400,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
|
|
|
34400
34400
|
*
|
|
34401
34401
|
******************************************************************************/
|
|
34402
34402
|
|
|
34403
|
-
const BROWSER_VERSION_default_ = "10.0.
|
|
34403
|
+
const BROWSER_VERSION_default_ = "10.0.5";
|
|
34404
34404
|
;
|
|
34405
34405
|
|
|
34406
34406
|
x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
|
|
@@ -37586,7 +37586,7 @@ const X3DBindableNode_default_ = X3DBindableNode;
|
|
|
37586
37586
|
x_ite_Namespace .add ("X3DBindableNode", "x_ite/Components/Core/X3DBindableNode", X3DBindableNode_default_);
|
|
37587
37587
|
/* harmony default export */ const Core_X3DBindableNode = (X3DBindableNode_default_);
|
|
37588
37588
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
37589
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
37589
|
+
/* provided dependency */ var libtess = __webpack_require__(350);
|
|
37590
37590
|
/*******************************************************************************
|
|
37591
37591
|
*
|
|
37592
37592
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -40156,7 +40156,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
40156
40156
|
x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
|
|
40157
40157
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
|
|
40158
40158
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
40159
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
40159
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(69);
|
|
40160
40160
|
/*******************************************************************************
|
|
40161
40161
|
*
|
|
40162
40162
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -40414,7 +40414,7 @@ const Expressions_default_ = Expressions;
|
|
|
40414
40414
|
x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
|
|
40415
40415
|
/* harmony default export */ const Parser_Expressions = (Expressions_default_);
|
|
40416
40416
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
|
|
40417
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
40417
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(69);
|
|
40418
40418
|
/*******************************************************************************
|
|
40419
40419
|
*
|
|
40420
40420
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -43114,7 +43114,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
43114
43114
|
x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
43115
43115
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
43116
43116
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
43117
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
43117
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(69);
|
|
43118
43118
|
/*******************************************************************************
|
|
43119
43119
|
*
|
|
43120
43120
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -45290,7 +45290,7 @@ const URLs_default_ = URLs;
|
|
|
45290
45290
|
x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
|
|
45291
45291
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
45292
45292
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
45293
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
45293
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(69);
|
|
45294
45294
|
/*******************************************************************************
|
|
45295
45295
|
*
|
|
45296
45296
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -48933,7 +48933,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
48933
48933
|
x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
48934
48934
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
48935
48935
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
48936
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
48936
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(69);
|
|
48937
48937
|
/*******************************************************************************
|
|
48938
48938
|
*
|
|
48939
48939
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -49085,7 +49085,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
49085
49085
|
x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
49086
49086
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
49087
49087
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
49088
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
49088
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(69);
|
|
49089
49089
|
/*******************************************************************************
|
|
49090
49090
|
*
|
|
49091
49091
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -50866,7 +50866,8 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
|
|
|
50866
50866
|
scene .setProfile (browser .getProfile ("Interchange"));
|
|
50867
50867
|
|
|
50868
50868
|
await browser .loadComponents (scene);
|
|
50869
|
-
|
|
50869
|
+
|
|
50870
|
+
this .processElements (this .header ([ ]))
|
|
50870
50871
|
|
|
50871
50872
|
// Create nodes.
|
|
50872
50873
|
|
|
@@ -51079,12 +51080,12 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
|
|
|
51079
51080
|
|
|
51080
51081
|
return false;
|
|
51081
51082
|
},
|
|
51082
|
-
|
|
51083
|
+
processElements (elements)
|
|
51083
51084
|
{
|
|
51084
51085
|
// console .log (elements)
|
|
51085
51086
|
|
|
51086
51087
|
for (const element of elements)
|
|
51087
|
-
|
|
51088
|
+
this .processElement (element);
|
|
51088
51089
|
|
|
51089
51090
|
if (!this .coord)
|
|
51090
51091
|
return;
|
|
@@ -51124,12 +51125,12 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
|
|
|
51124
51125
|
|
|
51125
51126
|
scene .rootNodes .push (shape);
|
|
51126
51127
|
},
|
|
51127
|
-
|
|
51128
|
+
processElement (element)
|
|
51128
51129
|
{
|
|
51129
51130
|
switch (element .name)
|
|
51130
51131
|
{
|
|
51131
51132
|
case "vertex":
|
|
51132
|
-
|
|
51133
|
+
this .parseVertices (element);
|
|
51133
51134
|
break;
|
|
51134
51135
|
case "face":
|
|
51135
51136
|
this .parseFaces (element);
|
|
@@ -51145,27 +51146,17 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
|
|
|
51145
51146
|
break;
|
|
51146
51147
|
}
|
|
51147
51148
|
},
|
|
51148
|
-
|
|
51149
|
+
parseVertices ({ count, properties })
|
|
51149
51150
|
{
|
|
51150
51151
|
const
|
|
51151
|
-
|
|
51152
|
-
|
|
51153
|
-
|
|
51154
|
-
|
|
51155
|
-
|
|
51156
|
-
|
|
51157
|
-
normals
|
|
51158
|
-
|
|
51159
|
-
points = [ ],
|
|
51160
|
-
attributes = new Map ();
|
|
51161
|
-
|
|
51162
|
-
for (const { name } of properties)
|
|
51163
|
-
{
|
|
51164
|
-
if (name .match (/^(?:red|green|blue|alpha|r|g|b|a|f_dc_0|f_dc_1|f_dc_2|opacity|s|t|u|v|nx|ny|nz|x|y|z)$/))
|
|
51165
|
-
continue;
|
|
51166
|
-
|
|
51167
|
-
attributes .set (name, [ ]);
|
|
51168
|
-
}
|
|
51152
|
+
scene = this .getScene (),
|
|
51153
|
+
texCoord = scene .createNode ("TextureCoordinate"),
|
|
51154
|
+
normal = scene .createNode ("Normal"),
|
|
51155
|
+
coord = scene .createNode ("Coordinate"),
|
|
51156
|
+
colors = [ ],
|
|
51157
|
+
texCoords = [ ],
|
|
51158
|
+
normals = [ ],
|
|
51159
|
+
points = [ ];
|
|
51169
51160
|
|
|
51170
51161
|
// console .time ("vertices")
|
|
51171
51162
|
|
|
@@ -51181,7 +51172,6 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
|
|
|
51181
51172
|
switch (name)
|
|
51182
51173
|
{
|
|
51183
51174
|
default:
|
|
51184
|
-
attributes .get (name) .push (this .value);
|
|
51185
51175
|
break;
|
|
51186
51176
|
case "red": case "green": case "blue": case "alpha":
|
|
51187
51177
|
case "r": case "g": case "b": case "a":
|
|
@@ -51210,26 +51200,6 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
|
|
|
51210
51200
|
|
|
51211
51201
|
// console .timeEnd ("vertices")
|
|
51212
51202
|
|
|
51213
|
-
// Attributes
|
|
51214
|
-
|
|
51215
|
-
if (attributes .size)
|
|
51216
|
-
{
|
|
51217
|
-
scene .addComponent (this .getBrowser () .getComponent ("Shaders", 1));
|
|
51218
|
-
|
|
51219
|
-
await browser .loadComponents (scene);
|
|
51220
|
-
|
|
51221
|
-
for (const [name, value] of attributes)
|
|
51222
|
-
{
|
|
51223
|
-
const floatVertexAttribute = scene .createNode ("FloatVertexAttribute");
|
|
51224
|
-
|
|
51225
|
-
floatVertexAttribute .name = name;
|
|
51226
|
-
floatVertexAttribute .numComponents = 1;
|
|
51227
|
-
floatVertexAttribute .value = value;
|
|
51228
|
-
|
|
51229
|
-
this .attrib .push (floatVertexAttribute);
|
|
51230
|
-
}
|
|
51231
|
-
}
|
|
51232
|
-
|
|
51233
51203
|
// Geometric properties
|
|
51234
51204
|
|
|
51235
51205
|
const
|
|
@@ -52460,8 +52430,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
52460
52430
|
x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
|
|
52461
52431
|
/* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
|
|
52462
52432
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
52463
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
52464
|
-
/* provided dependency */ var SVGParser_libtess = __webpack_require__(
|
|
52433
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(69);
|
|
52434
|
+
/* provided dependency */ var SVGParser_libtess = __webpack_require__(350);
|
|
52465
52435
|
/*******************************************************************************
|
|
52466
52436
|
*
|
|
52467
52437
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -55232,7 +55202,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
55232
55202
|
x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
|
|
55233
55203
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
55234
55204
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
55235
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
55205
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(69);
|
|
55236
55206
|
/*******************************************************************************
|
|
55237
55207
|
*
|
|
55238
55208
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -57689,8 +57659,8 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57689
57659
|
|
|
57690
57660
|
// Clip planes and local lights
|
|
57691
57661
|
|
|
57692
|
-
X3DRenderObject_assign (renderContext .localObjects,
|
|
57693
|
-
X3DRenderObject_assign (renderContext .
|
|
57662
|
+
X3DRenderObject_assign (renderContext .localObjects, this .localObjects); // Fog, ClipPane, X3DLightNode
|
|
57663
|
+
X3DRenderObject_assign (renderContext .localObjectsKeys, this .localObjectsKeys);
|
|
57694
57664
|
|
|
57695
57665
|
return true;
|
|
57696
57666
|
}
|
|
@@ -57706,7 +57676,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57706
57676
|
modelViewMatrix: new Float32Array (16),
|
|
57707
57677
|
scissor: new Numbers_Vector4 (),
|
|
57708
57678
|
localObjects: [ ],
|
|
57709
|
-
|
|
57679
|
+
localObjectsKeys: [ ], // [clip planes, lights]
|
|
57710
57680
|
};
|
|
57711
57681
|
},
|
|
57712
57682
|
pointing: (() =>
|
|
@@ -61764,7 +61734,7 @@ function GeometryContext (options = { })
|
|
|
61764
61734
|
hasNormals: false,
|
|
61765
61735
|
hasTangents: false,
|
|
61766
61736
|
textureNode: null,
|
|
61767
|
-
|
|
61737
|
+
localObjectsKeys: [ ],
|
|
61768
61738
|
textureCoordinateMapping: new Map (),
|
|
61769
61739
|
textureCoordinateNode: null,
|
|
61770
61740
|
},
|
|
@@ -62009,7 +61979,7 @@ function X3DBackgroundNode (executionContext)
|
|
|
62009
61979
|
this .textureNodes = new Array (6);
|
|
62010
61980
|
this .textureBits = new Utility_BitSet ();
|
|
62011
61981
|
this .sphereContext = new Rendering_GeometryContext ({ colorMaterial: true });
|
|
62012
|
-
this .texturesContext = new Rendering_GeometryContext ({
|
|
61982
|
+
this .texturesContext = new Rendering_GeometryContext ({ localObjectsKeys: this .sphereContext .localObjectsKeys});
|
|
62013
61983
|
}
|
|
62014
61984
|
|
|
62015
61985
|
Object .assign (Object .setPrototypeOf (X3DBackgroundNode .prototype, Core_X3DBindableNode .prototype),
|
|
@@ -62360,9 +62330,9 @@ Object .assign (Object .setPrototypeOf (X3DBackgroundNode .prototype, Core_X3DBi
|
|
|
62360
62330
|
case Rendering_TraverseType .DISPLAY:
|
|
62361
62331
|
{
|
|
62362
62332
|
const
|
|
62363
|
-
localObjects
|
|
62364
|
-
clipPlanes
|
|
62365
|
-
|
|
62333
|
+
localObjects = renderObject .getLocalObjects (),
|
|
62334
|
+
clipPlanes = this .clipPlanes,
|
|
62335
|
+
localObjectsKeys = this .sphereContext .localObjectsKeys;
|
|
62366
62336
|
|
|
62367
62337
|
let c = 0;
|
|
62368
62338
|
|
|
@@ -62372,9 +62342,9 @@ Object .assign (Object .setPrototypeOf (X3DBackgroundNode .prototype, Core_X3DBi
|
|
|
62372
62342
|
clipPlanes [c ++] = localObject;
|
|
62373
62343
|
}
|
|
62374
62344
|
|
|
62375
|
-
clipPlanes
|
|
62376
|
-
|
|
62377
|
-
|
|
62345
|
+
clipPlanes .length = c;
|
|
62346
|
+
localObjectsKeys .length = c;
|
|
62347
|
+
localObjectsKeys .fill (0);
|
|
62378
62348
|
return;
|
|
62379
62349
|
}
|
|
62380
62350
|
}
|
|
@@ -63200,7 +63170,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
63200
63170
|
x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
63201
63171
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
63202
63172
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
63203
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
63173
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(69);
|
|
63204
63174
|
/*******************************************************************************
|
|
63205
63175
|
*
|
|
63206
63176
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -66784,7 +66754,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
66784
66754
|
x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
66785
66755
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
66786
66756
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
66787
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
66757
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(69);
|
|
66788
66758
|
/*******************************************************************************
|
|
66789
66759
|
*
|
|
66790
66760
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -67718,7 +67688,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
|
|
|
67718
67688
|
x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
|
|
67719
67689
|
/* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
|
|
67720
67690
|
;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
|
|
67721
|
-
/* provided dependency */ var X3DRoute_$ = __webpack_require__(
|
|
67691
|
+
/* provided dependency */ var X3DRoute_$ = __webpack_require__(69);
|
|
67722
67692
|
/*******************************************************************************
|
|
67723
67693
|
*
|
|
67724
67694
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -91268,7 +91238,7 @@ mediump samplerCube textureCube;
|
|
|
91268
91238
|
x_ite_Namespace .add ("MaterialTextures", "assets/shaders/MaterialTextures", MaterialTextures_default_);
|
|
91269
91239
|
/* harmony default export */ const MaterialTextures = (MaterialTextures_default_);
|
|
91270
91240
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
91271
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
91241
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(69);
|
|
91272
91242
|
/*******************************************************************************
|
|
91273
91243
|
*
|
|
91274
91244
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -96721,7 +96691,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
96721
96691
|
x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
96722
96692
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
96723
96693
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
96724
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
96694
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(69);
|
|
96725
96695
|
/*******************************************************************************
|
|
96726
96696
|
*
|
|
96727
96697
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -97392,7 +97362,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
|
|
|
97392
97362
|
x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
|
|
97393
97363
|
/* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
|
|
97394
97364
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
|
|
97395
|
-
/* provided dependency */ var Appearance_$ = __webpack_require__(
|
|
97365
|
+
/* provided dependency */ var Appearance_$ = __webpack_require__(69);
|
|
97396
97366
|
/*******************************************************************************
|
|
97397
97367
|
*
|
|
97398
97368
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -98344,7 +98314,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
|
|
|
98344
98314
|
|
|
98345
98315
|
if (renderContext)
|
|
98346
98316
|
{
|
|
98347
|
-
const { renderObject, shadows, fogNode, shapeNode, appearanceNode, textureNode, humanoidNode,
|
|
98317
|
+
const { renderObject, shadows, fogNode, shapeNode, appearanceNode, textureNode, humanoidNode, localObjectsKeys } = renderContext;
|
|
98348
98318
|
|
|
98349
98319
|
key += shapeNode .getAlphaMode ();
|
|
98350
98320
|
key += renderObject .getRenderAndGlobalLightsKey ();
|
|
@@ -98355,7 +98325,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
|
|
|
98355
98325
|
key += appearanceNode .getTextureTransformMapping () .size || 1;
|
|
98356
98326
|
key += geometryContext .textureCoordinateMapping .size || 1;
|
|
98357
98327
|
key += humanoidNode ?.getHumanoidKey () ?? "[]";
|
|
98358
|
-
key +=
|
|
98328
|
+
key += localObjectsKeys .sort () .join (""); // ClipPlane, X3DLightNode
|
|
98359
98329
|
key += ".";
|
|
98360
98330
|
key += textureNode ? 2 : appearanceNode .getTextureBits () .toString (16);
|
|
98361
98331
|
}
|
|
@@ -98363,13 +98333,13 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
|
|
|
98363
98333
|
{
|
|
98364
98334
|
// Rubberband, X3DBackgroundNode
|
|
98365
98335
|
|
|
98366
|
-
const { renderObject, alphaMode, textureNode,
|
|
98336
|
+
const { renderObject, alphaMode, textureNode, localObjectsKeys } = geometryContext;
|
|
98367
98337
|
|
|
98368
98338
|
key += alphaMode;
|
|
98369
98339
|
key += ".";
|
|
98370
98340
|
key += renderObject .getRenderKey ();
|
|
98371
98341
|
key += "..000011[]";
|
|
98372
|
-
key +=
|
|
98342
|
+
key += localObjectsKeys .sort () .join (""); // ClipPlane
|
|
98373
98343
|
key += ".";
|
|
98374
98344
|
key += textureNode ?.getTextureBits () .toString (16) ?? 0;
|
|
98375
98345
|
}
|
|
@@ -98424,7 +98394,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
|
|
|
98424
98394
|
|
|
98425
98395
|
if (renderContext)
|
|
98426
98396
|
{
|
|
98427
|
-
const { renderObject, fogNode, shapeNode, appearanceNode, humanoidNode,
|
|
98397
|
+
const { renderObject, fogNode, shapeNode, appearanceNode, humanoidNode, localObjectsKeys, textureNode } = renderContext;
|
|
98428
98398
|
|
|
98429
98399
|
const objectsKeys = localObjectsKeys .concat (renderObject .getGlobalLightsKeys ());
|
|
98430
98400
|
|
|
@@ -98560,7 +98530,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
|
|
|
98560
98530
|
}
|
|
98561
98531
|
else
|
|
98562
98532
|
{
|
|
98563
|
-
const { renderObject, alphaMode,
|
|
98533
|
+
const { renderObject, alphaMode, localObjectsKeys, textureNode } = geometryContext;
|
|
98564
98534
|
|
|
98565
98535
|
if (renderObject .getLogarithmicDepthBuffer ())
|
|
98566
98536
|
options .push ("X3D_LOGARITHMIC_DEPTH_BUFFER");
|
|
@@ -98588,7 +98558,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
|
|
|
98588
98558
|
}
|
|
98589
98559
|
}
|
|
98590
98560
|
|
|
98591
|
-
const numClipPlanes =
|
|
98561
|
+
const numClipPlanes = localObjectsKeys .reduce ((a, c) => a + (c === 0), 0);
|
|
98592
98562
|
|
|
98593
98563
|
if (numClipPlanes)
|
|
98594
98564
|
{
|
|
@@ -106316,8 +106286,8 @@ const GifMedia_default_ = GifMedia;
|
|
|
106316
106286
|
x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
|
|
106317
106287
|
/* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
|
|
106318
106288
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
106319
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
106320
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
106289
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(69);
|
|
106290
|
+
/* provided dependency */ var SuperGif = __webpack_require__(798);
|
|
106321
106291
|
/*******************************************************************************
|
|
106322
106292
|
*
|
|
106323
106293
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -109649,7 +109619,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
|
|
|
109649
109619
|
x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
|
|
109650
109620
|
/* harmony default export */ const gettext = (gettext_default_);
|
|
109651
109621
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
109652
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
109622
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(69);
|
|
109653
109623
|
/*******************************************************************************
|
|
109654
109624
|
*
|
|
109655
109625
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110222,7 +110192,7 @@ const TextureQuality_default_ = TextureQuality;
|
|
|
110222
110192
|
x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
|
|
110223
110193
|
/* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
|
|
110224
110194
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
110225
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
110195
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(69);
|
|
110226
110196
|
/*******************************************************************************
|
|
110227
110197
|
*
|
|
110228
110198
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110843,7 +110813,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
110843
110813
|
x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
110844
110814
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
110845
110815
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
110846
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
110816
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(69);
|
|
110847
110817
|
/*******************************************************************************
|
|
110848
110818
|
*
|
|
110849
110819
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110966,8 +110936,8 @@ const Notification_default_ = Notification;
|
|
|
110966
110936
|
x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
|
|
110967
110937
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
110968
110938
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
110969
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
110970
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
110939
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(77);
|
|
110940
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(69);
|
|
110971
110941
|
/*******************************************************************************
|
|
110972
110942
|
*
|
|
110973
110943
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -113720,7 +113690,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
113720
113690
|
x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
|
|
113721
113691
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
113722
113692
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
113723
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
113693
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(69);
|
|
113724
113694
|
/*******************************************************************************
|
|
113725
113695
|
*
|
|
113726
113696
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116300,8 +116270,8 @@ const X3DViewer_default_ = X3DViewer;
|
|
|
116300
116270
|
x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
|
|
116301
116271
|
/* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
|
|
116302
116272
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
116303
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
116304
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
116273
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(981);
|
|
116274
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(69);
|
|
116305
116275
|
/*******************************************************************************
|
|
116306
116276
|
*
|
|
116307
116277
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -117217,8 +117187,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
117217
117187
|
x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
117218
117188
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
117219
117189
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
117220
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
117221
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
117190
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(981);
|
|
117191
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(69);
|
|
117222
117192
|
/*******************************************************************************
|
|
117223
117193
|
*
|
|
117224
117194
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118233,8 +118203,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
118233
118203
|
x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
118234
118204
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
118235
118205
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
118236
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
118237
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
118206
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(981);
|
|
118207
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(69);
|
|
118238
118208
|
/*******************************************************************************
|
|
118239
118209
|
*
|
|
118240
118210
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118565,8 +118535,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
118565
118535
|
x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
118566
118536
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
118567
118537
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
118568
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
118569
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
118538
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(981);
|
|
118539
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(69);
|
|
118570
118540
|
/*******************************************************************************
|
|
118571
118541
|
*
|
|
118572
118542
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -119705,8 +119675,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
119705
119675
|
x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
119706
119676
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
119707
119677
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
119708
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
119709
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
119678
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(981);
|
|
119679
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(69);
|
|
119710
119680
|
/*******************************************************************************
|
|
119711
119681
|
*
|
|
119712
119682
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -121007,7 +120977,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
121007
120977
|
x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
121008
120978
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
121009
120979
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
121010
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
120980
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(69);
|
|
121011
120981
|
/*******************************************************************************
|
|
121012
120982
|
*
|
|
121013
120983
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -121074,12 +121044,11 @@ const
|
|
|
121074
121044
|
|
|
121075
121045
|
function X3DRenderingContext ()
|
|
121076
121046
|
{
|
|
121077
|
-
|
|
121078
121047
|
this .addChildObjects (Base_X3DConstants .outputOnly, "viewport", new x_ite_Fields .MFInt32 (0, 0, 300, 150));
|
|
121079
121048
|
|
|
121080
121049
|
this [_frameBuffer] = new Rendering_MultiSampleFrameBuffer (this, 300, 150, 4);
|
|
121081
|
-
this [_localObjects] = [ ]; // shader objects dumpster
|
|
121082
121050
|
this [_depthShaders] = new Map ();
|
|
121051
|
+
this [_localObjects] = [ ]; // shader objects dumpster
|
|
121083
121052
|
}
|
|
121084
121053
|
|
|
121085
121054
|
Object .assign (X3DRenderingContext .prototype,
|
|
@@ -121287,14 +121256,18 @@ Object .assign (X3DRenderingContext .prototype,
|
|
|
121287
121256
|
{
|
|
121288
121257
|
return new Promise (resolve =>
|
|
121289
121258
|
{
|
|
121290
|
-
const
|
|
121259
|
+
const
|
|
121260
|
+
contentScale = this .getRenderingProperty ("ContentScale"),
|
|
121261
|
+
viewportWidth = Math .max (width * contentScale, 1),
|
|
121262
|
+
viewportHeight = Math .max (height * contentScale, 1),
|
|
121263
|
+
key = Symbol ();
|
|
121291
121264
|
|
|
121292
121265
|
const test = () =>
|
|
121293
121266
|
{
|
|
121294
|
-
if (this ._viewport [2] !==
|
|
121267
|
+
if (this ._viewport [2] !== viewportWidth)
|
|
121295
121268
|
return;
|
|
121296
121269
|
|
|
121297
|
-
if (this ._viewport [
|
|
121270
|
+
if (this ._viewport [3] !== viewportHeight)
|
|
121298
121271
|
return;
|
|
121299
121272
|
|
|
121300
121273
|
this ._viewport .removeFieldCallback (key);
|
|
@@ -122011,7 +121984,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
|
|
|
122011
121984
|
x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
|
|
122012
121985
|
/* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
|
|
122013
121986
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
122014
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
121987
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(69);
|
|
122015
121988
|
const KTXDecoder_default_ = class KTXDecoder
|
|
122016
121989
|
{
|
|
122017
121990
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -123625,7 +123598,7 @@ const Components_default_ = Components;
|
|
|
123625
123598
|
x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
|
|
123626
123599
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
123627
123600
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
123628
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
123601
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(69);
|
|
123629
123602
|
/*******************************************************************************
|
|
123630
123603
|
* MIT License
|
|
123631
123604
|
*
|
|
@@ -124893,7 +124866,7 @@ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x
|
|
|
124893
124866
|
x_ite_Namespace .add ("FieldTypes", "x_ite/Configuration/FieldTypes", FieldTypes_default_);
|
|
124894
124867
|
/* harmony default export */ const FieldTypes = (FieldTypes_default_);
|
|
124895
124868
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
124896
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
124869
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(69);
|
|
124897
124870
|
/*******************************************************************************
|
|
124898
124871
|
*
|
|
124899
124872
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -125995,7 +125968,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
125995
125968
|
x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
125996
125969
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
125997
125970
|
;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
|
|
125998
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
125971
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(69);
|
|
125999
125972
|
/*******************************************************************************
|
|
126000
125973
|
*
|
|
126001
125974
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -126145,8 +126118,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
|
|
|
126145
126118
|
x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
|
|
126146
126119
|
/* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
|
|
126147
126120
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
126148
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
126149
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
126121
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(69);
|
|
126122
|
+
/* provided dependency */ var pako = __webpack_require__(841);
|
|
126150
126123
|
Object .assign (jquery_$,
|
|
126151
126124
|
{
|
|
126152
126125
|
decodeText (input)
|
|
@@ -126223,14 +126196,14 @@ const jquery_default_ = jquery_$;
|
|
|
126223
126196
|
x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
|
|
126224
126197
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
126225
126198
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
126226
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
126199
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(350);
|
|
126227
126200
|
const libtess_default_ = libtess_libtess;
|
|
126228
126201
|
;
|
|
126229
126202
|
|
|
126230
126203
|
x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
|
|
126231
126204
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
126232
126205
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
126233
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
126206
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(69);
|
|
126234
126207
|
/*******************************************************************************
|
|
126235
126208
|
*
|
|
126236
126209
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -126538,7 +126511,7 @@ Object .assign (X3D,
|
|
|
126538
126511
|
|
|
126539
126512
|
// Assign X3D to global namespace.
|
|
126540
126513
|
|
|
126541
|
-
window [Symbol .for ("X_ITE.X3D-10.0.
|
|
126514
|
+
window [Symbol .for ("X_ITE.X3D-10.0.5")] = x_ite_X3D;
|
|
126542
126515
|
|
|
126543
126516
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
126544
126517
|
|