x_ite 10.0.2 → 10.0.4

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.
Files changed (50) hide show
  1. package/README.md +5 -5
  2. package/dist/X3DUOM.xml +1095 -0
  3. package/dist/assets/components/Annotation.js +13 -13
  4. package/dist/assets/components/Annotation.min.js +1 -1
  5. package/dist/assets/components/CADGeometry.js +14 -14
  6. package/dist/assets/components/CADGeometry.min.js +1 -1
  7. package/dist/assets/components/CubeMapTexturing.js +25 -25
  8. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  9. package/dist/assets/components/DIS.js +37 -13
  10. package/dist/assets/components/DIS.min.js +1 -1
  11. package/dist/assets/components/EventUtilities.js +9 -9
  12. package/dist/assets/components/EventUtilities.min.js +1 -1
  13. package/dist/assets/components/Geometry2D.js +18 -18
  14. package/dist/assets/components/Geometry2D.min.js +1 -1
  15. package/dist/assets/components/Geospatial.js +33 -33
  16. package/dist/assets/components/Geospatial.min.js +1 -1
  17. package/dist/assets/components/HAnim.js +30 -24
  18. package/dist/assets/components/HAnim.min.js +1 -1
  19. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  20. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  21. package/dist/assets/components/Layout.js +27 -27
  22. package/dist/assets/components/Layout.min.js +1 -1
  23. package/dist/assets/components/NURBS.js +23 -23
  24. package/dist/assets/components/NURBS.min.js +1 -1
  25. package/dist/assets/components/ParticleSystems.js +26 -26
  26. package/dist/assets/components/ParticleSystems.min.js +1 -1
  27. package/dist/assets/components/Picking.js +18 -18
  28. package/dist/assets/components/Picking.min.js +1 -1
  29. package/dist/assets/components/RigidBodyPhysics.js +25 -17
  30. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  31. package/dist/assets/components/Scripting.js +38 -38
  32. package/dist/assets/components/Scripting.min.js +1 -1
  33. package/dist/assets/components/Text.js +24 -24
  34. package/dist/assets/components/Text.min.js +1 -1
  35. package/dist/assets/components/TextureProjection.js +15 -15
  36. package/dist/assets/components/TextureProjection.min.js +1 -1
  37. package/dist/assets/components/Texturing3D.js +31 -27
  38. package/dist/assets/components/Texturing3D.min.js +1 -1
  39. package/dist/assets/components/VolumeRendering.js +22 -20
  40. package/dist/assets/components/VolumeRendering.min.js +1 -1
  41. package/dist/assets/components/X_ITE.js +75 -19
  42. package/dist/assets/components/X_ITE.min.js +1 -1
  43. package/dist/x_ite.css +1 -1
  44. package/dist/x_ite.d.ts +80 -14
  45. package/dist/x_ite.js +255 -208
  46. package/dist/x_ite.min.js +1 -1
  47. package/dist/x_ite.min.mjs +1 -1
  48. package/dist/x_ite.mjs +255 -208
  49. package/dist/x_ite.zip +0 -0
  50. package/package.json +3 -2
