x_ite 9.6.2 → 9.6.3

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 (49) hide show
  1. package/README.md +6 -6
  2. package/dist/assets/components/Annotation.js +13 -13
  3. package/dist/assets/components/Annotation.min.js +1 -1
  4. package/dist/assets/components/CADGeometry.js +14 -14
  5. package/dist/assets/components/CADGeometry.min.js +1 -1
  6. package/dist/assets/components/CubeMapTexturing.js +27 -27
  7. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  8. package/dist/assets/components/DIS.js +13 -13
  9. package/dist/assets/components/DIS.min.js +1 -1
  10. package/dist/assets/components/EventUtilities.js +9 -9
  11. package/dist/assets/components/EventUtilities.min.js +1 -1
  12. package/dist/assets/components/Geometry2D.js +18 -18
  13. package/dist/assets/components/Geometry2D.min.js +1 -1
  14. package/dist/assets/components/Geospatial.js +33 -33
  15. package/dist/assets/components/Geospatial.min.js +1 -1
  16. package/dist/assets/components/HAnim.js +23 -23
  17. package/dist/assets/components/HAnim.min.js +1 -1
  18. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  19. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  20. package/dist/assets/components/Layout.js +27 -27
  21. package/dist/assets/components/Layout.min.js +1 -1
  22. package/dist/assets/components/NURBS.js +23 -23
  23. package/dist/assets/components/NURBS.min.js +1 -1
  24. package/dist/assets/components/ParticleSystems.js +26 -26
  25. package/dist/assets/components/ParticleSystems.min.js +1 -1
  26. package/dist/assets/components/Picking.js +18 -18
  27. package/dist/assets/components/Picking.min.js +1 -1
  28. package/dist/assets/components/RigidBodyPhysics.js +17 -17
  29. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  30. package/dist/assets/components/Scripting.js +38 -38
  31. package/dist/assets/components/Scripting.min.js +1 -1
  32. package/dist/assets/components/Text.js +24 -24
  33. package/dist/assets/components/Text.min.js +1 -1
  34. package/dist/assets/components/TextureProjection.js +15 -15
  35. package/dist/assets/components/TextureProjection.min.js +1 -1
  36. package/dist/assets/components/Texturing3D.js +29 -29
  37. package/dist/assets/components/Texturing3D.min.js +1 -1
  38. package/dist/assets/components/VolumeRendering.js +19 -19
  39. package/dist/assets/components/VolumeRendering.min.js +1 -1
  40. package/dist/assets/components/X_ITE.js +14 -14
  41. package/dist/assets/components/X_ITE.min.js +1 -1
  42. package/dist/x_ite.css +1 -1
  43. package/dist/x_ite.d.ts +16 -7
  44. package/dist/x_ite.js +361 -195
  45. package/dist/x_ite.min.js +1 -1
  46. package/dist/x_ite.min.mjs +1 -1
  47. package/dist/x_ite.mjs +361 -195
  48. package/dist/x_ite.zip +0 -0
  49. package/package.json +1 -1
