x_ite 10.3.0 → 10.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/assets/components/AnnotationComponent.js +2 -2
- package/dist/assets/components/AnnotationComponent.min.js +2 -2
- package/dist/assets/components/CADGeometryComponent.js +2 -2
- package/dist/assets/components/CADGeometryComponent.min.js +2 -2
- package/dist/assets/components/CubeMapTexturingComponent.js +2 -2
- package/dist/assets/components/CubeMapTexturingComponent.min.js +2 -2
- package/dist/assets/components/DISComponent.js +2 -2
- package/dist/assets/components/DISComponent.min.js +2 -2
- package/dist/assets/components/EventUtilitiesComponent.js +2 -2
- package/dist/assets/components/EventUtilitiesComponent.min.js +2 -2
- package/dist/assets/components/Geometry2DComponent.js +2 -2
- package/dist/assets/components/Geometry2DComponent.min.js +2 -2
- package/dist/assets/components/GeospatialComponent.js +2 -2
- package/dist/assets/components/GeospatialComponent.min.js +2 -2
- package/dist/assets/components/HAnimComponent.js +2 -2
- package/dist/assets/components/HAnimComponent.min.js +2 -2
- package/dist/assets/components/KeyDeviceSensorComponent.js +2 -2
- package/dist/assets/components/KeyDeviceSensorComponent.min.js +2 -2
- package/dist/assets/components/LayoutComponent.js +2 -2
- package/dist/assets/components/LayoutComponent.min.js +2 -2
- package/dist/assets/components/NURBSComponent.js +2 -2
- package/dist/assets/components/NURBSComponent.min.js +2 -2
- package/dist/assets/components/ParticleSystemsComponent.js +2 -2
- package/dist/assets/components/ParticleSystemsComponent.min.js +2 -2
- package/dist/assets/components/PickingComponent.js +2 -2
- package/dist/assets/components/PickingComponent.min.js +2 -2
- package/dist/assets/components/RigidBodyPhysicsComponent.js +2 -2
- package/dist/assets/components/RigidBodyPhysicsComponent.min.js +2 -2
- package/dist/assets/components/ScriptingComponent.js +2 -2
- package/dist/assets/components/ScriptingComponent.min.js +2 -2
- package/dist/assets/components/TextComponent.js +4 -4
- package/dist/assets/components/TextComponent.min.js +2 -2
- package/dist/assets/components/TextureProjectionComponent.js +2 -2
- package/dist/assets/components/TextureProjectionComponent.min.js +2 -2
- package/dist/assets/components/Texturing3DComponent.js +12 -12
- package/dist/assets/components/Texturing3DComponent.min.js +2 -2
- package/dist/assets/components/VolumeRenderingComponent.js +2 -2
- package/dist/assets/components/VolumeRenderingComponent.min.js +2 -2
- package/dist/assets/components/X_ITEComponent.js +2 -2
- package/dist/assets/components/X_ITEComponent.min.js +2 -2
- package/dist/example.html +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +246 -191
- package/dist/x_ite.min.js +2 -2
- package/dist/x_ite.min.mjs +2 -2
- package/dist/x_ite.mjs +246 -191
- 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.3.
|
|
1
|
+
/* X_ITE v10.3.1 */
|
|
2
2
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
3
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
4
|
module.exports = factory();
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
return /******/ (() => { // webpackBootstrap
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 384:
|
|
16
16
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
17
17
|
|
|
18
|
-
/* provided dependency */ var jQuery = __webpack_require__(
|
|
18
|
+
/* provided dependency */ var jQuery = __webpack_require__(388);
|
|
19
19
|
/**
|
|
20
20
|
* @preserve jquery.fullscreen 1.1.5
|
|
21
21
|
* https://github.com/code-lts/jquery-fullscreen-plugin
|
|
@@ -211,7 +211,7 @@ installFullScreenHandlers();
|
|
|
211
211
|
|
|
212
212
|
/***/ }),
|
|
213
213
|
|
|
214
|
-
/***/
|
|
214
|
+
/***/ 26:
|
|
215
215
|
/***/ ((module, exports, __webpack_require__) => {
|
|
216
216
|
|
|
217
217
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -225,7 +225,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
225
225
|
(function (factory) {
|
|
226
226
|
if ( true ) {
|
|
227
227
|
// AMD. Register as an anonymous module.
|
|
228
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
|
|
228
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(388)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
229
229
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
230
230
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
231
231
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
@@ -436,7 +436,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
436
436
|
|
|
437
437
|
/***/ }),
|
|
438
438
|
|
|
439
|
-
/***/
|
|
439
|
+
/***/ 388:
|
|
440
440
|
/***/ (function(module, exports) {
|
|
441
441
|
|
|
442
442
|
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -11160,7 +11160,7 @@ return jQuery;
|
|
|
11160
11160
|
|
|
11161
11161
|
/***/ }),
|
|
11162
11162
|
|
|
11163
|
-
/***/
|
|
11163
|
+
/***/ 665:
|
|
11164
11164
|
/***/ ((module) => {
|
|
11165
11165
|
|
|
11166
11166
|
/**
|
|
@@ -15939,7 +15939,7 @@ if (true) {
|
|
|
15939
15939
|
|
|
15940
15940
|
/***/ }),
|
|
15941
15941
|
|
|
15942
|
-
/***/
|
|
15942
|
+
/***/ 336:
|
|
15943
15943
|
/***/ (function(__unused_webpack_module, exports) {
|
|
15944
15944
|
|
|
15945
15945
|
|
|
@@ -19184,7 +19184,7 @@ if (true) {
|
|
|
19184
19184
|
|
|
19185
19185
|
/***/ }),
|
|
19186
19186
|
|
|
19187
|
-
/***/
|
|
19187
|
+
/***/ 839:
|
|
19188
19188
|
/***/ (function(module, exports) {
|
|
19189
19189
|
|
|
19190
19190
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
|
|
@@ -20311,7 +20311,7 @@ Object .defineProperty (Namespace, "add",
|
|
|
20311
20311
|
return module;
|
|
20312
20312
|
}
|
|
20313
20313
|
|
|
20314
|
-
const X3D = window [Symbol .for ("X_ITE.X3D-10.3.
|
|
20314
|
+
const X3D = window [Symbol .for ("X_ITE.X3D-10.3.1")];
|
|
20315
20315
|
|
|
20316
20316
|
if (X3D)
|
|
20317
20317
|
X3D [name] = module;
|
|
@@ -34218,7 +34218,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
34218
34218
|
|
|
34219
34219
|
/* harmony default export */ const Base_X3DBaseNode = (x_ite_Namespace .add ("X3DBaseNode", X3DBaseNode_default_));
|
|
34220
34220
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
|
|
34221
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
34221
|
+
/* provided dependency */ var $ = __webpack_require__(388);
|
|
34222
34222
|
/*******************************************************************************
|
|
34223
34223
|
*
|
|
34224
34224
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -34354,7 +34354,7 @@ const Legacy_default_ = Legacy;
|
|
|
34354
34354
|
*
|
|
34355
34355
|
******************************************************************************/
|
|
34356
34356
|
|
|
34357
|
-
const BROWSER_VERSION_default_ = "10.3.
|
|
34357
|
+
const BROWSER_VERSION_default_ = "10.3.1";
|
|
34358
34358
|
;
|
|
34359
34359
|
|
|
34360
34360
|
/* harmony default export */ const BROWSER_VERSION = (x_ite_Namespace .add ("BROWSER_VERSION", BROWSER_VERSION_default_));
|
|
@@ -37379,7 +37379,7 @@ const X3DBindableNode_default_ = X3DBindableNode;
|
|
|
37379
37379
|
|
|
37380
37380
|
/* harmony default export */ const Core_X3DBindableNode = (x_ite_Namespace .add ("X3DBindableNode", X3DBindableNode_default_));
|
|
37381
37381
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
37382
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
37382
|
+
/* provided dependency */ var libtess = __webpack_require__(665);
|
|
37383
37383
|
/*******************************************************************************
|
|
37384
37384
|
*
|
|
37385
37385
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -39917,7 +39917,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
39917
39917
|
|
|
39918
39918
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (x_ite_Namespace .add ("X3DProtoDeclaration", X3DProtoDeclaration_default_));
|
|
39919
39919
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
39920
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
39920
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(388);
|
|
39921
39921
|
/*******************************************************************************
|
|
39922
39922
|
*
|
|
39923
39923
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -40173,7 +40173,7 @@ const Expressions_default_ = Expressions;
|
|
|
40173
40173
|
|
|
40174
40174
|
/* harmony default export */ const Parser_Expressions = (x_ite_Namespace .add ("Expressions", Expressions_default_));
|
|
40175
40175
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
|
|
40176
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
40176
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(388);
|
|
40177
40177
|
/*******************************************************************************
|
|
40178
40178
|
*
|
|
40179
40179
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -42872,7 +42872,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
42872
42872
|
|
|
42873
42873
|
/* harmony default export */ const Parser_VRMLParser = (x_ite_Namespace .add ("VRMLParser", VRMLParser_default_));
|
|
42874
42874
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
42875
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
42875
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(388);
|
|
42876
42876
|
/*******************************************************************************
|
|
42877
42877
|
*
|
|
42878
42878
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -45045,7 +45045,7 @@ const URLs_default_ = URLs;
|
|
|
45045
45045
|
|
|
45046
45046
|
/* harmony default export */ const Networking_URLs = (x_ite_Namespace .add ("URLs", URLs_default_));
|
|
45047
45047
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
45048
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
45048
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(388);
|
|
45049
45049
|
/*******************************************************************************
|
|
45050
45050
|
*
|
|
45051
45051
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -48689,7 +48689,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
48689
48689
|
|
|
48690
48690
|
/* harmony default export */ const Parser_GLTF2Parser = (x_ite_Namespace .add ("GLTF2Parser", GLTF2Parser_default_));
|
|
48691
48691
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
48692
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
48692
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(388);
|
|
48693
48693
|
/*******************************************************************************
|
|
48694
48694
|
*
|
|
48695
48695
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -48840,7 +48840,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
48840
48840
|
|
|
48841
48841
|
/* harmony default export */ const Parser_GLB2Parser = (x_ite_Namespace .add ("GLB2Parser", GLB2Parser_default_));
|
|
48842
48842
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
48843
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
48843
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(388);
|
|
48844
48844
|
/*******************************************************************************
|
|
48845
48845
|
*
|
|
48846
48846
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -52176,8 +52176,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
52176
52176
|
|
|
52177
52177
|
/* harmony default export */ const Utility_MatrixStack = (x_ite_Namespace .add ("MatrixStack", MatrixStack_default_));
|
|
52178
52178
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
52179
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
52180
|
-
/* provided dependency */ var SVGParser_libtess = __webpack_require__(
|
|
52179
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(388);
|
|
52180
|
+
/* provided dependency */ var SVGParser_libtess = __webpack_require__(665);
|
|
52181
52181
|
/*******************************************************************************
|
|
52182
52182
|
*
|
|
52183
52183
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -54947,7 +54947,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
54947
54947
|
|
|
54948
54948
|
/* harmony default export */ const Parser_SVGParser = (x_ite_Namespace .add ("SVGParser", SVGParser_default_));
|
|
54949
54949
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
54950
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
54950
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(388);
|
|
54951
54951
|
/*******************************************************************************
|
|
54952
54952
|
*
|
|
54953
54953
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -56711,7 +56711,6 @@ function X3DRenderObject (executionContext)
|
|
|
56711
56711
|
this .shadowShapes = [ ];
|
|
56712
56712
|
this .opaqueShapes = [ ];
|
|
56713
56713
|
this .transparentShapes = [ ];
|
|
56714
|
-
this .transmissionShapes = [ ];
|
|
56715
56714
|
this .transmissionOpaqueShapes = [ ];
|
|
56716
56715
|
this .transmissionTransparentShapes = [ ];
|
|
56717
56716
|
this .transparencySorter = new Algorithms_MergeSort (this .transparentShapes, (a, b) => a .distance < b .distance);
|
|
@@ -57035,6 +57034,32 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57035
57034
|
{
|
|
57036
57035
|
return this .transparentShapes;
|
|
57037
57036
|
},
|
|
57037
|
+
getNumTransmissionOpaqueShapes ()
|
|
57038
|
+
{
|
|
57039
|
+
return this .transmissionOpaqueShapes .length;
|
|
57040
|
+
},
|
|
57041
|
+
setNumTransmissionOpaqueShapes (value)
|
|
57042
|
+
{
|
|
57043
|
+
// Needed for StaticGroup.
|
|
57044
|
+
this .transmissionOpaqueShapes .length = value;
|
|
57045
|
+
},
|
|
57046
|
+
getTransmissionOpaqueShapes ()
|
|
57047
|
+
{
|
|
57048
|
+
return this .transmissionOpaqueShapes;
|
|
57049
|
+
},
|
|
57050
|
+
getNumTransmissionTransparentShapes ()
|
|
57051
|
+
{
|
|
57052
|
+
return this .transmissionTransparentShapes .length;
|
|
57053
|
+
},
|
|
57054
|
+
setNumTransmissionTransparentShapes (value)
|
|
57055
|
+
{
|
|
57056
|
+
// Needed for StaticGroup.
|
|
57057
|
+
this .transmissionTransparentShapes .length = value;
|
|
57058
|
+
},
|
|
57059
|
+
getTransmissionTransparentShapes ()
|
|
57060
|
+
{
|
|
57061
|
+
return this .transmissionTransparentShapes;
|
|
57062
|
+
},
|
|
57038
57063
|
constrainTranslation (translation, stepBack)
|
|
57039
57064
|
{
|
|
57040
57065
|
/// Constrains @a translation to a possible value the avatar can move. If the avatar reaches and intersects with an
|
|
@@ -57784,18 +57809,23 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57784
57809
|
|
|
57785
57810
|
// Set global uniforms.
|
|
57786
57811
|
|
|
57787
|
-
this .viewportArray
|
|
57788
|
-
this .projectionMatrixArray .set (this .getProjectionMatrix () .get ());
|
|
57812
|
+
this .viewportArray .set (viewport);
|
|
57789
57813
|
|
|
57790
|
-
if (this .view && browser .getBrowserOption ("XRMovementControl")
|
|
57814
|
+
if (this .view && browser .getBrowserOption ("XRMovementControl") !== "VIEWPOINT")
|
|
57791
57815
|
{
|
|
57792
|
-
|
|
57816
|
+
if (this .isActive ())
|
|
57817
|
+
this .projectionMatrixArray .set (this .view .projectionMatrix);
|
|
57818
|
+
else
|
|
57819
|
+
this .projectionMatrixArray .set (this .getProjectionMatrix () .get ());
|
|
57820
|
+
|
|
57793
57821
|
this .cameraSpaceMatrixArray .set (this .view .cameraSpaceMatrix);
|
|
57822
|
+
this .viewMatrixArray .set (this .view .viewMatrix);
|
|
57794
57823
|
}
|
|
57795
57824
|
else
|
|
57796
57825
|
{
|
|
57797
|
-
this .
|
|
57826
|
+
this .projectionMatrixArray .set (this .getProjectionMatrix () .get ());
|
|
57798
57827
|
this .cameraSpaceMatrixArray .set (this .getCameraSpaceMatrix () .get ());
|
|
57828
|
+
this .viewMatrixArray .set (this .getViewMatrix () .get ());
|
|
57799
57829
|
}
|
|
57800
57830
|
|
|
57801
57831
|
if (independent && this .transmission)
|
|
@@ -57809,7 +57839,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57809
57839
|
numTransmissionOpaqueShapes = transmissionOpaqueShapes .length,
|
|
57810
57840
|
numTransmissionTransparentShapes = transmissionTransparentShapes .length;
|
|
57811
57841
|
|
|
57812
|
-
this .drawShapes (gl, browser,
|
|
57842
|
+
this .drawShapes (gl, browser, transmissionBuffer, gl .COLOR_BUFFER_BIT, false, viewport, transmissionOpaqueShapes, numTransmissionOpaqueShapes, transmissionTransparentShapes, numTransmissionTransparentShapes, this .transmissionTransparencySorter);
|
|
57813
57843
|
|
|
57814
57844
|
gl .bindTexture (gl .TEXTURE_2D, transmissionBuffer .getColorTexture ());
|
|
57815
57845
|
gl .generateMipmap (gl .TEXTURE_2D);
|
|
@@ -61020,78 +61050,44 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
61020
61050
|
{
|
|
61021
61051
|
this ._rebuild .addEvent ();
|
|
61022
61052
|
},
|
|
61023
|
-
rebuild
|
|
61053
|
+
rebuild ()
|
|
61024
61054
|
{
|
|
61025
|
-
|
|
61026
|
-
|
|
61027
|
-
return async function ()
|
|
61028
|
-
{
|
|
61029
|
-
this .clear ();
|
|
61030
|
-
this .build ();
|
|
61031
|
-
|
|
61032
|
-
// Shrink arrays before transferring them to graphics card.
|
|
61033
|
-
|
|
61034
|
-
for (const attribArray of this .attribArrays)
|
|
61035
|
-
attribArray .shrinkToFit ();
|
|
61036
|
-
|
|
61037
|
-
for (const multiTexCoord of this .multiTexCoords)
|
|
61038
|
-
multiTexCoord .shrinkToFit ();
|
|
61039
|
-
|
|
61040
|
-
this .coordIndices .shrinkToFit ();
|
|
61041
|
-
this .fogDepths .shrinkToFit ();
|
|
61042
|
-
this .colors .shrinkToFit ();
|
|
61043
|
-
this .tangents .shrinkToFit ();
|
|
61044
|
-
this .normals .shrinkToFit ();
|
|
61045
|
-
this .vertices .shrinkToFit ();
|
|
61046
|
-
|
|
61047
|
-
// Determine bbox.
|
|
61055
|
+
this .clear ();
|
|
61056
|
+
this .build ();
|
|
61048
61057
|
|
|
61049
|
-
|
|
61050
|
-
vertices = this .vertices .getValue (),
|
|
61051
|
-
min = this .min,
|
|
61052
|
-
max = this .max;
|
|
61058
|
+
// Shrink arrays before transferring them to graphics card.
|
|
61053
61059
|
|
|
61054
|
-
|
|
61055
|
-
|
|
61056
|
-
if (min .x === Number .POSITIVE_INFINITY)
|
|
61057
|
-
{
|
|
61058
|
-
for (let i = 0, length = vertices .length; i < length; i += 4)
|
|
61059
|
-
{
|
|
61060
|
-
point .set (vertices [i], vertices [i + 1], vertices [i + 2]);
|
|
61060
|
+
for (const attribArray of this .attribArrays)
|
|
61061
|
+
attribArray .shrinkToFit ();
|
|
61061
61062
|
|
|
61062
|
-
|
|
61063
|
-
|
|
61064
|
-
}
|
|
61065
|
-
}
|
|
61063
|
+
for (const multiTexCoord of this .multiTexCoords)
|
|
61064
|
+
multiTexCoord .shrinkToFit ();
|
|
61066
61065
|
|
|
61067
|
-
|
|
61068
|
-
|
|
61069
|
-
|
|
61070
|
-
|
|
61071
|
-
|
|
61072
|
-
|
|
61066
|
+
this .coordIndices .shrinkToFit ();
|
|
61067
|
+
this .fogDepths .shrinkToFit ();
|
|
61068
|
+
this .colors .shrinkToFit ();
|
|
61069
|
+
this .tangents .shrinkToFit ();
|
|
61070
|
+
this .normals .shrinkToFit ();
|
|
61071
|
+
this .vertices .shrinkToFit ();
|
|
61073
61072
|
|
|
61074
|
-
|
|
61073
|
+
this .updateBBox ();
|
|
61075
61074
|
|
|
61076
|
-
|
|
61077
|
-
this .planes [i] .set (i % 2 ? min : max, boxNormals [i]);
|
|
61075
|
+
// Generate texCoord if needed.
|
|
61078
61076
|
|
|
61079
|
-
|
|
61077
|
+
if (!this .multiTexCoords .length)
|
|
61078
|
+
this .generateTexCoords ();
|
|
61080
61079
|
|
|
61081
|
-
|
|
61082
|
-
this .generateTexCoords ();
|
|
61080
|
+
// Generate tangents if needed.
|
|
61083
61081
|
|
|
61084
|
-
|
|
61085
|
-
|
|
61086
|
-
this .generateTangents ();
|
|
61082
|
+
if (!this .tangents .length)
|
|
61083
|
+
this .generateTangents ();
|
|
61087
61084
|
|
|
61088
|
-
|
|
61085
|
+
// Transfer arrays and update.
|
|
61089
61086
|
|
|
61090
|
-
|
|
61091
|
-
|
|
61092
|
-
|
|
61093
|
-
|
|
61094
|
-
})(),
|
|
61087
|
+
this .transfer ();
|
|
61088
|
+
this .updateGeometryKey ();
|
|
61089
|
+
this .updateRenderFunctions ();
|
|
61090
|
+
},
|
|
61095
61091
|
clear ()
|
|
61096
61092
|
{
|
|
61097
61093
|
// BBox
|
|
@@ -61128,6 +61124,45 @@ Object .assign (Object .setPrototypeOf (X3DGeometryNode .prototype, Core_X3DNode
|
|
|
61128
61124
|
this .flatNormals .length = 0;
|
|
61129
61125
|
this .vertices .length = 0;
|
|
61130
61126
|
},
|
|
61127
|
+
updateBBox: (() =>
|
|
61128
|
+
{
|
|
61129
|
+
const point = new Numbers_Vector3 ();
|
|
61130
|
+
|
|
61131
|
+
return function ()
|
|
61132
|
+
{
|
|
61133
|
+
// Determine bbox.
|
|
61134
|
+
|
|
61135
|
+
const
|
|
61136
|
+
vertices = this .vertices .getValue (),
|
|
61137
|
+
min = this .min,
|
|
61138
|
+
max = this .max;
|
|
61139
|
+
|
|
61140
|
+
if (vertices .length)
|
|
61141
|
+
{
|
|
61142
|
+
if (min .x === Number .POSITIVE_INFINITY)
|
|
61143
|
+
{
|
|
61144
|
+
for (let i = 0, length = vertices .length; i < length; i += 4)
|
|
61145
|
+
{
|
|
61146
|
+
point .set (vertices [i], vertices [i + 1], vertices [i + 2]);
|
|
61147
|
+
|
|
61148
|
+
min .min (point);
|
|
61149
|
+
max .max (point);
|
|
61150
|
+
}
|
|
61151
|
+
}
|
|
61152
|
+
|
|
61153
|
+
this .bbox .setExtents (min, max);
|
|
61154
|
+
}
|
|
61155
|
+
else
|
|
61156
|
+
{
|
|
61157
|
+
this .bbox .setExtents (min .set (0, 0, 0), max .set (0, 0, 0));
|
|
61158
|
+
}
|
|
61159
|
+
|
|
61160
|
+
for (let i = 0; i < 5; ++ i)
|
|
61161
|
+
this .planes [i] .set (i % 2 ? min : max, boxNormals [i]);
|
|
61162
|
+
|
|
61163
|
+
this ._bbox_changed .addEvent ();
|
|
61164
|
+
};
|
|
61165
|
+
})(),
|
|
61131
61166
|
transfer ()
|
|
61132
61167
|
{
|
|
61133
61168
|
const gl = this .getBrowser () .getContext ();
|
|
@@ -63027,7 +63062,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
63027
63062
|
|
|
63028
63063
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (x_ite_Namespace .add ("X3DTexture2DNode", X3DTexture2DNode_default_));
|
|
63029
63064
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
63030
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
63065
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(388);
|
|
63031
63066
|
/*******************************************************************************
|
|
63032
63067
|
*
|
|
63033
63068
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -63749,7 +63784,7 @@ Object .assign (Object .setPrototypeOf (X3DLayerNode .prototype, Core_X3DNode .p
|
|
|
63749
63784
|
|
|
63750
63785
|
if (pose && this .active && browser .getBrowserOption ("XRMovementControl") !== "VIEWPOINT")
|
|
63751
63786
|
{
|
|
63752
|
-
this .getProjectionMatrix () .pushMatrix (pose .projectionMatrix);
|
|
63787
|
+
this .getProjectionMatrix () .pushMatrix (pose .views [0] .projectionMatrix);
|
|
63753
63788
|
this .getCameraSpaceMatrix () .pushMatrix (pose .cameraSpaceMatrix);
|
|
63754
63789
|
this .getViewMatrix () .pushMatrix (pose .viewMatrix);
|
|
63755
63790
|
}
|
|
@@ -66391,7 +66426,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
66391
66426
|
|
|
66392
66427
|
/* harmony default export */ const Execution_X3DWorld = (x_ite_Namespace .add ("X3DWorld", X3DWorld_default_));
|
|
66393
66428
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
66394
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
66429
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(388);
|
|
66395
66430
|
/*******************************************************************************
|
|
66396
66431
|
*
|
|
66397
66432
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -67321,7 +67356,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
|
|
|
67321
67356
|
|
|
67322
67357
|
/* harmony default export */ const Prototype_ProtoDeclarationArray = (x_ite_Namespace .add ("ProtoDeclarationArray", ProtoDeclarationArray_default_));
|
|
67323
67358
|
;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
|
|
67324
|
-
/* provided dependency */ var X3DRoute_$ = __webpack_require__(
|
|
67359
|
+
/* provided dependency */ var X3DRoute_$ = __webpack_require__(388);
|
|
67325
67360
|
/*******************************************************************************
|
|
67326
67361
|
*
|
|
67327
67362
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -76640,11 +76675,10 @@ const Geometry3DComponent_default_ = {
|
|
|
76640
76675
|
// No support for X3DBindableNode nodes, local lights. X3DLocalFog, local ClipPlane nodes, LOD, Billboard, Switch node.
|
|
76641
76676
|
|
|
76642
76677
|
const
|
|
76643
|
-
_pointingShapes
|
|
76644
|
-
_collisionShapes
|
|
76645
|
-
_shadowShapes
|
|
76646
|
-
|
|
76647
|
-
_transparentShapes = Symbol ();
|
|
76678
|
+
_pointingShapes = Symbol (),
|
|
76679
|
+
_collisionShapes = Symbol (),
|
|
76680
|
+
_shadowShapes = Symbol (),
|
|
76681
|
+
_displayShapes = Symbol ();
|
|
76648
76682
|
|
|
76649
76683
|
function StaticGroup (executionContext)
|
|
76650
76684
|
{
|
|
@@ -76695,11 +76729,10 @@ Object .assign (Object .setPrototypeOf (StaticGroup .prototype, Core_X3DChildNod
|
|
|
76695
76729
|
this .groupNode .getBBox (this .bbox);
|
|
76696
76730
|
this .groupNode .getBBox (this .shadowBBox, true);
|
|
76697
76731
|
|
|
76698
|
-
this [_pointingShapes]
|
|
76699
|
-
this [_collisionShapes]
|
|
76700
|
-
this [_shadowShapes]
|
|
76701
|
-
this [
|
|
76702
|
-
this [_transparentShapes] = null;
|
|
76732
|
+
this [_pointingShapes] = null;
|
|
76733
|
+
this [_collisionShapes] = null;
|
|
76734
|
+
this [_shadowShapes] = null;
|
|
76735
|
+
this [_displayShapes] = null;
|
|
76703
76736
|
},
|
|
76704
76737
|
traverse (type, renderObject)
|
|
76705
76738
|
{
|
|
@@ -76711,71 +76744,92 @@ Object .assign (Object .setPrototypeOf (StaticGroup .prototype, Core_X3DChildNod
|
|
|
76711
76744
|
}
|
|
76712
76745
|
case Rendering_TraverseType .POINTER:
|
|
76713
76746
|
{
|
|
76714
|
-
this .
|
|
76747
|
+
this .traverseStatics (_pointingShapes, type, renderObject);
|
|
76715
76748
|
return;
|
|
76716
76749
|
}
|
|
76717
76750
|
case Rendering_TraverseType .COLLISION:
|
|
76718
76751
|
{
|
|
76719
|
-
this .
|
|
76752
|
+
this .traverseStatics (_collisionShapes, type, renderObject);
|
|
76720
76753
|
return;
|
|
76721
76754
|
}
|
|
76722
76755
|
case Rendering_TraverseType .SHADOW:
|
|
76723
76756
|
{
|
|
76724
|
-
this .
|
|
76757
|
+
this .traverseStatics (_shadowShapes, type, renderObject);
|
|
76725
76758
|
return;
|
|
76726
76759
|
}
|
|
76727
76760
|
case Rendering_TraverseType .DISPLAY:
|
|
76728
76761
|
{
|
|
76729
|
-
this .
|
|
76730
|
-
this .traverseObjects (_transparentShapes, "Transparent", type, renderObject);
|
|
76762
|
+
this .traverseStatics (_displayShapes, type, renderObject);
|
|
76731
76763
|
return;
|
|
76732
76764
|
}
|
|
76733
76765
|
}
|
|
76734
76766
|
},
|
|
76735
|
-
|
|
76767
|
+
traverseStatics (staticShapes, type, renderObject)
|
|
76736
76768
|
{
|
|
76769
|
+
if (!this [staticShapes])
|
|
76770
|
+
this .buildStatics (staticShapes, type, renderObject);
|
|
76771
|
+
|
|
76772
|
+
const modelViewMatrix = renderObject .getModelViewMatrix ();
|
|
76773
|
+
|
|
76774
|
+
for (const { modelViewMatrix: modelMatrix, shapeNode } of this [staticShapes])
|
|
76775
|
+
{
|
|
76776
|
+
modelViewMatrix .push ();
|
|
76777
|
+
modelViewMatrix .multLeft (modelMatrix);
|
|
76778
|
+
shapeNode .traverse (type, renderObject);
|
|
76779
|
+
modelViewMatrix .pop ();
|
|
76780
|
+
}
|
|
76781
|
+
},
|
|
76782
|
+
buildStatics: (() =>
|
|
76783
|
+
{
|
|
76784
|
+
const StaticsIndex = new Map ([
|
|
76785
|
+
[_pointingShapes, ["Pointing"]],
|
|
76786
|
+
[_collisionShapes, ["Collision"]],
|
|
76787
|
+
[_shadowShapes, ["Shadow"]],
|
|
76788
|
+
[_displayShapes, ["Opaque", "Transparent", "TransmissionOpaque", "TransmissionTransparent"]],
|
|
76789
|
+
]);
|
|
76790
|
+
|
|
76737
76791
|
const viewVolume = new Geometry_ViewVolume ();
|
|
76738
76792
|
|
|
76739
|
-
viewVolume .intersectsSphere =
|
|
76793
|
+
viewVolume .intersectsSphere = () => true;
|
|
76740
76794
|
|
|
76741
|
-
return function (staticShapes,
|
|
76795
|
+
return function (staticShapes, type, renderObject)
|
|
76742
76796
|
{
|
|
76743
|
-
|
|
76744
|
-
|
|
76745
|
-
|
|
76797
|
+
const
|
|
76798
|
+
viewVolumes = renderObject .getViewVolumes (),
|
|
76799
|
+
viewport = renderObject .getViewport (),
|
|
76800
|
+
projectionMatrix = renderObject .getProjectionMatrix (),
|
|
76801
|
+
modelViewMatrix = renderObject .getModelViewMatrix (),
|
|
76802
|
+
Statics = StaticsIndex .get (staticShapes),
|
|
76803
|
+
firstShapes = Statics .map (Static => renderObject [`getNum${Static}Shapes`] ());
|
|
76746
76804
|
|
|
76747
|
-
|
|
76748
|
-
viewVolumes = renderObject .getViewVolumes (),
|
|
76749
|
-
viewport = renderObject .getViewport (),
|
|
76750
|
-
projectionMatrix = renderObject .getProjectionMatrix (),
|
|
76751
|
-
modelViewMatrix = renderObject .getModelViewMatrix (),
|
|
76752
|
-
firstShape = renderObject [`getNum${Static}Shapes`] ();
|
|
76805
|
+
//Statics .forEach (Static => console .log (`Rebuilding StaticGroup ${Static}.`));
|
|
76753
76806
|
|
|
76754
|
-
|
|
76807
|
+
viewVolumes .push (viewVolume .set (projectionMatrix, viewport, viewport));
|
|
76755
76808
|
|
|
76756
|
-
|
|
76757
|
-
|
|
76809
|
+
modelViewMatrix .push ();
|
|
76810
|
+
modelViewMatrix .identity ();
|
|
76758
76811
|
|
|
76759
|
-
|
|
76812
|
+
this .groupNode .traverse (type, renderObject);
|
|
76760
76813
|
|
|
76761
|
-
|
|
76762
|
-
|
|
76814
|
+
modelViewMatrix .pop ();
|
|
76815
|
+
viewVolumes .pop ();
|
|
76763
76816
|
|
|
76764
|
-
|
|
76817
|
+
this [staticShapes] = [ ];
|
|
76765
76818
|
|
|
76766
|
-
|
|
76819
|
+
for (const [i, Static] of Statics .entries ())
|
|
76820
|
+
{
|
|
76821
|
+
const
|
|
76822
|
+
firstShape = firstShapes [i],
|
|
76823
|
+
lastShape = renderObject [`getNum${Static}Shapes`] (),
|
|
76824
|
+
shapes = renderObject [`get${Static}Shapes`] () .splice (firstShape, lastShape - firstShape);
|
|
76767
76825
|
|
|
76768
76826
|
renderObject [`setNum${Static}Shapes`] (firstShape);
|
|
76769
|
-
}
|
|
76770
76827
|
|
|
76771
|
-
|
|
76828
|
+
if (Static .includes ("Transmission"))
|
|
76829
|
+
continue;
|
|
76772
76830
|
|
|
76773
|
-
|
|
76774
|
-
|
|
76775
|
-
modelViewMatrix .push ();
|
|
76776
|
-
modelViewMatrix .multLeft (modelMatrix);
|
|
76777
|
-
shapeNode .traverse (type, renderObject);
|
|
76778
|
-
modelViewMatrix .pop ();
|
|
76831
|
+
for (const shape of shapes)
|
|
76832
|
+
this [staticShapes] .push (shape);
|
|
76779
76833
|
}
|
|
76780
76834
|
};
|
|
76781
76835
|
})(),
|
|
@@ -80050,7 +80104,7 @@ function DirectionalLight (executionContext)
|
|
|
80050
80104
|
|
|
80051
80105
|
// Legacy
|
|
80052
80106
|
|
|
80053
|
-
if (executionContext .getSpecificationVersion ()
|
|
80107
|
+
if (executionContext .getSpecificationVersion () <= 3.0)
|
|
80054
80108
|
this ._global = true;
|
|
80055
80109
|
}
|
|
80056
80110
|
|
|
@@ -89227,7 +89281,7 @@ mediump samplerCube textureCube;
|
|
|
89227
89281
|
|
|
89228
89282
|
/* harmony default export */ const MaterialTextures = (x_ite_Namespace .add ("MaterialTextures", MaterialTextures_default_));
|
|
89229
89283
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
89230
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
89284
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(388);
|
|
89231
89285
|
/*******************************************************************************
|
|
89232
89286
|
*
|
|
89233
89287
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -94500,7 +94554,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
94500
94554
|
|
|
94501
94555
|
/* harmony default export */ const Shaders_ShaderCompiler = (x_ite_Namespace .add ("ShaderCompiler", ShaderCompiler_default_));
|
|
94502
94556
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
94503
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
94557
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(388);
|
|
94504
94558
|
/*******************************************************************************
|
|
94505
94559
|
*
|
|
94506
94560
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -95098,7 +95152,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
|
|
|
95098
95152
|
|
|
95099
95153
|
/* harmony default export */ const Shape_X3DAppearanceNode = (x_ite_Namespace .add ("X3DAppearanceNode", X3DAppearanceNode_default_));
|
|
95100
95154
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
|
|
95101
|
-
/* provided dependency */ var Appearance_$ = __webpack_require__(
|
|
95155
|
+
/* provided dependency */ var Appearance_$ = __webpack_require__(388);
|
|
95102
95156
|
/*******************************************************************************
|
|
95103
95157
|
*
|
|
95104
95158
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -103353,8 +103407,8 @@ const GifMedia_default_ = GifMedia;
|
|
|
103353
103407
|
|
|
103354
103408
|
/* harmony default export */ const Texturing_GifMedia = (x_ite_Namespace .add ("GifMedia", GifMedia_default_));
|
|
103355
103409
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
103356
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
103357
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
103410
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(388);
|
|
103411
|
+
/* provided dependency */ var SuperGif = __webpack_require__(839);
|
|
103358
103412
|
/*******************************************************************************
|
|
103359
103413
|
*
|
|
103360
103414
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -106460,7 +106514,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
|
|
|
106460
106514
|
|
|
106461
106515
|
/* harmony default export */ const gettext = (x_ite_Namespace .add ("gettext", gettext_default_));
|
|
106462
106516
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
106463
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
106517
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(388);
|
|
106464
106518
|
/*******************************************************************************
|
|
106465
106519
|
*
|
|
106466
106520
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107090,7 +107144,7 @@ const TextCompression_default_ = TextCompression;
|
|
|
107090
107144
|
|
|
107091
107145
|
/* harmony default export */ const Core_TextCompression = (x_ite_Namespace .add ("TextCompression", TextCompression_default_));
|
|
107092
107146
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
107093
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
107147
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(388);
|
|
107094
107148
|
/*******************************************************************************
|
|
107095
107149
|
*
|
|
107096
107150
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107737,7 +107791,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
107737
107791
|
|
|
107738
107792
|
/* harmony default export */ const Core_RenderingProperties = (x_ite_Namespace .add ("RenderingProperties", RenderingProperties_default_));
|
|
107739
107793
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
107740
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
107794
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(388);
|
|
107741
107795
|
/*******************************************************************************
|
|
107742
107796
|
*
|
|
107743
107797
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107859,8 +107913,8 @@ const Notification_default_ = Notification;
|
|
|
107859
107913
|
|
|
107860
107914
|
/* harmony default export */ const Core_Notification = (x_ite_Namespace .add ("Notification", Notification_default_));
|
|
107861
107915
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
107862
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
107863
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
107916
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(384);
|
|
107917
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(388);
|
|
107864
107918
|
/*******************************************************************************
|
|
107865
107919
|
*
|
|
107866
107920
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110595,7 +110649,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
110595
110649
|
|
|
110596
110650
|
/* harmony default export */ const Utility_DataStorage = (x_ite_Namespace .add ("DataStorage", DataStorage_default_));
|
|
110597
110651
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
110598
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
110652
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(388);
|
|
110599
110653
|
/*******************************************************************************
|
|
110600
110654
|
*
|
|
110601
110655
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110889,7 +110943,7 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
110889
110943
|
{
|
|
110890
110944
|
case "antialiased":
|
|
110891
110945
|
{
|
|
110892
|
-
this .setBrowserOption ("Antialiased", this .parseBooleanAttribute (newValue
|
|
110946
|
+
this .setBrowserOption ("Antialiased", this .parseBooleanAttribute (newValue) ?? true);
|
|
110893
110947
|
break;
|
|
110894
110948
|
}
|
|
110895
110949
|
case "baseURL":
|
|
@@ -110900,7 +110954,7 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
110900
110954
|
}
|
|
110901
110955
|
case "cache":
|
|
110902
110956
|
{
|
|
110903
|
-
this .setBrowserOption ("Cache", this .parseBooleanAttribute (newValue
|
|
110957
|
+
this .setBrowserOption ("Cache", this .parseBooleanAttribute (newValue) ?? true);
|
|
110904
110958
|
break;
|
|
110905
110959
|
}
|
|
110906
110960
|
case "colorSpace":
|
|
@@ -110918,12 +110972,12 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
110918
110972
|
case "contextMenu":
|
|
110919
110973
|
case "contextmenu":
|
|
110920
110974
|
{
|
|
110921
|
-
this .setBrowserOption ("ContextMenu", this .parseBooleanAttribute (newValue
|
|
110975
|
+
this .setBrowserOption ("ContextMenu", this .parseBooleanAttribute (newValue) ?? true);
|
|
110922
110976
|
break;
|
|
110923
110977
|
}
|
|
110924
110978
|
case "debug":
|
|
110925
110979
|
{
|
|
110926
|
-
this .setBrowserOption ("Debug", this .parseBooleanAttribute (newValue
|
|
110980
|
+
this .setBrowserOption ("Debug", this .parseBooleanAttribute (newValue) ?? false);
|
|
110927
110981
|
break;
|
|
110928
110982
|
}
|
|
110929
110983
|
case "exposure":
|
|
@@ -110934,7 +110988,7 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
110934
110988
|
case "logarithmicDepthBuffer":
|
|
110935
110989
|
case "logarithmicdepthbuffer":
|
|
110936
110990
|
{
|
|
110937
|
-
this .setBrowserOption ("LogarithmicDepthBuffer", this .parseBooleanAttribute (newValue
|
|
110991
|
+
this .setBrowserOption ("LogarithmicDepthBuffer", this .parseBooleanAttribute (newValue) ?? false);
|
|
110938
110992
|
break;
|
|
110939
110993
|
}
|
|
110940
110994
|
case "multisampling":
|
|
@@ -110946,7 +111000,7 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
110946
111000
|
}
|
|
110947
111001
|
case "notifications":
|
|
110948
111002
|
{
|
|
110949
|
-
this .setBrowserOption ("Notifications", this .parseBooleanAttribute (newValue
|
|
111003
|
+
this .setBrowserOption ("Notifications", this .parseBooleanAttribute (newValue) ?? true);
|
|
110950
111004
|
break;
|
|
110951
111005
|
}
|
|
110952
111006
|
case "oninitialized":
|
|
@@ -110966,13 +111020,13 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
110966
111020
|
case "orderIndependentTransparency":
|
|
110967
111021
|
case "orderindependenttransparency":
|
|
110968
111022
|
{
|
|
110969
|
-
this .setBrowserOption ("OrderIndependentTransparency", this .parseBooleanAttribute (newValue
|
|
111023
|
+
this .setBrowserOption ("OrderIndependentTransparency", this .parseBooleanAttribute (newValue) ?? false);
|
|
110970
111024
|
break;
|
|
110971
111025
|
}
|
|
110972
111026
|
case "splashScreen":
|
|
110973
111027
|
case "splashscreen":
|
|
110974
111028
|
{
|
|
110975
|
-
this .setBrowserOption ("SplashScreen", this .parseBooleanAttribute (newValue
|
|
111029
|
+
this .setBrowserOption ("SplashScreen", this .parseBooleanAttribute (newValue) ?? true);
|
|
110976
111030
|
|
|
110977
111031
|
if (! this .getBrowserOption ("SplashScreen"))
|
|
110978
111032
|
{
|
|
@@ -111000,7 +111054,7 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
111000
111054
|
}
|
|
111001
111055
|
case "timings":
|
|
111002
111056
|
{
|
|
111003
|
-
this .setBrowserOption ("Timings", this .parseBooleanAttribute (newValue
|
|
111057
|
+
this .setBrowserOption ("Timings", this .parseBooleanAttribute (newValue) ?? false);
|
|
111004
111058
|
break;
|
|
111005
111059
|
}
|
|
111006
111060
|
case "toneMapping":
|
|
@@ -111019,7 +111073,7 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
111019
111073
|
{
|
|
111020
111074
|
this .setBrowserOption ("AutoUpdate", false);
|
|
111021
111075
|
|
|
111022
|
-
if (this .parseBooleanAttribute (newValue
|
|
111076
|
+
if (this .parseBooleanAttribute (newValue) ?? true)
|
|
111023
111077
|
this .beginUpdate ();
|
|
111024
111078
|
else
|
|
111025
111079
|
this .endUpdate ();
|
|
@@ -111040,7 +111094,7 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
111040
111094
|
case "xrButton":
|
|
111041
111095
|
case "xrbutton":
|
|
111042
111096
|
{
|
|
111043
|
-
this .setBrowserOption ("XRButton", this .parseBooleanAttribute (newValue
|
|
111097
|
+
this .setBrowserOption ("XRButton", this .parseBooleanAttribute (newValue) ?? true);
|
|
111044
111098
|
break;
|
|
111045
111099
|
}
|
|
111046
111100
|
case "xrMovementControl":
|
|
@@ -111057,15 +111111,13 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
111057
111111
|
}
|
|
111058
111112
|
}
|
|
111059
111113
|
},
|
|
111060
|
-
parseBooleanAttribute
|
|
111114
|
+
parseBooleanAttribute (value)
|
|
111061
111115
|
{
|
|
111062
111116
|
if (value === "true")
|
|
111063
111117
|
return true;
|
|
111064
111118
|
|
|
111065
111119
|
if (value === "false")
|
|
111066
111120
|
return false;
|
|
111067
|
-
|
|
111068
|
-
return defaultValue;
|
|
111069
111121
|
},
|
|
111070
111122
|
parseUrlAttribute (urlCharacters)
|
|
111071
111123
|
{
|
|
@@ -113208,8 +113260,8 @@ const X3DViewer_default_ = X3DViewer;
|
|
|
113208
113260
|
|
|
113209
113261
|
/* harmony default export */ const Navigation_X3DViewer = (x_ite_Namespace .add ("X3DViewer", X3DViewer_default_));
|
|
113210
113262
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
113211
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
113212
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
113263
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(26);
|
|
113264
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(388);
|
|
113213
113265
|
/*******************************************************************************
|
|
113214
113266
|
*
|
|
113215
113267
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -114124,8 +114176,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
114124
114176
|
|
|
114125
114177
|
/* harmony default export */ const Navigation_ExamineViewer = (x_ite_Namespace .add ("ExamineViewer", ExamineViewer_default_));
|
|
114126
114178
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
114127
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
114128
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
114179
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(26);
|
|
114180
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(388);
|
|
114129
114181
|
/*******************************************************************************
|
|
114130
114182
|
*
|
|
114131
114183
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115140,8 +115192,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
115140
115192
|
|
|
115141
115193
|
/* harmony default export */ const Navigation_FlyViewer = (x_ite_Namespace .add ("FlyViewer", FlyViewer_default_));
|
|
115142
115194
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
115143
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
115144
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
115195
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(26);
|
|
115196
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(388);
|
|
115145
115197
|
/*******************************************************************************
|
|
115146
115198
|
*
|
|
115147
115199
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115470,8 +115522,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
115470
115522
|
|
|
115471
115523
|
/* harmony default export */ const Navigation_NoneViewer = (x_ite_Namespace .add ("NoneViewer", NoneViewer_default_));
|
|
115472
115524
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
115473
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
115474
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
115525
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(26);
|
|
115526
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(388);
|
|
115475
115527
|
/*******************************************************************************
|
|
115476
115528
|
*
|
|
115477
115529
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116616,8 +116668,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
116616
116668
|
|
|
116617
116669
|
/* harmony default export */ const Picking_X3DPickingContext = (x_ite_Namespace .add ("X3DPickingContext", X3DPickingContext_default_));
|
|
116618
116670
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
116619
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
116620
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
116671
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(26);
|
|
116672
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(388);
|
|
116621
116673
|
/*******************************************************************************
|
|
116622
116674
|
*
|
|
116623
116675
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118050,7 +118102,7 @@ const Lock_default_ = Lock;
|
|
|
118050
118102
|
|
|
118051
118103
|
/* harmony default export */ const Utility_Lock = (x_ite_Namespace .add ("Lock", Lock_default_));
|
|
118052
118104
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
118053
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
118105
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(388);
|
|
118054
118106
|
/*******************************************************************************
|
|
118055
118107
|
*
|
|
118056
118108
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118567,13 +118619,9 @@ Object .assign (X3DRenderingContext .prototype,
|
|
|
118567
118619
|
this [_defaultFrameBuffer] = baseLayer .framebuffer;
|
|
118568
118620
|
|
|
118569
118621
|
this [_pose] = {
|
|
118570
|
-
projectionMatrix: new Numbers_Matrix4 (),
|
|
118571
118622
|
cameraSpaceMatrix: new Numbers_Matrix4 (),
|
|
118572
118623
|
viewMatrix: new Numbers_Matrix4 (),
|
|
118573
|
-
views: [
|
|
118574
|
-
{ cameraSpaceMatrix: new Numbers_Matrix4 (), viewMatrix: new Numbers_Matrix4 (), matrix: new Numbers_Matrix4 () },
|
|
118575
|
-
{ cameraSpaceMatrix: new Numbers_Matrix4 (), viewMatrix: new Numbers_Matrix4 (), matrix: new Numbers_Matrix4 () },
|
|
118576
|
-
],
|
|
118624
|
+
views: [ ],
|
|
118577
118625
|
};
|
|
118578
118626
|
|
|
118579
118627
|
this .setReferenceSpace ();
|
|
@@ -118661,10 +118709,17 @@ Object .assign (X3DRenderingContext .prototype,
|
|
|
118661
118709
|
|
|
118662
118710
|
this .reshapeFrameBuffer (v, x|0, y|0, width|0, height|0);
|
|
118663
118711
|
|
|
118664
|
-
this [_pose] .
|
|
118665
|
-
|
|
118666
|
-
|
|
118667
|
-
|
|
118712
|
+
const pv = this [_pose] .views [v] ??= {
|
|
118713
|
+
projectionMatrix: new Numbers_Matrix4 (),
|
|
118714
|
+
cameraSpaceMatrix: new Numbers_Matrix4 (),
|
|
118715
|
+
viewMatrix: new Numbers_Matrix4 (),
|
|
118716
|
+
matrix: new Numbers_Matrix4 (),
|
|
118717
|
+
};
|
|
118718
|
+
|
|
118719
|
+
pv .projectionMatrix .assign (view .projectionMatrix);
|
|
118720
|
+
pv .cameraSpaceMatrix .assign (view .transform .matrix);
|
|
118721
|
+
pv .viewMatrix .assign (view .transform .inverse .matrix);
|
|
118722
|
+
pv .matrix .assign (pose .transform .matrix) .multRight (view .transform .inverse .matrix);
|
|
118668
118723
|
|
|
118669
118724
|
++ v;
|
|
118670
118725
|
}
|
|
@@ -119347,7 +119402,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
|
|
|
119347
119402
|
|
|
119348
119403
|
/* harmony default export */ const Sound_X3DSoundContext = (x_ite_Namespace .add ("X3DSoundContext", X3DSoundContext_default_));
|
|
119349
119404
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
119350
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
119405
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(388);
|
|
119351
119406
|
const KTXDecoder_default_ = class KTXDecoder
|
|
119352
119407
|
{
|
|
119353
119408
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -120910,7 +120965,7 @@ const Components_default_ = Components;
|
|
|
120910
120965
|
|
|
120911
120966
|
/* harmony default export */ const x_ite_Components = (x_ite_Namespace .add ("Components", Components_default_));
|
|
120912
120967
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
120913
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
120968
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(388);
|
|
120914
120969
|
/*******************************************************************************
|
|
120915
120970
|
* MIT License
|
|
120916
120971
|
*
|
|
@@ -122176,7 +122231,7 @@ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x
|
|
|
122176
122231
|
|
|
122177
122232
|
/* harmony default export */ const FieldTypes = (x_ite_Namespace .add ("FieldTypes", FieldTypes_default_));
|
|
122178
122233
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
122179
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
122234
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(388);
|
|
122180
122235
|
/*******************************************************************************
|
|
122181
122236
|
*
|
|
122182
122237
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -123243,7 +123298,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
123243
123298
|
|
|
123244
123299
|
/* harmony default export */ const Browser_X3DBrowser = (x_ite_Namespace .add ("X3DBrowser", X3DBrowser_default_));
|
|
123245
123300
|
;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
|
|
123246
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
123301
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(388);
|
|
123247
123302
|
/*******************************************************************************
|
|
123248
123303
|
*
|
|
123249
123304
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -123510,8 +123565,8 @@ const QuickSort_default_ = QuickSort;
|
|
|
123510
123565
|
|
|
123511
123566
|
/* harmony default export */ const Algorithms_QuickSort = (x_ite_Namespace .add ("QuickSort", QuickSort_default_));
|
|
123512
123567
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
123513
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
123514
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
123568
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(388);
|
|
123569
|
+
/* provided dependency */ var pako = __webpack_require__(336);
|
|
123515
123570
|
Object .assign (jquery_$,
|
|
123516
123571
|
{
|
|
123517
123572
|
decodeText (input)
|
|
@@ -123587,13 +123642,13 @@ const jquery_default_ = jquery_$;
|
|
|
123587
123642
|
|
|
123588
123643
|
/* harmony default export */ const jquery = (x_ite_Namespace .add ("jquery", jquery_default_));
|
|
123589
123644
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
123590
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
123645
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(665);
|
|
123591
123646
|
const libtess_default_ = libtess_libtess;
|
|
123592
123647
|
;
|
|
123593
123648
|
|
|
123594
123649
|
/* harmony default export */ const lib_libtess = (x_ite_Namespace .add ("libtess", libtess_default_));
|
|
123595
123650
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
123596
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
123651
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(388);
|
|
123597
123652
|
/*******************************************************************************
|
|
123598
123653
|
*
|
|
123599
123654
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -123897,7 +123952,7 @@ x_ite_Namespace, x_ite_Namespace .Fields,
|
|
|
123897
123952
|
|
|
123898
123953
|
// Assign X3D to global namespace.
|
|
123899
123954
|
|
|
123900
|
-
window [Symbol .for ("X_ITE.X3D-10.3.
|
|
123955
|
+
window [Symbol .for ("X_ITE.X3D-10.3.1")] = x_ite_X3D;
|
|
123901
123956
|
|
|
123902
123957
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
123903
123958
|
|