x_ite 9.6.2 → 9.7.0

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 +36 -7
  44. package/dist/x_ite.js +381 -205
  45. package/dist/x_ite.min.js +1 -1
  46. package/dist/x_ite.min.mjs +1 -1
  47. package/dist/x_ite.mjs +381 -205
  48. package/dist/x_ite.zip +0 -0
  49. package/package.json +1 -1
package/dist/x_ite.mjs CHANGED
@@ -1,9 +1,9 @@
1
- /* X_ITE v9.6.2 */var __webpack_modules__ = ({
1
+ /* X_ITE v9.7.0 */var __webpack_modules__ = ({
2
2
 
3
- /***/ 195:
3
+ /***/ 827:
4
4
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
5
5
 
6
- /* provided dependency */ var jQuery = __webpack_require__(631);
6
+ /* provided dependency */ var jQuery = __webpack_require__(63);
7
7
  /**
8
8
  * @preserve jquery.fullscreen 1.1.5
9
9
  * https://github.com/code-lts/jquery-fullscreen-plugin
@@ -199,7 +199,7 @@ installFullScreenHandlers();
199
199
 
200
200
  /***/ }),
201
201
 
202
- /***/ 711:
202
+ /***/ 623:
203
203
  /***/ ((module, exports, __webpack_require__) => {
204
204
 
205
205
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -213,7 +213,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
213
213
  (function (factory) {
214
214
  if ( true ) {
215
215
  // AMD. Register as an anonymous module.
216
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(631)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
216
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(63)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
217
217
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
218
218
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
219
219
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -424,7 +424,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
424
424
 
425
425
  /***/ }),
426
426
 
427
- /***/ 631:
427
+ /***/ 63:
428
428
  /***/ (function(module, exports) {
429
429
 
430
430
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11148,7 +11148,7 @@ return jQuery;
11148
11148
 
11149
11149
  /***/ }),
11150
11150
 
11151
- /***/ 580:
11151
+ /***/ 844:
11152
11152
  /***/ ((module) => {
11153
11153
 
11154
11154
  /**
@@ -15927,7 +15927,7 @@ if (true) {
15927
15927
 
15928
15928
  /***/ }),
15929
15929
 
15930
- /***/ 511:
15930
+ /***/ 807:
15931
15931
  /***/ (function(__unused_webpack_module, exports) {
15932
15932
 
15933
15933
 
@@ -19172,7 +19172,7 @@ if (true) {
19172
19172
 
19173
19173
  /***/ }),
19174
19174
 
19175
- /***/ 936:
19175
+ /***/ 584:
19176
19176
  /***/ (function(module, exports) {
19177
19177
 
19178
19178
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -20299,7 +20299,7 @@ Object .defineProperty (Namespace, "add",
20299
20299
  }
20300
20300
  else
20301
20301
  {
20302
- const X3D = window [Symbol .for ("X_ITE.X3D-9.6.2")];
20302
+ const X3D = window [Symbol .for ("X_ITE.X3D-9.7.0")];
20303
20303
 
20304
20304
  if (X3D)
20305
20305
  X3D [name] = module;
@@ -29417,10 +29417,16 @@ Object .assign (Object .setPrototypeOf (SFNode .prototype, Base_X3DField .protot
29417
29417
  target = this [_target],
29418
29418
  value = target .getValue ();
29419
29419
 
29420
- if (value)
29421
- return new SFNode (instance ? value .copy (instance) : value);
29420
+ if (value && instance)
29421
+ {
29422
+ const copy = value .copy (instance);
29423
+
29424
+ copy .setup ();
29422
29425
 
29423
- return new SFNode ();
29426
+ return new SFNode (copy);
29427
+ }
29428
+
29429
+ return new SFNode (value);
29424
29430
  },
29425
29431
  equals (node)
29426
29432
  {
@@ -34218,7 +34224,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
34218
34224
  x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
34219
34225
  /* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
34220
34226
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
34221
- /* provided dependency */ var $ = __webpack_require__(631);
34227
+ /* provided dependency */ var $ = __webpack_require__(63);
34222
34228
  /*******************************************************************************
34223
34229
  *
34224
34230
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34355,7 +34361,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
34355
34361
  *
34356
34362
  ******************************************************************************/
34357
34363
 
34358
- const BROWSER_VERSION_default_ = "9.6.2";
34364
+ const BROWSER_VERSION_default_ = "9.7.0";
34359
34365
  ;
34360
34366
 
34361
34367
  x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
@@ -34455,8 +34461,6 @@ Object .assign (Object .setPrototypeOf (X3DNode .prototype, Base_X3DBaseNode .pr
34455
34461
  copy .addUserDefinedField (field .getAccessType (), field .getName (), field .copy ());
34456
34462
  }
34457
34463
 
34458
- copy .setup ();
34459
-
34460
34464
  return copy;
34461
34465
  }
34462
34466
  else
@@ -34562,8 +34566,6 @@ Object .assign (Object .setPrototypeOf (X3DNode .prototype, Base_X3DBaseNode .pr
34562
34566
  destinationField .setModificationTime (sourceField .getModificationTime ());
34563
34567
  }
34564
34568
 
34565
- copy .setup ();
34566
-
34567
34569
  return copy;
34568
34570
  }
34569
34571
  },
@@ -39001,7 +39003,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
39001
39003
  x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
39002
39004
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
39003
39005
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
39004
- /* provided dependency */ var X3DParser_$ = __webpack_require__(631);
39006
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(63);
39005
39007
  /*******************************************************************************
39006
39008
  *
39007
39009
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39088,16 +39090,12 @@ Object .assign (X3DParser .prototype,
39088
39090
  {
39089
39091
  return this .getExecutionContext () .getOuterNode () instanceof Prototype_X3DProtoDeclaration;
39090
39092
  },
39093
+ /**
39094
+ * @deprecated Directly use `browser.loadComponents`.
39095
+ */
39091
39096
  loadComponents ()
39092
39097
  {
39093
- const
39094
- browser = this .getBrowser (),
39095
- scene = this .getScene ();
39096
-
39097
- return Promise .all ([
39098
- browser .loadComponents (scene .getProfile () || browser .getProfile ("Full")),
39099
- browser .loadComponents (scene .getComponents ()),
39100
- ]);
39098
+ return this .getBrowser () .loadComponents (this .getScene ());
39101
39099
  },
39102
39100
  setUnits (units)
39103
39101
  {
@@ -39263,7 +39261,7 @@ const Expressions_default_ = Expressions;
39263
39261
  x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
39264
39262
  /* harmony default export */ const Parser_Expressions = (Expressions_default_);
39265
39263
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
39266
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(631);
39264
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(63);
39267
39265
  /*******************************************************************************
39268
39266
  *
39269
39267
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39627,7 +39625,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
39627
39625
 
39628
39626
  if (this .resolve)
39629
39627
  {
39630
- this .loadComponents () .then (() =>
39628
+ browser .loadComponents (scene) .then (() =>
39631
39629
  {
39632
39630
  try
39633
39631
  {
@@ -41963,7 +41961,7 @@ const VRMLParser_default_ = VRMLParser;
41963
41961
  x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
41964
41962
  /* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
41965
41963
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
41966
- /* provided dependency */ var XMLParser_$ = __webpack_require__(631);
41964
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(63);
41967
41965
  /*******************************************************************************
41968
41966
  *
41969
41967
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -42081,18 +42079,26 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42081
42079
  },
42082
42080
  parseIntoScene (resolve, reject)
42083
42081
  {
42082
+ const
42083
+ browser = this .getBrowser (),
42084
+ scene = this .getScene ();
42085
+
42084
42086
  this .resolve = resolve;
42085
42087
  this .reject = reject;
42086
42088
 
42087
- this .getScene () .setEncoding ("XML");
42088
- this .getScene () .setProfile (this .getBrowser () .getProfile ("Full"));
42089
+ scene .setEncoding ("XML");
42090
+ scene .setProfile (browser .getProfile ("Full"));
42089
42091
 
42090
42092
  this .xmlElement (this .input);
42091
42093
  },
42092
42094
  xmlElement (xmlElement)
42093
42095
  {
42096
+ const
42097
+ browser = this .getBrowser (),
42098
+ scene = this .getScene ();
42099
+
42094
42100
  if (xmlElement === null)
42095
- return this .resolve ?.(this .getScene ());
42101
+ return this .resolve ?.(scene);
42096
42102
 
42097
42103
  switch (xmlElement .nodeName)
42098
42104
  {
@@ -42109,10 +42115,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42109
42115
  {
42110
42116
  if (this .resolve)
42111
42117
  {
42112
- this .loadComponents () .then (() =>
42118
+ browser .loadComponents (scene) .then (() =>
42113
42119
  {
42114
42120
  this .childrenElements (xmlElement);
42115
- this .resolve (this .getScene ());
42121
+ this .resolve (scene);
42116
42122
  })
42117
42123
  .catch (this .reject);
42118
42124
  }
@@ -42134,10 +42140,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42134
42140
  {
42135
42141
  if (this .resolve)
42136
42142
  {
42137
- this .loadComponents () .then (() =>
42143
+ browser .loadComponents (scene) .then (() =>
42138
42144
  {
42139
42145
  this .sceneElement (xmlElement);
42140
- this .resolve (this .getScene ());
42146
+ this .resolve (scene);
42141
42147
  })
42142
42148
  .catch (this .reject);
42143
42149
  }
@@ -42152,10 +42158,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42152
42158
  {
42153
42159
  if (this .resolve)
42154
42160
  {
42155
- this .loadComponents () .then (() =>
42161
+ browser .loadComponents (scene) .then (() =>
42156
42162
  {
42157
42163
  this .childrenElements (xmlElement);
42158
- this .resolve (this .getScene ());
42164
+ this .resolve (scene);
42159
42165
  })
42160
42166
  .catch (this .reject);
42161
42167
  }
@@ -42170,17 +42176,21 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42170
42176
  },
42171
42177
  x3dElement (xmlElement)
42172
42178
  {
42179
+ const
42180
+ browser = this .getBrowser (),
42181
+ scene = this .getScene ();
42182
+
42173
42183
  try
42174
42184
  {
42175
42185
  // Profile
42176
42186
 
42177
42187
  const
42178
42188
  profileNameId = xmlElement .getAttribute ("profile"),
42179
- profile = this .getBrowser () .getProfile (profileNameId || "Full");
42189
+ profile = browser .getProfile (profileNameId || "Full");
42180
42190
 
42181
42191
  XMLParser_$.data (this .scene, "X3D", xmlElement);
42182
42192
 
42183
- this .getScene () .setProfile (profile);
42193
+ scene .setProfile (profile);
42184
42194
  }
42185
42195
  catch (error)
42186
42196
  {
@@ -42192,7 +42202,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42192
42202
  const specificationVersion = xmlElement .getAttribute ("version");
42193
42203
 
42194
42204
  if (specificationVersion)
42195
- this .getScene () .setSpecificationVersion (specificationVersion);
42205
+ scene .setSpecificationVersion (specificationVersion);
42196
42206
 
42197
42207
  // Process child nodes
42198
42208
 
@@ -42204,12 +42214,12 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42204
42214
 
42205
42215
  if (this .resolve)
42206
42216
  {
42207
- this .loadComponents () .then (() =>
42217
+ browser .loadComponents (scene) .then (() =>
42208
42218
  {
42209
42219
  for (const childNode of xmlElement .childNodes)
42210
42220
  this .x3dElementChildScene (childNode)
42211
42221
 
42212
- this .resolve (this .getScene ());
42222
+ this .resolve (scene);
42213
42223
  })
42214
42224
  .catch (this .reject);
42215
42225
  }
@@ -43995,7 +44005,7 @@ const URLs_default_ = URLs;
43995
44005
  x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
43996
44006
  /* harmony default export */ const Networking_URLs = (URLs_default_);
43997
44007
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
43998
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(631);
44008
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(63);
43999
44009
  /*******************************************************************************
44000
44010
  *
44001
44011
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -44189,7 +44199,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
44189
44199
  this .extensionsArray (glTF .extensionsRequired, this .extensions);
44190
44200
  this .extensionsObject (glTF .extensions);
44191
44201
 
44192
- await this .loadComponents ();
44202
+ await browser .loadComponents (scene);
44193
44203
  await this .buffersArray (glTF .buffers);
44194
44204
 
44195
44205
  if (this .extensions .has ("KHR_draco_mesh_compression"))
@@ -47297,7 +47307,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
47297
47307
  x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
47298
47308
  /* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
47299
47309
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
47300
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(631);
47310
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(63);
47301
47311
  /*******************************************************************************
47302
47312
  *
47303
47313
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47449,7 +47459,7 @@ const GLB2Parser_default_ = GLB2Parser;
47449
47459
  x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
47450
47460
  /* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
47451
47461
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
47452
- /* provided dependency */ var OBJParser_$ = __webpack_require__(631);
47462
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(63);
47453
47463
  /*******************************************************************************
47454
47464
  *
47455
47465
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47615,7 +47625,7 @@ Object .assign (Object .setPrototypeOf (OBJParser .prototype, Parser_X3DParser .
47615
47625
  scene .setEncoding ("OBJ");
47616
47626
  scene .setProfile (browser .getProfile ("Interchange"));
47617
47627
 
47618
- await this .loadComponents ();
47628
+ await browser .loadComponents (scene);
47619
47629
 
47620
47630
  // Init nodes.
47621
47631
 
@@ -48682,7 +48692,7 @@ Object .assign (Object .setPrototypeOf (STLAParser .prototype, Parser_X3DParser
48682
48692
  scene .setEncoding ("STL");
48683
48693
  scene .setProfile (browser .getProfile ("Interchange"));
48684
48694
 
48685
- await this .loadComponents ();
48695
+ await browser .loadComponents (scene);
48686
48696
 
48687
48697
  // Create nodes.
48688
48698
 
@@ -49032,7 +49042,7 @@ Object .assign (Object .setPrototypeOf (STLBParser .prototype, Parser_X3DParser
49032
49042
  scene .setEncoding ("STL");
49033
49043
  scene .setProfile (browser .getProfile ("Interchange"));
49034
49044
 
49035
- await this .loadComponents ();
49045
+ await browser .loadComponents (scene);
49036
49046
 
49037
49047
  // Create nodes.
49038
49048
 
@@ -49228,7 +49238,7 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
49228
49238
  scene .setEncoding ("PLY");
49229
49239
  scene .setProfile (browser .getProfile ("Interchange"));
49230
49240
 
49231
- await this .loadComponents ();
49241
+ await browser .loadComponents (scene);
49232
49242
  await this .processElements (this .header ([ ]))
49233
49243
 
49234
49244
  // Create nodes.
@@ -49503,6 +49513,7 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
49503
49513
  async parseVertices ({ count, properties })
49504
49514
  {
49505
49515
  const
49516
+ browser = this .getBrowser (),
49506
49517
  scene = this .getScene (),
49507
49518
  colors = [ ],
49508
49519
  texCoord = scene .createNode ("TextureCoordinate"),
@@ -49563,7 +49574,7 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
49563
49574
  {
49564
49575
  scene .addComponent (this .getBrowser () .getComponent ("Shaders", 1));
49565
49576
 
49566
- await this .loadComponents ();
49577
+ await browser .loadComponents (scene);
49567
49578
 
49568
49579
  for (const [name, value] of attributes)
49569
49580
  {
@@ -50807,8 +50818,8 @@ const MatrixStack_default_ = MatrixStack;
50807
50818
  x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
50808
50819
  /* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
50809
50820
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
50810
- /* provided dependency */ var SVGParser_$ = __webpack_require__(631);
50811
- /* provided dependency */ var libtess = __webpack_require__(580);
50821
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(63);
50822
+ /* provided dependency */ var libtess = __webpack_require__(844);
50812
50823
  /*******************************************************************************
50813
50824
  *
50814
50825
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -51080,7 +51091,7 @@ Object .assign (Object .setPrototypeOf (SVGParser .prototype, Parser_X3DParser .
51080
51091
  scene .setProfile (browser .getProfile ("Interchange"));
51081
51092
  scene .addComponent (browser .getComponent ("Geometry2D", 2));
51082
51093
 
51083
- await this .loadComponents ();
51094
+ await browser .loadComponents (scene);
51084
51095
 
51085
51096
  // Init nodes.
51086
51097
 
@@ -53576,7 +53587,7 @@ const SVGParser_default_ = SVGParser;
53576
53587
  x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
53577
53588
  /* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
53578
53589
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
53579
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(631);
53590
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(63);
53580
53591
  /*******************************************************************************
53581
53592
  *
53582
53593
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -53943,7 +53954,7 @@ const Plane3_default_ = Plane3;
53943
53954
  x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
53944
53955
  /* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
53945
53956
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
53946
- /* provided dependency */ var Triangle3_libtess = __webpack_require__(580);
53957
+ /* provided dependency */ var Triangle3_libtess = __webpack_require__(844);
53947
53958
  /*******************************************************************************
53948
53959
  *
53949
53960
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -62472,7 +62483,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
62472
62483
  x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
62473
62484
  /* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
62474
62485
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
62475
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(631);
62486
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(63);
62476
62487
  /*******************************************************************************
62477
62488
  *
62478
62489
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -62621,7 +62632,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
62621
62632
  if (DEVELOPMENT)
62622
62633
  {
62623
62634
  if (this .URL .protocol !== "data:")
62624
- console .info (`Done loading image texture '${decodeURI (this .URL .href)}'`);
62635
+ console .info (`Done loading image texture '${decodeURI (this .URL .href)}'.`);
62625
62636
  }
62626
62637
 
62627
62638
  try
@@ -62645,7 +62656,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
62645
62656
  if (DEVELOPMENT)
62646
62657
  {
62647
62658
  if (this .URL .protocol !== "data:")
62648
- console .info (`Done loading image texture '${decodeURI (this .URL .href)}'`);
62659
+ console .info (`Done loading image texture '${decodeURI (this .URL .href)}'.`);
62649
62660
  }
62650
62661
 
62651
62662
  try
@@ -66054,7 +66065,7 @@ const X3DWorld_default_ = X3DWorld;
66054
66065
  x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
66055
66066
  /* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
66056
66067
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
66057
- /* provided dependency */ var FileLoader_$ = __webpack_require__(631);
66068
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(63);
66058
66069
  /*******************************************************************************
66059
66070
  *
66060
66071
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -66221,7 +66232,7 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
66221
66232
  if (DEVELOPMENT)
66222
66233
  {
66223
66234
  if (this .URL .protocol !== "data:")
66224
- console .info (`Done loading scene '${decodeURI (this .URL .href)}'`);
66235
+ console .info (`Done loading scene '${decodeURI (this .URL .href)}'.`);
66225
66236
  }
66226
66237
  },
66227
66238
  createX3DFromURL (url, parameter, callback, bindViewpoint, foreign)
@@ -66988,7 +66999,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
66988
66999
  x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
66989
67000
  /* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
66990
67001
  ;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
66991
- /* provided dependency */ var X3DRoute_$ = __webpack_require__(631);
67002
+ /* provided dependency */ var X3DRoute_$ = __webpack_require__(63);
66992
67003
  /*******************************************************************************
66993
67004
  *
66994
67005
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -86707,6 +86718,8 @@ function X3DCoordinateNode (executionContext)
86707
86718
  Rendering_X3DGeometricPropertyNode .call (this, executionContext);
86708
86719
 
86709
86720
  this .addType (Base_X3DConstants .X3DCoordinateNode);
86721
+
86722
+ this .length = 0;
86710
86723
  }
86711
86724
 
86712
86725
  Object .assign (Object .setPrototypeOf (X3DCoordinateNode .prototype, Rendering_X3DGeometricPropertyNode .prototype),
@@ -90139,7 +90152,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
90139
90152
  x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
90140
90153
  /* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
90141
90154
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
90142
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(631);
90155
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(63);
90143
90156
  /*******************************************************************************
90144
90157
  *
90145
90158
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -93666,13 +93679,11 @@ varying float depth;
93666
93679
  #endif
93667
93680
  #pragma X3D include "PointSize.glsl"
93668
93681
  void vertex_main(){vec4 position=x3d_ModelViewMatrix*x3d_Vertex;vertex=position.xyz;
93669
- #if defined(X3D_GEOMETRY_0D)
93670
- #if defined(X3D_STYLE_PROPERTIES)
93682
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
93671
93683
  gl_PointSize=pointSize=getPointSize(vertex);
93672
93684
  #else
93673
93685
  gl_PointSize=1.0;
93674
93686
  #endif
93675
- #endif
93676
93687
  #if defined(X3D_FOG)&&defined(X3D_FOG_COORDS)
93677
93688
  fogDepth=x3d_FogDepth;
93678
93689
  #endif
@@ -94240,13 +94251,11 @@ vec4 x3d_TransformedVertex=getInstanceVertex(getSkinVertex(x3d_Vertex,x3d_Normal
94240
94251
  vec4 x3d_TransformedVertex=getInstanceVertex(getSkinVertex(x3d_Vertex,vec3(0.0)));
94241
94252
  #endif
94242
94253
  vec4 position=x3d_ModelViewMatrix*x3d_TransformedVertex;vertex=position.xyz;
94243
- #if defined(X3D_GEOMETRY_0D)
94244
- #if defined(X3D_STYLE_PROPERTIES)
94254
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
94245
94255
  gl_PointSize=pointSize=getPointSize(vertex);
94246
94256
  #else
94247
94257
  gl_PointSize=1.0;
94248
94258
  #endif
94249
- #endif
94250
94259
  #if defined(X3D_GEOMETRY_1D)&&defined(X3D_STYLE_PROPERTIES)
94251
94260
  lengthSoFar=x3d_LineStipple.z;startPoint=x3d_LineStipple.xy;midPoint=x3d_LineStipple.xy;
94252
94261
  #endif
@@ -94319,12 +94328,10 @@ x_ite_Namespace .add ("Depth1.fs", "assets/shaders/webgl1/Depth1.fs", Depth1_fs_
94319
94328
  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;
94320
94329
  #pragma X3D include "common/PointSize.glsl"
94321
94330
  void main(){vec4 position=x3d_ModelViewMatrix*x3d_Vertex;vertex=position.xyz;
94322
- #if defined(X3D_GEOMETRY_0D)
94323
- #if defined(X3D_STYLE_PROPERTIES)
94324
- gl_PointSize=max(pointSize=getPointSize(vertex),2.0);
94331
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
94332
+ gl_PointSize=pointSize=getPointSize(vertex);
94325
94333
  #else
94326
- gl_PointSize=2.0;
94327
- #endif
94334
+ gl_PointSize=1.0;
94328
94335
  #endif
94329
94336
  gl_Position=x3d_ProjectionMatrix*position;}`
94330
94337
  ;
@@ -94633,13 +94640,11 @@ varying vec4 texCoord0;
94633
94640
  #endif
94634
94641
  #pragma X3D include "common/PointSize.glsl"
94635
94642
  void main(){
94636
- #if defined(X3D_GEOMETRY_0D)
94637
- #if defined(X3D_STYLE_PROPERTIES)
94638
- gl_PointSize=max(pointSize=getPointSize(vertex),2.0);
94643
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
94644
+ gl_PointSize=pointSize=max(getPointSize(vertex),2.0);
94639
94645
  #else
94640
94646
  gl_PointSize=2.0;
94641
94647
  #endif
94642
- #endif
94643
94648
  vec4 position=x3d_ModelViewMatrix*x3d_Vertex;vertex=position.xyz;normal=x3d_Normal;
94644
94649
  #if!defined(X3D_GEOMETRY_0D)&&!defined(X3D_GEOMETRY_1D)
94645
94650
  texCoord0=x3d_TexCoord0;
@@ -94732,12 +94737,10 @@ precision highp float;precision highp int;precision highp sampler2D;uniform mat4
94732
94737
  #pragma X3D include "common/Instancing.glsl"
94733
94738
  #pragma X3D include "common/PointSize.glsl"
94734
94739
  void main(){vec4 x3d_TransformedVertex=getInstanceVertex(getSkinVertex(x3d_Vertex,vec3(0.0)));vec4 position=x3d_ModelViewMatrix*x3d_TransformedVertex;vertex=position.xyz;
94735
- #if defined(X3D_GEOMETRY_0D)
94736
- #if defined(X3D_STYLE_PROPERTIES)
94737
- gl_PointSize=max(pointSize=getPointSize(vertex),2.0);
94740
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
94741
+ gl_PointSize=pointSize=getPointSize(vertex);
94738
94742
  #else
94739
- gl_PointSize=2.0;
94740
- #endif
94743
+ gl_PointSize=1.0;
94741
94744
  #endif
94742
94745
  gl_Position=x3d_ProjectionMatrix*position;}`
94743
94746
  ;
@@ -95110,13 +95113,11 @@ void main(){
95110
95113
  lengthSoFar=x3d_LineStipple.z;startPoint=x3d_LineStipple.xy;midPoint=x3d_LineStipple.xy;
95111
95114
  #endif
95112
95115
  vec4 x3d_TransformedVertex=getInstanceVertex(getSkinVertex(x3d_Vertex,x3d_Normal));vec4 position=x3d_ModelViewMatrix*x3d_TransformedVertex;vertex=position.xyz;normal=getInstanceNormal(getSkinNormal(x3d_Normal));
95113
- #if defined(X3D_GEOMETRY_0D)
95114
- #if defined(X3D_STYLE_PROPERTIES)
95115
- gl_PointSize=max(pointSize=getPointSize(vertex),2.0);
95116
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
95117
+ gl_PointSize=pointSize=max(getPointSize(vertex),2.0);
95116
95118
  #else
95117
95119
  gl_PointSize=2.0;
95118
95120
  #endif
95119
- #endif
95120
95121
  #if!defined(X3D_GEOMETRY_0D)&&!defined(X3D_GEOMETRY_1D)
95121
95122
  texCoord0=x3d_TexCoord0;
95122
95123
  #endif
@@ -95847,7 +95848,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
95847
95848
  x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
95848
95849
  /* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
95849
95850
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
95850
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(631);
95851
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(63);
95851
95852
  /*******************************************************************************
95852
95853
  *
95853
95854
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -96504,7 +96505,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
96504
96505
  x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
96505
96506
  /* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
96506
96507
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
96507
- /* provided dependency */ var Appearance_$ = __webpack_require__(631);
96508
+ /* provided dependency */ var Appearance_$ = __webpack_require__(63);
96508
96509
  /*******************************************************************************
96509
96510
  *
96510
96511
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -100988,7 +100989,7 @@ Object .assign (Object .setPrototypeOf (AudioClip .prototype, Sound_X3DSoundSour
100988
100989
  if (DEVELOPMENT)
100989
100990
  {
100990
100991
  if (URL .protocol !== "data:")
100991
- console .info (`Done loading audio '${decodeURI (URL .href)}'`);
100992
+ console .info (`Done loading audio '${decodeURI (URL .href)}'.`);
100992
100993
  }
100993
100994
  }
100994
100995
  });
@@ -101800,7 +101801,7 @@ Object .assign (Object .setPrototypeOf (BufferAudioSource .prototype, Sound_X3DS
101800
101801
  if (DEVELOPMENT)
101801
101802
  {
101802
101803
  if (URL .protocol !== "data:")
101803
- console .info (`Done loading audio '${decodeURI (URL .href)}'`);
101804
+ console .info (`Done loading audio '${decodeURI (URL .href)}'.`);
101804
101805
  }
101805
101806
  }
101806
101807
  });
@@ -105456,8 +105457,8 @@ const GifMedia_default_ = GifMedia;
105456
105457
  x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
105457
105458
  /* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
105458
105459
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
105459
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(631);
105460
- /* provided dependency */ var SuperGif = __webpack_require__(936);
105460
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(63);
105461
+ /* provided dependency */ var SuperGif = __webpack_require__(584);
105461
105462
  /*******************************************************************************
105462
105463
  *
105463
105464
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -105637,7 +105638,7 @@ Object .assign (Object .setPrototypeOf (MovieTexture .prototype, Texturing_X3DTe
105637
105638
  if (DEVELOPMENT)
105638
105639
  {
105639
105640
  if (this .URL .protocol !== "data:")
105640
- console .info (`Done loading movie '${decodeURI (this .URL .href)}'`);
105641
+ console .info (`Done loading movie '${decodeURI (this .URL .href)}'.`);
105641
105642
  }
105642
105643
 
105643
105644
  this .video .off ("loadeddata");
@@ -108865,7 +108866,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
108865
108866
  x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
108866
108867
  /* harmony default export */ const gettext = (gettext_default_);
108867
108868
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
108868
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(631);
108869
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(63);
108869
108870
  /*******************************************************************************
108870
108871
  *
108871
108872
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109438,7 +109439,7 @@ const TextureQuality_default_ = TextureQuality;
109438
109439
  x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
109439
109440
  /* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
109440
109441
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
109441
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(631);
109442
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(63);
109442
109443
  /*******************************************************************************
109443
109444
  *
109444
109445
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109555,6 +109556,7 @@ Object .assign (Object .setPrototypeOf (BrowserOptions .prototype, Base_X3DBaseN
109555
109556
  "ContentScale",
109556
109557
  "ContextMenu",
109557
109558
  "Debug",
109559
+ "LogarithmicDepthBuffer",
109558
109560
  "Multisampling",
109559
109561
  "Notifications",
109560
109562
  "OrderIndependentTransparency",
@@ -110032,7 +110034,7 @@ const RenderingProperties_default_ = RenderingProperties;
110032
110034
  x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
110033
110035
  /* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
110034
110036
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
110035
- /* provided dependency */ var Notification_$ = __webpack_require__(631);
110037
+ /* provided dependency */ var Notification_$ = __webpack_require__(63);
110036
110038
  /*******************************************************************************
110037
110039
  *
110038
110040
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110155,8 +110157,8 @@ const Notification_default_ = Notification;
110155
110157
  x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
110156
110158
  /* harmony default export */ const Core_Notification = (Notification_default_);
110157
110159
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
110158
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(195);
110159
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(631);
110160
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(827);
110161
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(63);
110160
110162
  /*******************************************************************************
110161
110163
  *
110162
110164
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110247,12 +110249,12 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
110247
110249
 
110248
110250
  if (typeof this [_userMenu] === "function")
110249
110251
  {
110250
- const menu = this [_userMenu] ();
110252
+ const menu = this [_userMenu] (this .getBrowser ());
110251
110253
 
110252
110254
  if (ContextMenu_$.isPlainObject (menu))
110253
110255
  {
110254
110256
  for (const key in menu)
110255
- userMenu ["user-" + key] = menu [key];
110257
+ userMenu [`user-${key}`] = menu [key];
110256
110258
  }
110257
110259
  }
110258
110260
 
@@ -110483,6 +110485,11 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
110483
110485
  },
110484
110486
  },
110485
110487
  "separator2": "--------",
110488
+
110489
+ // Insert custom user menu items.
110490
+ ... this .createUserMenu (),
110491
+
110492
+ "separator3": "--------",
110486
110493
  "browser-timings": {
110487
110494
  name: gettext("Browser Timings"),
110488
110495
  type: "checkbox",
@@ -110505,53 +110512,47 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
110505
110512
  browser .getElement () .toggleFullScreen ();
110506
110513
  },
110507
110514
  },
110508
- "separator3": "--------",
110509
- },
110510
- };
110511
-
110512
- Object .assign (menu .items, this .createUserMenu ());
110513
-
110514
- Object .assign (menu .items, {
110515
- "separator4": "--------",
110516
- "world-info": {
110517
- name: gettext("Show World Info"),
110518
- className: "context-menu-icon x_ite-private-icon-world-info",
110519
- callback ()
110520
- {
110521
- browser .getShadow () .find (".x_ite-private-world-info") .remove ();
110515
+ "separator4": "--------",
110516
+ "world-info": {
110517
+ name: gettext("Show World Info"),
110518
+ className: "context-menu-icon x_ite-private-icon-world-info",
110519
+ callback ()
110520
+ {
110521
+ browser .getShadow () .find (".x_ite-private-world-info") .remove ();
110522
110522
 
110523
- const
110524
- priv = browser .getShadow () .find (".x_ite-private-browser"),
110525
- overlay = ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-overlay") .appendTo (priv),
110526
- div = ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info") .appendTo (overlay),
110527
- worldInfo = browser .getExecutionContext () .getWorldInfos () [0],
110528
- title = worldInfo .title,
110529
- info = worldInfo .info;
110523
+ const
110524
+ priv = browser .getShadow () .find (".x_ite-private-browser"),
110525
+ overlay = ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-overlay") .appendTo (priv),
110526
+ div = ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info") .appendTo (overlay),
110527
+ worldInfo = browser .getExecutionContext () .getWorldInfos () [0],
110528
+ title = worldInfo .title,
110529
+ info = worldInfo .info;
110530
110530
 
110531
- ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-top") .text ("World Info") .appendTo (div);
110531
+ ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-top") .text ("World Info") .appendTo (div);
110532
110532
 
110533
- if (title .length)
110534
- {
110535
- ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-title") .text (title) .appendTo (div);
110536
- }
110533
+ if (title .length)
110534
+ {
110535
+ ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-title") .text (title) .appendTo (div);
110536
+ }
110537
110537
 
110538
- for (const line of info)
110539
- {
110540
- ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-info") .text (line) .appendTo (div);
110541
- }
110538
+ for (const line of info)
110539
+ {
110540
+ ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-info") .text (line) .appendTo (div);
110541
+ }
110542
110542
 
110543
- overlay .on ("click", function () { overlay .remove (); });
110543
+ overlay .on ("click", function () { overlay .remove (); });
110544
+ },
110544
110545
  },
110545
- },
110546
- "about": {
110547
- name: gettext("About X_ITE"),
110548
- className: "context-menu-icon x_ite-private-icon-help-about",
110549
- callback ()
110550
- {
110551
- window .open (browser .getProviderURL ());
110546
+ "about": {
110547
+ name: gettext("About X_ITE"),
110548
+ className: "context-menu-icon x_ite-private-icon-help-about",
110549
+ callback ()
110550
+ {
110551
+ window .open (browser .getProviderURL ());
110552
+ },
110552
110553
  },
110553
110554
  },
110554
- });
110555
+ };
110555
110556
 
110556
110557
  if (ContextMenu_$.isEmptyObject (menu .items .viewpoints .items))
110557
110558
  delete menu .items ["viewpoints"];
@@ -112910,7 +112911,7 @@ const DataStorage_default_ = DataStorage;
112910
112911
  x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
112911
112912
  /* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
112912
112913
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
112913
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(631);
112914
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(63);
112914
112915
  /*******************************************************************************
112915
112916
  *
112916
112917
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -112973,6 +112974,7 @@ x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage
112973
112974
 
112974
112975
 
112975
112976
 
112977
+
112976
112978
  const WEBGL_VERSION = 2;
112977
112979
 
112978
112980
  const
@@ -113234,6 +113236,12 @@ Object .assign (X3DCoreContext .prototype,
113234
113236
  this .setBrowserOption ("Debug", this .parseBooleanAttribute (newValue, false));
113235
113237
  break;
113236
113238
  }
113239
+ case "logarithmicDepthBuffer":
113240
+ case "logarithmicdepthbuffer":
113241
+ {
113242
+ this .setBrowserOption ("LogarithmicDepthBuffer", this .parseBooleanAttribute (newValue, false));
113243
+ break;
113244
+ }
113237
113245
  case "multisampling":
113238
113246
  {
113239
113247
  const samples = parseInt (newValue);
@@ -113340,7 +113348,7 @@ Object .assign (X3DCoreContext .prototype,
113340
113348
  {
113341
113349
  const url = new x_ite_Fields .MFString ();
113342
113350
 
113343
- url .fromString ("[" + urlCharacters + "]", this .getExecutionContext ());
113351
+ url .fromString (`[${urlCharacters}]`, this .getExecutionContext ());
113344
113352
 
113345
113353
  return url;
113346
113354
  }
@@ -113556,12 +113564,16 @@ Object .assign (X3DCoreContext .prototype,
113556
113564
  {
113557
113565
  event .preventDefault ();
113558
113566
 
113567
+ // Create viewpoint node.
113568
+
113559
113569
  const viewpoint = this .getActiveViewpoint ();
113560
113570
 
113561
113571
  if (!viewpoint)
113562
113572
  break;
113563
113573
 
113564
- const vp = this .getExecutionContext () .createNode (viewpoint .getTypeName ());
113574
+ const
113575
+ executionContext = this .getExecutionContext (),
113576
+ vp = executionContext .createNode (viewpoint .getTypeName ());
113565
113577
 
113566
113578
  switch (viewpoint .getTypeName ())
113567
113579
  {
@@ -113589,7 +113601,7 @@ Object .assign (X3DCoreContext .prototype,
113589
113601
 
113590
113602
  if (geoOrigin .getValue () && geoOrigin .getNodeTypeName () === "GeoOrigin")
113591
113603
  {
113592
- const go = this .getPrivateScene () .createNode ("GeoOrigin");
113604
+ const go = executionContext .createNode ("GeoOrigin");
113593
113605
 
113594
113606
  vp .geoOrigin = go;
113595
113607
  go .geoSystem = geoOrigin .geoSystem;
@@ -113606,11 +113618,13 @@ Object .assign (X3DCoreContext .prototype,
113606
113618
  }
113607
113619
  }
113608
113620
 
113609
- const options = { scene: this .getExecutionContext () };
113621
+ // Create text.
113622
+
113623
+ const options = x_ite_Features .ENVIRONMENT === "NODE" ? { } : { scene: executionContext };
113610
113624
 
113611
113625
  let text;
113612
113626
 
113613
- switch (this .getExecutionContext () .getEncoding ())
113627
+ switch (executionContext .getEncoding ())
113614
113628
  {
113615
113629
  case "ASCII":
113616
113630
  case "VRML": text = vp .toVRMLString (options); break;
@@ -113620,11 +113634,15 @@ Object .assign (X3DCoreContext .prototype,
113620
113634
 
113621
113635
  text += "\n";
113622
113636
 
113623
- this .copyToClipboard (text);
113624
- this .getNotification () ._string = gettext ("Viewpoint copied to clipboard.");
113637
+ // Copy to clipboard.
113638
+
113639
+ this .copyToClipboard (text) .then (() =>
113640
+ {
113641
+ this .getNotification () ._string = gettext ("Viewpoint copied to clipboard.");
113625
113642
 
113626
- console .log ("Viewpoint copied to clipboard.");
113627
- console .debug (text);
113643
+ console .log ("Viewpoint copied to clipboard.");
113644
+ console .debug (text);
113645
+ });
113628
113646
  }
113629
113647
 
113630
113648
  break;
@@ -113664,14 +113682,21 @@ Object .assign (X3DCoreContext .prototype,
113664
113682
  }
113665
113683
  }
113666
113684
  },
113667
- copyToClipboard (text)
113685
+ async copyToClipboard (text)
113668
113686
  {
113669
- // The textarea must be visible to make copy work.
113670
- const tmp = X3DCoreContext_$("<textarea></textarea>");
113671
- this .getShadow () .find (".x_ite-private-browser") .prepend (tmp);
113672
- tmp .text (text) .trigger ("select");
113673
- document .execCommand ("copy");
113674
- tmp .remove ();
113687
+ try
113688
+ {
113689
+ await navigator .clipboard .writeText (text);
113690
+ }
113691
+ catch
113692
+ {
113693
+ // The textarea must be visible to make copy work.
113694
+ const tmp = X3DCoreContext_$("<textarea></textarea>");
113695
+ this .getShadow () .find (".x_ite-private-browser") .prepend (tmp);
113696
+ tmp .text (text) .trigger ("select");
113697
+ document .execCommand ("copy");
113698
+ tmp .remove ();
113699
+ }
113675
113700
  },
113676
113701
  dispose ()
113677
113702
  {
@@ -115433,8 +115458,8 @@ const X3DViewer_default_ = X3DViewer;
115433
115458
  x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
115434
115459
  /* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
115435
115460
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
115436
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(711);
115437
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(631);
115461
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(623);
115462
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(63);
115438
115463
  /*******************************************************************************
115439
115464
  *
115440
115465
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116306,8 +116331,8 @@ const ExamineViewer_default_ = ExamineViewer;
116306
116331
  x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
116307
116332
  /* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
116308
116333
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
116309
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(711);
116310
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(631);
116334
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(623);
116335
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(63);
116311
116336
  /*******************************************************************************
116312
116337
  *
116313
116338
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117316,8 +117341,8 @@ const FlyViewer_default_ = FlyViewer;
117316
117341
  x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
117317
117342
  /* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
117318
117343
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
117319
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(711);
117320
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(631);
117344
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(623);
117345
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(63);
117321
117346
  /*******************************************************************************
117322
117347
  *
117323
117348
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117648,8 +117673,8 @@ const NoneViewer_default_ = NoneViewer;
117648
117673
  x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
117649
117674
  /* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
117650
117675
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
117651
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(711);
117652
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(631);
117676
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(623);
117677
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(63);
117653
117678
  /*******************************************************************************
117654
117679
  *
117655
117680
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -118787,8 +118812,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
118787
118812
  x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
118788
118813
  /* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
118789
118814
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
118790
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(711);
118791
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(631);
118815
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(623);
118816
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(63);
118792
118817
  /*******************************************************************************
118793
118818
  *
118794
118819
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120092,7 +120117,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
120092
120117
  x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
120093
120118
  /* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
120094
120119
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
120095
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(631);
120120
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(63);
120096
120121
  /*******************************************************************************
120097
120122
  *
120098
120123
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120514,6 +120539,7 @@ x_ite_Namespace .add ("X3DScriptingContext", "x_ite/Browser/Scripting/X3DScripti
120514
120539
 
120515
120540
 
120516
120541
 
120542
+
120517
120543
  const
120518
120544
  _wireframe = Symbol (),
120519
120545
  _primitiveModes = Symbol (),
@@ -120615,8 +120641,8 @@ Object .assign (X3DShadersContext .prototype,
120615
120641
  },
120616
120642
  createShader (name, vs, fs = vs, options = [ ], uniformNames = [ ], transformFeedbackVaryings = [ ])
120617
120643
  {
120618
- if (this .getBrowserOption ("Debug"))
120619
- console .info (`Initializing ${name}Shader`);
120644
+ if (DEVELOPMENT)
120645
+ console .info (`Initializing ${name}Shader.`);
120620
120646
 
120621
120647
  const
120622
120648
  gl = this .getContext (),
@@ -121040,7 +121066,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
121040
121066
  x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
121041
121067
  /* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
121042
121068
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
121043
- /* provided dependency */ var KTXDecoder_$ = __webpack_require__(631);
121069
+ /* provided dependency */ var KTXDecoder_$ = __webpack_require__(63);
121044
121070
  const KTXDecoder_default_ = class KTXDecoder
121045
121071
  {
121046
121072
  constructor (gl, externalKtxlib, scriptDir)
@@ -122132,6 +122158,7 @@ const
122132
122158
  _limitFrameRate = Symbol (),
122133
122159
  _traverse = Symbol (),
122134
122160
  _renderCallback = Symbol (),
122161
+ _animFrame = Symbol (),
122135
122162
  _previousTime = Symbol (),
122136
122163
  _systemTime = Symbol (),
122137
122164
  _browserTime = Symbol (),
@@ -122284,9 +122311,8 @@ Object .assign (Object .setPrototypeOf (X3DBrowserContext .prototype, Base_X3DBa
122284
122311
  if (this [X3DBrowserContext_tainted])
122285
122312
  return;
122286
122313
 
122287
- this [X3DBrowserContext_tainted] = true;
122288
-
122289
- requestAnimationFrame (this [_renderCallback]);
122314
+ this [X3DBrowserContext_tainted] = true;
122315
+ this [_animFrame] = requestAnimationFrame (this [_renderCallback]);
122290
122316
  },
122291
122317
  [_limitFrameRate] (now)
122292
122318
  {
@@ -122414,6 +122440,12 @@ Object .assign (Object .setPrototypeOf (X3DBrowserContext .prototype, Base_X3DBa
122414
122440
  Scripting_X3DScriptingContext .prototype .dispose ?.call (this);
122415
122441
  Routing_X3DRoutingContext .prototype .dispose ?.call (this);
122416
122442
  Base_X3DBaseNode .prototype .dispose ?.call (this);
122443
+
122444
+ this [X3DBrowserContext_tainted] = true;
122445
+
122446
+ cancelAnimationFrame (this [_animFrame]);
122447
+
122448
+ this .getContext () .getExtension ("WEBGL_lose_context") ?.loseContext ();
122417
122449
  },
122418
122450
  });
122419
122451
 
@@ -122594,7 +122626,7 @@ const Components_default_ = Components;
122594
122626
  x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
122595
122627
  /* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
122596
122628
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
122597
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(631);
122629
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(63);
122598
122630
  /*******************************************************************************
122599
122631
  * MIT License
122600
122632
  *
@@ -122751,7 +122783,7 @@ class DOMIntegration
122751
122783
 
122752
122784
  const
122753
122785
  parentNode = element .parentNode,
122754
- node = DOMIntegration_$.data (parentNode, "node");
122786
+ node = DOMIntegration_$.data (parentNode, "node");
122755
122787
 
122756
122788
  if (node)
122757
122789
  {
@@ -122968,6 +123000,10 @@ class DOMIntegration
122968
123000
  if (!node)
122969
123001
  return;
122970
123002
 
123003
+ // Unfortunately `getEventListeners` is not available all the time.
123004
+ // if (!getEventListeners (element) .hasOwnProperty (field .getName ()))
123005
+ // return;
123006
+
122971
123007
  const event = new CustomEvent (field .getName (),
122972
123008
  {
122973
123009
  detail: {
@@ -123727,8 +123763,138 @@ const SupportedProfiles_default_ = SupportedProfiles;
123727
123763
 
123728
123764
  x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
123729
123765
  /* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
123766
+ ;// CONCATENATED MODULE: ./src/x_ite/Configuration/FieldTypesArray.js
123767
+ /*******************************************************************************
123768
+ *
123769
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
123770
+ *
123771
+ * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
123772
+ *
123773
+ * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
123774
+ *
123775
+ * The copyright notice above does not evidence any actual of intended
123776
+ * publication of such source code, and is an unpublished work by create3000.
123777
+ * This material contains CONFIDENTIAL INFORMATION that is the property of
123778
+ * create3000.
123779
+ *
123780
+ * No permission is granted to copy, distribute, or create derivative works from
123781
+ * the contents of this software, in whole or in part, without the prior written
123782
+ * permission of create3000.
123783
+ *
123784
+ * NON-MILITARY USE ONLY
123785
+ *
123786
+ * All create3000 software are effectively free software with a non-military use
123787
+ * restriction. It is free. Well commented source is provided. You may reuse the
123788
+ * source in any way you please with the exception anything that uses it must be
123789
+ * marked to indicate is contains 'non-military use only' components.
123790
+ *
123791
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
123792
+ *
123793
+ * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
123794
+ *
123795
+ * This file is part of the X_ITE Project.
123796
+ *
123797
+ * X_ITE is free software: you can redistribute it and/or modify it under the
123798
+ * terms of the GNU General Public License version 3 only, as published by the
123799
+ * Free Software Foundation.
123800
+ *
123801
+ * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
123802
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
123803
+ * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
123804
+ * details (a copy is included in the LICENSE file that accompanied this code).
123805
+ *
123806
+ * You should have received a copy of the GNU General Public License version 3
123807
+ * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
123808
+ * copy of the GPLv3 License.
123809
+ *
123810
+ * For Silvio, Joy and Adi.
123811
+ *
123812
+ ******************************************************************************/
123813
+
123814
+
123815
+
123816
+ function FieldTypesArray (values = [ ])
123817
+ {
123818
+ return Base_X3DInfoArray .call (this, Array .from (values, value => [value .typeName, value]), Function);
123819
+ }
123820
+
123821
+ Object .setPrototypeOf (FieldTypesArray .prototype, Base_X3DInfoArray .prototype);
123822
+
123823
+ for (const key of Object .keys (FieldTypesArray .prototype))
123824
+ Object .defineProperty (FieldTypesArray .prototype, key, { enumerable: false });
123825
+
123826
+ Object .defineProperties (FieldTypesArray,
123827
+ {
123828
+ typeName:
123829
+ {
123830
+ value: "FieldTypesArray",
123831
+ enumerable: true,
123832
+ },
123833
+ });
123834
+
123835
+ const FieldTypesArray_default_ = FieldTypesArray;
123836
+ ;
123837
+
123838
+ x_ite_Namespace .add ("FieldTypesArray", "x_ite/Configuration/FieldTypesArray", FieldTypesArray_default_);
123839
+ /* harmony default export */ const Configuration_FieldTypesArray = (FieldTypesArray_default_);
123840
+ ;// CONCATENATED MODULE: ./src/x_ite/Configuration/FieldTypes.js
123841
+ /*******************************************************************************
123842
+ *
123843
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
123844
+ *
123845
+ * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
123846
+ *
123847
+ * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
123848
+ *
123849
+ * The copyright notice above does not evidence any actual of intended
123850
+ * publication of such source code, and is an unpublished work by create3000.
123851
+ * This material contains CONFIDENTIAL INFORMATION that is the property of
123852
+ * create3000.
123853
+ *
123854
+ * No permission is granted to copy, distribute, or create derivative works from
123855
+ * the contents of this software, in whole or in part, without the prior written
123856
+ * permission of create3000.
123857
+ *
123858
+ * NON-MILITARY USE ONLY
123859
+ *
123860
+ * All create3000 software are effectively free software with a non-military use
123861
+ * restriction. It is free. Well commented source is provided. You may reuse the
123862
+ * source in any way you please with the exception anything that uses it must be
123863
+ * marked to indicate is contains 'non-military use only' components.
123864
+ *
123865
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
123866
+ *
123867
+ * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
123868
+ *
123869
+ * This file is part of the X_ITE Project.
123870
+ *
123871
+ * X_ITE is free software: you can redistribute it and/or modify it under the
123872
+ * terms of the GNU General Public License version 3 only, as published by the
123873
+ * Free Software Foundation.
123874
+ *
123875
+ * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
123876
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
123877
+ * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
123878
+ * details (a copy is included in the LICENSE file that accompanied this code).
123879
+ *
123880
+ * You should have received a copy of the GNU General Public License version 3
123881
+ * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
123882
+ * copy of the GPLv3 License.
123883
+ *
123884
+ * For Silvio, Joy and Adi.
123885
+ *
123886
+ ******************************************************************************/
123887
+
123888
+
123889
+
123890
+
123891
+ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x_ite_Fields));
123892
+ ;
123893
+
123894
+ x_ite_Namespace .add ("FieldTypes", "x_ite/Configuration/FieldTypes", FieldTypes_default_);
123895
+ /* harmony default export */ const FieldTypes = (FieldTypes_default_);
123730
123896
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
123731
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(631);
123897
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(63);
123732
123898
  /*******************************************************************************
123733
123899
  *
123734
123900
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -123798,6 +123964,7 @@ x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfile
123798
123964
 
123799
123965
 
123800
123966
 
123967
+
123801
123968
 
123802
123969
 
123803
123970
  const
@@ -123806,6 +123973,7 @@ const
123806
123973
  _supportedComponents = Symbol (),
123807
123974
  _concreteNodes = Symbol (),
123808
123975
  _abstractNodes = Symbol (),
123976
+ _fieldTypes = Symbol (),
123809
123977
  _reject = Symbol (),
123810
123978
  _fileLoader = Symbol (),
123811
123979
  _browserCallbacks = Symbol (),
@@ -123827,6 +123995,7 @@ function X3DBrowser (element)
123827
123995
  this [_supportedComponents] = Configuration_SupportedComponents .copy ();
123828
123996
  this [_concreteNodes] = ConcreteNodes .copy ();
123829
123997
  this [_abstractNodes] = AbstractNodes .copy ();
123998
+ this [_fieldTypes] = FieldTypes .copy ();
123830
123999
  this [_console] = document .getElementsByClassName ("x_ite-console");
123831
124000
 
123832
124001
  this [_browserCallbacks] = new Map ([
@@ -124029,7 +124198,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
124029
124198
  for (const arg of args)
124030
124199
  {
124031
124200
  if (arg instanceof Execution_X3DScene)
124032
- component .push (... (arg .profile ?.components ?? [ ]), ... arg .components);
124201
+ component .push (... (arg .profile ?? this .getProfile ("Full")) .components, ... arg .components);
124033
124202
 
124034
124203
  else if (arg instanceof Configuration_ProfileInfo)
124035
124204
  component .push (... arg .components);
@@ -124041,7 +124210,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
124041
124210
  component .push (arg);
124042
124211
 
124043
124212
  else if (typeof arg === "string")
124044
- component .push (this [_supportedComponents] .get (arg))
124213
+ component .push (this .getComponent (arg))
124045
124214
  }
124046
124215
 
124047
124216
  // Load array of component names.
@@ -124098,6 +124267,19 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
124098
124267
  {
124099
124268
  return this [_abstractNodes];
124100
124269
  },
124270
+ getFieldType (typeName)
124271
+ {
124272
+ const fieldType = this [_fieldTypes] .get (String (typeName));
124273
+
124274
+ if (fieldType)
124275
+ return fieldType;
124276
+
124277
+ throw new Error (`Field type '${typeName}' does not exists.`);
124278
+ },
124279
+ getFieldTypes ()
124280
+ {
124281
+ return this [_fieldTypes];
124282
+ },
124101
124283
  createScene (profile, ... components)
124102
124284
  {
124103
124285
  const scene = new Execution_X3DScene (this);
@@ -124185,7 +124367,6 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
124185
124367
  return;
124186
124368
 
124187
124369
  loadCount .removeInterest ("checkLoadCount", this);
124188
- this .touch (0, 0);
124189
124370
  this .setBrowserLoading (false);
124190
124371
  this .initialized () .set (this .getCurrentTime ());
124191
124372
  this .initialized () .processInterests ();
@@ -124765,34 +124946,27 @@ Object .defineProperties (X3DBrowser .prototype,
124765
124946
  },
124766
124947
  supportedProfiles:
124767
124948
  {
124768
- get ()
124769
- {
124770
- return this [_supportedProfiles];
124771
- },
124949
+ get: X3DBrowser .prototype .getSupportedProfiles,
124772
124950
  enumerable: true,
124773
124951
  },
124774
124952
  supportedComponents:
124775
124953
  {
124776
- get ()
124777
- {
124778
- return this [_supportedComponents];
124779
- },
124954
+ get: X3DBrowser .prototype .getSupportedComponents,
124780
124955
  enumerable: true,
124781
124956
  },
124782
124957
  concreteNodes:
124783
124958
  {
124784
- get ()
124785
- {
124786
- return this [_concreteNodes];
124787
- },
124959
+ get: X3DBrowser .prototype .getConcreteNodes,
124788
124960
  enumerable: true,
124789
124961
  },
124790
124962
  abstractNodes:
124791
124963
  {
124792
- get ()
124793
- {
124794
- return this [_abstractNodes];
124795
- },
124964
+ get: X3DBrowser .prototype .getAbstractNodes,
124965
+ enumerable: true,
124966
+ },
124967
+ fieldTypes:
124968
+ {
124969
+ get: X3DBrowser .prototype .getFieldTypes,
124796
124970
  enumerable: true,
124797
124971
  },
124798
124972
  element:
@@ -124822,7 +124996,7 @@ const X3DBrowser_default_ = X3DBrowser;
124822
124996
  x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
124823
124997
  /* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
124824
124998
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
124825
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(631);
124999
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(63);
124826
125000
  /*******************************************************************************
124827
125001
  *
124828
125002
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124909,6 +125083,8 @@ class X3DCanvasElement extends HTMLElement
124909
125083
  "contextMenu",
124910
125084
  "contextmenu",
124911
125085
  "debug",
125086
+ "logarithmicDepthBuffer",
125087
+ "logarithmicdepthbuffer",
124912
125088
  "multisampling",
124913
125089
  "notifications",
124914
125090
  "oninitialized",
@@ -124959,8 +125135,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
124959
125135
  x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
124960
125136
  /* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
124961
125137
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
124962
- /* provided dependency */ var jquery_$ = __webpack_require__(631);
124963
- /* provided dependency */ var pako = __webpack_require__(511);
125138
+ /* provided dependency */ var jquery_$ = __webpack_require__(63);
125139
+ /* provided dependency */ var pako = __webpack_require__(807);
124964
125140
  Object .assign (jquery_$,
124965
125141
  {
124966
125142
  decodeText (input)
@@ -125037,14 +125213,14 @@ const jquery_default_ = jquery_$;
125037
125213
  x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
125038
125214
  /* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
125039
125215
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
125040
- /* provided dependency */ var libtess_libtess = __webpack_require__(580);
125216
+ /* provided dependency */ var libtess_libtess = __webpack_require__(844);
125041
125217
  const libtess_default_ = libtess_libtess;
125042
125218
  ;
125043
125219
 
125044
125220
  x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
125045
125221
  /* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
125046
125222
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
125047
- /* provided dependency */ var X3D_$ = __webpack_require__(631);
125223
+ /* provided dependency */ var X3D_$ = __webpack_require__(63);
125048
125224
  /*******************************************************************************
125049
125225
  *
125050
125226
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -125352,7 +125528,7 @@ Object .assign (X3D,
125352
125528
 
125353
125529
  // Assign X3D to global namespace.
125354
125530
 
125355
- window [Symbol .for ("X_ITE.X3D-9.6.2")] = x_ite_X3D;
125531
+ window [Symbol .for ("X_ITE.X3D-9.7.0")] = x_ite_X3D;
125356
125532
 
125357
125533
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
125358
125534