package/dist/x_ite.js CHANGED
@@ -1,4 +1,4 @@
1
- /* X_ITE v9.6.2 */(function webpackUniversalModuleDefinition(root, factory) {
1
+ /* X_ITE v9.6.3 */(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
- /***/ 195:
14
+ /***/ 626:
15
15
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
16
16
 
17
- /* provided dependency */ var jQuery = __webpack_require__(631);
17
+ /* provided dependency */ var jQuery = __webpack_require__(418);
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
- /***/ 711:
213
+ /***/ 408:
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__(631)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
227
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(418)], __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
- /***/ 631:
438
+ /***/ 418:
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
- /***/ 580:
11162
+ /***/ 803:
11163
11163
  /***/ ((module) => {
11164
11164
 
11165
11165
  /**
@@ -15938,7 +15938,7 @@ if (true) {
15938
15938
 
15939
15939
  /***/ }),
15940
15940
 
15941
- /***/ 511:
15941
+ /***/ 674:
15942
15942
  /***/ (function(__unused_webpack_module, exports) {
15943
15943
 
15944
15944
 
@@ -19183,7 +19183,7 @@ if (true) {
19183
19183
 
19184
19184
  /***/ }),
19185
19185
 
19186
- /***/ 936:
19186
+ /***/ 517:
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-9.6.2")];
20314
+ const X3D = window [Symbol .for ("X_ITE.X3D-9.6.3")];
20315
20315
 
20316
20316
  if (X3D)
20317
20317
  X3D [name] = module;
@@ -34230,7 +34230,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
34230
34230
  x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
34231
34231
  /* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
34232
34232
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
34233
- /* provided dependency */ var $ = __webpack_require__(631);
34233
+ /* provided dependency */ var $ = __webpack_require__(418);
34234
34234
  /*******************************************************************************
34235
34235
  *
34236
34236
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34367,7 +34367,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
34367
34367
  *
34368
34368
  ******************************************************************************/
34369
34369
 
34370
- const BROWSER_VERSION_default_ = "9.6.2";
34370
+ const BROWSER_VERSION_default_ = "9.6.3";
34371
34371
  ;
34372
34372
 
34373
34373
  x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
@@ -39013,7 +39013,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
39013
39013
  x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
39014
39014
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
39015
39015
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
39016
- /* provided dependency */ var X3DParser_$ = __webpack_require__(631);
39016
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(418);
39017
39017
  /*******************************************************************************
39018
39018
  *
39019
39019
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39100,16 +39100,12 @@ Object .assign (X3DParser .prototype,
39100
39100
  {
39101
39101
  return this .getExecutionContext () .getOuterNode () instanceof Prototype_X3DProtoDeclaration;
39102
39102
  },
39103
+ /**
39104
+ * @deprecated Directly use `browser.loadComponents`.
39105
+ */
39103
39106
  loadComponents ()
39104
39107
  {
39105
- const
39106
- browser = this .getBrowser (),
39107
- scene = this .getScene ();
39108
-
39109
- return Promise .all ([
39110
- browser .loadComponents (scene .getProfile () || browser .getProfile ("Full")),
39111
- browser .loadComponents (scene .getComponents ()),
39112
- ]);
39108
+ return this .getBrowser () .loadComponents (this .getScene ());
39113
39109
  },
39114
39110
  setUnits (units)
39115
39111
  {
@@ -39275,7 +39271,7 @@ const Expressions_default_ = Expressions;
39275
39271
  x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
39276
39272
  /* harmony default export */ const Parser_Expressions = (Expressions_default_);
39277
39273
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
39278
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(631);
39274
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(418);
39279
39275
  /*******************************************************************************
39280
39276
  *
39281
39277
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39639,7 +39635,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
39639
39635
 
39640
39636
  if (this .resolve)
39641
39637
  {
39642
- this .loadComponents () .then (() =>
39638
+ browser .loadComponents (scene) .then (() =>
39643
39639
  {
39644
39640
  try
39645
39641
  {
@@ -41975,7 +41971,7 @@ const VRMLParser_default_ = VRMLParser;
41975
41971
  x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
41976
41972
  /* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
41977
41973
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
41978
- /* provided dependency */ var XMLParser_$ = __webpack_require__(631);
41974
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(418);
41979
41975
  /*******************************************************************************
41980
41976
  *
41981
41977
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -42093,18 +42089,26 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42093
42089
  },
42094
42090
  parseIntoScene (resolve, reject)
42095
42091
  {
42092
+ const
42093
+ browser = this .getBrowser (),
42094
+ scene = this .getScene ();
42095
+
42096
42096
  this .resolve = resolve;
42097
42097
  this .reject = reject;
42098
42098
 
42099
- this .getScene () .setEncoding ("XML");
42100
- this .getScene () .setProfile (this .getBrowser () .getProfile ("Full"));
42099
+ scene .setEncoding ("XML");
42100
+ scene .setProfile (browser .getProfile ("Full"));
42101
42101
 
42102
42102
  this .xmlElement (this .input);
42103
42103
  },
42104
42104
  xmlElement (xmlElement)
42105
42105
  {
42106
+ const
42107
+ browser = this .getBrowser (),
42108
+ scene = this .getScene ();
42109
+
42106
42110
  if (xmlElement === null)
42107
- return this .resolve ?.(this .getScene ());
42111
+ return this .resolve ?.(scene);
42108
42112
 
42109
42113
  switch (xmlElement .nodeName)
42110
42114
  {
@@ -42121,10 +42125,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42121
42125
  {
42122
42126
  if (this .resolve)
42123
42127
  {
42124
- this .loadComponents () .then (() =>
42128
+ browser .loadComponents (scene) .then (() =>
42125
42129
  {
42126
42130
  this .childrenElements (xmlElement);
42127
- this .resolve (this .getScene ());
42131
+ this .resolve (scene);
42128
42132
  })
42129
42133
  .catch (this .reject);
42130
42134
  }
@@ -42146,10 +42150,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42146
42150
  {
42147
42151
  if (this .resolve)
42148
42152
  {
42149
- this .loadComponents () .then (() =>
42153
+ browser .loadComponents (scene) .then (() =>
42150
42154
  {
42151
42155
  this .sceneElement (xmlElement);
42152
- this .resolve (this .getScene ());
42156
+ this .resolve (scene);
42153
42157
  })
42154
42158
  .catch (this .reject);
42155
42159
  }
@@ -42164,10 +42168,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42164
42168
  {
42165
42169
  if (this .resolve)
42166
42170
  {
42167
- this .loadComponents () .then (() =>
42171
+ browser .loadComponents (scene) .then (() =>
42168
42172
  {
42169
42173
  this .childrenElements (xmlElement);
42170
- this .resolve (this .getScene ());
42174
+ this .resolve (scene);
42171
42175
  })
42172
42176
  .catch (this .reject);
42173
42177
  }
@@ -42182,17 +42186,21 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42182
42186
  },
42183
42187
  x3dElement (xmlElement)
42184
42188
  {
42189
+ const
42190
+ browser = this .getBrowser (),
42191
+ scene = this .getScene ();
42192
+
42185
42193
  try
42186
42194
  {
42187
42195
  // Profile
42188
42196
 
42189
42197
  const
42190
42198
  profileNameId = xmlElement .getAttribute ("profile"),
42191
- profile = this .getBrowser () .getProfile (profileNameId || "Full");
42199
+ profile = browser .getProfile (profileNameId || "Full");
42192
42200
 
42193
42201
  XMLParser_$.data (this .scene, "X3D", xmlElement);
42194
42202
 
42195
- this .getScene () .setProfile (profile);
42203
+ scene .setProfile (profile);
42196
42204
  }
42197
42205
  catch (error)
42198
42206
  {
@@ -42204,7 +42212,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42204
42212
  const specificationVersion = xmlElement .getAttribute ("version");
42205
42213
 
42206
42214
  if (specificationVersion)
42207
- this .getScene () .setSpecificationVersion (specificationVersion);
42215
+ scene .setSpecificationVersion (specificationVersion);
42208
42216
 
42209
42217
  // Process child nodes
42210
42218
 
@@ -42216,12 +42224,12 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42216
42224
 
42217
42225
  if (this .resolve)
42218
42226
  {
42219
- this .loadComponents () .then (() =>
42227
+ browser .loadComponents (scene) .then (() =>
42220
42228
  {
42221
42229
  for (const childNode of xmlElement .childNodes)
42222
42230
  this .x3dElementChildScene (childNode)
42223
42231
 
42224
- this .resolve (this .getScene ());
42232
+ this .resolve (scene);
42225
42233
  })
42226
42234
  .catch (this .reject);
42227
42235
  }
@@ -44007,7 +44015,7 @@ const URLs_default_ = URLs;
44007
44015
  x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
44008
44016
  /* harmony default export */ const Networking_URLs = (URLs_default_);
44009
44017
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
44010
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(631);
44018
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(418);
44011
44019
  /*******************************************************************************
44012
44020
  *
44013
44021
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -44201,7 +44209,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
44201
44209
  this .extensionsArray (glTF .extensionsRequired, this .extensions);
44202
44210
  this .extensionsObject (glTF .extensions);
44203
44211
 
44204
- await this .loadComponents ();
44212
+ await browser .loadComponents (scene);
44205
44213
  await this .buffersArray (glTF .buffers);
44206
44214
 
44207
44215
  if (this .extensions .has ("KHR_draco_mesh_compression"))
@@ -47309,7 +47317,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
47309
47317
  x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
47310
47318
  /* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
47311
47319
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
47312
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(631);
47320
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(418);
47313
47321
  /*******************************************************************************
47314
47322
  *
47315
47323
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47461,7 +47469,7 @@ const GLB2Parser_default_ = GLB2Parser;
47461
47469
  x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
47462
47470
  /* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
47463
47471
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
47464
- /* provided dependency */ var OBJParser_$ = __webpack_require__(631);
47472
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(418);
47465
47473
  /*******************************************************************************
47466
47474
  *
47467
47475
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47627,7 +47635,7 @@ Object .assign (Object .setPrototypeOf (OBJParser .prototype, Parser_X3DParser .
47627
47635
  scene .setEncoding ("OBJ");
47628
47636
  scene .setProfile (browser .getProfile ("Interchange"));
47629
47637
 
47630
- await this .loadComponents ();
47638
+ await browser .loadComponents (scene);
47631
47639
 
47632
47640
  // Init nodes.
47633
47641
 
@@ -48694,7 +48702,7 @@ Object .assign (Object .setPrototypeOf (STLAParser .prototype, Parser_X3DParser
48694
48702
  scene .setEncoding ("STL");
48695
48703
  scene .setProfile (browser .getProfile ("Interchange"));
48696
48704
 
48697
- await this .loadComponents ();
48705
+ await browser .loadComponents (scene);
48698
48706
 
48699
48707
  // Create nodes.
48700
48708
 
@@ -49044,7 +49052,7 @@ Object .assign (Object .setPrototypeOf (STLBParser .prototype, Parser_X3DParser
49044
49052
  scene .setEncoding ("STL");
49045
49053
  scene .setProfile (browser .getProfile ("Interchange"));
49046
49054
 
49047
- await this .loadComponents ();
49055
+ await browser .loadComponents (scene);
49048
49056
 
49049
49057
  // Create nodes.
49050
49058
 
@@ -49240,7 +49248,7 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
49240
49248
  scene .setEncoding ("PLY");
49241
49249
  scene .setProfile (browser .getProfile ("Interchange"));
49242
49250
 
49243
- await this .loadComponents ();
49251
+ await browser .loadComponents (scene);
49244
49252
  await this .processElements (this .header ([ ]))
49245
49253
 
49246
49254
  // Create nodes.
@@ -49515,6 +49523,7 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
49515
49523
  async parseVertices ({ count, properties })
49516
49524
  {
49517
49525
  const
49526
+ browser = this .getBrowser (),
49518
49527
  scene = this .getScene (),
49519
49528
  colors = [ ],
49520
49529
  texCoord = scene .createNode ("TextureCoordinate"),
@@ -49575,7 +49584,7 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
49575
49584
  {
49576
49585
  scene .addComponent (this .getBrowser () .getComponent ("Shaders", 1));
49577
49586
 
49578
- await this .loadComponents ();
49587
+ await browser .loadComponents (scene);
49579
49588
 
49580
49589
  for (const [name, value] of attributes)
49581
49590
  {
@@ -50819,8 +50828,8 @@ const MatrixStack_default_ = MatrixStack;
50819
50828
  x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
50820
50829
  /* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
50821
50830
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
50822
- /* provided dependency */ var SVGParser_$ = __webpack_require__(631);
50823
- /* provided dependency */ var libtess = __webpack_require__(580);
50831
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(418);
50832
+ /* provided dependency */ var libtess = __webpack_require__(803);
50824
50833
  /*******************************************************************************
50825
50834
  *
50826
50835
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -51092,7 +51101,7 @@ Object .assign (Object .setPrototypeOf (SVGParser .prototype, Parser_X3DParser .
51092
51101
  scene .setProfile (browser .getProfile ("Interchange"));
51093
51102
  scene .addComponent (browser .getComponent ("Geometry2D", 2));
51094
51103
 
51095
- await this .loadComponents ();
51104
+ await browser .loadComponents (scene);
51096
51105
 
51097
51106
  // Init nodes.
51098
51107
 
@@ -53588,7 +53597,7 @@ const SVGParser_default_ = SVGParser;
53588
53597
  x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
53589
53598
  /* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
53590
53599
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
53591
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(631);
53600
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(418);
53592
53601
  /*******************************************************************************
53593
53602
  *
53594
53603
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -53955,7 +53964,7 @@ const Plane3_default_ = Plane3;
53955
53964
  x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
53956
53965
  /* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
53957
53966
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
53958
- /* provided dependency */ var Triangle3_libtess = __webpack_require__(580);
53967
+ /* provided dependency */ var Triangle3_libtess = __webpack_require__(803);
53959
53968
  /*******************************************************************************
53960
53969
  *
53961
53970
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -62484,7 +62493,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
62484
62493
  x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
62485
62494
  /* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
62486
62495
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
62487
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(631);
62496
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(418);
62488
62497
  /*******************************************************************************
62489
62498
  *
62490
62499
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -62633,7 +62642,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
62633
62642
  if (DEVELOPMENT)
62634
62643
  {
62635
62644
  if (this .URL .protocol !== "data:")
62636
- console .info (`Done loading image texture '${decodeURI (this .URL .href)}'`);
62645
+ console .info (`Done loading image texture '${decodeURI (this .URL .href)}'.`);
62637
62646
  }
62638
62647
 
62639
62648
  try
@@ -62657,7 +62666,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
62657
62666
  if (DEVELOPMENT)
62658
62667
  {
62659
62668
  if (this .URL .protocol !== "data:")
62660
- console .info (`Done loading image texture '${decodeURI (this .URL .href)}'`);
62669
+ console .info (`Done loading image texture '${decodeURI (this .URL .href)}'.`);
62661
62670
  }
62662
62671
 
62663
62672
  try
@@ -66066,7 +66075,7 @@ const X3DWorld_default_ = X3DWorld;
66066
66075
  x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
66067
66076
  /* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
66068
66077
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
66069
- /* provided dependency */ var FileLoader_$ = __webpack_require__(631);
66078
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(418);
66070
66079
  /*******************************************************************************
66071
66080
  *
66072
66081
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -66233,7 +66242,7 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
66233
66242
  if (DEVELOPMENT)
66234
66243
  {
66235
66244
  if (this .URL .protocol !== "data:")
66236
- console .info (`Done loading scene '${decodeURI (this .URL .href)}'`);
66245
+ console .info (`Done loading scene '${decodeURI (this .URL .href)}'.`);
66237
66246
  }
66238
66247
  },
66239
66248
  createX3DFromURL (url, parameter, callback, bindViewpoint, foreign)
@@ -67000,7 +67009,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
67000
67009
  x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
67001
67010
  /* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
67002
67011
  ;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
67003
- /* provided dependency */ var X3DRoute_$ = __webpack_require__(631);
67012
+ /* provided dependency */ var X3DRoute_$ = __webpack_require__(418);
67004
67013
  /*******************************************************************************
67005
67014
  *
67006
67015
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -90151,7 +90160,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
90151
90160
  x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
90152
90161
  /* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
90153
90162
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
90154
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(631);
90163
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(418);
90155
90164
  /*******************************************************************************
90156
90165
  *
90157
90166
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -93678,13 +93687,11 @@ varying float depth;
93678
93687
  #endif
93679
93688
  #pragma X3D include "PointSize.glsl"
93680
93689
  void vertex_main(){vec4 position=x3d_ModelViewMatrix*x3d_Vertex;vertex=position.xyz;
93681
- #if defined(X3D_GEOMETRY_0D)
93682
- #if defined(X3D_STYLE_PROPERTIES)
93690
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
93683
93691
  gl_PointSize=pointSize=getPointSize(vertex);
93684
93692
  #else
93685
93693
  gl_PointSize=1.0;
93686
93694
  #endif
93687
- #endif
93688
93695
  #if defined(X3D_FOG)&&defined(X3D_FOG_COORDS)
93689
93696
  fogDepth=x3d_FogDepth;
93690
93697
  #endif
@@ -94252,13 +94259,11 @@ vec4 x3d_TransformedVertex=getInstanceVertex(getSkinVertex(x3d_Vertex,x3d_Normal
94252
94259
  vec4 x3d_TransformedVertex=getInstanceVertex(getSkinVertex(x3d_Vertex,vec3(0.0)));
94253
94260
  #endif
94254
94261
  vec4 position=x3d_ModelViewMatrix*x3d_TransformedVertex;vertex=position.xyz;
94255
- #if defined(X3D_GEOMETRY_0D)
94256
- #if defined(X3D_STYLE_PROPERTIES)
94262
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
94257
94263
  gl_PointSize=pointSize=getPointSize(vertex);
94258
94264
  #else
94259
94265
  gl_PointSize=1.0;
94260
94266
  #endif
94261
- #endif
94262
94267
  #if defined(X3D_GEOMETRY_1D)&&defined(X3D_STYLE_PROPERTIES)
94263
94268
  lengthSoFar=x3d_LineStipple.z;startPoint=x3d_LineStipple.xy;midPoint=x3d_LineStipple.xy;
94264
94269
  #endif
@@ -94331,12 +94336,10 @@ x_ite_Namespace .add ("Depth1.fs", "assets/shaders/webgl1/Depth1.fs", Depth1_fs_
94331
94336
  const Depth1_vs_default_ = /* glsl */ `precision highp float;precision highp int;uniform mat4 x3d_ProjectionMatrix;uniform mat4 x3d_ModelViewMatrix;attribute vec4 x3d_Vertex;varying vec3 vertex;
94332
94337
  #pragma X3D include "common/PointSize.glsl"
94333
94338
  void main(){vec4 position=x3d_ModelViewMatrix*x3d_Vertex;vertex=position.xyz;
94334
- #if defined(X3D_GEOMETRY_0D)
94335
- #if defined(X3D_STYLE_PROPERTIES)
94336
- gl_PointSize=max(pointSize=getPointSize(vertex),2.0);
94339
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
94340
+ gl_PointSize=pointSize=getPointSize(vertex);
94337
94341
  #else
94338
- gl_PointSize=2.0;
94339
- #endif
94342
+ gl_PointSize=1.0;
94340
94343
  #endif
94341
94344
  gl_Position=x3d_ProjectionMatrix*position;}`
94342
94345
  ;
@@ -94645,13 +94648,11 @@ varying vec4 texCoord0;
94645
94648
  #endif
94646
94649
  #pragma X3D include "common/PointSize.glsl"
94647
94650
  void main(){
94648
- #if defined(X3D_GEOMETRY_0D)
94649
- #if defined(X3D_STYLE_PROPERTIES)
94650
- gl_PointSize=max(pointSize=getPointSize(vertex),2.0);
94651
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
94652
+ gl_PointSize=pointSize=max(getPointSize(vertex),2.0);
94651
94653
  #else
94652
94654
  gl_PointSize=2.0;
94653
94655
  #endif
94654
- #endif
94655
94656
  vec4 position=x3d_ModelViewMatrix*x3d_Vertex;vertex=position.xyz;normal=x3d_Normal;
94656
94657
  #if!defined(X3D_GEOMETRY_0D)&&!defined(X3D_GEOMETRY_1D)
94657
94658
  texCoord0=x3d_TexCoord0;
@@ -94744,12 +94745,10 @@ precision highp float;precision highp int;precision highp sampler2D;uniform mat4
94744
94745
  #pragma X3D include "common/Instancing.glsl"
94745
94746
  #pragma X3D include "common/PointSize.glsl"
94746
94747
  void main(){vec4 x3d_TransformedVertex=getInstanceVertex(getSkinVertex(x3d_Vertex,vec3(0.0)));vec4 position=x3d_ModelViewMatrix*x3d_TransformedVertex;vertex=position.xyz;
94747
- #if defined(X3D_GEOMETRY_0D)
94748
- #if defined(X3D_STYLE_PROPERTIES)
94749
- gl_PointSize=max(pointSize=getPointSize(vertex),2.0);
94748
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
94749
+ gl_PointSize=pointSize=getPointSize(vertex);
94750
94750
  #else
94751
- gl_PointSize=2.0;
94752
- #endif
94751
+ gl_PointSize=1.0;
94753
94752
  #endif
94754
94753
  gl_Position=x3d_ProjectionMatrix*position;}`
94755
94754
  ;
@@ -95122,13 +95121,11 @@ void main(){
95122
95121
  lengthSoFar=x3d_LineStipple.z;startPoint=x3d_LineStipple.xy;midPoint=x3d_LineStipple.xy;
95123
95122
  #endif
95124
95123
  vec4 x3d_TransformedVertex=getInstanceVertex(getSkinVertex(x3d_Vertex,x3d_Normal));vec4 position=x3d_ModelViewMatrix*x3d_TransformedVertex;vertex=position.xyz;normal=getInstanceNormal(getSkinNormal(x3d_Normal));
95125
- #if defined(X3D_GEOMETRY_0D)
95126
- #if defined(X3D_STYLE_PROPERTIES)
95127
- gl_PointSize=max(pointSize=getPointSize(vertex),2.0);
95124
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
95125
+ gl_PointSize=pointSize=max(getPointSize(vertex),2.0);
95128
95126
  #else
95129
95127
  gl_PointSize=2.0;
95130
95128
  #endif
95131
- #endif
95132
95129
  #if!defined(X3D_GEOMETRY_0D)&&!defined(X3D_GEOMETRY_1D)
95133
95130
  texCoord0=x3d_TexCoord0;
95134
95131
  #endif
@@ -95859,7 +95856,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
95859
95856
  x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
95860
95857
  /* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
95861
95858
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
95862
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(631);
95859
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(418);
95863
95860
  /*******************************************************************************
95864
95861
  *
95865
95862
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -96516,7 +96513,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
96516
96513
  x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
96517
96514
  /* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
96518
96515
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
96519
- /* provided dependency */ var Appearance_$ = __webpack_require__(631);
96516
+ /* provided dependency */ var Appearance_$ = __webpack_require__(418);
96520
96517
  /*******************************************************************************
96521
96518
  *
96522
96519
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -101000,7 +100997,7 @@ Object .assign (Object .setPrototypeOf (AudioClip .prototype, Sound_X3DSoundSour
101000
100997
  if (DEVELOPMENT)
101001
100998
  {
101002
100999
  if (URL .protocol !== "data:")
101003
- console .info (`Done loading audio '${decodeURI (URL .href)}'`);
101000
+ console .info (`Done loading audio '${decodeURI (URL .href)}'.`);
101004
101001
  }
101005
101002
  }
101006
101003
  });
@@ -101812,7 +101809,7 @@ Object .assign (Object .setPrototypeOf (BufferAudioSource .prototype, Sound_X3DS
101812
101809
  if (DEVELOPMENT)
101813
101810
  {
101814
101811
  if (URL .protocol !== "data:")
101815
- console .info (`Done loading audio '${decodeURI (URL .href)}'`);
101812
+ console .info (`Done loading audio '${decodeURI (URL .href)}'.`);
101816
101813
  }
101817
101814
  }
101818
101815
  });
@@ -105468,8 +105465,8 @@ const GifMedia_default_ = GifMedia;
105468
105465
  x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
105469
105466
  /* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
105470
105467
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
105471
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(631);
105472
- /* provided dependency */ var SuperGif = __webpack_require__(936);
105468
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(418);
105469
+ /* provided dependency */ var SuperGif = __webpack_require__(517);
105473
105470
  /*******************************************************************************
105474
105471
  *
105475
105472
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -105649,7 +105646,7 @@ Object .assign (Object .setPrototypeOf (MovieTexture .prototype, Texturing_X3DTe
105649
105646
  if (DEVELOPMENT)
105650
105647
  {
105651
105648
  if (this .URL .protocol !== "data:")
105652
- console .info (`Done loading movie '${decodeURI (this .URL .href)}'`);
105649
+ console .info (`Done loading movie '${decodeURI (this .URL .href)}'.`);
105653
105650
  }
105654
105651
 
105655
105652
  this .video .off ("loadeddata");
@@ -108877,7 +108874,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
108877
108874
  x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
108878
108875
  /* harmony default export */ const gettext = (gettext_default_);
108879
108876
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
108880
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(631);
108877
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(418);
108881
108878
  /*******************************************************************************
108882
108879
  *
108883
108880
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109450,7 +109447,7 @@ const TextureQuality_default_ = TextureQuality;
109450
109447
  x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
109451
109448
  /* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
109452
109449
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
109453
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(631);
109450
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(418);
109454
109451
  /*******************************************************************************
109455
109452
  *
109456
109453
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109567,6 +109564,7 @@ Object .assign (Object .setPrototypeOf (BrowserOptions .prototype, Base_X3DBaseN
109567
109564
  "ContentScale",
109568
109565
  "ContextMenu",
109569
109566
  "Debug",
109567
+ "LogarithmicDepthBuffer",
109570
109568
  "Multisampling",
109571
109569
  "Notifications",
109572
109570
  "OrderIndependentTransparency",
@@ -110044,7 +110042,7 @@ const RenderingProperties_default_ = RenderingProperties;
110044
110042
  x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
110045
110043
  /* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
110046
110044
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
110047
- /* provided dependency */ var Notification_$ = __webpack_require__(631);
110045
+ /* provided dependency */ var Notification_$ = __webpack_require__(418);
110048
110046
  /*******************************************************************************
110049
110047
  *
110050
110048
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110167,8 +110165,8 @@ const Notification_default_ = Notification;
110167
110165
  x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
110168
110166
  /* harmony default export */ const Core_Notification = (Notification_default_);
110169
110167
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
110170
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(195);
110171
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(631);
110168
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(626);
110169
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(418);
110172
110170
  /*******************************************************************************
110173
110171
  *
110174
110172
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110259,12 +110257,12 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
110259
110257
 
110260
110258
  if (typeof this [_userMenu] === "function")
110261
110259
  {
110262
- const menu = this [_userMenu] ();
110260
+ const menu = this [_userMenu] (this .getBrowser ());
110263
110261
 
110264
110262
  if (ContextMenu_$.isPlainObject (menu))
110265
110263
  {
110266
110264
  for (const key in menu)
110267
- userMenu ["user-" + key] = menu [key];
110265
+ userMenu [`user-${key}`] = menu [key];
110268
110266
  }
110269
110267
  }
110270
110268
 
@@ -110495,6 +110493,11 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
110495
110493
  },
110496
110494
  },
110497
110495
  "separator2": "--------",
110496
+
110497
+ // Insert custom user menu items.
110498
+ ... this .createUserMenu (),
110499
+
110500
+ "separator3": "--------",
110498
110501
  "browser-timings": {
110499
110502
  name: gettext("Browser Timings"),
110500
110503
  type: "checkbox",
@@ -110517,53 +110520,47 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
110517
110520
  browser .getElement () .toggleFullScreen ();
110518
110521
  },
110519
110522
  },
110520
- "separator3": "--------",
110521
- },
110522
- };
110523
-
110524
- Object .assign (menu .items, this .createUserMenu ());
110525
-
110526
- Object .assign (menu .items, {
110527
- "separator4": "--------",
110528
- "world-info": {
110529
- name: gettext("Show World Info"),
110530
- className: "context-menu-icon x_ite-private-icon-world-info",
110531
- callback ()
110532
- {
110533
- browser .getShadow () .find (".x_ite-private-world-info") .remove ();
110523
+ "separator4": "--------",
110524
+ "world-info": {
110525
+ name: gettext("Show World Info"),
110526
+ className: "context-menu-icon x_ite-private-icon-world-info",
110527
+ callback ()
110528
+ {
110529
+ browser .getShadow () .find (".x_ite-private-world-info") .remove ();
110534
110530
 
110535
- const
110536
- priv = browser .getShadow () .find (".x_ite-private-browser"),
110537
- overlay = ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-overlay") .appendTo (priv),
110538
- div = ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info") .appendTo (overlay),
110539
- worldInfo = browser .getExecutionContext () .getWorldInfos () [0],
110540
- title = worldInfo .title,
110541
- info = worldInfo .info;
110531
+ const
110532
+ priv = browser .getShadow () .find (".x_ite-private-browser"),
110533
+ overlay = ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-overlay") .appendTo (priv),
110534
+ div = ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info") .appendTo (overlay),
110535
+ worldInfo = browser .getExecutionContext () .getWorldInfos () [0],
110536
+ title = worldInfo .title,
110537
+ info = worldInfo .info;
110542
110538
 
110543
- ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-top") .text ("World Info") .appendTo (div);
110539
+ ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-top") .text ("World Info") .appendTo (div);
110544
110540
 
110545
- if (title .length)
110546
- {
110547
- ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-title") .text (title) .appendTo (div);
110548
- }
110541
+ if (title .length)
110542
+ {
110543
+ ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-title") .text (title) .appendTo (div);
110544
+ }
110549
110545
 
110550
- for (const line of info)
110551
- {
110552
- ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-info") .text (line) .appendTo (div);
110553
- }
110546
+ for (const line of info)
110547
+ {
110548
+ ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-info") .text (line) .appendTo (div);
110549
+ }
110554
110550
 
110555
- overlay .on ("click", function () { overlay .remove (); });
110551
+ overlay .on ("click", function () { overlay .remove (); });
110552
+ },
110556
110553
  },
110557
- },
110558
- "about": {
110559
- name: gettext("About X_ITE"),
110560
- className: "context-menu-icon x_ite-private-icon-help-about",
110561
- callback ()
110562
- {
110563
- window .open (browser .getProviderURL ());
110554
+ "about": {
110555
+ name: gettext("About X_ITE"),
110556
+ className: "context-menu-icon x_ite-private-icon-help-about",
110557
+ callback ()
110558
+ {
110559
+ window .open (browser .getProviderURL ());
110560
+ },
110564
110561
  },
110565
110562
  },
110566
- });
110563
+ };
110567
110564
 
110568
110565
  if (ContextMenu_$.isEmptyObject (menu .items .viewpoints .items))
110569
110566
  delete menu .items ["viewpoints"];
@@ -112922,7 +112919,7 @@ const DataStorage_default_ = DataStorage;
112922
112919
  x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
112923
112920
  /* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
112924
112921
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
112925
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(631);
112922
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(418);
112926
112923
  /*******************************************************************************
112927
112924
  *
112928
112925
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -112985,6 +112982,7 @@ x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage
112985
112982
 
112986
112983
 
112987
112984
 
112985
+
112988
112986
  const WEBGL_VERSION = 2;
112989
112987
 
112990
112988
  const
@@ -113246,6 +113244,12 @@ Object .assign (X3DCoreContext .prototype,
113246
113244
  this .setBrowserOption ("Debug", this .parseBooleanAttribute (newValue, false));
113247
113245
  break;
113248
113246
  }
113247
+ case "logarithmicDepthBuffer":
113248
+ case "logarithmicdepthbuffer":
113249
+ {
113250
+ this .setBrowserOption ("LogarithmicDepthBuffer", this .parseBooleanAttribute (newValue, false));
113251
+ break;
113252
+ }
113249
113253
  case "multisampling":
113250
113254
  {
113251
113255
  const samples = parseInt (newValue);
@@ -113352,7 +113356,7 @@ Object .assign (X3DCoreContext .prototype,
113352
113356
  {
113353
113357
  const url = new x_ite_Fields .MFString ();
113354
113358
 
113355
- url .fromString ("[" + urlCharacters + "]", this .getExecutionContext ());
113359
+ url .fromString (`[${urlCharacters}]`, this .getExecutionContext ());
113356
113360
 
113357
113361
  return url;
113358
113362
  }
@@ -113568,12 +113572,16 @@ Object .assign (X3DCoreContext .prototype,
113568
113572
  {
113569
113573
  event .preventDefault ();
113570
113574
 
113575
+ // Create viewpoint node.
113576
+
113571
113577
  const viewpoint = this .getActiveViewpoint ();
113572
113578
 
113573
113579
  if (!viewpoint)
113574
113580
  break;
113575
113581
 
113576
- const vp = this .getExecutionContext () .createNode (viewpoint .getTypeName ());
113582
+ const
113583
+ executionContext = this .getExecutionContext (),
113584
+ vp = executionContext .createNode (viewpoint .getTypeName ());
113577
113585
 
113578
113586
  switch (viewpoint .getTypeName ())
113579
113587
  {
@@ -113601,7 +113609,7 @@ Object .assign (X3DCoreContext .prototype,
113601
113609
 
113602
113610
  if (geoOrigin .getValue () && geoOrigin .getNodeTypeName () === "GeoOrigin")
113603
113611
  {
113604
- const go = this .getPrivateScene () .createNode ("GeoOrigin");
113612
+ const go = executionContext .createNode ("GeoOrigin");
113605
113613
 
113606
113614
  vp .geoOrigin = go;
113607
113615
  go .geoSystem = geoOrigin .geoSystem;
@@ -113618,11 +113626,13 @@ Object .assign (X3DCoreContext .prototype,
113618
113626
  }
113619
113627
  }
113620
113628
 
113621
- const options = { scene: this .getExecutionContext () };
113629
+ // Create text.
113630
+
113631
+ const options = x_ite_Features .ENVIRONMENT === "NODE" ? { } : { scene: executionContext };
113622
113632
 
113623
113633
  let text;
113624
113634
 
113625
- switch (this .getExecutionContext () .getEncoding ())
113635
+ switch (executionContext .getEncoding ())
113626
113636
  {
113627
113637
  case "ASCII":
113628
113638
  case "VRML": text = vp .toVRMLString (options); break;
@@ -113632,11 +113642,15 @@ Object .assign (X3DCoreContext .prototype,
113632
113642
 
113633
113643
  text += "\n";
113634
113644
 
113635
- this .copyToClipboard (text);
113636
- this .getNotification () ._string = gettext ("Viewpoint copied to clipboard.");
113645
+ // Copy to clipboard.
113637
113646
 
113638
- console .log ("Viewpoint copied to clipboard.");
113639
- console .debug (text);
113647
+ this .copyToClipboard (text) .then (() =>
113648
+ {
113649
+ this .getNotification () ._string = gettext ("Viewpoint copied to clipboard.");
113650
+
113651
+ console .log ("Viewpoint copied to clipboard.");
113652
+ console .debug (text);
113653
+ });
113640
113654
  }
113641
113655
 
113642
113656
  break;
@@ -113676,14 +113690,21 @@ Object .assign (X3DCoreContext .prototype,
113676
113690
  }
113677
113691
  }
113678
113692
  },
113679
- copyToClipboard (text)
113693
+ async copyToClipboard (text)
113680
113694
  {
113681
- // The textarea must be visible to make copy work.
113682
- const tmp = X3DCoreContext_$("<textarea></textarea>");
113683
- this .getShadow () .find (".x_ite-private-browser") .prepend (tmp);
113684
- tmp .text (text) .trigger ("select");
113685
- document .execCommand ("copy");
113686
- tmp .remove ();
113695
+ try
113696
+ {
113697
+ await navigator .clipboard .writeText (text);
113698
+ }
113699
+ catch
113700
+ {
113701
+ // The textarea must be visible to make copy work.
113702
+ const tmp = X3DCoreContext_$("<textarea></textarea>");
113703
+ this .getShadow () .find (".x_ite-private-browser") .prepend (tmp);
113704
+ tmp .text (text) .trigger ("select");
113705
+ document .execCommand ("copy");
113706
+ tmp .remove ();
113707
+ }
113687
113708
  },
113688
113709
  dispose ()
113689
113710
  {
@@ -115445,8 +115466,8 @@ const X3DViewer_default_ = X3DViewer;
115445
115466
  x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
115446
115467
  /* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
115447
115468
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
115448
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(711);
115449
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(631);
115469
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(408);
115470
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(418);
115450
115471
  /*******************************************************************************
115451
115472
  *
115452
115473
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116318,8 +116339,8 @@ const ExamineViewer_default_ = ExamineViewer;
116318
116339
  x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
116319
116340
  /* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
116320
116341
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
116321
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(711);
116322
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(631);
116342
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(408);
116343
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(418);
116323
116344
  /*******************************************************************************
116324
116345
  *
116325
116346
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117328,8 +117349,8 @@ const FlyViewer_default_ = FlyViewer;
117328
117349
  x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
117329
117350
  /* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
117330
117351
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
117331
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(711);
117332
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(631);
117352
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(408);
117353
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(418);
117333
117354
  /*******************************************************************************
117334
117355
  *
117335
117356
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117660,8 +117681,8 @@ const NoneViewer_default_ = NoneViewer;
117660
117681
  x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
117661
117682
  /* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
117662
117683
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
117663
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(711);
117664
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(631);
117684
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(408);
117685
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(418);
117665
117686
  /*******************************************************************************
117666
117687
  *
117667
117688
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -118799,8 +118820,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
118799
118820
  x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
118800
118821
  /* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
118801
118822
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
118802
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(711);
118803
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(631);
118823
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(408);
118824
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(418);
118804
118825
  /*******************************************************************************
118805
118826
  *
118806
118827
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120104,7 +120125,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
120104
120125
  x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
120105
120126
  /* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
120106
120127
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
120107
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(631);
120128
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(418);
120108
120129
  /*******************************************************************************
120109
120130
  *
120110
120131
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120526,6 +120547,7 @@ x_ite_Namespace .add ("X3DScriptingContext", "x_ite/Browser/Scripting/X3DScripti
120526
120547
 
120527
120548
 
120528
120549
 
120550
+
120529
120551
  const
120530
120552
  _wireframe = Symbol (),
120531
120553
  _primitiveModes = Symbol (),
@@ -120627,8 +120649,8 @@ Object .assign (X3DShadersContext .prototype,
120627
120649
  },
120628
120650
  createShader (name, vs, fs = vs, options = [ ], uniformNames = [ ], transformFeedbackVaryings = [ ])
120629
120651
  {
120630
- if (this .getBrowserOption ("Debug"))
120631
- console .info (`Initializing ${name}Shader`);
120652
+ if (DEVELOPMENT)
120653
+ console .info (`Initializing ${name}Shader.`);
120632
120654
 
120633
120655
  const
120634
120656
  gl = this .getContext (),
@@ -121052,7 +121074,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
121052
121074
  x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
121053
121075
  /* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
121054
121076
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
121055
- /* provided dependency */ var KTXDecoder_$ = __webpack_require__(631);
121077
+ /* provided dependency */ var KTXDecoder_$ = __webpack_require__(418);
121056
121078
  const KTXDecoder_default_ = class KTXDecoder
121057
121079
  {
121058
121080
  constructor (gl, externalKtxlib, scriptDir)
@@ -122606,7 +122628,7 @@ const Components_default_ = Components;
122606
122628
  x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
122607
122629
  /* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
122608
122630
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
122609
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(631);
122631
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(418);
122610
122632
  /*******************************************************************************
122611
122633
  * MIT License
122612
122634
  *
@@ -122763,7 +122785,7 @@ class DOMIntegration
122763
122785
 
122764
122786
  const
122765
122787
  parentNode = element .parentNode,
122766
- node = DOMIntegration_$.data (parentNode, "node");
122788
+ node = DOMIntegration_$.data (parentNode, "node");
122767
122789
 
122768
122790
  if (node)
122769
122791
  {
@@ -122980,6 +123002,10 @@ class DOMIntegration
122980
123002
  if (!node)
122981
123003
  return;
122982
123004
 
123005
+ // Unfortunately `getEventListeners` is not available all the time.
123006
+ // if (!getEventListeners (element) .hasOwnProperty (field .getName ()))
123007
+ // return;
123008
+
122983
123009
  const event = new CustomEvent (field .getName (),
122984
123010
  {
122985
123011
  detail: {
@@ -123739,8 +123765,138 @@ const SupportedProfiles_default_ = SupportedProfiles;
123739
123765
 
123740
123766
  x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
123741
123767
  /* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
123768
+ ;// CONCATENATED MODULE: ./src/x_ite/Configuration/FieldTypesArray.js
123769
+ /*******************************************************************************
123770
+ *
123771
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
123772
+ *
123773
+ * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
123774
+ *
123775
+ * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
123776
+ *
123777
+ * The copyright notice above does not evidence any actual of intended
123778
+ * publication of such source code, and is an unpublished work by create3000.
123779
+ * This material contains CONFIDENTIAL INFORMATION that is the property of
123780
+ * create3000.
123781
+ *
123782
+ * No permission is granted to copy, distribute, or create derivative works from
123783
+ * the contents of this software, in whole or in part, without the prior written
123784
+ * permission of create3000.
123785
+ *
123786
+ * NON-MILITARY USE ONLY
123787
+ *
123788
+ * All create3000 software are effectively free software with a non-military use
123789
+ * restriction. It is free. Well commented source is provided. You may reuse the
123790
+ * source in any way you please with the exception anything that uses it must be
123791
+ * marked to indicate is contains 'non-military use only' components.
123792
+ *
123793
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
123794
+ *
123795
+ * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
123796
+ *
123797
+ * This file is part of the X_ITE Project.
123798
+ *
123799
+ * X_ITE is free software: you can redistribute it and/or modify it under the
123800
+ * terms of the GNU General Public License version 3 only, as published by the
123801
+ * Free Software Foundation.
123802
+ *
123803
+ * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
123804
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
123805
+ * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
123806
+ * details (a copy is included in the LICENSE file that accompanied this code).
123807
+ *
123808
+ * You should have received a copy of the GNU General Public License version 3
123809
+ * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
123810
+ * copy of the GPLv3 License.
123811
+ *
123812
+ * For Silvio, Joy and Adi.
123813
+ *
123814
+ ******************************************************************************/
123815
+
123816
+
123817
+
123818
+ function FieldTypesArray (values = [ ])
123819
+ {
123820
+ return Base_X3DInfoArray .call (this, Array .from (values, value => [value .typeName, value]), Function);
123821
+ }
123822
+
123823
+ Object .setPrototypeOf (FieldTypesArray .prototype, Base_X3DInfoArray .prototype);
123824
+
123825
+ for (const key of Object .keys (FieldTypesArray .prototype))
123826
+ Object .defineProperty (FieldTypesArray .prototype, key, { enumerable: false });
123827
+
123828
+ Object .defineProperties (FieldTypesArray,
123829
+ {
123830
+ typeName:
123831
+ {
123832
+ value: "FieldTypesArray",
123833
+ enumerable: true,
123834
+ },
123835
+ });
123836
+
123837
+ const FieldTypesArray_default_ = FieldTypesArray;
123838
+ ;
123839
+
123840
+ x_ite_Namespace .add ("FieldTypesArray", "x_ite/Configuration/FieldTypesArray", FieldTypesArray_default_);
123841
+ /* harmony default export */ const Configuration_FieldTypesArray = (FieldTypesArray_default_);
123842
+ ;// CONCATENATED MODULE: ./src/x_ite/Configuration/FieldTypes.js
123843
+ /*******************************************************************************
123844
+ *
123845
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
123846
+ *
123847
+ * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
123848
+ *
123849
+ * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
123850
+ *
123851
+ * The copyright notice above does not evidence any actual of intended
123852
+ * publication of such source code, and is an unpublished work by create3000.
123853
+ * This material contains CONFIDENTIAL INFORMATION that is the property of
123854
+ * create3000.
123855
+ *
123856
+ * No permission is granted to copy, distribute, or create derivative works from
123857
+ * the contents of this software, in whole or in part, without the prior written
123858
+ * permission of create3000.
123859
+ *
123860
+ * NON-MILITARY USE ONLY
123861
+ *
123862
+ * All create3000 software are effectively free software with a non-military use
123863
+ * restriction. It is free. Well commented source is provided. You may reuse the
123864
+ * source in any way you please with the exception anything that uses it must be
123865
+ * marked to indicate is contains 'non-military use only' components.
123866
+ *
123867
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
123868
+ *
123869
+ * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
123870
+ *
123871
+ * This file is part of the X_ITE Project.
123872
+ *
123873
+ * X_ITE is free software: you can redistribute it and/or modify it under the
123874
+ * terms of the GNU General Public License version 3 only, as published by the
123875
+ * Free Software Foundation.
123876
+ *
123877
+ * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
123878
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
123879
+ * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
123880
+ * details (a copy is included in the LICENSE file that accompanied this code).
123881
+ *
123882
+ * You should have received a copy of the GNU General Public License version 3
123883
+ * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
123884
+ * copy of the GPLv3 License.
123885
+ *
123886
+ * For Silvio, Joy and Adi.
123887
+ *
123888
+ ******************************************************************************/
123889
+
123890
+
123891
+
123892
+
123893
+ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x_ite_Fields));
123894
+ ;
123895
+
123896
+ x_ite_Namespace .add ("FieldTypes", "x_ite/Configuration/FieldTypes", FieldTypes_default_);
123897
+ /* harmony default export */ const FieldTypes = (FieldTypes_default_);
123742
123898
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
123743
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(631);
123899
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(418);
123744
123900
  /*******************************************************************************
123745
123901
  *
123746
123902
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -123810,6 +123966,7 @@ x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfile
123810
123966
 
123811
123967
 
123812
123968
 
123969
+
123813
123970
 
123814
123971
 
123815
123972
  const
@@ -123818,6 +123975,7 @@ const
123818
123975
  _supportedComponents = Symbol (),
123819
123976
  _concreteNodes = Symbol (),
123820
123977
  _abstractNodes = Symbol (),
123978
+ _fieldTypes = Symbol (),
123821
123979
  _reject = Symbol (),
123822
123980
  _fileLoader = Symbol (),
123823
123981
  _browserCallbacks = Symbol (),
@@ -123839,6 +123997,7 @@ function X3DBrowser (element)
123839
123997
  this [_supportedComponents] = Configuration_SupportedComponents .copy ();
123840
123998
  this [_concreteNodes] = ConcreteNodes .copy ();
123841
123999
  this [_abstractNodes] = AbstractNodes .copy ();
124000
+ this [_fieldTypes] = FieldTypes .copy ();
123842
124001
  this [_console] = document .getElementsByClassName ("x_ite-console");
123843
124002
 
123844
124003
  this [_browserCallbacks] = new Map ([
@@ -124041,7 +124200,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
124041
124200
  for (const arg of args)
124042
124201
  {
124043
124202
  if (arg instanceof Execution_X3DScene)
124044
- component .push (... (arg .profile ?.components ?? [ ]), ... arg .components);
124203
+ component .push (... (arg .profile ?? this .getProfile ("Full")) .components, ... arg .components);
124045
124204
 
124046
124205
  else if (arg instanceof Configuration_ProfileInfo)
124047
124206
  component .push (... arg .components);
@@ -124053,7 +124212,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
124053
124212
  component .push (arg);
124054
124213
 
124055
124214
  else if (typeof arg === "string")
124056
- component .push (this [_supportedComponents] .get (arg))
124215
+ component .push (this .getComponent (arg))
124057
124216
  }
124058
124217
 
124059
124218
  // Load array of component names.
@@ -124110,6 +124269,19 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
124110
124269
  {
124111
124270
  return this [_abstractNodes];
124112
124271
  },
124272
+ getFieldType (typeName)
124273
+ {
124274
+ const fieldType = this [_fieldTypes] .get (String (typeName));
124275
+
124276
+ if (fieldType)
124277
+ return fieldType;
124278
+
124279
+ throw new Error (`Field type '${typeName}' does not exists.`);
124280
+ },
124281
+ getFieldTypes ()
124282
+ {
124283
+ return this [_fieldTypes];
124284
+ },
124113
124285
  createScene (profile, ... components)
124114
124286
  {
124115
124287
  const scene = new Execution_X3DScene (this);
@@ -124197,7 +124369,6 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
124197
124369
  return;
124198
124370
 
124199
124371
  loadCount .removeInterest ("checkLoadCount", this);
124200
- this .touch (0, 0);
124201
124372
  this .setBrowserLoading (false);
124202
124373
  this .initialized () .set (this .getCurrentTime ());
124203
124374
  this .initialized () .processInterests ();
@@ -124777,34 +124948,27 @@ Object .defineProperties (X3DBrowser .prototype,
124777
124948
  },
124778
124949
  supportedProfiles:
124779
124950
  {
124780
- get ()
124781
- {
124782
- return this [_supportedProfiles];
124783
- },
124951
+ get: X3DBrowser .prototype .getSupportedProfiles,
124784
124952
  enumerable: true,
124785
124953
  },
124786
124954
  supportedComponents:
124787
124955
  {
124788
- get ()
124789
- {
124790
- return this [_supportedComponents];
124791
- },
124956
+ get: X3DBrowser .prototype .getSupportedComponents,
124792
124957
  enumerable: true,
124793
124958
  },
124794
124959
  concreteNodes:
124795
124960
  {
124796
- get ()
124797
- {
124798
- return this [_concreteNodes];
124799
- },
124961
+ get: X3DBrowser .prototype .getConcreteNodes,
124800
124962
  enumerable: true,
124801
124963
  },
124802
124964
  abstractNodes:
124803
124965
  {
124804
- get ()
124805
- {
124806
- return this [_abstractNodes];
124807
- },
124966
+ get: X3DBrowser .prototype .getAbstractNodes,
124967
+ enumerable: true,
124968
+ },
124969
+ fieldTypes:
124970
+ {
124971
+ get: X3DBrowser .prototype .getFieldTypes,
124808
124972
  enumerable: true,
124809
124973
  },
124810
124974
  element:
@@ -124834,7 +124998,7 @@ const X3DBrowser_default_ = X3DBrowser;
124834
124998
  x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
124835
124999
  /* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
124836
125000
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
124837
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(631);
125001
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(418);
124838
125002
  /*******************************************************************************
124839
125003
  *
124840
125004
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124921,6 +125085,8 @@ class X3DCanvasElement extends HTMLElement
124921
125085
  "contextMenu",
124922
125086
  "contextmenu",
124923
125087
  "debug",
125088
+ "logarithmicDepthBuffer",
125089
+ "logarithmicdepthbuffer",
124924
125090
  "multisampling",
124925
125091
  "notifications",
124926
125092
  "oninitialized",
@@ -124971,8 +125137,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
124971
125137
  x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
124972
125138
  /* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
124973
125139
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
124974
- /* provided dependency */ var jquery_$ = __webpack_require__(631);
124975
- /* provided dependency */ var pako = __webpack_require__(511);
125140
+ /* provided dependency */ var jquery_$ = __webpack_require__(418);
125141
+ /* provided dependency */ var pako = __webpack_require__(674);
124976
125142
  Object .assign (jquery_$,
124977
125143
  {
124978
125144
  decodeText (input)
@@ -125049,14 +125215,14 @@ const jquery_default_ = jquery_$;
125049
125215
  x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
125050
125216
  /* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
125051
125217
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
125052
- /* provided dependency */ var libtess_libtess = __webpack_require__(580);
125218
+ /* provided dependency */ var libtess_libtess = __webpack_require__(803);
125053
125219
  const libtess_default_ = libtess_libtess;
125054
125220
  ;
125055
125221
 
125056
125222
  x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
125057
125223
  /* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
125058
125224
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
125059
- /* provided dependency */ var X3D_$ = __webpack_require__(631);
125225
+ /* provided dependency */ var X3D_$ = __webpack_require__(418);
125060
125226
  /*******************************************************************************
125061
125227
  *
125062
125228
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -125364,7 +125530,7 @@ Object .assign (X3D,
125364
125530
 
125365
125531
  // Assign X3D to global namespace.
125366
125532
 
125367
- window [Symbol .for ("X_ITE.X3D-9.6.2")] = x_ite_X3D;
125533
+ window [Symbol .for ("X_ITE.X3D-9.6.3")] = x_ite_X3D;
125368
125534
 
125369
125535
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
125370
125536