x_ite 10.5.7 → 10.5.8
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 +373 -114
- 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 +10 -10
- 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.d.ts +13 -0
- package/dist/x_ite.js +197 -111
- package/dist/x_ite.min.js +2 -2
- package/dist/x_ite.min.mjs +2 -2
- package/dist/x_ite.mjs +197 -111
- package/dist/x_ite.zip +0 -0
- package/package.json +2 -2
package/dist/x_ite.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v10.5.
|
|
1
|
+
/* X_ITE v10.5.8 */
|
|
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
|
+
/***/ 949:
|
|
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__(445);
|
|
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
|
+
/***/ 485:
|
|
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__(445)], __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
|
+
/***/ 445:
|
|
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
|
+
/***/ 294:
|
|
11164
11164
|
/***/ ((module) => {
|
|
11165
11165
|
|
|
11166
11166
|
/**
|
|
@@ -15939,7 +15939,7 @@ if (true) {
|
|
|
15939
15939
|
|
|
15940
15940
|
/***/ }),
|
|
15941
15941
|
|
|
15942
|
-
/***/
|
|
15942
|
+
/***/ 729:
|
|
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
|
+
/***/ 782:
|
|
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.5.
|
|
20314
|
+
const X3D = window [Symbol .for ("X_ITE.X3D-10.5.8")];
|
|
20315
20315
|
|
|
20316
20316
|
if (X3D)
|
|
20317
20317
|
X3D [name] = module;
|
|
@@ -34173,7 +34173,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
34173
34173
|
|
|
34174
34174
|
/* harmony default export */ const Base_X3DBaseNode = (x_ite_Namespace .add ("X3DBaseNode", X3DBaseNode_default_));
|
|
34175
34175
|
;// ./src/x_ite/Browser/Legacy.js
|
|
34176
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
34176
|
+
/* provided dependency */ var $ = __webpack_require__(445);
|
|
34177
34177
|
/*******************************************************************************
|
|
34178
34178
|
*
|
|
34179
34179
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -34309,7 +34309,7 @@ const Legacy_default_ = Legacy;
|
|
|
34309
34309
|
*
|
|
34310
34310
|
******************************************************************************/
|
|
34311
34311
|
|
|
34312
|
-
const BROWSER_VERSION_default_ = "10.5.
|
|
34312
|
+
const BROWSER_VERSION_default_ = "10.5.8";
|
|
34313
34313
|
;
|
|
34314
34314
|
|
|
34315
34315
|
/* harmony default export */ const BROWSER_VERSION = (x_ite_Namespace .add ("BROWSER_VERSION", BROWSER_VERSION_default_));
|
|
@@ -37334,7 +37334,7 @@ const X3DBindableNode_default_ = X3DBindableNode;
|
|
|
37334
37334
|
|
|
37335
37335
|
/* harmony default export */ const Core_X3DBindableNode = (x_ite_Namespace .add ("X3DBindableNode", X3DBindableNode_default_));
|
|
37336
37336
|
;// ./src/standard/Math/Geometry/Triangle3.js
|
|
37337
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
37337
|
+
/* provided dependency */ var libtess = __webpack_require__(294);
|
|
37338
37338
|
/*******************************************************************************
|
|
37339
37339
|
*
|
|
37340
37340
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -39900,7 +39900,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
39900
39900
|
|
|
39901
39901
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (x_ite_Namespace .add ("X3DProtoDeclaration", X3DProtoDeclaration_default_));
|
|
39902
39902
|
;// ./src/x_ite/Parser/X3DParser.js
|
|
39903
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
39903
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(445);
|
|
39904
39904
|
/*******************************************************************************
|
|
39905
39905
|
*
|
|
39906
39906
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -40155,7 +40155,7 @@ const Expressions_default_ = Expressions;
|
|
|
40155
40155
|
|
|
40156
40156
|
/* harmony default export */ const Parser_Expressions = (x_ite_Namespace .add ("Expressions", Expressions_default_));
|
|
40157
40157
|
;// ./src/x_ite/Parser/VRMLParser.js
|
|
40158
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
40158
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(445);
|
|
40159
40159
|
/*******************************************************************************
|
|
40160
40160
|
*
|
|
40161
40161
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -42795,7 +42795,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
42795
42795
|
|
|
42796
42796
|
/* harmony default export */ const Parser_VRMLParser = (x_ite_Namespace .add ("VRMLParser", VRMLParser_default_));
|
|
42797
42797
|
;// ./src/x_ite/Parser/XMLParser.js
|
|
42798
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
42798
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(445);
|
|
42799
42799
|
/*******************************************************************************
|
|
42800
42800
|
*
|
|
42801
42801
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -44973,7 +44973,7 @@ const URLs_default_ = URLs;
|
|
|
44973
44973
|
|
|
44974
44974
|
/* harmony default export */ const Networking_URLs = (x_ite_Namespace .add ("URLs", URLs_default_));
|
|
44975
44975
|
;// ./src/x_ite/Parser/GLTF2Parser.js
|
|
44976
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
44976
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(445);
|
|
44977
44977
|
/*******************************************************************************
|
|
44978
44978
|
*
|
|
44979
44979
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -48624,7 +48624,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
48624
48624
|
|
|
48625
48625
|
/* harmony default export */ const Parser_GLTF2Parser = (x_ite_Namespace .add ("GLTF2Parser", GLTF2Parser_default_));
|
|
48626
48626
|
;// ./src/x_ite/Parser/GLB2Parser.js
|
|
48627
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
48627
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(445);
|
|
48628
48628
|
/*******************************************************************************
|
|
48629
48629
|
*
|
|
48630
48630
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -48775,7 +48775,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
48775
48775
|
|
|
48776
48776
|
/* harmony default export */ const Parser_GLB2Parser = (x_ite_Namespace .add ("GLB2Parser", GLB2Parser_default_));
|
|
48777
48777
|
;// ./src/x_ite/Parser/OBJParser.js
|
|
48778
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
48778
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(445);
|
|
48779
48779
|
/*******************************************************************************
|
|
48780
48780
|
*
|
|
48781
48781
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -52110,6 +52110,16 @@ class MatrixStack extends Array
|
|
|
52110
52110
|
this [this .#top] .identity ();
|
|
52111
52111
|
}
|
|
52112
52112
|
|
|
52113
|
+
inverse ()
|
|
52114
|
+
{
|
|
52115
|
+
this [this .#top] .inverse ();
|
|
52116
|
+
}
|
|
52117
|
+
|
|
52118
|
+
multRight (matrix)
|
|
52119
|
+
{
|
|
52120
|
+
this [this .#top] .multRight (matrix);
|
|
52121
|
+
}
|
|
52122
|
+
|
|
52113
52123
|
multLeft (matrix)
|
|
52114
52124
|
{
|
|
52115
52125
|
this [this .#top] .multLeft (matrix);
|
|
@@ -52136,8 +52146,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
52136
52146
|
|
|
52137
52147
|
/* harmony default export */ const Utility_MatrixStack = (x_ite_Namespace .add ("MatrixStack", MatrixStack_default_));
|
|
52138
52148
|
;// ./src/x_ite/Parser/SVGParser.js
|
|
52139
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
52140
|
-
/* provided dependency */ var SVGParser_libtess = __webpack_require__(
|
|
52149
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(445);
|
|
52150
|
+
/* provided dependency */ var SVGParser_libtess = __webpack_require__(294);
|
|
52141
52151
|
/*******************************************************************************
|
|
52142
52152
|
*
|
|
52143
52153
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -54916,7 +54926,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
54916
54926
|
|
|
54917
54927
|
/* harmony default export */ const Parser_SVGParser = (x_ite_Namespace .add ("SVGParser", SVGParser_default_));
|
|
54918
54928
|
;// ./src/x_ite/Parser/GoldenGate.js
|
|
54919
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
54929
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(445);
|
|
54920
54930
|
/*******************************************************************************
|
|
54921
54931
|
*
|
|
54922
54932
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -56593,7 +56603,8 @@ function X3DRenderObject (executionContext)
|
|
|
56593
56603
|
this .localShadows = [ false ];
|
|
56594
56604
|
this .localFogs = [ null ];
|
|
56595
56605
|
this .layouts = [ ];
|
|
56596
|
-
this .
|
|
56606
|
+
this .hAnimNode = [ null ];
|
|
56607
|
+
this .invHumanoidMatrix = new Utility_MatrixStack (Numbers_Matrix4);
|
|
56597
56608
|
this .generatedCubeMapTextures = [ ];
|
|
56598
56609
|
this .collisions = [ ];
|
|
56599
56610
|
this .collisionTime = new Time_StopWatch ();
|
|
@@ -56851,9 +56862,13 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
56851
56862
|
{
|
|
56852
56863
|
return this .layouts .at (-1);
|
|
56853
56864
|
},
|
|
56854
|
-
|
|
56865
|
+
getHAnimNode ()
|
|
56866
|
+
{
|
|
56867
|
+
return this .hAnimNode;
|
|
56868
|
+
},
|
|
56869
|
+
getInvHumanoidMatrix ()
|
|
56855
56870
|
{
|
|
56856
|
-
return this .
|
|
56871
|
+
return this .invHumanoidMatrix;
|
|
56857
56872
|
},
|
|
56858
56873
|
getGeneratedCubeMapTextures ()
|
|
56859
56874
|
{
|
|
@@ -57134,7 +57149,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57134
57149
|
|
|
57135
57150
|
pointingContext .modelViewMatrix .set (modelViewMatrix);
|
|
57136
57151
|
pointingContext .scissor = viewVolume .getScissor ();
|
|
57137
|
-
pointingContext .
|
|
57152
|
+
pointingContext .hAnimNode = this .hAnimNode .at (-1);
|
|
57138
57153
|
pointingContext .shapeNode = shapeNode;
|
|
57139
57154
|
|
|
57140
57155
|
// Clip planes & sensors
|
|
@@ -57233,7 +57248,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57233
57248
|
|
|
57234
57249
|
depthContext .modelViewMatrix .set (modelViewMatrix);
|
|
57235
57250
|
depthContext .scissor = viewVolume .getScissor ();
|
|
57236
|
-
depthContext .
|
|
57251
|
+
depthContext .hAnimNode = this .hAnimNode .at (-1);
|
|
57237
57252
|
depthContext .shapeNode = shapeNode;
|
|
57238
57253
|
|
|
57239
57254
|
// Clip planes
|
|
@@ -57292,7 +57307,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57292
57307
|
renderContext .scissor .assign (viewVolume .getScissor ());
|
|
57293
57308
|
renderContext .shadows = this .localShadows .at (-1);
|
|
57294
57309
|
renderContext .fogNode = this .localFogs .at (-1);
|
|
57295
|
-
renderContext .
|
|
57310
|
+
renderContext .hAnimNode = this .hAnimNode .at (-1);
|
|
57296
57311
|
renderContext .shapeNode = shapeNode;
|
|
57297
57312
|
renderContext .appearanceNode = shapeNode .getAppearance ();
|
|
57298
57313
|
|
|
@@ -57352,12 +57367,12 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57352
57367
|
{
|
|
57353
57368
|
const
|
|
57354
57369
|
renderContext = shapes [s],
|
|
57355
|
-
{ scissor, clipPlanes, modelViewMatrix, shapeNode,
|
|
57370
|
+
{ scissor, clipPlanes, modelViewMatrix, shapeNode, hAnimNode } = renderContext,
|
|
57356
57371
|
appearanceNode = shapeNode .getAppearance (),
|
|
57357
57372
|
geometryContext = shapeNode .getGeometryContext (),
|
|
57358
57373
|
depthModeNode = appearanceNode .getDepthMode (),
|
|
57359
57374
|
stylePropertiesNode = appearanceNode .getStyleProperties (geometryContext .geometryType),
|
|
57360
|
-
shaderNode = browser .getPointingShader (clipPlanes .length, shapeNode,
|
|
57375
|
+
shaderNode = browser .getPointingShader (clipPlanes .length, shapeNode, hAnimNode),
|
|
57361
57376
|
id = browser .addPointingShape (renderContext);
|
|
57362
57377
|
|
|
57363
57378
|
gl .scissor (scissor .x - x,
|
|
@@ -57376,7 +57391,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57376
57391
|
|
|
57377
57392
|
depthModeNode ?.enable (gl);
|
|
57378
57393
|
stylePropertiesNode ?.setShaderUniforms (gl, shaderNode);
|
|
57379
|
-
|
|
57394
|
+
hAnimNode ?.setShaderUniforms (gl, shaderNode);
|
|
57380
57395
|
|
|
57381
57396
|
shapeNode .displaySimple (gl, renderContext, shaderNode);
|
|
57382
57397
|
|
|
@@ -57592,11 +57607,11 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57592
57607
|
{
|
|
57593
57608
|
const
|
|
57594
57609
|
renderContext = shapes [s],
|
|
57595
|
-
{ scissor, clipPlanes, modelViewMatrix, shapeNode,
|
|
57610
|
+
{ scissor, clipPlanes, modelViewMatrix, shapeNode, hAnimNode } = renderContext,
|
|
57596
57611
|
appearanceNode = shapeNode .getAppearance (),
|
|
57597
57612
|
geometryContext = shapeNode .getGeometryContext (),
|
|
57598
57613
|
stylePropertiesNode = appearanceNode .getStyleProperties (geometryContext .geometryType),
|
|
57599
|
-
shaderNode = browser .getDepthShader (clipPlanes .length, shapeNode,
|
|
57614
|
+
shaderNode = browser .getDepthShader (clipPlanes .length, shapeNode, hAnimNode);
|
|
57600
57615
|
|
|
57601
57616
|
gl .scissor (... scissor);
|
|
57602
57617
|
|
|
@@ -57609,7 +57624,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
57609
57624
|
gl .uniformMatrix4fv (shaderNode .x3d_ModelViewMatrix, false, modelViewMatrix);
|
|
57610
57625
|
|
|
57611
57626
|
stylePropertiesNode ?.setShaderUniforms (gl, shaderNode);
|
|
57612
|
-
|
|
57627
|
+
hAnimNode ?.setShaderUniforms (gl, shaderNode);
|
|
57613
57628
|
|
|
57614
57629
|
shapeNode .displaySimple (gl, renderContext, shaderNode);
|
|
57615
57630
|
browser .resetTextureUnits ();
|
|
@@ -62930,7 +62945,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
62930
62945
|
|
|
62931
62946
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (x_ite_Namespace .add ("X3DTexture2DNode", X3DTexture2DNode_default_));
|
|
62932
62947
|
;// ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
62933
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
62948
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(445);
|
|
62934
62949
|
/*******************************************************************************
|
|
62935
62950
|
*
|
|
62936
62951
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -65277,15 +65292,57 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, Core_X3DBin
|
|
|
65277
65292
|
},
|
|
65278
65293
|
getUserPosition ()
|
|
65279
65294
|
{
|
|
65280
|
-
return this .userPosition .assign (this .getPosition ())
|
|
65295
|
+
return this .userPosition .assign (this .getPosition ())
|
|
65296
|
+
.add (this ._positionOffset .getValue ());
|
|
65297
|
+
},
|
|
65298
|
+
setUserPosition (userPosition)
|
|
65299
|
+
{
|
|
65300
|
+
this ._positionOffset = this .userPosition .assign (userPosition)
|
|
65301
|
+
.subtract (this .getPosition ());
|
|
65281
65302
|
},
|
|
65282
65303
|
getUserOrientation ()
|
|
65283
65304
|
{
|
|
65284
|
-
return this .userOrientation .assign (this .getOrientation ())
|
|
65305
|
+
return this .userOrientation .assign (this .getOrientation ())
|
|
65306
|
+
.multRight (this ._orientationOffset .getValue ());
|
|
65307
|
+
},
|
|
65308
|
+
setUserOrientation (userOrientation)
|
|
65309
|
+
{
|
|
65310
|
+
this ._orientationOffset = this .userOrientation .assign (this .getOrientation ()) .inverse ()
|
|
65311
|
+
.multRight (userOrientation);
|
|
65285
65312
|
},
|
|
65286
65313
|
getUserCenterOfRotation ()
|
|
65287
65314
|
{
|
|
65288
|
-
return this .userCenterOfRotation .assign (this .getCenterOfRotation ())
|
|
65315
|
+
return this .userCenterOfRotation .assign (this .getCenterOfRotation ())
|
|
65316
|
+
.add (this ._centerOfRotationOffset .getValue ());
|
|
65317
|
+
},
|
|
65318
|
+
setUserCenterOfRotation (userCenterOfRotation)
|
|
65319
|
+
{
|
|
65320
|
+
this ._centerOfRotationOffset = this .userCenterOfRotation .assign (userCenterOfRotation)
|
|
65321
|
+
.subtract (this .getCenterOfRotation ());
|
|
65322
|
+
},
|
|
65323
|
+
getFieldOfViewScale ()
|
|
65324
|
+
{
|
|
65325
|
+
return this ._fieldOfViewScale .getValue ();
|
|
65326
|
+
},
|
|
65327
|
+
setFieldOfViewScale (value)
|
|
65328
|
+
{
|
|
65329
|
+
this ._fieldOfViewScale = value;
|
|
65330
|
+
},
|
|
65331
|
+
getNearDistance ()
|
|
65332
|
+
{
|
|
65333
|
+
return this .nearDistance;
|
|
65334
|
+
},
|
|
65335
|
+
setNearDistance (value)
|
|
65336
|
+
{
|
|
65337
|
+
this .nearDistance = value;
|
|
65338
|
+
},
|
|
65339
|
+
getFarDistance ()
|
|
65340
|
+
{
|
|
65341
|
+
return this .farDistance;
|
|
65342
|
+
},
|
|
65343
|
+
setFarDistance (value)
|
|
65344
|
+
{
|
|
65345
|
+
this .farDistance = value;
|
|
65289
65346
|
},
|
|
65290
65347
|
getProjectionMatrix (renderObject)
|
|
65291
65348
|
{
|
|
@@ -66314,7 +66371,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
66314
66371
|
|
|
66315
66372
|
/* harmony default export */ const Execution_X3DWorld = (x_ite_Namespace .add ("X3DWorld", X3DWorld_default_));
|
|
66316
66373
|
;// ./src/x_ite/InputOutput/FileLoader.js
|
|
66317
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
66374
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(445);
|
|
66318
66375
|
/*******************************************************************************
|
|
66319
66376
|
*
|
|
66320
66377
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -66627,7 +66684,7 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
|
|
|
66627
66684
|
if (this .URL .protocol === "data:")
|
|
66628
66685
|
console .error (`Couldn't load data URL.`, error);
|
|
66629
66686
|
else
|
|
66630
|
-
console .error (`Couldn't load URL '${decodeURI (this .URL .
|
|
66687
|
+
console .error (`Couldn't load URL '${FileLoader_$.try (() => decodeURI (this .URL)) ?? this .URL}'.`, error);
|
|
66631
66688
|
},
|
|
66632
66689
|
});
|
|
66633
66690
|
|
|
@@ -67278,7 +67335,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
|
|
|
67278
67335
|
|
|
67279
67336
|
/* harmony default export */ const Prototype_ProtoDeclarationArray = (x_ite_Namespace .add ("ProtoDeclarationArray", ProtoDeclarationArray_default_));
|
|
67280
67337
|
;// ./src/x_ite/Routing/X3DRoute.js
|
|
67281
|
-
/* provided dependency */ var X3DRoute_$ = __webpack_require__(
|
|
67338
|
+
/* provided dependency */ var X3DRoute_$ = __webpack_require__(445);
|
|
67282
67339
|
/*******************************************************************************
|
|
67283
67340
|
*
|
|
67284
67341
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -77517,7 +77574,7 @@ Object .assign (Object .setPrototypeOf (X3DLineGeometryNode .prototype, Renderin
|
|
|
77517
77574
|
if (this [_numLines0] !== numLines)
|
|
77518
77575
|
return true;
|
|
77519
77576
|
|
|
77520
|
-
if (this [_numLines2] !== numLines)
|
|
77577
|
+
if (this .hasNormals && this [_numLines2] !== numLines)
|
|
77521
77578
|
return true;
|
|
77522
77579
|
|
|
77523
77580
|
// Setup vertex attributes.
|
|
@@ -77599,7 +77656,7 @@ Object .assign (Object .setPrototypeOf (X3DLineGeometryNode .prototype, Renderin
|
|
|
77599
77656
|
if (shapeNode [_numLines0] !== numLines)
|
|
77600
77657
|
return true;
|
|
77601
77658
|
|
|
77602
|
-
if (shapeNode [_numLines2] !== numLines)
|
|
77659
|
+
if (this .hasNormals && shapeNode [_numLines2] !== numLines)
|
|
77603
77660
|
return true;
|
|
77604
77661
|
|
|
77605
77662
|
// Setup vertex attributes.
|
|
@@ -77653,11 +77710,11 @@ Object .assign (Object .setPrototypeOf (X3DLineGeometryNode .prototype, Renderin
|
|
|
77653
77710
|
return;
|
|
77654
77711
|
|
|
77655
77712
|
const
|
|
77656
|
-
browser
|
|
77657
|
-
appearanceNode
|
|
77658
|
-
shaderNode
|
|
77659
|
-
renderModeNodes
|
|
77660
|
-
primitiveMode
|
|
77713
|
+
browser = this .getBrowser (),
|
|
77714
|
+
appearanceNode = renderContext .appearanceNode,
|
|
77715
|
+
shaderNode = appearanceNode .getShader (this, renderContext),
|
|
77716
|
+
renderModeNodes = appearanceNode .getRenderModes (),
|
|
77717
|
+
primitiveMode = browser .getPrimitiveMode (this .getPrimitiveMode ());
|
|
77661
77718
|
|
|
77662
77719
|
for (const node of renderModeNodes)
|
|
77663
77720
|
node .enable (gl);
|
|
@@ -90954,7 +91011,7 @@ mediump samplerCube textureCube;
|
|
|
90954
91011
|
|
|
90955
91012
|
/* harmony default export */ const MaterialTextures = (x_ite_Namespace .add ("MaterialTextures", MaterialTextures_default_));
|
|
90956
91013
|
;// ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
90957
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
91014
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(445);
|
|
90958
91015
|
/*******************************************************************************
|
|
90959
91016
|
*
|
|
90960
91017
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -91184,6 +91241,7 @@ Object .assign (X3DProgrammableShaderObject .prototype,
|
|
|
91184
91241
|
"x3d_TexCoordRamp",
|
|
91185
91242
|
"x3d_JointsTexture",
|
|
91186
91243
|
"x3d_DisplacementsTexture",
|
|
91244
|
+
"x3d_DisplacementWeightsTexture",
|
|
91187
91245
|
"x3d_JointMatricesTexture",
|
|
91188
91246
|
// Common
|
|
91189
91247
|
"x3d_Id", // Pointing ID
|
|
@@ -91998,7 +92056,7 @@ Object .assign (X3DProgrammableShaderObject .prototype,
|
|
|
91998
92056
|
|
|
91999
92057
|
return function (gl, renderContext, geometryContext, front = true)
|
|
92000
92058
|
{
|
|
92001
|
-
const { renderObject, fogNode, appearanceNode,
|
|
92059
|
+
const { renderObject, fogNode, appearanceNode, hAnimNode, modelViewMatrix } = renderContext;
|
|
92002
92060
|
|
|
92003
92061
|
const
|
|
92004
92062
|
stylePropertiesNode = appearanceNode .getStyleProperties (geometryContext .geometryType),
|
|
@@ -92113,7 +92171,7 @@ Object .assign (X3DProgrammableShaderObject .prototype,
|
|
|
92113
92171
|
|
|
92114
92172
|
// Skinning
|
|
92115
92173
|
|
|
92116
|
-
|
|
92174
|
+
hAnimNode ?.setShaderUniforms (gl, this);
|
|
92117
92175
|
};
|
|
92118
92176
|
})(),
|
|
92119
92177
|
enable (gl)
|
|
@@ -94484,13 +94542,30 @@ vec4 shadowCoord=light.shadowMatrix*vec4(vertex,1.0);shadowCoord.z-=light.shadow
|
|
|
94484
94542
|
;// ./src/assets/shaders/webgl2/common/Skin2.glsl.js
|
|
94485
94543
|
const Skin2_glsl_default_ = /* glsl */ `
|
|
94486
94544
|
#if defined(X3D_SKINNING)
|
|
94487
|
-
in float x3d_CoordIndex;
|
|
94545
|
+
in float x3d_CoordIndex;
|
|
94546
|
+
#if X3D_NUM_JOINT_SETS>0
|
|
94547
|
+
uniform sampler2D x3d_JointsTexture;
|
|
94548
|
+
#endif
|
|
94549
|
+
#if X3D_NUM_DISPLACEMENTS>0
|
|
94550
|
+
uniform sampler2D x3d_DisplacementsTexture;uniform sampler2D x3d_DisplacementWeightsTexture;
|
|
94551
|
+
#endif
|
|
94552
|
+
#if X3D_NUM_JOINT_SETS>0||X3D_NUM_DISPLACEMENTS>0
|
|
94553
|
+
uniform sampler2D x3d_JointMatricesTexture;
|
|
94554
|
+
#endif
|
|
94555
|
+
#if X3D_NUM_JOINT_SETS>0
|
|
94556
|
+
mat4 getJointMatrix(const in int joint){vec4 a=texelFetch(x3d_JointMatricesTexture,joint*8,0);vec4 b=texelFetch(x3d_JointMatricesTexture,joint*8+1,0);vec4 c=texelFetch(x3d_JointMatricesTexture,joint*8+2,0);vec4 d=texelFetch(x3d_JointMatricesTexture,joint*8+3,0);return mat4(a,b,c,d);}
|
|
94557
|
+
#if defined(X3D_NORMALS)
|
|
94558
|
+
mat3 getJointNormalMatrix(const in int joint){vec4 a=texelFetch(x3d_JointMatricesTexture,joint*8+4,0);vec4 b=texelFetch(x3d_JointMatricesTexture,joint*8+5,0);vec4 c=texelFetch(x3d_JointMatricesTexture,joint*8+6,0);return mat3(a.xyz,vec3(a.w,b.xy),vec3(b.zw,c.x));}
|
|
94559
|
+
#endif
|
|
94560
|
+
#endif
|
|
94561
|
+
#if X3D_NUM_DISPLACEMENTS>0
|
|
94562
|
+
mat3 getDisplacementJointMatrix(const in int joint){vec4 a=texelFetch(x3d_JointMatricesTexture,joint*8,0);vec4 b=texelFetch(x3d_JointMatricesTexture,joint*8+1,0);vec4 c=texelFetch(x3d_JointMatricesTexture,joint*8+2,0);return mat3(a.xyz,b.xyz,c.xyz);}
|
|
94563
|
+
#endif
|
|
94488
94564
|
#if defined(X3D_NORMALS)
|
|
94489
94565
|
vec3 skinNormal=vec3(0.0);
|
|
94490
94566
|
#if defined(X3D_TANGENTS)
|
|
94491
94567
|
vec3 skinTangent=vec3(0.0);
|
|
94492
94568
|
#endif
|
|
94493
|
-
mat3 getJointNormalMatrix(const in int joint){vec4 a=texelFetch(x3d_JointMatricesTexture,joint*8+4,0);vec4 b=texelFetch(x3d_JointMatricesTexture,joint*8+5,0);vec4 c=texelFetch(x3d_JointMatricesTexture,joint*8+6,0);return mat3(a.xyz,vec3(a.w,b.xy),vec3(b.zw,c.x));}
|
|
94494
94569
|
#define getSkinNormal(normal)(skinNormal)
|
|
94495
94570
|
#if defined(X3D_TANGENTS)
|
|
94496
94571
|
#define getSkinTangent(tangent)(skinTangent)
|
|
@@ -94507,16 +94582,19 @@ skinTangent=tangent;
|
|
|
94507
94582
|
#endif
|
|
94508
94583
|
#endif
|
|
94509
94584
|
#if X3D_NUM_DISPLACEMENTS>0
|
|
94510
|
-
{int coordIndexD=coordIndex*X3D_NUM_DISPLACEMENTS
|
|
94585
|
+
{int coordIndexD=coordIndex*(X3D_NUM_DISPLACEMENTS*2);for(int i=0;i<X3D_NUM_DISPLACEMENTS;++i){int index=coordIndexD+i*2;vec4 displacement=texelFetch(x3d_DisplacementsTexture,index,0);int weightIndex=int(texelFetch(x3d_DisplacementsTexture,index+1,0).x);float weight=texelFetch(x3d_DisplacementWeightsTexture,weightIndex,0).x;skin.xyz+=getDisplacementJointMatrix(int(displacement.w))*(displacement.xyz*weight);}}
|
|
94511
94586
|
#endif
|
|
94512
|
-
|
|
94587
|
+
#if X3D_NUM_JOINT_SETS>0
|
|
94588
|
+
{int coordIndexJ=coordIndex*(X3D_NUM_JOINT_SETS*2);for(int i=0;i<X3D_NUM_JOINT_SETS;++i){int index=coordIndexJ+i;ivec4 joints=ivec4(texelFetch(x3d_JointsTexture,index,0));vec4 weights=texelFetch(x3d_JointsTexture,index+X3D_NUM_JOINT_SETS,0);for(int i=0;i<4;++i){int joint=joints[i];float weight=weights[i];skin+=(getJointMatrix(joint)*vertex-vertex)*weight;
|
|
94513
94589
|
#if defined(X3D_NORMALS)
|
|
94514
94590
|
mat3 jointNormalMatrix=getJointNormalMatrix(joint);skinNormal+=(jointNormalMatrix*normal-normal)*weight;
|
|
94515
94591
|
#if defined(X3D_TANGENTS)
|
|
94516
94592
|
skinTangent+=(jointNormalMatrix*tangent-tangent)*weight;
|
|
94517
94593
|
#endif
|
|
94518
94594
|
#endif
|
|
94519
|
-
}}
|
|
94595
|
+
}}}
|
|
94596
|
+
#endif
|
|
94597
|
+
return skin;}
|
|
94520
94598
|
#else
|
|
94521
94599
|
#define getSkinVertex(vertex,normal,tangent)(vertex)
|
|
94522
94600
|
#define getSkinNormal(normal)(normal)
|
|
@@ -96230,7 +96308,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
96230
96308
|
|
|
96231
96309
|
/* harmony default export */ const Shaders_ShaderCompiler = (x_ite_Namespace .add ("ShaderCompiler", ShaderCompiler_default_));
|
|
96232
96310
|
;// ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
96233
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
96311
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(445);
|
|
96234
96312
|
/*******************************************************************************
|
|
96235
96313
|
*
|
|
96236
96314
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -96828,7 +96906,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
|
|
|
96828
96906
|
|
|
96829
96907
|
/* harmony default export */ const Shape_X3DAppearanceNode = (x_ite_Namespace .add ("X3DAppearanceNode", X3DAppearanceNode_default_));
|
|
96830
96908
|
;// ./src/x_ite/Components/Shape/Appearance.js
|
|
96831
|
-
/* provided dependency */ var Appearance_$ = __webpack_require__(
|
|
96909
|
+
/* provided dependency */ var Appearance_$ = __webpack_require__(445);
|
|
96832
96910
|
/*******************************************************************************
|
|
96833
96911
|
*
|
|
96834
96912
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -97698,7 +97776,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
|
|
|
97698
97776
|
|
|
97699
97777
|
if (renderContext)
|
|
97700
97778
|
{
|
|
97701
|
-
const { renderObject, shadows, fogNode, shapeNode, appearanceNode, textureNode,
|
|
97779
|
+
const { renderObject, shadows, fogNode, shapeNode, appearanceNode, textureNode, hAnimNode, localObjectsKeys } = renderContext;
|
|
97702
97780
|
|
|
97703
97781
|
key += shapeNode .getAlphaMode ();
|
|
97704
97782
|
key += renderObject .getRenderAndGlobalLightsKey ();
|
|
@@ -97708,7 +97786,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
|
|
|
97708
97786
|
key += appearanceNode .getStyleProperties (geometryContext .geometryType) ?.getStyleKey () ?? 0;
|
|
97709
97787
|
key += appearanceNode .getTextureTransformMapping () .size || 1;
|
|
97710
97788
|
key += geometryContext .textureCoordinateMapping .size || 1;
|
|
97711
|
-
key +=
|
|
97789
|
+
key += hAnimNode ?.getHAnimKey () ?? "[]";
|
|
97712
97790
|
key += localObjectsKeys .sort () .join (""); // ClipPlane, X3DLightNode
|
|
97713
97791
|
key += ".";
|
|
97714
97792
|
key += textureNode ? 2 : appearanceNode .getTextureBits () .toString (16);
|
|
@@ -97778,7 +97856,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
|
|
|
97778
97856
|
|
|
97779
97857
|
if (renderContext)
|
|
97780
97858
|
{
|
|
97781
|
-
const { renderObject, fogNode, shapeNode, appearanceNode,
|
|
97859
|
+
const { renderObject, fogNode, shapeNode, appearanceNode, hAnimNode, localObjectsKeys, textureNode } = renderContext;
|
|
97782
97860
|
|
|
97783
97861
|
const objectsKeys = localObjectsKeys .concat (renderObject .getGlobalLightsKeys ());
|
|
97784
97862
|
|
|
@@ -97821,11 +97899,11 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
|
|
|
97821
97899
|
break;
|
|
97822
97900
|
}
|
|
97823
97901
|
|
|
97824
|
-
if (
|
|
97902
|
+
if (hAnimNode)
|
|
97825
97903
|
{
|
|
97826
97904
|
options .push ("X3D_SKINNING");
|
|
97827
|
-
options .push (`X3D_NUM_JOINT_SETS ${
|
|
97828
|
-
options .push (`X3D_NUM_DISPLACEMENTS ${
|
|
97905
|
+
options .push (`X3D_NUM_JOINT_SETS ${hAnimNode .getNumJoints () / 4}`);
|
|
97906
|
+
options .push (`X3D_NUM_DISPLACEMENTS ${hAnimNode .getNumDisplacements ()}`);
|
|
97829
97907
|
}
|
|
97830
97908
|
|
|
97831
97909
|
const
|
|
@@ -105051,8 +105129,8 @@ const GifMedia_default_ = GifMedia;
|
|
|
105051
105129
|
|
|
105052
105130
|
/* harmony default export */ const Texturing_GifMedia = (x_ite_Namespace .add ("GifMedia", GifMedia_default_));
|
|
105053
105131
|
;// ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
105054
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
105055
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
105132
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(445);
|
|
105133
|
+
/* provided dependency */ var SuperGif = __webpack_require__(782);
|
|
105056
105134
|
/*******************************************************************************
|
|
105057
105135
|
*
|
|
105058
105136
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107520,7 +107598,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
|
|
|
107520
107598
|
|
|
107521
107599
|
/* harmony default export */ const gettext = (x_ite_Namespace .add ("gettext", gettext_default_));
|
|
107522
107600
|
;// ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
107523
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
107601
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(445);
|
|
107524
107602
|
/*******************************************************************************
|
|
107525
107603
|
*
|
|
107526
107604
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -108150,7 +108228,7 @@ const TextCompression_default_ = TextCompression;
|
|
|
108150
108228
|
|
|
108151
108229
|
/* harmony default export */ const Core_TextCompression = (x_ite_Namespace .add ("TextCompression", TextCompression_default_));
|
|
108152
108230
|
;// ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
108153
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
108231
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(445);
|
|
108154
108232
|
/*******************************************************************************
|
|
108155
108233
|
*
|
|
108156
108234
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -108797,7 +108875,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
108797
108875
|
|
|
108798
108876
|
/* harmony default export */ const Core_RenderingProperties = (x_ite_Namespace .add ("RenderingProperties", RenderingProperties_default_));
|
|
108799
108877
|
;// ./src/x_ite/Browser/Core/Notification.js
|
|
108800
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
108878
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(445);
|
|
108801
108879
|
/*******************************************************************************
|
|
108802
108880
|
*
|
|
108803
108881
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -108919,8 +108997,8 @@ const Notification_default_ = Notification;
|
|
|
108919
108997
|
|
|
108920
108998
|
/* harmony default export */ const Core_Notification = (x_ite_Namespace .add ("Notification", Notification_default_));
|
|
108921
108999
|
;// ./src/x_ite/Browser/Core/ContextMenu.js
|
|
108922
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
108923
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
109000
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(949);
|
|
109001
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(445);
|
|
108924
109002
|
/*******************************************************************************
|
|
108925
109003
|
*
|
|
108926
109004
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -111642,7 +111720,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
111642
111720
|
|
|
111643
111721
|
/* harmony default export */ const Utility_DataStorage = (x_ite_Namespace .add ("DataStorage", DataStorage_default_));
|
|
111644
111722
|
;// ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
111645
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
111723
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(445);
|
|
111646
111724
|
/*******************************************************************************
|
|
111647
111725
|
*
|
|
111648
111726
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -114253,8 +114331,8 @@ const X3DViewer_default_ = X3DViewer;
|
|
|
114253
114331
|
|
|
114254
114332
|
/* harmony default export */ const Navigation_X3DViewer = (x_ite_Namespace .add ("X3DViewer", X3DViewer_default_));
|
|
114255
114333
|
;// ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
114256
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
114257
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
114334
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(485);
|
|
114335
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(445);
|
|
114258
114336
|
/*******************************************************************************
|
|
114259
114337
|
*
|
|
114260
114338
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115169,8 +115247,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
115169
115247
|
|
|
115170
115248
|
/* harmony default export */ const Navigation_ExamineViewer = (x_ite_Namespace .add ("ExamineViewer", ExamineViewer_default_));
|
|
115171
115249
|
;// ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
115172
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
115173
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
115250
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(485);
|
|
115251
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(445);
|
|
115174
115252
|
/*******************************************************************************
|
|
115175
115253
|
*
|
|
115176
115254
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116185,8 +116263,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
116185
116263
|
|
|
116186
116264
|
/* harmony default export */ const Navigation_FlyViewer = (x_ite_Namespace .add ("FlyViewer", FlyViewer_default_));
|
|
116187
116265
|
;// ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
116188
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
116189
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
116266
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(485);
|
|
116267
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(445);
|
|
116190
116268
|
/*******************************************************************************
|
|
116191
116269
|
*
|
|
116192
116270
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -116515,8 +116593,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
116515
116593
|
|
|
116516
116594
|
/* harmony default export */ const Navigation_NoneViewer = (x_ite_Namespace .add ("NoneViewer", NoneViewer_default_));
|
|
116517
116595
|
;// ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
116518
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
116519
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
116596
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(485);
|
|
116597
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(445);
|
|
116520
116598
|
/*******************************************************************************
|
|
116521
116599
|
*
|
|
116522
116600
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -117105,11 +117183,8 @@ const
|
|
|
117105
117183
|
|
|
117106
117184
|
function X3DNavigationContext ()
|
|
117107
117185
|
{
|
|
117108
|
-
this .addChildObjects (Base_X3DConstants .outputOnly, "
|
|
117109
|
-
Base_X3DConstants .outputOnly, "
|
|
117110
|
-
Base_X3DConstants .outputOnly, "activeViewpoint", new x_ite_Fields .SFNode (),
|
|
117111
|
-
Base_X3DConstants .outputOnly, "availableViewers", new x_ite_Fields .MFString (),
|
|
117112
|
-
Base_X3DConstants .outputOnly, "viewer", new x_ite_Fields .SFString ("EXAMINE"));
|
|
117186
|
+
this .addChildObjects (Base_X3DConstants .outputOnly, "availableViewers", new x_ite_Fields .MFString (),
|
|
117187
|
+
Base_X3DConstants .outputOnly, "viewer", new x_ite_Fields .SFString ("EXAMINE"));
|
|
117113
117188
|
|
|
117114
117189
|
this [_activeCollisions] = new Set ();
|
|
117115
117190
|
this [_viewerNode] = new Navigation_NoneViewer (this .getPrivateScene ());
|
|
@@ -117661,8 +117736,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
117661
117736
|
|
|
117662
117737
|
/* harmony default export */ const Picking_X3DPickingContext = (x_ite_Namespace .add ("X3DPickingContext", X3DPickingContext_default_));
|
|
117663
117738
|
;// ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
117664
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
117665
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
117739
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(485);
|
|
117740
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(445);
|
|
117666
117741
|
/*******************************************************************************
|
|
117667
117742
|
*
|
|
117668
117743
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -118478,14 +118553,14 @@ Object .assign (X3DPointingDeviceSensorContext .prototype,
|
|
|
118478
118553
|
for (const sensor of this [_activeSensors])
|
|
118479
118554
|
sensor .set_motion__ (hit);
|
|
118480
118555
|
},
|
|
118481
|
-
getPointingShader (numClipPlanes, shapeNode,
|
|
118556
|
+
getPointingShader (numClipPlanes, shapeNode, hAnimNode)
|
|
118482
118557
|
{
|
|
118483
118558
|
const { geometryType, hasNormals } = shapeNode .getGeometryContext ();
|
|
118484
118559
|
|
|
118485
118560
|
let key = "";
|
|
118486
118561
|
|
|
118487
118562
|
key += numClipPlanes; // Could be more than 9.
|
|
118488
|
-
key +=
|
|
118563
|
+
key += hAnimNode ?.getHAnimKey () ?? "[]";
|
|
118489
118564
|
key += shapeNode .getShapeKey ();
|
|
118490
118565
|
key += geometryType;
|
|
118491
118566
|
key += hasNormals ? 1 : 0;
|
|
@@ -118506,9 +118581,9 @@ Object .assign (X3DPointingDeviceSensorContext .prototype,
|
|
|
118506
118581
|
}
|
|
118507
118582
|
|
|
118508
118583
|
return this [_pointingShaders] .get (key)
|
|
118509
|
-
?? this .createPointingShader (key, numClipPlanes, shapeNode,
|
|
118584
|
+
?? this .createPointingShader (key, numClipPlanes, shapeNode, hAnimNode);
|
|
118510
118585
|
},
|
|
118511
|
-
createPointingShader (key, numClipPlanes, shapeNode,
|
|
118586
|
+
createPointingShader (key, numClipPlanes, shapeNode, hAnimNode)
|
|
118512
118587
|
{
|
|
118513
118588
|
const
|
|
118514
118589
|
appearanceNode = shapeNode .getAppearance (),
|
|
@@ -118548,11 +118623,11 @@ Object .assign (X3DPointingDeviceSensorContext .prototype,
|
|
|
118548
118623
|
if (+appearanceNode .getTextureBits ())
|
|
118549
118624
|
options .push ("X3D_TEXTURE");
|
|
118550
118625
|
|
|
118551
|
-
if (
|
|
118626
|
+
if (hAnimNode)
|
|
118552
118627
|
{
|
|
118553
118628
|
options .push ("X3D_SKINNING");
|
|
118554
|
-
options .push (`X3D_NUM_JOINT_SETS ${
|
|
118555
|
-
options .push (`X3D_NUM_DISPLACEMENTS ${
|
|
118629
|
+
options .push (`X3D_NUM_JOINT_SETS ${hAnimNode .getNumJoints () / 4}`);
|
|
118630
|
+
options .push (`X3D_NUM_DISPLACEMENTS ${hAnimNode .getNumDisplacements ()}`);
|
|
118556
118631
|
}
|
|
118557
118632
|
|
|
118558
118633
|
const shaderNode = this .createShader ("Pointing", "Pointing", "Pointing", options);
|
|
@@ -119109,7 +119184,7 @@ const Lock_default_ = Lock;
|
|
|
119109
119184
|
|
|
119110
119185
|
/* harmony default export */ const Utility_Lock = (x_ite_Namespace .add ("Lock", Lock_default_));
|
|
119111
119186
|
;// ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
119112
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
119187
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(445);
|
|
119113
119188
|
/*******************************************************************************
|
|
119114
119189
|
*
|
|
119115
119190
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -119364,14 +119439,14 @@ Object .assign (X3DRenderingContext .prototype,
|
|
|
119364
119439
|
|
|
119365
119440
|
return this [_composeShader] = this .createShader ("OITCompose", "FullScreen", "OITCompose");
|
|
119366
119441
|
},
|
|
119367
|
-
getDepthShader (numClipPlanes, shapeNode,
|
|
119442
|
+
getDepthShader (numClipPlanes, shapeNode, hAnimNode)
|
|
119368
119443
|
{
|
|
119369
119444
|
const geometryContext = shapeNode .getGeometryContext ();
|
|
119370
119445
|
|
|
119371
119446
|
let key = "";
|
|
119372
119447
|
|
|
119373
119448
|
key += numClipPlanes; // Could be more than 9.
|
|
119374
|
-
key +=
|
|
119449
|
+
key += hAnimNode ?.getHAnimKey () ?? "[]";
|
|
119375
119450
|
key += shapeNode .getShapeKey ();
|
|
119376
119451
|
key += geometryContext .geometryType;
|
|
119377
119452
|
|
|
@@ -119391,9 +119466,9 @@ Object .assign (X3DRenderingContext .prototype,
|
|
|
119391
119466
|
}
|
|
119392
119467
|
|
|
119393
119468
|
return this [_depthShaders] .get (key)
|
|
119394
|
-
?? this .createDepthShader (key, numClipPlanes, shapeNode,
|
|
119469
|
+
?? this .createDepthShader (key, numClipPlanes, shapeNode, hAnimNode);
|
|
119395
119470
|
},
|
|
119396
|
-
createDepthShader (key, numClipPlanes, shapeNode,
|
|
119471
|
+
createDepthShader (key, numClipPlanes, shapeNode, hAnimNode)
|
|
119397
119472
|
{
|
|
119398
119473
|
const
|
|
119399
119474
|
appearanceNode = shapeNode .getAppearance (),
|
|
@@ -119414,11 +119489,11 @@ Object .assign (X3DRenderingContext .prototype,
|
|
|
119414
119489
|
if (appearanceNode .getStyleProperties (geometryContext .geometryType))
|
|
119415
119490
|
options .push ("X3D_STYLE_PROPERTIES");
|
|
119416
119491
|
|
|
119417
|
-
if (
|
|
119492
|
+
if (hAnimNode)
|
|
119418
119493
|
{
|
|
119419
119494
|
options .push ("X3D_SKINNING");
|
|
119420
|
-
options .push (`X3D_NUM_JOINT_SETS ${
|
|
119421
|
-
options .push (`X3D_NUM_DISPLACEMENTS ${
|
|
119495
|
+
options .push (`X3D_NUM_JOINT_SETS ${hAnimNode .getNumJoints () / 4}`);
|
|
119496
|
+
options .push (`X3D_NUM_DISPLACEMENTS ${hAnimNode .getNumDisplacements ()}`);
|
|
119422
119497
|
}
|
|
119423
119498
|
|
|
119424
119499
|
const shaderNode = this .createShader ("Depth", "Depth", "Depth", options);
|
|
@@ -120423,7 +120498,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
|
|
|
120423
120498
|
|
|
120424
120499
|
/* harmony default export */ const Sound_X3DSoundContext = (x_ite_Namespace .add ("X3DSoundContext", X3DSoundContext_default_));
|
|
120425
120500
|
;// ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
120426
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
120501
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(445);
|
|
120427
120502
|
const KTXDecoder_default_ = class KTXDecoder
|
|
120428
120503
|
{
|
|
120429
120504
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -122002,7 +122077,7 @@ const Components_default_ = Components;
|
|
|
122002
122077
|
|
|
122003
122078
|
/* harmony default export */ const x_ite_Components = (x_ite_Namespace .add ("Components", Components_default_));
|
|
122004
122079
|
;// ./src/x_ite/Browser/DOMIntegration.js
|
|
122005
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
122080
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(445);
|
|
122006
122081
|
/*******************************************************************************
|
|
122007
122082
|
* MIT License
|
|
122008
122083
|
*
|
|
@@ -123268,7 +123343,7 @@ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x
|
|
|
123268
123343
|
|
|
123269
123344
|
/* harmony default export */ const FieldTypes = (x_ite_Namespace .add ("FieldTypes", FieldTypes_default_));
|
|
123270
123345
|
;// ./src/x_ite/Browser/X3DBrowser.js
|
|
123271
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
123346
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(445);
|
|
123272
123347
|
/*******************************************************************************
|
|
123273
123348
|
*
|
|
123274
123349
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -123339,6 +123414,8 @@ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x
|
|
|
123339
123414
|
|
|
123340
123415
|
|
|
123341
123416
|
|
|
123417
|
+
|
|
123418
|
+
|
|
123342
123419
|
|
|
123343
123420
|
|
|
123344
123421
|
|
|
@@ -124345,6 +124422,15 @@ Object .defineProperties (X3DBrowser .prototype,
|
|
|
124345
124422
|
|
|
124346
124423
|
Object .defineProperties (X3DBrowser,
|
|
124347
124424
|
{
|
|
124425
|
+
fieldDefinitions:
|
|
124426
|
+
{
|
|
124427
|
+
value: new Base_FieldDefinitionArray ([
|
|
124428
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .outputOnly, "activeLayer", new x_ite_Fields .SFNode ()),
|
|
124429
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .outputOnly, "activeNavigationInfo", new x_ite_Fields .SFNode ()),
|
|
124430
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .outputOnly, "activeViewpoint", new x_ite_Fields .SFNode ()),
|
|
124431
|
+
]),
|
|
124432
|
+
enumerable: true,
|
|
124433
|
+
},
|
|
124348
124434
|
typeName:
|
|
124349
124435
|
{
|
|
124350
124436
|
value: "X3DBrowser",
|
|
@@ -124359,7 +124445,7 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
124359
124445
|
|
|
124360
124446
|
/* harmony default export */ const Browser_X3DBrowser = (x_ite_Namespace .add ("X3DBrowser", X3DBrowser_default_));
|
|
124361
124447
|
;// ./src/x_ite/X3DCanvasElement.js
|
|
124362
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
124448
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(445);
|
|
124363
124449
|
/*******************************************************************************
|
|
124364
124450
|
*
|
|
124365
124451
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -124626,8 +124712,8 @@ const QuickSort_default_ = QuickSort;
|
|
|
124626
124712
|
|
|
124627
124713
|
/* harmony default export */ const Algorithms_QuickSort = (x_ite_Namespace .add ("QuickSort", QuickSort_default_));
|
|
124628
124714
|
;// ./src/lib/jquery.js
|
|
124629
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
124630
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
124715
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(445);
|
|
124716
|
+
/* provided dependency */ var pako = __webpack_require__(729);
|
|
124631
124717
|
Object .assign (jquery_$,
|
|
124632
124718
|
{
|
|
124633
124719
|
decodeText (input)
|
|
@@ -124704,13 +124790,13 @@ const jquery_default_ = jquery_$;
|
|
|
124704
124790
|
|
|
124705
124791
|
/* harmony default export */ const jquery = (x_ite_Namespace .add ("jquery", jquery_default_));
|
|
124706
124792
|
;// ./src/lib/libtess.js
|
|
124707
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
124793
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(294);
|
|
124708
124794
|
const libtess_default_ = libtess_libtess;
|
|
124709
124795
|
;
|
|
124710
124796
|
|
|
124711
124797
|
/* harmony default export */ const lib_libtess = (x_ite_Namespace .add ("libtess", libtess_default_));
|
|
124712
124798
|
;// ./src/x_ite/X3D.js
|
|
124713
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
124799
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(445);
|
|
124714
124800
|
/*******************************************************************************
|
|
124715
124801
|
*
|
|
124716
124802
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -125014,7 +125100,7 @@ x_ite_Namespace, x_ite_Namespace .Fields,
|
|
|
125014
125100
|
|
|
125015
125101
|
// Assign X3D to global namespace.
|
|
125016
125102
|
|
|
125017
|
-
window [Symbol .for ("X_ITE.X3D-10.5.
|
|
125103
|
+
window [Symbol .for ("X_ITE.X3D-10.5.8")] = x_ite_X3D;
|
|
125018
125104
|
|
|
125019
125105
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
125020
125106
|
|