package/dist/x_ite.js CHANGED
@@ -1,4 +1,4 @@
1
- /* X_ITE v10.0.2 */(function webpackUniversalModuleDefinition(root, factory) {
1
+ /* X_ITE v10.0.4 */(function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
3
  module.exports = factory();
4
4
  else if(typeof define === 'function' && define.amd)
@@ -11,10 +11,10 @@
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
14
- /***/ 810:
14
+ /***/ 912:
15
15
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
16
16
 
17
- /* provided dependency */ var jQuery = __webpack_require__(786);
17
+ /* provided dependency */ var jQuery = __webpack_require__(404);
18
18
  /**
19
19
  * @preserve jquery.fullscreen 1.1.5
20
20
  * https://github.com/code-lts/jquery-fullscreen-plugin
@@ -210,7 +210,7 @@ installFullScreenHandlers();
210
210
 
211
211
  /***/ }),
212
212
 
213
- /***/ 832:
213
+ /***/ 290:
214
214
  /***/ ((module, exports, __webpack_require__) => {
215
215
 
216
216
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -224,7 +224,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
224
224
  (function (factory) {
225
225
  if ( true ) {
226
226
  // AMD. Register as an anonymous module.
227
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(786)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
227
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(404)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
228
228
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
229
229
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
230
230
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -435,7 +435,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
435
435
 
436
436
  /***/ }),
437
437
 
438
- /***/ 786:
438
+ /***/ 404:
439
439
  /***/ (function(module, exports) {
440
440
 
441
441
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11159,7 +11159,7 @@ return jQuery;
11159
11159
 
11160
11160
  /***/ }),
11161
11161
 
11162
- /***/ 315:
11162
+ /***/ 185:
11163
11163
  /***/ ((module) => {
11164
11164
 
11165
11165
  /**
@@ -15938,7 +15938,7 @@ if (true) {
15938
15938
 
15939
15939
  /***/ }),
15940
15940
 
15941
- /***/ 826:
15941
+ /***/ 976:
15942
15942
  /***/ (function(__unused_webpack_module, exports) {
15943
15943
 
15944
15944
 
@@ -19183,7 +19183,7 @@ if (true) {
19183
19183
 
19184
19184
  /***/ }),
19185
19185
 
19186
- /***/ 781:
19186
+ /***/ 463:
19187
19187
  /***/ (function(module, exports) {
19188
19188
 
19189
19189
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -20311,7 +20311,7 @@ Object .defineProperty (Namespace, "add",
20311
20311
  }
20312
20312
  else
20313
20313
  {
20314
- const X3D = window [Symbol .for ("X_ITE.X3D-10.0.2")];
20314
+ const X3D = window [Symbol .for ("X_ITE.X3D-10.0.4")];
20315
20315
 
20316
20316
  if (X3D)
20317
20317
  X3D [name] = module;
@@ -21722,32 +21722,18 @@ Object .assign (X3DObject .prototype,
21722
21722
  },
21723
21723
  getUserData (key)
21724
21724
  {
21725
- return this [_userData] .get (key)
21726
- ?? this [_userData] .map ?.get (key);
21725
+ return this [_userData] .get (key);
21727
21726
  },
21728
21727
  setUserData (key, value)
21729
21728
  {
21730
- try
21731
- {
21732
- if (this [_userData] === X3DObject .prototype [_userData])
21733
- this [_userData] = new WeakMap ();
21734
-
21735
- this [_userData] .set (key, value);
21736
- }
21737
- catch
21738
- {
21739
- if (!this [_userData] .map)
21740
- this [_userData] .map = new Map ();
21729
+ if (this [_userData] === X3DObject .prototype [_userData])
21730
+ this [_userData] = new Map ();
21741
21731
 
21742
- this [_userData] .map .set (key, value);
21743
- }
21732
+ this [_userData] .set (key, value);
21744
21733
  },
21745
21734
  removeUserData (key)
21746
21735
  {
21747
- if (this [_userData] .delete (key))
21748
- return;
21749
-
21750
- this [_userData] .map ?.delete (key);
21736
+ this [_userData] .delete (key);
21751
21737
  },
21752
21738
  toString (options = Object .prototype)
21753
21739
  {
@@ -21800,7 +21786,7 @@ Object .assign (X3DObject .prototype,
21800
21786
  dispose ()
21801
21787
  {
21802
21788
  this [_interests] .clear ();
21803
- this [_userData] .map ?.clear ();
21789
+ this [_userData] .clear ();
21804
21790
  },
21805
21791
  });
21806
21792
 
@@ -34291,7 +34277,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
34291
34277
  x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
34292
34278
  /* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
34293
34279
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
34294
- /* provided dependency */ var $ = __webpack_require__(786);
34280
+ /* provided dependency */ var $ = __webpack_require__(404);
34295
34281
  /*******************************************************************************
34296
34282
  *
34297
34283
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34428,7 +34414,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
34428
34414
  *
34429
34415
  ******************************************************************************/
34430
34416
 
34431
- const BROWSER_VERSION_default_ = "10.0.2";
34417
+ const BROWSER_VERSION_default_ = "10.0.4";
34432
34418
  ;
34433
34419
 
34434
34420
  x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
@@ -37614,7 +37600,7 @@ const X3DBindableNode_default_ = X3DBindableNode;
37614
37600
  x_ite_Namespace .add ("X3DBindableNode", "x_ite/Components/Core/X3DBindableNode", X3DBindableNode_default_);
37615
37601
  /* harmony default export */ const Core_X3DBindableNode = (X3DBindableNode_default_);
37616
37602
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
37617
- /* provided dependency */ var libtess = __webpack_require__(315);
37603
+ /* provided dependency */ var libtess = __webpack_require__(185);
37618
37604
  /*******************************************************************************
37619
37605
  *
37620
37606
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -40184,7 +40170,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
40184
40170
  x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
40185
40171
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
40186
40172
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
40187
- /* provided dependency */ var X3DParser_$ = __webpack_require__(786);
40173
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(404);
40188
40174
  /*******************************************************************************
40189
40175
  *
40190
40176
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -40442,7 +40428,7 @@ const Expressions_default_ = Expressions;
40442
40428
  x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
40443
40429
  /* harmony default export */ const Parser_Expressions = (Expressions_default_);
40444
40430
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
40445
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(786);
40431
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(404);
40446
40432
  /*******************************************************************************
40447
40433
  *
40448
40434
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -43142,7 +43128,7 @@ const VRMLParser_default_ = VRMLParser;
43142
43128
  x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
43143
43129
  /* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
43144
43130
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
43145
- /* provided dependency */ var XMLParser_$ = __webpack_require__(786);
43131
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(404);
43146
43132
  /*******************************************************************************
43147
43133
  *
43148
43134
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -45318,7 +45304,7 @@ const URLs_default_ = URLs;
45318
45304
  x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
45319
45305
  /* harmony default export */ const Networking_URLs = (URLs_default_);
45320
45306
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
45321
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(786);
45307
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(404);
45322
45308
  /*******************************************************************************
45323
45309
  *
45324
45310
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -48961,7 +48947,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
48961
48947
  x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
48962
48948
  /* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
48963
48949
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
48964
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(786);
48950
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(404);
48965
48951
  /*******************************************************************************
48966
48952
  *
48967
48953
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -49113,7 +49099,7 @@ const GLB2Parser_default_ = GLB2Parser;
49113
49099
  x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
49114
49100
  /* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
49115
49101
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
49116
- /* provided dependency */ var OBJParser_$ = __webpack_require__(786);
49102
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(404);
49117
49103
  /*******************************************************************************
49118
49104
  *
49119
49105
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -50801,6 +50787,8 @@ x_ite_Namespace .add ("STLBParser", "x_ite/Parser/STLBParser", STLBParser_defaul
50801
50787
 
50802
50788
 
50803
50789
 
50790
+
50791
+
50804
50792
  /*
50805
50793
  * Grammar
50806
50794
  */
@@ -50967,6 +50955,14 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
50967
50955
  return value;
50968
50956
  }
50969
50957
  },
50958
+ convertFDC (f_dc)
50959
+ {
50960
+ // https://github.com/graphdeco-inria/gaussian-splatting/issues/485
50961
+
50962
+ const C0 = 0.28209479177387814;
50963
+
50964
+ return 0.5 + C0 * f_dc;
50965
+ },
50970
50966
  header (elements)
50971
50967
  {
50972
50968
  PLYAParser_Grammar .ply .parse (this);
@@ -51166,20 +51162,20 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
51166
51162
  async parseVertices ({ count, properties })
51167
51163
  {
51168
51164
  const
51169
- browser = this .getBrowser (),
51170
- scene = this .getScene (),
51171
- colors = [ ],
51172
- texCoord = scene .createNode ("TextureCoordinate"),
51173
- texCoords = [ ],
51174
- normal = scene .createNode ("Normal"),
51175
- normals = [ ],
51176
- coord = scene .createNode ("Coordinate"),
51177
- points = [ ],
51178
- attributes = new Map ();
51165
+ browser = this .getBrowser (),
51166
+ scene = this .getScene (),
51167
+ colors = [ ],
51168
+ texCoord = scene .createNode ("TextureCoordinate"),
51169
+ texCoords = [ ],
51170
+ normal = scene .createNode ("Normal"),
51171
+ normals = [ ],
51172
+ coord = scene .createNode ("Coordinate"),
51173
+ points = [ ],
51174
+ attributes = new Map ();
51179
51175
 
51180
51176
  for (const { name } of properties)
51181
51177
  {
51182
- if (name .match (/^(?:red|green|blue|alpha|r|g|b|a|s|t|u|v|nx|ny|nz|x|y|z)$/))
51178
+ if (name .match (/^(?:red|green|blue|alpha|r|g|b|a|f_dc_0|f_dc_1|f_dc_2|opacity|s|t|u|v|nx|ny|nz|x|y|z)$/))
51183
51179
  continue;
51184
51180
 
51185
51181
  attributes .set (name, [ ]);
@@ -51205,6 +51201,13 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
51205
51201
  case "r": case "g": case "b": case "a":
51206
51202
  colors .push (this .convertColor (this .value, type));
51207
51203
  break;
51204
+ case "f_dc_0": case "f_dc_1": case "f_dc_2":
51205
+ colors .push (this .convertFDC (this .convertColor (this .value, type)));
51206
+ break;
51207
+ case "opacity":
51208
+ // https://github.com/antimatter15/splat/blob/main/convert.py
51209
+ colors .push (1 / (1 + Math .exp (-this .value)));
51210
+ break;
51208
51211
  case "s": case "t":
51209
51212
  case "u": case "v":
51210
51213
  texCoords .push (this .value);
@@ -51244,7 +51247,7 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
51244
51247
  // Geometric properties
51245
51248
 
51246
51249
  const
51247
- pAlpha = properties .some (p => p .name .match (/^(?:alpha|a)$/)),
51250
+ pAlpha = properties .some (p => p .name .match (/^(?:alpha|a|opacity)$/)),
51248
51251
  alpha = pAlpha && colors .some ((v, i) => i % 4 === 3 && v < 1),
51249
51252
  color = scene .createNode (alpha ? "ColorRGBA" : "Color");
51250
51253
 
@@ -52471,8 +52474,8 @@ const MatrixStack_default_ = MatrixStack;
52471
52474
  x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
52472
52475
  /* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
52473
52476
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
52474
- /* provided dependency */ var SVGParser_$ = __webpack_require__(786);
52475
- /* provided dependency */ var SVGParser_libtess = __webpack_require__(315);
52477
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(404);
52478
+ /* provided dependency */ var SVGParser_libtess = __webpack_require__(185);
52476
52479
  /*******************************************************************************
52477
52480
  *
52478
52481
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -55243,7 +55246,7 @@ const SVGParser_default_ = SVGParser;
55243
55246
  x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
55244
55247
  /* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
55245
55248
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
55246
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(786);
55249
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(404);
55247
55250
  /*******************************************************************************
55248
55251
  *
55249
55252
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -56972,6 +56975,7 @@ function X3DRenderObject (executionContext)
56972
56975
  const browser = executionContext .getBrowser ();
56973
56976
 
56974
56977
  this .renderKey = "";
56978
+ this .renderAndGlobalLightsKey = "";
56975
56979
  this .renderCount = 0;
56976
56980
  this .viewVolumes = [ ];
56977
56981
  this .projectionMatrix = new Utility_MatrixStack (Numbers_Matrix4);
@@ -56985,12 +56989,13 @@ function X3DRenderObject (executionContext)
56985
56989
  this .hitRay = new Geometry_Line3 (Numbers_Vector3 .Zero, Numbers_Vector3 .Zero);
56986
56990
  this .sensors = [[ ]];
56987
56991
  this .viewpointGroups = [ ];
56988
- this .localObjectsKeys = [ ];
56992
+ this .lights = [ ];
56989
56993
  this .globalLightsKeys = [ ];
56990
56994
  this .globalLights = [ ];
56995
+ this .localObjectsKeys = [ ];
56991
56996
  this .localObjects = [ ];
56992
- this .lights = [ ];
56993
56997
  this .globalShadows = [ false ];
56998
+ this .globalShadow = false;
56994
56999
  this .localShadows = [ false ];
56995
57000
  this .localFogs = [ null ];
56996
57001
  this .layouts = [ ];
@@ -57100,6 +57105,10 @@ Object .assign (X3DRenderObject .prototype,
57100
57105
  {
57101
57106
  return this .renderKey;
57102
57107
  },
57108
+ getRenderAndGlobalLightsKey ()
57109
+ {
57110
+ return this .renderAndGlobalLightsKey;
57111
+ },
57103
57112
  getRenderCount ()
57104
57113
  {
57105
57114
  return this .renderCount;
@@ -57166,10 +57175,18 @@ Object .assign (X3DRenderObject .prototype,
57166
57175
  {
57167
57176
  return this .viewpointGroups;
57168
57177
  },
57178
+ getLights ()
57179
+ {
57180
+ return this .lights;
57181
+ },
57169
57182
  getGlobalLights ()
57170
57183
  {
57171
57184
  return this .globalLights;
57172
57185
  },
57186
+ getGlobalLightsKeys ()
57187
+ {
57188
+ return this .globalLightsKeys;
57189
+ },
57173
57190
  getLocalObjects ()
57174
57191
  {
57175
57192
  return this .localObjects;
@@ -57178,10 +57195,6 @@ Object .assign (X3DRenderObject .prototype,
57178
57195
  {
57179
57196
  return this .localObjectsKeys;
57180
57197
  },
57181
- getLights ()
57182
- {
57183
- return this .lights;
57184
- },
57185
57198
  pushGlobalShadows (value)
57186
57199
  {
57187
57200
  this .globalShadows .push (value || this .globalShadows .at (-1));
@@ -57190,6 +57203,10 @@ Object .assign (X3DRenderObject .prototype,
57190
57203
  {
57191
57204
  return this .globalShadows;
57192
57205
  },
57206
+ getGlobalShadow ()
57207
+ {
57208
+ return this .globalShadow;
57209
+ },
57193
57210
  pushLocalShadows (value)
57194
57211
  {
57195
57212
  this .localShadows .push (value || this .localShadows .at (-1));
@@ -58017,7 +58034,6 @@ Object .assign (X3DRenderObject .prototype,
58017
58034
  globalLights = this .globalLights,
58018
58035
  generatedCubeMapTextures = this .generatedCubeMapTextures,
58019
58036
  globalShadows = this .globalShadows,
58020
- shadows = globalShadows .at (-1),
58021
58037
  headlight = this .getNavigationInfo () ._headlight .getValue (),
58022
58038
  oit = frameBuffer .getOIT () && independent;
58023
58039
 
@@ -58049,6 +58065,9 @@ Object .assign (X3DRenderObject .prototype,
58049
58065
  for (const light of globalLights)
58050
58066
  globalLightsKeys .push (light .lightNode .getLightKey ());
58051
58067
 
58068
+ this .renderAndGlobalLightsKey = `.${this .renderKey}.${globalLightsKeys .sort () .join ("")}.`;
58069
+ this .globalShadow = globalShadows .at (-1);
58070
+
58052
58071
  // Set global uniforms.
58053
58072
 
58054
58073
  this .viewportArray .set (viewport);
@@ -58056,34 +58075,6 @@ Object .assign (X3DRenderObject .prototype,
58056
58075
  this .viewMatrixArray .set (this .getViewMatrix () .get ());
58057
58076
  this .cameraSpaceMatrixArray .set (this .getCameraSpaceMatrix () .get ());
58058
58077
 
58059
- // Prepare opaque objects.
58060
-
58061
- const
58062
- opaqueShapes = this .opaqueShapes,
58063
- numOpaqueShapes = this .numOpaqueShapes;
58064
-
58065
- for (let i = 0; i < numOpaqueShapes; ++ i)
58066
- {
58067
- const renderContext = opaqueShapes [i];
58068
-
58069
- renderContext .shadows = renderContext .shadows || shadows;
58070
- renderContext .objectsKeys .push (... globalLightsKeys);
58071
- }
58072
-
58073
- // Prepare transparent objects.
58074
-
58075
- const
58076
- transparentShapes = this .transparentShapes,
58077
- numTransparentShapes = this .numTransparentShapes;
58078
-
58079
- for (let i = 0; i < numTransparentShapes; ++ i)
58080
- {
58081
- const renderContext = transparentShapes [i];
58082
-
58083
- renderContext .shadows = renderContext .shadows || shadows;
58084
- renderContext .objectsKeys .push (... globalLightsKeys);
58085
- }
58086
-
58087
58078
  // DRAW
58088
58079
 
58089
58080
  if (independent && this .transmission)
@@ -58102,13 +58093,13 @@ Object .assign (X3DRenderObject .prototype,
58102
58093
  gl .bindTexture (gl .TEXTURE_2D, transmissionBuffer .getColorTexture ());
58103
58094
  gl .generateMipmap (gl .TEXTURE_2D);
58104
58095
 
58105
- this .drawShapes (gl, browser, true, frameBuffer, 0, oit, viewport, opaqueShapes, numOpaqueShapes, transparentShapes, numTransparentShapes, this .transparencySorter);
58096
+ this .drawShapes (gl, browser, true, frameBuffer, 0, oit, viewport, this .opaqueShapes, this .numOpaqueShapes, this .transparentShapes, this .numTransparentShapes, this .transparencySorter);
58106
58097
  }
58107
58098
  else
58108
58099
  {
58109
58100
  // Draw with sorted blend or OIT.
58110
58101
 
58111
- this .drawShapes (gl, browser, independent, frameBuffer, 0, oit, viewport, opaqueShapes, numOpaqueShapes, transparentShapes, numTransparentShapes, this .transparencySorter);
58102
+ this .drawShapes (gl, browser, independent, frameBuffer, 0, oit, viewport, this .opaqueShapes, this .numOpaqueShapes, this .transparentShapes, this .numTransparentShapes, this .transparencySorter);
58112
58103
  }
58113
58104
 
58114
58105
  // POST DRAW
@@ -62032,7 +62023,7 @@ function X3DBackgroundNode (executionContext)
62032
62023
  this .textureNodes = new Array (6);
62033
62024
  this .textureBits = new Utility_BitSet ();
62034
62025
  this .sphereContext = new Rendering_GeometryContext ({ colorMaterial: true });
62035
- this .texturesContext = new Rendering_GeometryContext ({ });
62026
+ this .texturesContext = new Rendering_GeometryContext ({ objectsKeys: this .sphereContext .objectsKeys});
62036
62027
  }
62037
62028
 
62038
62029
  Object .assign (Object .setPrototypeOf (X3DBackgroundNode .prototype, Core_X3DBindableNode .prototype),
@@ -62384,26 +62375,20 @@ Object .assign (Object .setPrototypeOf (X3DBackgroundNode .prototype, Core_X3DBi
62384
62375
  {
62385
62376
  const
62386
62377
  localObjects = renderObject .getLocalObjects (),
62387
- clipPlanes = this .clipPlanes;
62378
+ clipPlanes = this .clipPlanes,
62379
+ objectsKeys = this .sphereContext .objectsKeys;
62388
62380
 
62389
62381
  let c = 0;
62390
62382
 
62391
- for (let l = 0, length = localObjects .length; l < length; ++ l)
62392
- {
62393
- if (localObjects [l] .isClipped)
62394
- clipPlanes [c ++] = localObjects [l];
62395
- }
62396
-
62397
- clipPlanes .length = c;
62398
-
62399
- for (let i = 0; i < c; ++ i)
62383
+ for (const localObject of localObjects)
62400
62384
  {
62401
- this .sphereContext .objectsKeys [i] = 0;
62402
- this .texturesContext .objectsKeys [i] = 0;
62385
+ if (localObject .isClipped)
62386
+ clipPlanes [c ++] = localObject;
62403
62387
  }
62404
62388
 
62405
- this .sphereContext .objectsKeys .length = c;
62406
- this .texturesContext .objectsKeys .length = c;
62389
+ clipPlanes .length = c;
62390
+ objectsKeys .length = c;
62391
+ objectsKeys .fill (0);
62407
62392
  return;
62408
62393
  }
62409
62394
  }
@@ -63229,7 +63214,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
63229
63214
  x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
63230
63215
  /* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
63231
63216
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
63232
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(786);
63217
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(404);
63233
63218
  /*******************************************************************************
63234
63219
  *
63235
63220
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -66813,7 +66798,7 @@ const X3DWorld_default_ = X3DWorld;
66813
66798
  x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
66814
66799
  /* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
66815
66800
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
66816
- /* provided dependency */ var FileLoader_$ = __webpack_require__(786);
66801
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(404);
66817
66802
  /*******************************************************************************
66818
66803
  *
66819
66804
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -67747,7 +67732,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
67747
67732
  x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
67748
67733
  /* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
67749
67734
  ;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
67750
- /* provided dependency */ var X3DRoute_$ = __webpack_require__(786);
67735
+ /* provided dependency */ var X3DRoute_$ = __webpack_require__(404);
67751
67736
  /*******************************************************************************
67752
67737
  *
67753
67738
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -81499,6 +81484,9 @@ x_ite_Namespace .add ("DirectionalLight", "x_ite/Components/Lighting/Directional
81499
81484
 
81500
81485
 
81501
81486
 
81487
+ /**
81488
+ * THIS NODE IS STILL EXPERIMENTAL.
81489
+ */
81502
81490
 
81503
81491
  const EnvironmentLights = Utility_ObjectCache (EnvironmentLightContainer);
81504
81492
 
@@ -90398,6 +90386,10 @@ x_ite_Namespace .add ("PointSet", "x_ite/Components/Rendering/PointSet", PointSe
90398
90386
 
90399
90387
 
90400
90388
 
90389
+ /**
90390
+ * THIS NODE IS STILL EXPERIMENTAL.
90391
+ */
90392
+
90401
90393
  function Tangent (executionContext)
90402
90394
  {
90403
90395
  Rendering_X3DGeometricPropertyNode .call (this, executionContext);
@@ -91290,7 +91282,7 @@ mediump samplerCube textureCube;
91290
91282
  x_ite_Namespace .add ("MaterialTextures", "assets/shaders/MaterialTextures", MaterialTextures_default_);
91291
91283
  /* harmony default export */ const MaterialTextures = (MaterialTextures_default_);
91292
91284
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
91293
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(786);
91285
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(404);
91294
91286
  /*******************************************************************************
91295
91287
  *
91296
91288
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -93577,6 +93569,10 @@ x_ite_Namespace .add ("Matrix4VertexAttribute", "x_ite/Components/Shaders/Matrix
93577
93569
 
93578
93570
 
93579
93571
 
93572
+ /**
93573
+ * THIS NODE IS NOT SUPPORTED.
93574
+ */
93575
+
93580
93576
  function PackagedShader (executionContext)
93581
93577
  {
93582
93578
  Shaders_X3DShaderNode .call (this, executionContext);
@@ -93709,6 +93705,10 @@ x_ite_Namespace .add ("PackagedShader", "x_ite/Components/Shaders/PackagedShader
93709
93705
 
93710
93706
 
93711
93707
 
93708
+ /**
93709
+ * THIS NODE IS NOT SUPPORTED.
93710
+ */
93711
+
93712
93712
  function ProgramShader (executionContext)
93713
93713
  {
93714
93714
  Shaders_X3DShaderNode .call (this, executionContext);
@@ -96735,7 +96735,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
96735
96735
  x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
96736
96736
  /* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
96737
96737
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
96738
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(786);
96738
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(404);
96739
96739
  /*******************************************************************************
96740
96740
  *
96741
96741
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -97034,6 +97034,10 @@ x_ite_Namespace .add ("ShaderPart", "x_ite/Components/Shaders/ShaderPart", Shade
97034
97034
 
97035
97035
 
97036
97036
 
97037
+ /**
97038
+ * THIS NODE IS NOT SUPPORTED.
97039
+ */
97040
+
97037
97041
  function ShaderProgram (executionContext)
97038
97042
  {
97039
97043
  Core_X3DNode .call (this, executionContext);
@@ -97402,7 +97406,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
97402
97406
  x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
97403
97407
  /* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
97404
97408
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
97405
- /* provided dependency */ var Appearance_$ = __webpack_require__(786);
97409
+ /* provided dependency */ var Appearance_$ = __webpack_require__(404);
97406
97410
  /*******************************************************************************
97407
97411
  *
97408
97412
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -98357,16 +98361,14 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
98357
98361
  const { renderObject, shadows, fogNode, shapeNode, appearanceNode, textureNode, humanoidNode, objectsKeys } = renderContext;
98358
98362
 
98359
98363
  key += shapeNode .getAlphaMode ();
98360
- key += renderObject .getRenderKey ();
98361
- key += shadows ? 1 : 0;
98364
+ key += renderObject .getRenderAndGlobalLightsKey ();
98365
+ key += shadows || renderObject .getGlobalShadow () ? 1 : 0;
98362
98366
  key += fogNode ?.getFogType () ?? 0;
98363
98367
  key += shapeNode .getShapeKey ();
98364
98368
  key += appearanceNode .getStyleProperties (geometryContext .geometryType) ?.getStyleKey () ?? 0;
98365
98369
  key += appearanceNode .getTextureTransformMapping () .size || 1;
98366
98370
  key += geometryContext .textureCoordinateMapping .size || 1;
98367
- key += ".";
98368
- key += humanoidNode ?.getHumanoidKey () ?? "";
98369
- key += ".";
98371
+ key += humanoidNode ?.getHumanoidKey () ?? "[]";
98370
98372
  key += objectsKeys .sort () .join (""); // ClipPlane, X3DLightNode
98371
98373
  key += ".";
98372
98374
  key += textureNode ? 2 : appearanceNode .getTextureBits () .toString (16);
@@ -98378,9 +98380,10 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
98378
98380
  const { renderObject, alphaMode, textureNode, objectsKeys } = geometryContext;
98379
98381
 
98380
98382
  key += alphaMode;
98383
+ key += ".";
98381
98384
  key += renderObject .getRenderKey ();
98382
- key += "000011.0.";
98383
- key += objectsKeys .sort () .join (""); // ClipPlane, X3DLightNode
98385
+ key += "..000011[]";
98386
+ key += objectsKeys .sort () .join (""); // ClipPlane
98384
98387
  key += ".";
98385
98388
  key += textureNode ?.getTextureBits () .toString (16) ?? 0;
98386
98389
  }
@@ -98435,7 +98438,9 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
98435
98438
 
98436
98439
  if (renderContext)
98437
98440
  {
98438
- const { renderObject, fogNode, shapeNode, appearanceNode, humanoidNode, objectsKeys, textureNode } = renderContext;
98441
+ const { renderObject, fogNode, shapeNode, appearanceNode, humanoidNode, objectsKeys: localObjectsKeys, textureNode } = renderContext;
98442
+
98443
+ const objectsKeys = localObjectsKeys .concat (renderObject .getGlobalLightsKeys ());
98439
98444
 
98440
98445
  if (renderObject .getLogarithmicDepthBuffer ())
98441
98446
  options .push ("X3D_LOGARITHMIC_DEPTH_BUFFER");
@@ -98463,7 +98468,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
98463
98468
  }
98464
98469
  }
98465
98470
 
98466
- if (renderContext .shadows)
98471
+ if (renderContext .shadows || renderObject .getGlobalShadows () .at (-1))
98467
98472
  options .push ("X3D_SHADOWS", "X3D_PCF_FILTERING");
98468
98473
 
98469
98474
  switch (fogNode ?.getFogType ())
@@ -98597,11 +98602,7 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
98597
98602
  }
98598
98603
  }
98599
98604
 
98600
- const
98601
- numClipPlanes = objectsKeys .reduce ((a, c) => a + (c === 0), 0),
98602
- numLights = objectsKeys .reduce ((a, c) => a + (c === 1), 0),
98603
- numEnvironmentLights = objectsKeys .reduce ((a, c) => a + (c === 2), 0),
98604
- numTextureProjectors = objectsKeys .reduce ((a, c) => a + (c === 3), 0);
98605
+ const numClipPlanes = objectsKeys .reduce ((a, c) => a + (c === 0), 0);
98605
98606
 
98606
98607
  if (numClipPlanes)
98607
98608
  {
@@ -98609,24 +98610,6 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
98609
98610
  options .push (`X3D_NUM_CLIP_PLANES ${Math .min (numClipPlanes, browser .getMaxClipPlanes ())}`);
98610
98611
  }
98611
98612
 
98612
- if (numLights)
98613
- {
98614
- options .push ("X3D_LIGHTING")
98615
- options .push (`X3D_NUM_LIGHTS ${Math .min (numLights, browser .getMaxLights ())}`);
98616
- }
98617
-
98618
- if (numEnvironmentLights)
98619
- {
98620
- options .push ("X3D_USE_IBL")
98621
- options .push (`X3D_NUM_ENVIRONMENT_LIGHTS ${Math .min (numEnvironmentLights, browser .getMaxLights ())}`);
98622
- }
98623
-
98624
- if (numTextureProjectors)
98625
- {
98626
- options .push ("X3D_TEXTURE_PROJECTION")
98627
- options .push (`X3D_NUM_TEXTURE_PROJECTORS ${Math .min (numTextureProjectors, browser .getMaxTextures ())}`);
98628
- }
98629
-
98630
98613
  if (textureNode)
98631
98614
  {
98632
98615
  // X3DBackgroundNode textures
@@ -100319,6 +100302,10 @@ x_ite_Namespace .add ("Shape", "x_ite/Components/Shape/Shape", Shape_default_);
100319
100302
 
100320
100303
 
100321
100304
 
100305
+ /**
100306
+ * THIS NODE IS DEPRECIATED.
100307
+ */
100308
+
100322
100309
  function TwoSidedMaterial (executionContext)
100323
100310
  {
100324
100311
  console .warn ("TwoSidedMaterial is depreciated, please use Appearance backMaterial field instead.");
@@ -105730,6 +105717,10 @@ x_ite_Namespace .add ("SpatialSound", "x_ite/Components/Sound/SpatialSound", Spa
105730
105717
 
105731
105718
 
105732
105719
 
105720
+ /**
105721
+ * THIS NODE IS NOT SUPPORTED.
105722
+ */
105723
+
105733
105724
  function StreamAudioDestination (executionContext)
105734
105725
  {
105735
105726
  Sound_X3DSoundDestinationNode .call (this, executionContext);
@@ -105861,6 +105852,10 @@ x_ite_Namespace .add ("StreamAudioDestination", "x_ite/Components/Sound/StreamAu
105861
105852
 
105862
105853
 
105863
105854
 
105855
+ /**
105856
+ * THIS NODE IS NOT SUPPORTED.
105857
+ */
105858
+
105864
105859
  function StreamAudioSource (executionContext)
105865
105860
  {
105866
105861
  Sound_X3DSoundSourceNode .call (this, executionContext);
@@ -106335,8 +106330,8 @@ const GifMedia_default_ = GifMedia;
106335
106330
  x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
106336
106331
  /* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
106337
106332
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
106338
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(786);
106339
- /* provided dependency */ var SuperGif = __webpack_require__(781);
106333
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(404);
106334
+ /* provided dependency */ var SuperGif = __webpack_require__(463);
106340
106335
  /*******************************************************************************
106341
106336
  *
106342
106337
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109668,7 +109663,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
109668
109663
  x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
109669
109664
  /* harmony default export */ const gettext = (gettext_default_);
109670
109665
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
109671
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(786);
109666
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(404);
109672
109667
  /*******************************************************************************
109673
109668
  *
109674
109669
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110241,7 +110236,7 @@ const TextureQuality_default_ = TextureQuality;
110241
110236
  x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
110242
110237
  /* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
110243
110238
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
110244
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(786);
110239
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(404);
110245
110240
  /*******************************************************************************
110246
110241
  *
110247
110242
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110862,7 +110857,7 @@ const RenderingProperties_default_ = RenderingProperties;
110862
110857
  x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
110863
110858
  /* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
110864
110859
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
110865
- /* provided dependency */ var Notification_$ = __webpack_require__(786);
110860
+ /* provided dependency */ var Notification_$ = __webpack_require__(404);
110866
110861
  /*******************************************************************************
110867
110862
  *
110868
110863
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110985,8 +110980,8 @@ const Notification_default_ = Notification;
110985
110980
  x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
110986
110981
  /* harmony default export */ const Core_Notification = (Notification_default_);
110987
110982
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
110988
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(810);
110989
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(786);
110983
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(912);
110984
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(404);
110990
110985
  /*******************************************************************************
110991
110986
  *
110992
110987
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -113739,7 +113734,7 @@ const DataStorage_default_ = DataStorage;
113739
113734
  x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
113740
113735
  /* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
113741
113736
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
113742
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(786);
113737
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(404);
113743
113738
  /*******************************************************************************
113744
113739
  *
113745
113740
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -113833,8 +113828,8 @@ function X3DCoreContext (element)
113833
113828
  // Get canvas & context.
113834
113829
 
113835
113830
  const
113836
- browser = X3DCoreContext_$("<div></div>") .addClass ("x_ite-private-browser") .attr ("tabindex", 0),
113837
- surface = X3DCoreContext_$("<div></div>") .addClass ("x_ite-private-surface") .appendTo (browser),
113831
+ browser = X3DCoreContext_$("<div></div>") .addClass ("x_ite-private-browser") .attr ("part", "browser") .attr ("tabindex", 0),
113832
+ surface = X3DCoreContext_$("<div></div>") .addClass ("x_ite-private-surface") .attr ("part", "surface") .appendTo (browser),
113838
113833
  splashScreen = X3DCoreContext_$("<div></div>") .hide () .addClass ("x_ite-private-splash-screen") .appendTo (browser),
113839
113834
  spinner = X3DCoreContext_$("<div></div>") .addClass ("x_ite-private-spinner") .appendTo (splashScreen),
113840
113835
  progress = X3DCoreContext_$("<div></div>") .addClass ("x_ite-private-progress") .appendTo (splashScreen);
@@ -113869,7 +113864,7 @@ function X3DCoreContext (element)
113869
113864
  this [_mobile] = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i .test (navigator .userAgent);
113870
113865
  this [_element] = element;
113871
113866
  this [_surface] = surface;
113872
- this [_canvas] = X3DCoreContext_$("<canvas></canvas>") .addClass ("x_ite-private-canvas") .prependTo (surface);
113867
+ this [_canvas] = X3DCoreContext_$("<canvas></canvas>") .attr ("part", "canvas") .addClass ("x_ite-private-canvas") .prependTo (surface);
113873
113868
  this [_context] = Core_Context .create (this [_canvas] [0], WEBGL_VERSION, element .attr ("preserveDrawingBuffer") === "true", this [_mobile]);
113874
113869
  this [_splashScreen] = splashScreen;
113875
113870
 
@@ -116319,8 +116314,8 @@ const X3DViewer_default_ = X3DViewer;
116319
116314
  x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
116320
116315
  /* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
116321
116316
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
116322
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(832);
116323
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(786);
116317
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(290);
116318
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(404);
116324
116319
  /*******************************************************************************
116325
116320
  *
116326
116321
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117236,8 +117231,8 @@ const ExamineViewer_default_ = ExamineViewer;
117236
117231
  x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
117237
117232
  /* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
117238
117233
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
117239
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(832);
117240
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(786);
117234
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(290);
117235
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(404);
117241
117236
  /*******************************************************************************
117242
117237
  *
117243
117238
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -118252,8 +118247,8 @@ const FlyViewer_default_ = FlyViewer;
118252
118247
  x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
118253
118248
  /* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
118254
118249
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
118255
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(832);
118256
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(786);
118250
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(290);
118251
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(404);
118257
118252
  /*******************************************************************************
118258
118253
  *
118259
118254
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -118584,8 +118579,8 @@ const NoneViewer_default_ = NoneViewer;
118584
118579
  x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
118585
118580
  /* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
118586
118581
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
118587
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(832);
118588
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(786);
118582
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(290);
118583
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(404);
118589
118584
  /*******************************************************************************
118590
118585
  *
118591
118586
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -119173,20 +119168,6 @@ const
119173
119168
  _viewerNode = Symbol (),
119174
119169
  _headlightContainer = Symbol ();
119175
119170
 
119176
- function getHeadlight (browser)
119177
- {
119178
- const headlight = new Lighting_DirectionalLight (browser .getPrivateScene ());
119179
-
119180
- headlight .setup ();
119181
-
119182
- const headlightContainer = headlight .getLights () .pop ();
119183
-
119184
- headlightContainer .set (headlight, null, Numbers_Matrix4 .Identity);
119185
- headlightContainer .dispose = Function .prototype;
119186
-
119187
- return headlightContainer;
119188
- };
119189
-
119190
119171
  function X3DNavigationContext ()
119191
119172
  {
119192
119173
  this .addChildObjects (Base_X3DConstants .outputOnly, "activeLayer", new x_ite_Fields .SFNode (),
@@ -119208,9 +119189,22 @@ Object .assign (X3DNavigationContext .prototype,
119208
119189
  this .initialized () .addInterest ("set_world__", this);
119209
119190
  this .shutdown () .addInterest ("remove_world__", this);
119210
119191
 
119211
- this [_headlightContainer] = getHeadlight (this);
119192
+ this [_headlightContainer] = this .createHeadlight ();
119212
119193
  this [_viewerNode] .setup ();
119213
119194
  },
119195
+ createHeadlight ()
119196
+ {
119197
+ const headlight = new Lighting_DirectionalLight (this .getPrivateScene ());
119198
+
119199
+ headlight .setup ();
119200
+
119201
+ const headlightContainer = headlight .getLights () .pop ();
119202
+
119203
+ headlightContainer .set (headlight, null, Numbers_Matrix4 .Identity);
119204
+ headlightContainer .dispose = Function .prototype;
119205
+
119206
+ return headlightContainer;
119207
+ },
119214
119208
  getHeadlight ()
119215
119209
  {
119216
119210
  return this [_headlightContainer];
@@ -119725,8 +119719,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
119725
119719
  x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
119726
119720
  /* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
119727
119721
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
119728
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(832);
119729
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(786);
119722
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(290);
119723
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(404);
119730
119724
  /*******************************************************************************
119731
119725
  *
119732
119726
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120550,14 +120544,11 @@ Object .assign (X3DPointingDeviceSensorContext .prototype,
120550
120544
 
120551
120545
  let key = "";
120552
120546
 
120553
- key += numClipPlanes;
120554
- key += ".";
120547
+ key += numClipPlanes; // Could be more than 9.
120548
+ key += humanoidNode ?.getHumanoidKey () ?? "[]";
120555
120549
  key += shapeNode .getShapeKey ();
120556
120550
  key += geometryType;
120557
- key += hasNormals;
120558
- key += ".";
120559
- key += humanoidNode ?.getHumanoidKey () ?? "";
120560
- key += ".";
120551
+ key += hasNormals ? 1 : 0;
120561
120552
 
120562
120553
  if (geometryType >= 2)
120563
120554
  {
@@ -121030,7 +121021,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
121030
121021
  x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
121031
121022
  /* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
121032
121023
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
121033
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(786);
121024
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(404);
121034
121025
  /*******************************************************************************
121035
121026
  *
121036
121027
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -121082,6 +121073,8 @@ x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFram
121082
121073
 
121083
121074
 
121084
121075
 
121076
+
121077
+
121085
121078
  const
121086
121079
  _viewport = Symbol (),
121087
121080
  _frameBuffer = Symbol (),
@@ -121095,7 +121088,9 @@ const
121095
121088
 
121096
121089
  function X3DRenderingContext ()
121097
121090
  {
121098
- this [_viewport] = new Numbers_Vector4 (0, 0, 300, 150);
121091
+
121092
+ this .addChildObjects (Base_X3DConstants .outputOnly, "viewport", new x_ite_Fields .MFInt32 (0, 0, 300, 150));
121093
+
121099
121094
  this [_frameBuffer] = new Rendering_MultiSampleFrameBuffer (this, 300, 150, 4);
121100
121095
  this [_localObjects] = [ ]; // shader objects dumpster
121101
121096
  this [_depthShaders] = new Map ();
@@ -121187,7 +121182,7 @@ Object .assign (X3DRenderingContext .prototype,
121187
121182
  },
121188
121183
  getViewport ()
121189
121184
  {
121190
- return this [_viewport];
121185
+ return this ._viewport;
121191
121186
  },
121192
121187
  getLocalObjects ()
121193
121188
  {
@@ -121245,13 +121240,10 @@ Object .assign (X3DRenderingContext .prototype,
121245
121240
 
121246
121241
  let key = "";
121247
121242
 
121248
- key += numClipPlanes;
121249
- key += ".";
121243
+ key += numClipPlanes; // Could be more than 9.
121244
+ key += humanoidNode ?.getHumanoidKey () ?? "[]";
121250
121245
  key += shapeNode .getShapeKey ();
121251
121246
  key += geometryContext .geometryType;
121252
- key += ".";
121253
- key += humanoidNode ?.getHumanoidKey () ?? "";
121254
- key += ".";
121255
121247
 
121256
121248
  if (geometryContext .geometryType >= 2)
121257
121249
  {
@@ -121305,6 +121297,32 @@ Object .assign (X3DRenderingContext .prototype,
121305
121297
 
121306
121298
  return shaderNode;
121307
121299
  },
121300
+ resize (width, height)
121301
+ {
121302
+ return new Promise (resolve =>
121303
+ {
121304
+ const key = Symbol ();
121305
+
121306
+ const test = () =>
121307
+ {
121308
+ if (this ._viewport [2] !== width)
121309
+ return;
121310
+
121311
+ if (this ._viewport [2] !== height)
121312
+ return;
121313
+
121314
+ this ._viewport .removeFieldCallback (key);
121315
+
121316
+ resolve ();
121317
+ }
121318
+
121319
+ this .getElement () .css ({ "width": `${width}px`, "height": `${height}px` });
121320
+
121321
+ this ._viewport .addFieldCallback (key, test);
121322
+
121323
+ test ();
121324
+ });
121325
+ },
121308
121326
  reshape ()
121309
121327
  {
121310
121328
  const
@@ -121320,8 +121338,8 @@ Object .assign (X3DRenderingContext .prototype,
121320
121338
  canvas .prop ("width", width);
121321
121339
  canvas .prop ("height", height);
121322
121340
 
121323
- this [_viewport] [2] = width;
121324
- this [_viewport] [3] = height;
121341
+ this ._viewport [2] = width;
121342
+ this ._viewport [3] = height;
121325
121343
 
121326
121344
  if (width === this [_frameBuffer] .getWidth () &&
121327
121345
  height === this [_frameBuffer] .getHeight () &&
@@ -122007,7 +122025,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
122007
122025
  x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
122008
122026
  /* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
122009
122027
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
122010
- /* provided dependency */ var KTXDecoder_$ = __webpack_require__(786);
122028
+ /* provided dependency */ var KTXDecoder_$ = __webpack_require__(404);
122011
122029
  const KTXDecoder_default_ = class KTXDecoder
122012
122030
  {
122013
122031
  constructor (gl, externalKtxlib, scriptDir)
@@ -123176,7 +123194,8 @@ function X3DBrowserContext (element)
123176
123194
  Base_X3DConstants .outputOnly, "timeEvents", new Fields_SFTime (),
123177
123195
  Base_X3DConstants .outputOnly, "sensorEvents", new Fields_SFTime (),
123178
123196
  Base_X3DConstants .outputOnly, "displayEvents", new Fields_SFTime (),
123179
- Base_X3DConstants .outputOnly, "finishedEvents", new Fields_SFTime ());
123197
+ Base_X3DConstants .outputOnly, "finishedEvents", new Fields_SFTime (),
123198
+ Base_X3DConstants .outputOnly, "endEvents", new Fields_SFTime ());
123180
123199
 
123181
123200
  this [X3DBrowserContext_tainted] = false;
123182
123201
  this [_previousTime] = 0;
@@ -123261,6 +123280,10 @@ Object .assign (Object .setPrototypeOf (X3DBrowserContext .prototype, Base_X3DBa
123261
123280
  {
123262
123281
  return this ._finishedEvents;
123263
123282
  },
123283
+ endEvents ()
123284
+ {
123285
+ return this ._endEvents;
123286
+ },
123264
123287
  getBrowser ()
123265
123288
  {
123266
123289
  return this;
@@ -123286,6 +123309,21 @@ Object .assign (Object .setPrototypeOf (X3DBrowserContext .prototype, Base_X3DBa
123286
123309
  this [X3DBrowserContext_tainted] = true;
123287
123310
  this [_animFrame] = requestAnimationFrame (this [_renderCallback]);
123288
123311
  },
123312
+ nextFrame ()
123313
+ {
123314
+ return new Promise (resolve =>
123315
+ {
123316
+ const key = Symbol ();
123317
+
123318
+ this .addBrowserEvent ();
123319
+
123320
+ this ._endEvents .addFieldCallback (key, () =>
123321
+ {
123322
+ this ._endEvents .removeFieldCallback (key);
123323
+ resolve ();
123324
+ });
123325
+ });
123326
+ },
123289
123327
  [_limitFrameRate] (now)
123290
123328
  {
123291
123329
  if (now > this [_previousTime])
@@ -123314,7 +123352,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowserContext .prototype, Base_X3DBa
123314
123352
  this [_systemTime] .stop ();
123315
123353
  this [_browserTime] .start ();
123316
123354
 
123317
- // time
123355
+ // Time
123318
123356
 
123319
123357
  this .advanceTime ();
123320
123358
 
@@ -123361,6 +123399,9 @@ Object .assign (Object .setPrototypeOf (X3DBrowserContext .prototype, Base_X3DBa
123361
123399
  this .getFrameBuffer () .blit ();
123362
123400
  this [_displayTime] .stop ();
123363
123401
 
123402
+ this .addTaintedField (this ._endEvents);
123403
+ this [X3DBrowserContext_processEvents] ();
123404
+
123364
123405
  // Finish
123365
123406
 
123366
123407
  this [_browserTime] .stop ();
@@ -123598,7 +123639,7 @@ const Components_default_ = Components;
123598
123639
  x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
123599
123640
  /* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
123600
123641
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
123601
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(786);
123642
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(404);
123602
123643
  /*******************************************************************************
123603
123644
  * MIT License
123604
123645
  *
@@ -124866,7 +124907,7 @@ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x
124866
124907
  x_ite_Namespace .add ("FieldTypes", "x_ite/Configuration/FieldTypes", FieldTypes_default_);
124867
124908
  /* harmony default export */ const FieldTypes = (FieldTypes_default_);
124868
124909
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
124869
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(786);
124910
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(404);
124870
124911
  /*******************************************************************************
124871
124912
  *
124872
124913
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -125968,7 +126009,7 @@ const X3DBrowser_default_ = X3DBrowser;
125968
126009
  x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
125969
126010
  /* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
125970
126011
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
125971
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(786);
126012
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(404);
125972
126013
  /*******************************************************************************
125973
126014
  *
125974
126015
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -126020,13 +126061,19 @@ x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_defau
126020
126061
 
126021
126062
  class X3DCanvasElement extends HTMLElement
126022
126063
  {
126064
+ browser;
126065
+
126023
126066
  constructor ()
126024
126067
  {
126025
126068
  try
126026
126069
  {
126027
126070
  super ();
126028
126071
 
126029
- new Browser_X3DBrowser (this)
126072
+ Object .defineProperty (this, "browser",
126073
+ {
126074
+ value: new Browser_X3DBrowser (this),
126075
+ enumerable: true,
126076
+ });
126030
126077
  }
126031
126078
  catch (error)
126032
126079
  {
@@ -126112,8 +126159,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
126112
126159
  x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
126113
126160
  /* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
126114
126161
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
126115
- /* provided dependency */ var jquery_$ = __webpack_require__(786);
126116
- /* provided dependency */ var pako = __webpack_require__(826);
126162
+ /* provided dependency */ var jquery_$ = __webpack_require__(404);
126163
+ /* provided dependency */ var pako = __webpack_require__(976);
126117
126164
  Object .assign (jquery_$,
126118
126165
  {
126119
126166
  decodeText (input)
@@ -126190,14 +126237,14 @@ const jquery_default_ = jquery_$;
126190
126237
  x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
126191
126238
  /* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
126192
126239
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
126193
- /* provided dependency */ var libtess_libtess = __webpack_require__(315);
126240
+ /* provided dependency */ var libtess_libtess = __webpack_require__(185);
126194
126241
  const libtess_default_ = libtess_libtess;
126195
126242
  ;
126196
126243
 
126197
126244
  x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
126198
126245
  /* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
126199
126246
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
126200
- /* provided dependency */ var X3D_$ = __webpack_require__(786);
126247
+ /* provided dependency */ var X3D_$ = __webpack_require__(404);
126201
126248
  /*******************************************************************************
126202
126249
  *
126203
126250
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -126505,7 +126552,7 @@ Object .assign (X3D,
126505
126552
 
126506
126553
  // Assign X3D to global namespace.
126507
126554
 
126508
- window [Symbol .for ("X_ITE.X3D-10.0.2")] = x_ite_X3D;
126555
+ window [Symbol .for ("X_ITE.X3D-10.0.4")] = x_ite_X3D;
126509
126556
 
126510
126557
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
126511
126558