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.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v10.0.
|
|
1
|
+
/* X_ITE v10.0.5 */(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = factory();
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
14
|
-
/***/
|
|
14
|
+
/***/ 77:
|
|
15
15
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
16
16
|
|
|
17
|
-
/* provided dependency */ var jQuery = __webpack_require__(
|
|
17
|
+
/* provided dependency */ var jQuery = __webpack_require__(69);
|
|
18
18
|
/**
|
|
19
19
|
* @preserve jquery.fullscreen 1.1.5
|
|
20
20
|
* https://github.com/code-lts/jquery-fullscreen-plugin
|
|
@@ -210,7 +210,7 @@ installFullScreenHandlers();
|
|
|
210
210
|
|
|
211
211
|
/***/ }),
|
|
212
212
|
|
|
213
|
-
/***/
|
|
213
|
+
/***/ 981:
|
|
214
214
|
/***/ ((module, exports, __webpack_require__) => {
|
|
215
215
|
|
|
216
216
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -224,7 +224,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
224
224
|
(function (factory) {
|
|
225
225
|
if ( true ) {
|
|
226
226
|
// AMD. Register as an anonymous module.
|
|
227
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
|
|
227
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(69)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
228
228
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
229
229
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
230
230
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
@@ -435,7 +435,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
435
435
|
|
|
436
436
|
/***/ }),
|
|
437
437
|
|
|
438
|
-
/***/
|
|
438
|
+
/***/ 69:
|
|
439
439
|
/***/ (function(module, exports) {
|
|
440
440
|
|
|
441
441
|
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -11159,7 +11159,7 @@ return jQuery;
|
|
|
11159
11159
|
|
|
11160
11160
|
/***/ }),
|
|
11161
11161
|
|
|
11162
|
-
/***/
|
|
11162
|
+
/***/ 350:
|
|
11163
11163
|
/***/ ((module) => {
|
|
11164
11164
|
|
|
11165
11165
|
/**
|
|
@@ -15938,7 +15938,7 @@ if (true) {
|
|
|
15938
15938
|
|
|
15939
15939
|
/***/ }),
|
|
15940
15940
|
|
|
15941
|
-
/***/
|
|
15941
|
+
/***/ 841:
|
|
15942
15942
|
/***/ (function(__unused_webpack_module, exports) {
|
|
15943
15943
|
|
|
15944
15944
|
|
|
@@ -19183,7 +19183,7 @@ if (true) {
|
|
|
19183
19183
|
|
|
19184
19184
|
/***/ }),
|
|
19185
19185
|
|
|
19186
|
-
/***/
|
|
19186
|
+
/***/ 798:
|
|
19187
19187
|
/***/ (function(module, exports) {
|
|
19188
19188
|
|
|
19189
19189
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
|
|
@@ -20311,7 +20311,7 @@ Object .defineProperty (Namespace, "add",
|
|
|
20311
20311
|
}
|
|
20312
20312
|
else
|
|
20313
20313
|
{
|
|
20314
|
-
const X3D = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
20314
|
+
const X3D = window [Symbol .for ("X_ITE.X3D-10.0.5")];
|
|
20315
20315
|
|
|
20316
20316
|
if (X3D)
|
|
20317
20317
|
X3D [name] = module;
|
|
@@ -34277,7 +34277,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
34277
34277
|
x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
34278
34278
|
/* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
|
|
34279
34279
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
|
|
34280
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
34280
|
+
/* provided dependency */ var $ = __webpack_require__(69);
|
|
34281
34281
|
/*******************************************************************************
|
|
34282
34282
|
*
|
|
34283
34283
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -34414,7 +34414,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
|
|
|
34414
34414
|
*
|
|
34415
34415
|
******************************************************************************/
|
|
34416
34416
|
|
|
34417
|
-
const BROWSER_VERSION_default_ = "10.0.
|
|
34417
|
+
const BROWSER_VERSION_default_ = "10.0.5";
|
|
34418
34418
|
;
|
|
34419
34419
|
|
|
34420
34420
|
x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
|
|
@@ -37600,7 +37600,7 @@ const X3DBindableNode_default_ = X3DBindableNode;
|
|
|
37600
37600
|
x_ite_Namespace .add ("X3DBindableNode", "x_ite/Components/Core/X3DBindableNode", X3DBindableNode_default_);
|
|
37601
37601
|
/* harmony default export */ const Core_X3DBindableNode = (X3DBindableNode_default_);
|
|
37602
37602
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
37603
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
37603
|
+
/* provided dependency */ var libtess = __webpack_require__(350);
|
|
37604
37604
|
/*******************************************************************************
|
|
37605
37605
|
*
|
|
37606
37606
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -40170,7 +40170,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
40170
40170
|
x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
|
|
40171
40171
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
|
|
40172
40172
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
40173
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
40173
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(69);
|
|
40174
40174
|
/*******************************************************************************
|
|
40175
40175
|
*
|
|
40176
40176
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -40428,7 +40428,7 @@ const Expressions_default_ = Expressions;
|
|
|
40428
40428
|
x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
|
|
40429
40429
|
/* harmony default export */ const Parser_Expressions = (Expressions_default_);
|
|
40430
40430
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
|
|
40431
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
40431
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(69);
|
|
40432
40432
|
/*******************************************************************************
|
|
40433
40433
|
*
|
|
40434
40434
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -43128,7 +43128,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
43128
43128
|
x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
43129
43129
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
43130
43130
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
43131
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
43131
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(69);
|
|
43132
43132
|
/*******************************************************************************
|
|
43133
43133
|
*
|
|
43134
43134
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -45304,7 +45304,7 @@ const URLs_default_ = URLs;
|
|
|
45304
45304
|
x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
|
|
45305
45305
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
45306
45306
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
45307
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
45307
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(69);
|
|
45308
45308
|
/*******************************************************************************
|
|
45309
45309
|
*
|
|
45310
45310
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -48947,7 +48947,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
48947
48947
|
x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
48948
48948
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
48949
48949
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
48950
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
48950
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(69);
|
|
48951
48951
|
/*******************************************************************************
|
|
48952
48952
|
*
|
|
48953
48953
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -49099,7 +49099,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
49099
49099
|
x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
49100
49100
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
49101
49101
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
49102
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
49102
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(69);
|
|
49103
49103
|
/*******************************************************************************
|
|
49104
49104
|
*
|
|
49105
49105
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -50880,7 +50880,8 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
|
|
|
50880
50880
|
scene .setProfile (browser .getProfile ("Interchange"));
|
|
50881
50881
|
|
|
50882
50882
|
await browser .loadComponents (scene);
|
|
50883
|
-
|
|
50883
|
+
|
|
50884
|
+
this .processElements (this .header ([ ]))
|
|
50884
50885
|
|
|
50885
50886
|
// Create nodes.
|
|
50886
50887
|
|
|
@@ -51093,12 +51094,12 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
|
|
|
51093
51094
|
|
|
51094
51095
|
return false;
|
|
51095
51096
|
},
|
|
51096
|
-
|
|
51097
|
+
processElements (elements)
|
|
51097
51098
|
{
|
|
51098
51099
|
// console .log (elements)
|
|
51099
51100
|
|
|
51100
51101
|
for (const element of elements)
|
|
51101
|
-
|
|
51102
|
+
this .processElement (element);
|
|
51102
51103
|
|
|
51103
51104
|
if (!this .coord)
|
|
51104
51105
|
return;
|
|
@@ -51138,12 +51139,12 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
|
|
|
51138
51139
|
|
|
51139
51140
|
scene .rootNodes .push (shape);
|
|
51140
51141
|
},
|
|
51141
|
-
|
|
51142
|
+
processElement (element)
|
|
51142
51143
|
{
|
|
51143
51144
|
switch (element .name)
|
|
51144
51145
|
{
|
|
51145
51146
|
case "vertex":
|
|
51146
|
-
|
|
51147
|
+
this .parseVertices (element);
|
|
51147
51148
|
break;
|
|
51148
51149
|
case "face":
|
|
51149
51150
|
this .parseFaces (element);
|
|
@@ -51159,27 +51160,17 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
|
|
|
51159
51160
|
break;
|
|
51160
51161
|
}
|
|
51161
51162
|
},
|
|
51162
|
-
|
|
51163
|
+
parseVertices ({ count, properties })
|
|
51163
51164
|
{
|
|
51164
51165
|
const
|
|
51165
|
-
|
|
51166
|
-
|
|
51167
|
-
|
|
51168
|
-
|
|
51169
|
-
|
|
51170
|
-
|
|
51171
|
-
normals
|
|
51172
|
-
|
|
51173
|
-
points = [ ],
|
|
51174
|
-
attributes = new Map ();
|
|
51175
|
-
|
|
51176
|
-
for (const { name } of properties)
|
|
51177
|
-
{
|
|
51178
|
-
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)$/))
|
|
51179
|
-
continue;
|
|
51180
|
-
|
|
51181
|
-
attributes .set (name, [ ]);
|
|
51182
|
-
}
|
|
51166
|
+
scene = this .getScene (),
|
|
51167
|
+
texCoord = scene .createNode ("TextureCoordinate"),
|
|
51168
|
+
normal = scene .createNode ("Normal"),
|
|
51169
|
+
coord = scene .createNode ("Coordinate"),
|
|
51170
|
+
colors = [ ],
|
|
51171
|
+
texCoords = [ ],
|
|
51172
|
+
normals = [ ],
|
|
51173
|
+
points = [ ];
|
|
51183
51174
|
|
|
51184
51175
|
// console .time ("vertices")
|
|
51185
51176
|
|
|
@@ -51195,7 +51186,6 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
|
|
|
51195
51186
|
switch (name)
|
|
51196
51187
|
{
|
|
51197
51188
|
default:
|
|
51198
|
-
attributes .get (name) .push (this .value);
|
|
51199
51189
|
break;
|
|
51200
51190
|
case "red": case "green": case "blue": case "alpha":
|
|
51201
51191
|
case "r": case "g": case "b": case "a":
|
|
@@ -51224,26 +51214,6 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
|
|
|
51224
51214
|
|
|
51225
51215
|
// console .timeEnd ("vertices")
|
|
51226
51216
|
|
|
51227
|
-
// Attributes
|
|
51228
|
-
|
|
51229
|
-
if (attributes .size)
|
|
51230
|
-
{
|
|
51231
|
-
scene .addComponent (this .getBrowser () .getComponent ("Shaders", 1));
|
|
51232
|
-
|
|
51233
|
-
await browser .loadComponents (scene);
|
|
51234
|
-
|
|
51235
|
-
for (const [name, value] of attributes)
|
|
51236
|
-
{
|
|
51237
|
-
const floatVertexAttribute = scene .createNode ("FloatVertexAttribute");
|
|
51238
|
-
|
|
51239
|
-
floatVertexAttribute .name = name;
|
|
51240
|
-
floatVertexAttribute .numComponents = 1;
|
|
51241
|
-
floatVertexAttribute .value = value;
|
|
51242
|
-
|
|
51243
|
-
this .attrib .push (floatVertexAttribute);
|
|
51244
|
-
}
|
|
51245
|
-
}
|
|
51246
|
-
|
|
51247
51217
|
// Geometric properties
|
|
51248
51218
|
|
|
51249
51219
|
const
|
|
@@ -52474,8 +52444,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
52474
52444
|
x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
|
|
52475
52445
|
/* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
|
|
52476
52446
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
52477
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
52478
|
-
/* provided dependency */ var SVGParser_libtess = __webpack_require__(
|
|
52447
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(69);
|
|
52448
|
+
/* provided dependency */ var SVGParser_libtess = __webpack_require__(350);
|
|
52479
52449
|
/*******************************************************************************
|
|
52480
52450
|
*
|
|
52481
52451
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -55246,7 +55216,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
55246
55216
|
x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
|
|
55247
55217
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
55248
55218
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
55249
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
55219
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(69);
|
|
55250
55220
|
/*******************************************************************************
|
|
55251
55221
|
*
|
|
55252
55222
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -57703,8 +57673,8 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57703
57673
|
|
|
57704
57674
|
// Clip planes and local lights
|
|
57705
57675
|
|
|
57706
|
-
X3DRenderObject_assign (renderContext .localObjects,
|
|
57707
|
-
X3DRenderObject_assign (renderContext .
|
|
57676
|
+
X3DRenderObject_assign (renderContext .localObjects, this .localObjects); // Fog, ClipPane, X3DLightNode
|
|
57677
|
+
X3DRenderObject_assign (renderContext .localObjectsKeys, this .localObjectsKeys);
|
|
57708
57678
|
|
|
57709
57679
|
return true;
|
|
57710
57680
|
}
|
|
@@ -57720,7 +57690,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57720
57690
|
modelViewMatrix: new Float32Array (16),
|
|
57721
57691
|
scissor: new Numbers_Vector4 (),
|
|
57722
57692
|
localObjects: [ ],
|
|
57723
|
-
|
|
57693
|
+
localObjectsKeys: [ ], // [clip planes, lights]
|
|
57724
57694
|
};
|
|
57725
57695
|
},
|
|
57726
57696
|
pointing: (() =>
|
|
@@ -61778,7 +61748,7 @@ function GeometryContext (options = { })
|
|
|
61778
61748
|
hasNormals: false,
|
|
61779
61749
|
hasTangents: false,
|
|
61780
61750
|
textureNode: null,
|
|
61781
|
-
|
|
61751
|
+
localObjectsKeys: [ ],
|
|
61782
61752
|
textureCoordinateMapping: new Map (),
|
|
61783
61753
|
textureCoordinateNode: null,
|
|
61784
61754
|
},
|
|
@@ -62023,7 +61993,7 @@ function X3DBackgroundNode (executionContext)
|
|
|
62023
61993
|
this .textureNodes = new Array (6);
|
|
62024
61994
|
this .textureBits = new Utility_BitSet ();
|
|
62025
61995
|
this .sphereContext = new Rendering_GeometryContext ({ colorMaterial: true });
|
|
62026
|
-
this .texturesContext = new Rendering_GeometryContext ({
|
|
61996
|
+
this .texturesContext = new Rendering_GeometryContext ({ localObjectsKeys: this .sphereContext .localObjectsKeys});
|
|
62027
61997
|
}
|
|
62028
61998
|
|
|
62029
61999
|
Object .assign (Object .setPrototypeOf (X3DBackgroundNode .prototype, Core_X3DBindableNode .prototype),
|
|
@@ -62374,9 +62344,9 @@ Object .assign (Object .setPrototypeOf (X3DBackgroundNode .prototype, Core_X3DBi
|
|
|
62374
62344
|
case Rendering_TraverseType .DISPLAY:
|
|
62375
62345
|
{
|
|
62376
62346
|
const
|
|
62377
|
-
localObjects
|
|
62378
|
-
clipPlanes
|
|
62379
|
-
|
|
62347
|
+
localObjects = renderObject .getLocalObjects (),
|
|
62348
|
+
clipPlanes = this .clipPlanes,
|
|
62349
|
+
localObjectsKeys = this .sphereContext .localObjectsKeys;
|
|
62380
62350
|
|
|
62381
62351
|
let c = 0;
|
|
62382
62352
|
|
|
@@ -62386,9 +62356,9 @@ Object .assign (Object .setPrototypeOf (X3DBackgroundNode .prototype, Core_X3DBi
|
|
|
62386
62356
|
clipPlanes [c ++] = localObject;
|
|
62387
62357
|
}
|
|
62388
62358
|
|
|
62389
|
-
clipPlanes
|
|
62390
|
-
|
|
62391
|
-
|
|
62359
|
+
clipPlanes .length = c;
|
|
62360
|
+
localObjectsKeys .length = c;
|
|
62361
|
+
localObjectsKeys .fill (0);
|
|
62392
62362
|
return;
|
|
62393
62363
|
}
|
|
62394
62364
|
}
|
|
@@ -63214,7 +63184,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
63214
63184
|
x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
63215
63185
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
63216
63186
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
63217
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
63187
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(69);
|
|
63218
63188
|
/*******************************************************************************
|
|
63219
63189
|
*
|
|
63220
63190
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -66798,7 +66768,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
66798
66768
|
x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
66799
66769
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
66800
66770
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
66801
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
66771
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(69);
|
|
66802
66772
|
/*******************************************************************************
|
|
66803
66773
|
*
|
|
66804
66774
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -67732,7 +67702,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
|
|
|
67732
67702
|
x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
|
|
67733
67703
|
/* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
|
|
67734
67704
|
;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
|
|
67735
|
-
/* provided dependency */ var X3DRoute_$ = __webpack_require__(
|
|
67705
|
+
/* provided dependency */ var X3DRoute_$ = __webpack_require__(69);
|
|
67736
67706
|
/*******************************************************************************
|
|
67737
67707
|
*
|
|
67738
67708
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -91282,7 +91252,7 @@ mediump samplerCube textureCube;
|
|
|
91282
91252
|
x_ite_Namespace .add ("MaterialTextures", "assets/shaders/MaterialTextures", MaterialTextures_default_);
|
|
91283
91253
|
/* harmony default export */ const MaterialTextures = (MaterialTextures_default_);
|
|
91284
91254
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
91285
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
91255
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(69);
|
|
91286
91256
|
/*******************************************************************************
|
|
91287
91257
|
*
|
|
91288
91258
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -96735,7 +96705,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
96735
96705
|
x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
96736
96706
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
96737
96707
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
96738
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
96708
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(69);
|
|
96739
96709
|
/*******************************************************************************
|
|
96740
96710
|
*
|
|
96741
96711
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -97406,7 +97376,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
|
|
|
97406
97376
|
x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
|
|
97407
97377
|
/* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
|
|
97408
97378
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
|
|
97409
|
-
/* provided dependency */ var Appearance_$ = __webpack_require__(
|
|
97379
|
+
/* provided dependency */ var Appearance_$ = __webpack_require__(69);
|
|
97410
97380
|
/*******************************************************************************
|
|
97411
97381
|
*
|
|
97412
97382
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -98358,7 +98328,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
|
|
|
98358
98328
|
|
|
98359
98329
|
if (renderContext)
|
|
98360
98330
|
{
|
|
98361
|
-
const { renderObject, shadows, fogNode, shapeNode, appearanceNode, textureNode, humanoidNode,
|
|
98331
|
+
const { renderObject, shadows, fogNode, shapeNode, appearanceNode, textureNode, humanoidNode, localObjectsKeys } = renderContext;
|
|
98362
98332
|
|
|
98363
98333
|
key += shapeNode .getAlphaMode ();
|
|
98364
98334
|
key += renderObject .getRenderAndGlobalLightsKey ();
|
|
@@ -98369,7 +98339,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
|
|
|
98369
98339
|
key += appearanceNode .getTextureTransformMapping () .size || 1;
|
|
98370
98340
|
key += geometryContext .textureCoordinateMapping .size || 1;
|
|
98371
98341
|
key += humanoidNode ?.getHumanoidKey () ?? "[]";
|
|
98372
|
-
key +=
|
|
98342
|
+
key += localObjectsKeys .sort () .join (""); // ClipPlane, X3DLightNode
|
|
98373
98343
|
key += ".";
|
|
98374
98344
|
key += textureNode ? 2 : appearanceNode .getTextureBits () .toString (16);
|
|
98375
98345
|
}
|
|
@@ -98377,13 +98347,13 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
|
|
|
98377
98347
|
{
|
|
98378
98348
|
// Rubberband, X3DBackgroundNode
|
|
98379
98349
|
|
|
98380
|
-
const { renderObject, alphaMode, textureNode,
|
|
98350
|
+
const { renderObject, alphaMode, textureNode, localObjectsKeys } = geometryContext;
|
|
98381
98351
|
|
|
98382
98352
|
key += alphaMode;
|
|
98383
98353
|
key += ".";
|
|
98384
98354
|
key += renderObject .getRenderKey ();
|
|
98385
98355
|
key += "..000011[]";
|
|
98386
|
-
key +=
|
|
98356
|
+
key += localObjectsKeys .sort () .join (""); // ClipPlane
|
|
98387
98357
|
key += ".";
|
|
98388
98358
|
key += textureNode ?.getTextureBits () .toString (16) ?? 0;
|
|
98389
98359
|
}
|
|
@@ -98438,7 +98408,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
|
|
|
98438
98408
|
|
|
98439
98409
|
if (renderContext)
|
|
98440
98410
|
{
|
|
98441
|
-
const { renderObject, fogNode, shapeNode, appearanceNode, humanoidNode,
|
|
98411
|
+
const { renderObject, fogNode, shapeNode, appearanceNode, humanoidNode, localObjectsKeys, textureNode } = renderContext;
|
|
98442
98412
|
|
|
98443
98413
|
const objectsKeys = localObjectsKeys .concat (renderObject .getGlobalLightsKeys ());
|
|
98444
98414
|
|
|
@@ -98574,7 +98544,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
|
|
|
98574
98544
|
}
|
|
98575
98545
|
else
|
|
98576
98546
|
{
|
|
98577
|
-
const { renderObject, alphaMode,
|
|
98547
|
+
const { renderObject, alphaMode, localObjectsKeys, textureNode } = geometryContext;
|
|
98578
98548
|
|
|
98579
98549
|
if (renderObject .getLogarithmicDepthBuffer ())
|
|
98580
98550
|
options .push ("X3D_LOGARITHMIC_DEPTH_BUFFER");
|
|
@@ -98602,7 +98572,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
|
|
|
98602
98572
|
}
|
|
98603
98573
|
}
|
|
98604
98574
|
|
|
98605
|
-
const numClipPlanes =
|
|
98575
|
+
const numClipPlanes = localObjectsKeys .reduce ((a, c) => a + (c === 0), 0);
|
|
98606
98576
|
|
|
98607
98577
|
if (numClipPlanes)
|
|
98608
98578
|
{
|
|
@@ -106330,8 +106300,8 @@ const GifMedia_default_ = GifMedia;
|
|
|
106330
106300
|
x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
|
|
106331
106301
|
/* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
|
|
106332
106302
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
106333
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
106334
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
106303
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(69);
|
|
106304
|
+
/* provided dependency */ var SuperGif = __webpack_require__(798);
|
|
106335
106305
|
/*******************************************************************************
|
|
106336
106306
|
*
|
|
106337
106307
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -109663,7 +109633,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
|
|
|
109663
109633
|
x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
|
|
109664
109634
|
/* harmony default export */ const gettext = (gettext_default_);
|
|
109665
109635
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
109666
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
109636
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(69);
|
|
109667
109637
|
/*******************************************************************************
|
|
109668
109638
|
*
|
|
109669
109639
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110236,7 +110206,7 @@ const TextureQuality_default_ = TextureQuality;
|
|
|
110236
110206
|
x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
|
|
110237
110207
|
/* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
|
|
110238
110208
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
110239
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
110209
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(69);
|
|
110240
110210
|
/*******************************************************************************
|
|
110241
110211
|
*
|
|
110242
110212
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110857,7 +110827,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
110857
110827
|
x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
110858
110828
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
110859
110829
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
110860
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
110830
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(69);
|
|
110861
110831
|
/*******************************************************************************
|
|
110862
110832
|
*
|
|
110863
110833
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110980,8 +110950,8 @@ const Notification_default_ = Notification;
|
|
|
110980
110950
|
x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
|
|
110981
110951
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
110982
110952
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
110983
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
110984
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
110953
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(77);
|
|
110954
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(69);
|
|
110985
110955
|
/*******************************************************************************
|
|
110986
110956
|
*
|
|
110987
110957
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -113734,7 +113704,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
113734
113704
|
x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
|
|
113735
113705
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
113736
113706
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
113737
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
113707
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(69);
|
|
113738
113708
|
/*******************************************************************************
|
|
113739
113709
|
*
|
|
113740
113710
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116314,8 +116284,8 @@ const X3DViewer_default_ = X3DViewer;
|
|
|
116314
116284
|
x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
|
|
116315
116285
|
/* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
|
|
116316
116286
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
116317
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
116318
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
116287
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(981);
|
|
116288
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(69);
|
|
116319
116289
|
/*******************************************************************************
|
|
116320
116290
|
*
|
|
116321
116291
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -117231,8 +117201,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
117231
117201
|
x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
117232
117202
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
117233
117203
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
117234
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
117235
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
117204
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(981);
|
|
117205
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(69);
|
|
117236
117206
|
/*******************************************************************************
|
|
117237
117207
|
*
|
|
117238
117208
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118247,8 +118217,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
118247
118217
|
x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
118248
118218
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
118249
118219
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
118250
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
118251
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
118220
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(981);
|
|
118221
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(69);
|
|
118252
118222
|
/*******************************************************************************
|
|
118253
118223
|
*
|
|
118254
118224
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118579,8 +118549,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
118579
118549
|
x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
118580
118550
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
118581
118551
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
118582
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
118583
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
118552
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(981);
|
|
118553
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(69);
|
|
118584
118554
|
/*******************************************************************************
|
|
118585
118555
|
*
|
|
118586
118556
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -119719,8 +119689,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
119719
119689
|
x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
119720
119690
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
119721
119691
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
119722
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
119723
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
119692
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(981);
|
|
119693
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(69);
|
|
119724
119694
|
/*******************************************************************************
|
|
119725
119695
|
*
|
|
119726
119696
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -121021,7 +120991,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
121021
120991
|
x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
121022
120992
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
121023
120993
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
121024
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
120994
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(69);
|
|
121025
120995
|
/*******************************************************************************
|
|
121026
120996
|
*
|
|
121027
120997
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -121088,12 +121058,11 @@ const
|
|
|
121088
121058
|
|
|
121089
121059
|
function X3DRenderingContext ()
|
|
121090
121060
|
{
|
|
121091
|
-
|
|
121092
121061
|
this .addChildObjects (Base_X3DConstants .outputOnly, "viewport", new x_ite_Fields .MFInt32 (0, 0, 300, 150));
|
|
121093
121062
|
|
|
121094
121063
|
this [_frameBuffer] = new Rendering_MultiSampleFrameBuffer (this, 300, 150, 4);
|
|
121095
|
-
this [_localObjects] = [ ]; // shader objects dumpster
|
|
121096
121064
|
this [_depthShaders] = new Map ();
|
|
121065
|
+
this [_localObjects] = [ ]; // shader objects dumpster
|
|
121097
121066
|
}
|
|
121098
121067
|
|
|
121099
121068
|
Object .assign (X3DRenderingContext .prototype,
|
|
@@ -121301,14 +121270,18 @@ Object .assign (X3DRenderingContext .prototype,
|
|
|
121301
121270
|
{
|
|
121302
121271
|
return new Promise (resolve =>
|
|
121303
121272
|
{
|
|
121304
|
-
const
|
|
121273
|
+
const
|
|
121274
|
+
contentScale = this .getRenderingProperty ("ContentScale"),
|
|
121275
|
+
viewportWidth = Math .max (width * contentScale, 1),
|
|
121276
|
+
viewportHeight = Math .max (height * contentScale, 1),
|
|
121277
|
+
key = Symbol ();
|
|
121305
121278
|
|
|
121306
121279
|
const test = () =>
|
|
121307
121280
|
{
|
|
121308
|
-
if (this ._viewport [2] !==
|
|
121281
|
+
if (this ._viewport [2] !== viewportWidth)
|
|
121309
121282
|
return;
|
|
121310
121283
|
|
|
121311
|
-
if (this ._viewport [
|
|
121284
|
+
if (this ._viewport [3] !== viewportHeight)
|
|
121312
121285
|
return;
|
|
121313
121286
|
|
|
121314
121287
|
this ._viewport .removeFieldCallback (key);
|
|
@@ -122025,7 +121998,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
|
|
|
122025
121998
|
x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
|
|
122026
121999
|
/* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
|
|
122027
122000
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
122028
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
122001
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(69);
|
|
122029
122002
|
const KTXDecoder_default_ = class KTXDecoder
|
|
122030
122003
|
{
|
|
122031
122004
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -123639,7 +123612,7 @@ const Components_default_ = Components;
|
|
|
123639
123612
|
x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
|
|
123640
123613
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
123641
123614
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
123642
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
123615
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(69);
|
|
123643
123616
|
/*******************************************************************************
|
|
123644
123617
|
* MIT License
|
|
123645
123618
|
*
|
|
@@ -124907,7 +124880,7 @@ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x
|
|
|
124907
124880
|
x_ite_Namespace .add ("FieldTypes", "x_ite/Configuration/FieldTypes", FieldTypes_default_);
|
|
124908
124881
|
/* harmony default export */ const FieldTypes = (FieldTypes_default_);
|
|
124909
124882
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
124910
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
124883
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(69);
|
|
124911
124884
|
/*******************************************************************************
|
|
124912
124885
|
*
|
|
124913
124886
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -126009,7 +125982,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
126009
125982
|
x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
126010
125983
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
126011
125984
|
;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
|
|
126012
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
125985
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(69);
|
|
126013
125986
|
/*******************************************************************************
|
|
126014
125987
|
*
|
|
126015
125988
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -126159,8 +126132,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
|
|
|
126159
126132
|
x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
|
|
126160
126133
|
/* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
|
|
126161
126134
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
126162
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
126163
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
126135
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(69);
|
|
126136
|
+
/* provided dependency */ var pako = __webpack_require__(841);
|
|
126164
126137
|
Object .assign (jquery_$,
|
|
126165
126138
|
{
|
|
126166
126139
|
decodeText (input)
|
|
@@ -126237,14 +126210,14 @@ const jquery_default_ = jquery_$;
|
|
|
126237
126210
|
x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
|
|
126238
126211
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
126239
126212
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
126240
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
126213
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(350);
|
|
126241
126214
|
const libtess_default_ = libtess_libtess;
|
|
126242
126215
|
;
|
|
126243
126216
|
|
|
126244
126217
|
x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
|
|
126245
126218
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
126246
126219
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
126247
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
126220
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(69);
|
|
126248
126221
|
/*******************************************************************************
|
|
126249
126222
|
*
|
|
126250
126223
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -126552,7 +126525,7 @@ Object .assign (X3D,
|
|
|
126552
126525
|
|
|
126553
126526
|
// Assign X3D to global namespace.
|
|
126554
126527
|
|
|
126555
|
-
window [Symbol .for ("X_ITE.X3D-10.0.
|
|
126528
|
+
window [Symbol .for ("X_ITE.X3D-10.0.5")] = x_ite_X3D;
|
|
126556
126529
|
|
|
126557
126530
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
126558
126531
|
|