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.js CHANGED
@@ -1,4 +1,4 @@
1
- /* X_ITE v9.6.2 */(function webpackUniversalModuleDefinition(root, factory) {
1
+ /* X_ITE v9.7.0 */(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
+ /***/ 827:
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__(63);
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
+ /***/ 623:
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__(63)], __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
+ /***/ 63:
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
+ /***/ 844:
11163
11163
  /***/ ((module) => {
11164
11164
 
11165
11165
  /**
@@ -15938,7 +15938,7 @@ if (true) {
15938
15938
 
15939
15939
  /***/ }),
15940
15940
 
15941
- /***/ 511:
15941
+ /***/ 807:
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
+ /***/ 584:
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.7.0")];
20315
20315
 
20316
20316
  if (X3D)
20317
20317
  X3D [name] = module;
@@ -29429,10 +29429,16 @@ Object .assign (Object .setPrototypeOf (SFNode .prototype, Base_X3DField .protot
29429
29429
  target = this [_target],
29430
29430
  value = target .getValue ();
29431
29431
 
29432
- if (value)
29433
- return new SFNode (instance ? value .copy (instance) : value);
29432
+ if (value && instance)
29433
+ {
29434
+ const copy = value .copy (instance);
29435
+
29436
+ copy .setup ();
29434
29437
 
29435
- return new SFNode ();
29438
+ return new SFNode (copy);
29439
+ }
29440
+
29441
+ return new SFNode (value);
29436
29442
  },
29437
29443
  equals (node)
29438
29444
  {
@@ -34230,7 +34236,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
34230
34236
  x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
34231
34237
  /* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
34232
34238
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
34233
- /* provided dependency */ var $ = __webpack_require__(631);
34239
+ /* provided dependency */ var $ = __webpack_require__(63);
34234
34240
  /*******************************************************************************
34235
34241
  *
34236
34242
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34367,7 +34373,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
34367
34373
  *
34368
34374
  ******************************************************************************/
34369
34375
 
34370
- const BROWSER_VERSION_default_ = "9.6.2";
34376
+ const BROWSER_VERSION_default_ = "9.7.0";
34371
34377
  ;
34372
34378
 
34373
34379
  x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
@@ -34467,8 +34473,6 @@ Object .assign (Object .setPrototypeOf (X3DNode .prototype, Base_X3DBaseNode .pr
34467
34473
  copy .addUserDefinedField (field .getAccessType (), field .getName (), field .copy ());
34468
34474
  }
34469
34475
 
34470
- copy .setup ();
34471
-
34472
34476
  return copy;
34473
34477
  }
34474
34478
  else
@@ -34574,8 +34578,6 @@ Object .assign (Object .setPrototypeOf (X3DNode .prototype, Base_X3DBaseNode .pr
34574
34578
  destinationField .setModificationTime (sourceField .getModificationTime ());
34575
34579
  }
34576
34580
 
34577
- copy .setup ();
34578
-
34579
34581
  return copy;
34580
34582
  }
34581
34583
  },
@@ -39013,7 +39015,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
39013
39015
  x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
39014
39016
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
39015
39017
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
39016
- /* provided dependency */ var X3DParser_$ = __webpack_require__(631);
39018
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(63);
39017
39019
  /*******************************************************************************
39018
39020
  *
39019
39021
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39100,16 +39102,12 @@ Object .assign (X3DParser .prototype,
39100
39102
  {
39101
39103
  return this .getExecutionContext () .getOuterNode () instanceof Prototype_X3DProtoDeclaration;
39102
39104
  },
39105
+ /**
39106
+ * @deprecated Directly use `browser.loadComponents`.
39107
+ */
39103
39108
  loadComponents ()
39104
39109
  {
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
- ]);
39110
+ return this .getBrowser () .loadComponents (this .getScene ());
39113
39111
  },
39114
39112
  setUnits (units)
39115
39113
  {
@@ -39275,7 +39273,7 @@ const Expressions_default_ = Expressions;
39275
39273
  x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
39276
39274
  /* harmony default export */ const Parser_Expressions = (Expressions_default_);
39277
39275
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
39278
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(631);
39276
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(63);
39279
39277
  /*******************************************************************************
39280
39278
  *
39281
39279
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39639,7 +39637,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
39639
39637
 
39640
39638
  if (this .resolve)
39641
39639
  {
39642
- this .loadComponents () .then (() =>
39640
+ browser .loadComponents (scene) .then (() =>
39643
39641
  {
39644
39642
  try
39645
39643
  {
@@ -41975,7 +41973,7 @@ const VRMLParser_default_ = VRMLParser;
41975
41973
  x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
41976
41974
  /* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
41977
41975
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
41978
- /* provided dependency */ var XMLParser_$ = __webpack_require__(631);
41976
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(63);
41979
41977
  /*******************************************************************************
41980
41978
  *
41981
41979
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -42093,18 +42091,26 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42093
42091
  },
42094
42092
  parseIntoScene (resolve, reject)
42095
42093
  {
42094
+ const
42095
+ browser = this .getBrowser (),
42096
+ scene = this .getScene ();
42097
+
42096
42098
  this .resolve = resolve;
42097
42099
  this .reject = reject;
42098
42100
 
42099
- this .getScene () .setEncoding ("XML");
42100
- this .getScene () .setProfile (this .getBrowser () .getProfile ("Full"));
42101
+ scene .setEncoding ("XML");
42102
+ scene .setProfile (browser .getProfile ("Full"));
42101
42103
 
42102
42104
  this .xmlElement (this .input);
42103
42105
  },
42104
42106
  xmlElement (xmlElement)
42105
42107
  {
42108
+ const
42109
+ browser = this .getBrowser (),
42110
+ scene = this .getScene ();
42111
+
42106
42112
  if (xmlElement === null)
42107
- return this .resolve ?.(this .getScene ());
42113
+ return this .resolve ?.(scene);
42108
42114
 
42109
42115
  switch (xmlElement .nodeName)
42110
42116
  {
@@ -42121,10 +42127,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42121
42127
  {
42122
42128
  if (this .resolve)
42123
42129
  {
42124
- this .loadComponents () .then (() =>
42130
+ browser .loadComponents (scene) .then (() =>
42125
42131
  {
42126
42132
  this .childrenElements (xmlElement);
42127
- this .resolve (this .getScene ());
42133
+ this .resolve (scene);
42128
42134
  })
42129
42135
  .catch (this .reject);
42130
42136
  }
@@ -42146,10 +42152,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42146
42152
  {
42147
42153
  if (this .resolve)
42148
42154
  {
42149
- this .loadComponents () .then (() =>
42155
+ browser .loadComponents (scene) .then (() =>
42150
42156
  {
42151
42157
  this .sceneElement (xmlElement);
42152
- this .resolve (this .getScene ());
42158
+ this .resolve (scene);
42153
42159
  })
42154
42160
  .catch (this .reject);
42155
42161
  }
@@ -42164,10 +42170,10 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42164
42170
  {
42165
42171
  if (this .resolve)
42166
42172
  {
42167
- this .loadComponents () .then (() =>
42173
+ browser .loadComponents (scene) .then (() =>
42168
42174
  {
42169
42175
  this .childrenElements (xmlElement);
42170
- this .resolve (this .getScene ());
42176
+ this .resolve (scene);
42171
42177
  })
42172
42178
  .catch (this .reject);
42173
42179
  }
@@ -42182,17 +42188,21 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42182
42188
  },
42183
42189
  x3dElement (xmlElement)
42184
42190
  {
42191
+ const
42192
+ browser = this .getBrowser (),
42193
+ scene = this .getScene ();
42194
+
42185
42195
  try
42186
42196
  {
42187
42197
  // Profile
42188
42198
 
42189
42199
  const
42190
42200
  profileNameId = xmlElement .getAttribute ("profile"),
42191
- profile = this .getBrowser () .getProfile (profileNameId || "Full");
42201
+ profile = browser .getProfile (profileNameId || "Full");
42192
42202
 
42193
42203
  XMLParser_$.data (this .scene, "X3D", xmlElement);
42194
42204
 
42195
- this .getScene () .setProfile (profile);
42205
+ scene .setProfile (profile);
42196
42206
  }
42197
42207
  catch (error)
42198
42208
  {
@@ -42204,7 +42214,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42204
42214
  const specificationVersion = xmlElement .getAttribute ("version");
42205
42215
 
42206
42216
  if (specificationVersion)
42207
- this .getScene () .setSpecificationVersion (specificationVersion);
42217
+ scene .setSpecificationVersion (specificationVersion);
42208
42218
 
42209
42219
  // Process child nodes
42210
42220
 
@@ -42216,12 +42226,12 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42216
42226
 
42217
42227
  if (this .resolve)
42218
42228
  {
42219
- this .loadComponents () .then (() =>
42229
+ browser .loadComponents (scene) .then (() =>
42220
42230
  {
42221
42231
  for (const childNode of xmlElement .childNodes)
42222
42232
  this .x3dElementChildScene (childNode)
42223
42233
 
42224
- this .resolve (this .getScene ());
42234
+ this .resolve (scene);
42225
42235
  })
42226
42236
  .catch (this .reject);
42227
42237
  }
@@ -44007,7 +44017,7 @@ const URLs_default_ = URLs;
44007
44017
  x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
44008
44018
  /* harmony default export */ const Networking_URLs = (URLs_default_);
44009
44019
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
44010
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(631);
44020
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(63);
44011
44021
  /*******************************************************************************
44012
44022
  *
44013
44023
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -44201,7 +44211,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
44201
44211
  this .extensionsArray (glTF .extensionsRequired, this .extensions);
44202
44212
  this .extensionsObject (glTF .extensions);
44203
44213
 
44204
- await this .loadComponents ();
44214
+ await browser .loadComponents (scene);
44205
44215
  await this .buffersArray (glTF .buffers);
44206
44216
 
44207
44217
  if (this .extensions .has ("KHR_draco_mesh_compression"))
@@ -47309,7 +47319,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
47309
47319
  x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
47310
47320
  /* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
47311
47321
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
47312
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(631);
47322
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(63);
47313
47323
  /*******************************************************************************
47314
47324
  *
47315
47325
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47461,7 +47471,7 @@ const GLB2Parser_default_ = GLB2Parser;
47461
47471
  x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
47462
47472
  /* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
47463
47473
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
47464
- /* provided dependency */ var OBJParser_$ = __webpack_require__(631);
47474
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(63);
47465
47475
  /*******************************************************************************
47466
47476
  *
47467
47477
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47627,7 +47637,7 @@ Object .assign (Object .setPrototypeOf (OBJParser .prototype, Parser_X3DParser .
47627
47637
  scene .setEncoding ("OBJ");
47628
47638
  scene .setProfile (browser .getProfile ("Interchange"));
47629
47639
 
47630
- await this .loadComponents ();
47640
+ await browser .loadComponents (scene);
47631
47641
 
47632
47642
  // Init nodes.
47633
47643
 
@@ -48694,7 +48704,7 @@ Object .assign (Object .setPrototypeOf (STLAParser .prototype, Parser_X3DParser
48694
48704
  scene .setEncoding ("STL");
48695
48705
  scene .setProfile (browser .getProfile ("Interchange"));
48696
48706
 
48697
- await this .loadComponents ();
48707
+ await browser .loadComponents (scene);
48698
48708
 
48699
48709
  // Create nodes.
48700
48710
 
@@ -49044,7 +49054,7 @@ Object .assign (Object .setPrototypeOf (STLBParser .prototype, Parser_X3DParser
49044
49054
  scene .setEncoding ("STL");
49045
49055
  scene .setProfile (browser .getProfile ("Interchange"));
49046
49056
 
49047
- await this .loadComponents ();
49057
+ await browser .loadComponents (scene);
49048
49058
 
49049
49059
  // Create nodes.
49050
49060
 
@@ -49240,7 +49250,7 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
49240
49250
  scene .setEncoding ("PLY");
49241
49251
  scene .setProfile (browser .getProfile ("Interchange"));
49242
49252
 
49243
- await this .loadComponents ();
49253
+ await browser .loadComponents (scene);
49244
49254
  await this .processElements (this .header ([ ]))
49245
49255
 
49246
49256
  // Create nodes.
@@ -49515,6 +49525,7 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
49515
49525
  async parseVertices ({ count, properties })
49516
49526
  {
49517
49527
  const
49528
+ browser = this .getBrowser (),
49518
49529
  scene = this .getScene (),
49519
49530
  colors = [ ],
49520
49531
  texCoord = scene .createNode ("TextureCoordinate"),
@@ -49575,7 +49586,7 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
49575
49586
  {
49576
49587
  scene .addComponent (this .getBrowser () .getComponent ("Shaders", 1));
49577
49588
 
49578
- await this .loadComponents ();
49589
+ await browser .loadComponents (scene);
49579
49590
 
49580
49591
  for (const [name, value] of attributes)
49581
49592
  {
@@ -50819,8 +50830,8 @@ const MatrixStack_default_ = MatrixStack;
50819
50830
  x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
50820
50831
  /* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
50821
50832
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
50822
- /* provided dependency */ var SVGParser_$ = __webpack_require__(631);
50823
- /* provided dependency */ var libtess = __webpack_require__(580);
50833
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(63);
50834
+ /* provided dependency */ var libtess = __webpack_require__(844);
50824
50835
  /*******************************************************************************
50825
50836
  *
50826
50837
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -51092,7 +51103,7 @@ Object .assign (Object .setPrototypeOf (SVGParser .prototype, Parser_X3DParser .
51092
51103
  scene .setProfile (browser .getProfile ("Interchange"));
51093
51104
  scene .addComponent (browser .getComponent ("Geometry2D", 2));
51094
51105
 
51095
- await this .loadComponents ();
51106
+ await browser .loadComponents (scene);
51096
51107
 
51097
51108
  // Init nodes.
51098
51109
 
@@ -53588,7 +53599,7 @@ const SVGParser_default_ = SVGParser;
53588
53599
  x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
53589
53600
  /* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
53590
53601
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
53591
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(631);
53602
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(63);
53592
53603
  /*******************************************************************************
53593
53604
  *
53594
53605
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -53955,7 +53966,7 @@ const Plane3_default_ = Plane3;
53955
53966
  x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
53956
53967
  /* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
53957
53968
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
53958
- /* provided dependency */ var Triangle3_libtess = __webpack_require__(580);
53969
+ /* provided dependency */ var Triangle3_libtess = __webpack_require__(844);
53959
53970
  /*******************************************************************************
53960
53971
  *
53961
53972
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -62484,7 +62495,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
62484
62495
  x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
62485
62496
  /* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
62486
62497
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
62487
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(631);
62498
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(63);
62488
62499
  /*******************************************************************************
62489
62500
  *
62490
62501
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -62633,7 +62644,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
62633
62644
  if (DEVELOPMENT)
62634
62645
  {
62635
62646
  if (this .URL .protocol !== "data:")
62636
- console .info (`Done loading image texture '${decodeURI (this .URL .href)}'`);
62647
+ console .info (`Done loading image texture '${decodeURI (this .URL .href)}'.`);
62637
62648
  }
62638
62649
 
62639
62650
  try
@@ -62657,7 +62668,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
62657
62668
  if (DEVELOPMENT)
62658
62669
  {
62659
62670
  if (this .URL .protocol !== "data:")
62660
- console .info (`Done loading image texture '${decodeURI (this .URL .href)}'`);
62671
+ console .info (`Done loading image texture '${decodeURI (this .URL .href)}'.`);
62661
62672
  }
62662
62673
 
62663
62674
  try
@@ -66066,7 +66077,7 @@ const X3DWorld_default_ = X3DWorld;
66066
66077
  x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
66067
66078
  /* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
66068
66079
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
66069
- /* provided dependency */ var FileLoader_$ = __webpack_require__(631);
66080
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(63);
66070
66081
  /*******************************************************************************
66071
66082
  *
66072
66083
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -66233,7 +66244,7 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
66233
66244
  if (DEVELOPMENT)
66234
66245
  {
66235
66246
  if (this .URL .protocol !== "data:")
66236
- console .info (`Done loading scene '${decodeURI (this .URL .href)}'`);
66247
+ console .info (`Done loading scene '${decodeURI (this .URL .href)}'.`);
66237
66248
  }
66238
66249
  },
66239
66250
  createX3DFromURL (url, parameter, callback, bindViewpoint, foreign)
@@ -67000,7 +67011,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
67000
67011
  x_ite_Namespace .add ("ProtoDeclarationArray", "x_ite/Prototype/ProtoDeclarationArray", ProtoDeclarationArray_default_);
67001
67012
  /* harmony default export */ const Prototype_ProtoDeclarationArray = (ProtoDeclarationArray_default_);
67002
67013
  ;// CONCATENATED MODULE: ./src/x_ite/Routing/X3DRoute.js
67003
- /* provided dependency */ var X3DRoute_$ = __webpack_require__(631);
67014
+ /* provided dependency */ var X3DRoute_$ = __webpack_require__(63);
67004
67015
  /*******************************************************************************
67005
67016
  *
67006
67017
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -86719,6 +86730,8 @@ function X3DCoordinateNode (executionContext)
86719
86730
  Rendering_X3DGeometricPropertyNode .call (this, executionContext);
86720
86731
 
86721
86732
  this .addType (Base_X3DConstants .X3DCoordinateNode);
86733
+
86734
+ this .length = 0;
86722
86735
  }
86723
86736
 
86724
86737
  Object .assign (Object .setPrototypeOf (X3DCoordinateNode .prototype, Rendering_X3DGeometricPropertyNode .prototype),
@@ -90151,7 +90164,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
90151
90164
  x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
90152
90165
  /* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
90153
90166
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
90154
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(631);
90167
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(63);
90155
90168
  /*******************************************************************************
90156
90169
  *
90157
90170
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -93678,13 +93691,11 @@ varying float depth;
93678
93691
  #endif
93679
93692
  #pragma X3D include "PointSize.glsl"
93680
93693
  void vertex_main(){vec4 position=x3d_ModelViewMatrix*x3d_Vertex;vertex=position.xyz;
93681
- #if defined(X3D_GEOMETRY_0D)
93682
- #if defined(X3D_STYLE_PROPERTIES)
93694
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
93683
93695
  gl_PointSize=pointSize=getPointSize(vertex);
93684
93696
  #else
93685
93697
  gl_PointSize=1.0;
93686
93698
  #endif
93687
- #endif
93688
93699
  #if defined(X3D_FOG)&&defined(X3D_FOG_COORDS)
93689
93700
  fogDepth=x3d_FogDepth;
93690
93701
  #endif
@@ -94252,13 +94263,11 @@ vec4 x3d_TransformedVertex=getInstanceVertex(getSkinVertex(x3d_Vertex,x3d_Normal
94252
94263
  vec4 x3d_TransformedVertex=getInstanceVertex(getSkinVertex(x3d_Vertex,vec3(0.0)));
94253
94264
  #endif
94254
94265
  vec4 position=x3d_ModelViewMatrix*x3d_TransformedVertex;vertex=position.xyz;
94255
- #if defined(X3D_GEOMETRY_0D)
94256
- #if defined(X3D_STYLE_PROPERTIES)
94266
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
94257
94267
  gl_PointSize=pointSize=getPointSize(vertex);
94258
94268
  #else
94259
94269
  gl_PointSize=1.0;
94260
94270
  #endif
94261
- #endif
94262
94271
  #if defined(X3D_GEOMETRY_1D)&&defined(X3D_STYLE_PROPERTIES)
94263
94272
  lengthSoFar=x3d_LineStipple.z;startPoint=x3d_LineStipple.xy;midPoint=x3d_LineStipple.xy;
94264
94273
  #endif
@@ -94331,12 +94340,10 @@ x_ite_Namespace .add ("Depth1.fs", "assets/shaders/webgl1/Depth1.fs", Depth1_fs_
94331
94340
  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
94341
  #pragma X3D include "common/PointSize.glsl"
94333
94342
  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);
94343
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
94344
+ gl_PointSize=pointSize=getPointSize(vertex);
94337
94345
  #else
94338
- gl_PointSize=2.0;
94339
- #endif
94346
+ gl_PointSize=1.0;
94340
94347
  #endif
94341
94348
  gl_Position=x3d_ProjectionMatrix*position;}`
94342
94349
  ;
@@ -94645,13 +94652,11 @@ varying vec4 texCoord0;
94645
94652
  #endif
94646
94653
  #pragma X3D include "common/PointSize.glsl"
94647
94654
  void main(){
94648
- #if defined(X3D_GEOMETRY_0D)
94649
- #if defined(X3D_STYLE_PROPERTIES)
94650
- gl_PointSize=max(pointSize=getPointSize(vertex),2.0);
94655
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
94656
+ gl_PointSize=pointSize=max(getPointSize(vertex),2.0);
94651
94657
  #else
94652
94658
  gl_PointSize=2.0;
94653
94659
  #endif
94654
- #endif
94655
94660
  vec4 position=x3d_ModelViewMatrix*x3d_Vertex;vertex=position.xyz;normal=x3d_Normal;
94656
94661
  #if!defined(X3D_GEOMETRY_0D)&&!defined(X3D_GEOMETRY_1D)
94657
94662
  texCoord0=x3d_TexCoord0;
@@ -94744,12 +94749,10 @@ precision highp float;precision highp int;precision highp sampler2D;uniform mat4
94744
94749
  #pragma X3D include "common/Instancing.glsl"
94745
94750
  #pragma X3D include "common/PointSize.glsl"
94746
94751
  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);
94752
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
94753
+ gl_PointSize=pointSize=getPointSize(vertex);
94750
94754
  #else
94751
- gl_PointSize=2.0;
94752
- #endif
94755
+ gl_PointSize=1.0;
94753
94756
  #endif
94754
94757
  gl_Position=x3d_ProjectionMatrix*position;}`
94755
94758
  ;
@@ -95122,13 +95125,11 @@ void main(){
95122
95125
  lengthSoFar=x3d_LineStipple.z;startPoint=x3d_LineStipple.xy;midPoint=x3d_LineStipple.xy;
95123
95126
  #endif
95124
95127
  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);
95128
+ #if defined(X3D_GEOMETRY_0D)&&defined(X3D_STYLE_PROPERTIES)
95129
+ gl_PointSize=pointSize=max(getPointSize(vertex),2.0);
95128
95130
  #else
95129
95131
  gl_PointSize=2.0;
95130
95132
  #endif
95131
- #endif
95132
95133
  #if!defined(X3D_GEOMETRY_0D)&&!defined(X3D_GEOMETRY_1D)
95133
95134
  texCoord0=x3d_TexCoord0;
95134
95135
  #endif
@@ -95859,7 +95860,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
95859
95860
  x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
95860
95861
  /* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
95861
95862
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
95862
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(631);
95863
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(63);
95863
95864
  /*******************************************************************************
95864
95865
  *
95865
95866
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -96516,7 +96517,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
96516
96517
  x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
96517
96518
  /* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
96518
96519
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
96519
- /* provided dependency */ var Appearance_$ = __webpack_require__(631);
96520
+ /* provided dependency */ var Appearance_$ = __webpack_require__(63);
96520
96521
  /*******************************************************************************
96521
96522
  *
96522
96523
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -101000,7 +101001,7 @@ Object .assign (Object .setPrototypeOf (AudioClip .prototype, Sound_X3DSoundSour
101000
101001
  if (DEVELOPMENT)
101001
101002
  {
101002
101003
  if (URL .protocol !== "data:")
101003
- console .info (`Done loading audio '${decodeURI (URL .href)}'`);
101004
+ console .info (`Done loading audio '${decodeURI (URL .href)}'.`);
101004
101005
  }
101005
101006
  }
101006
101007
  });
@@ -101812,7 +101813,7 @@ Object .assign (Object .setPrototypeOf (BufferAudioSource .prototype, Sound_X3DS
101812
101813
  if (DEVELOPMENT)
101813
101814
  {
101814
101815
  if (URL .protocol !== "data:")
101815
- console .info (`Done loading audio '${decodeURI (URL .href)}'`);
101816
+ console .info (`Done loading audio '${decodeURI (URL .href)}'.`);
101816
101817
  }
101817
101818
  }
101818
101819
  });
@@ -105468,8 +105469,8 @@ const GifMedia_default_ = GifMedia;
105468
105469
  x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
105469
105470
  /* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
105470
105471
  ;// 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);
105472
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(63);
105473
+ /* provided dependency */ var SuperGif = __webpack_require__(584);
105473
105474
  /*******************************************************************************
105474
105475
  *
105475
105476
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -105649,7 +105650,7 @@ Object .assign (Object .setPrototypeOf (MovieTexture .prototype, Texturing_X3DTe
105649
105650
  if (DEVELOPMENT)
105650
105651
  {
105651
105652
  if (this .URL .protocol !== "data:")
105652
- console .info (`Done loading movie '${decodeURI (this .URL .href)}'`);
105653
+ console .info (`Done loading movie '${decodeURI (this .URL .href)}'.`);
105653
105654
  }
105654
105655
 
105655
105656
  this .video .off ("loadeddata");
@@ -108877,7 +108878,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
108877
108878
  x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
108878
108879
  /* harmony default export */ const gettext = (gettext_default_);
108879
108880
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
108880
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(631);
108881
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(63);
108881
108882
  /*******************************************************************************
108882
108883
  *
108883
108884
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109450,7 +109451,7 @@ const TextureQuality_default_ = TextureQuality;
109450
109451
  x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
109451
109452
  /* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
109452
109453
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
109453
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(631);
109454
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(63);
109454
109455
  /*******************************************************************************
109455
109456
  *
109456
109457
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109567,6 +109568,7 @@ Object .assign (Object .setPrototypeOf (BrowserOptions .prototype, Base_X3DBaseN
109567
109568
  "ContentScale",
109568
109569
  "ContextMenu",
109569
109570
  "Debug",
109571
+ "LogarithmicDepthBuffer",
109570
109572
  "Multisampling",
109571
109573
  "Notifications",
109572
109574
  "OrderIndependentTransparency",
@@ -110044,7 +110046,7 @@ const RenderingProperties_default_ = RenderingProperties;
110044
110046
  x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
110045
110047
  /* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
110046
110048
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
110047
- /* provided dependency */ var Notification_$ = __webpack_require__(631);
110049
+ /* provided dependency */ var Notification_$ = __webpack_require__(63);
110048
110050
  /*******************************************************************************
110049
110051
  *
110050
110052
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110167,8 +110169,8 @@ const Notification_default_ = Notification;
110167
110169
  x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
110168
110170
  /* harmony default export */ const Core_Notification = (Notification_default_);
110169
110171
  ;// 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);
110172
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(827);
110173
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(63);
110172
110174
  /*******************************************************************************
110173
110175
  *
110174
110176
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110259,12 +110261,12 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
110259
110261
 
110260
110262
  if (typeof this [_userMenu] === "function")
110261
110263
  {
110262
- const menu = this [_userMenu] ();
110264
+ const menu = this [_userMenu] (this .getBrowser ());
110263
110265
 
110264
110266
  if (ContextMenu_$.isPlainObject (menu))
110265
110267
  {
110266
110268
  for (const key in menu)
110267
- userMenu ["user-" + key] = menu [key];
110269
+ userMenu [`user-${key}`] = menu [key];
110268
110270
  }
110269
110271
  }
110270
110272
 
@@ -110495,6 +110497,11 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
110495
110497
  },
110496
110498
  },
110497
110499
  "separator2": "--------",
110500
+
110501
+ // Insert custom user menu items.
110502
+ ... this .createUserMenu (),
110503
+
110504
+ "separator3": "--------",
110498
110505
  "browser-timings": {
110499
110506
  name: gettext("Browser Timings"),
110500
110507
  type: "checkbox",
@@ -110517,53 +110524,47 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
110517
110524
  browser .getElement () .toggleFullScreen ();
110518
110525
  },
110519
110526
  },
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 ();
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 ();
110534
110534
 
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;
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;
110542
110542
 
110543
- ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-top") .text ("World Info") .appendTo (div);
110543
+ ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-top") .text ("World Info") .appendTo (div);
110544
110544
 
110545
- if (title .length)
110546
- {
110547
- ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-title") .text (title) .appendTo (div);
110548
- }
110545
+ if (title .length)
110546
+ {
110547
+ ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-title") .text (title) .appendTo (div);
110548
+ }
110549
110549
 
110550
- for (const line of info)
110551
- {
110552
- ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-info") .text (line) .appendTo (div);
110553
- }
110550
+ for (const line of info)
110551
+ {
110552
+ ContextMenu_$("<div></div>") .addClass ("x_ite-private-world-info-info") .text (line) .appendTo (div);
110553
+ }
110554
110554
 
110555
- overlay .on ("click", function () { overlay .remove (); });
110555
+ overlay .on ("click", function () { overlay .remove (); });
110556
+ },
110556
110557
  },
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 ());
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 ());
110564
+ },
110564
110565
  },
110565
110566
  },
110566
- });
110567
+ };
110567
110568
 
110568
110569
  if (ContextMenu_$.isEmptyObject (menu .items .viewpoints .items))
110569
110570
  delete menu .items ["viewpoints"];
@@ -112922,7 +112923,7 @@ const DataStorage_default_ = DataStorage;
112922
112923
  x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
112923
112924
  /* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
112924
112925
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
112925
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(631);
112926
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(63);
112926
112927
  /*******************************************************************************
112927
112928
  *
112928
112929
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -112985,6 +112986,7 @@ x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage
112985
112986
 
112986
112987
 
112987
112988
 
112989
+
112988
112990
  const WEBGL_VERSION = 2;
112989
112991
 
112990
112992
  const
@@ -113246,6 +113248,12 @@ Object .assign (X3DCoreContext .prototype,
113246
113248
  this .setBrowserOption ("Debug", this .parseBooleanAttribute (newValue, false));
113247
113249
  break;
113248
113250
  }
113251
+ case "logarithmicDepthBuffer":
113252
+ case "logarithmicdepthbuffer":
113253
+ {
113254
+ this .setBrowserOption ("LogarithmicDepthBuffer", this .parseBooleanAttribute (newValue, false));
113255
+ break;
113256
+ }
113249
113257
  case "multisampling":
113250
113258
  {
113251
113259
  const samples = parseInt (newValue);
@@ -113352,7 +113360,7 @@ Object .assign (X3DCoreContext .prototype,
113352
113360
  {
113353
113361
  const url = new x_ite_Fields .MFString ();
113354
113362
 
113355
- url .fromString ("[" + urlCharacters + "]", this .getExecutionContext ());
113363
+ url .fromString (`[${urlCharacters}]`, this .getExecutionContext ());
113356
113364
 
113357
113365
  return url;
113358
113366
  }
@@ -113568,12 +113576,16 @@ Object .assign (X3DCoreContext .prototype,
113568
113576
  {
113569
113577
  event .preventDefault ();
113570
113578
 
113579
+ // Create viewpoint node.
113580
+
113571
113581
  const viewpoint = this .getActiveViewpoint ();
113572
113582
 
113573
113583
  if (!viewpoint)
113574
113584
  break;
113575
113585
 
113576
- const vp = this .getExecutionContext () .createNode (viewpoint .getTypeName ());
113586
+ const
113587
+ executionContext = this .getExecutionContext (),
113588
+ vp = executionContext .createNode (viewpoint .getTypeName ());
113577
113589
 
113578
113590
  switch (viewpoint .getTypeName ())
113579
113591
  {
@@ -113601,7 +113613,7 @@ Object .assign (X3DCoreContext .prototype,
113601
113613
 
113602
113614
  if (geoOrigin .getValue () && geoOrigin .getNodeTypeName () === "GeoOrigin")
113603
113615
  {
113604
- const go = this .getPrivateScene () .createNode ("GeoOrigin");
113616
+ const go = executionContext .createNode ("GeoOrigin");
113605
113617
 
113606
113618
  vp .geoOrigin = go;
113607
113619
  go .geoSystem = geoOrigin .geoSystem;
@@ -113618,11 +113630,13 @@ Object .assign (X3DCoreContext .prototype,
113618
113630
  }
113619
113631
  }
113620
113632
 
113621
- const options = { scene: this .getExecutionContext () };
113633
+ // Create text.
113634
+
113635
+ const options = x_ite_Features .ENVIRONMENT === "NODE" ? { } : { scene: executionContext };
113622
113636
 
113623
113637
  let text;
113624
113638
 
113625
- switch (this .getExecutionContext () .getEncoding ())
113639
+ switch (executionContext .getEncoding ())
113626
113640
  {
113627
113641
  case "ASCII":
113628
113642
  case "VRML": text = vp .toVRMLString (options); break;
@@ -113632,11 +113646,15 @@ Object .assign (X3DCoreContext .prototype,
113632
113646
 
113633
113647
  text += "\n";
113634
113648
 
113635
- this .copyToClipboard (text);
113636
- this .getNotification () ._string = gettext ("Viewpoint copied to clipboard.");
113649
+ // Copy to clipboard.
113650
+
113651
+ this .copyToClipboard (text) .then (() =>
113652
+ {
113653
+ this .getNotification () ._string = gettext ("Viewpoint copied to clipboard.");
113637
113654
 
113638
- console .log ("Viewpoint copied to clipboard.");
113639
- console .debug (text);
113655
+ console .log ("Viewpoint copied to clipboard.");
113656
+ console .debug (text);
113657
+ });
113640
113658
  }
113641
113659
 
113642
113660
  break;
@@ -113676,14 +113694,21 @@ Object .assign (X3DCoreContext .prototype,
113676
113694
  }
113677
113695
  }
113678
113696
  },
113679
- copyToClipboard (text)
113697
+ async copyToClipboard (text)
113680
113698
  {
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 ();
113699
+ try
113700
+ {
113701
+ await navigator .clipboard .writeText (text);
113702
+ }
113703
+ catch
113704
+ {
113705
+ // The textarea must be visible to make copy work.
113706
+ const tmp = X3DCoreContext_$("<textarea></textarea>");
113707
+ this .getShadow () .find (".x_ite-private-browser") .prepend (tmp);
113708
+ tmp .text (text) .trigger ("select");
113709
+ document .execCommand ("copy");
113710
+ tmp .remove ();
113711
+ }
113687
113712
  },
113688
113713
  dispose ()
113689
113714
  {
@@ -115445,8 +115470,8 @@ const X3DViewer_default_ = X3DViewer;
115445
115470
  x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
115446
115471
  /* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
115447
115472
  ;// 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);
115473
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(623);
115474
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(63);
115450
115475
  /*******************************************************************************
115451
115476
  *
115452
115477
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116318,8 +116343,8 @@ const ExamineViewer_default_ = ExamineViewer;
116318
116343
  x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
116319
116344
  /* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
116320
116345
  ;// 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);
116346
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(623);
116347
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(63);
116323
116348
  /*******************************************************************************
116324
116349
  *
116325
116350
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117328,8 +117353,8 @@ const FlyViewer_default_ = FlyViewer;
117328
117353
  x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
117329
117354
  /* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
117330
117355
  ;// 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);
117356
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(623);
117357
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(63);
117333
117358
  /*******************************************************************************
117334
117359
  *
117335
117360
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117660,8 +117685,8 @@ const NoneViewer_default_ = NoneViewer;
117660
117685
  x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
117661
117686
  /* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
117662
117687
  ;// 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);
117688
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(623);
117689
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(63);
117665
117690
  /*******************************************************************************
117666
117691
  *
117667
117692
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -118799,8 +118824,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
118799
118824
  x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
118800
118825
  /* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
118801
118826
  ;// 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);
118827
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(623);
118828
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(63);
118804
118829
  /*******************************************************************************
118805
118830
  *
118806
118831
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120104,7 +120129,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
120104
120129
  x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
120105
120130
  /* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
120106
120131
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
120107
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(631);
120132
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(63);
120108
120133
  /*******************************************************************************
120109
120134
  *
120110
120135
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120526,6 +120551,7 @@ x_ite_Namespace .add ("X3DScriptingContext", "x_ite/Browser/Scripting/X3DScripti
120526
120551
 
120527
120552
 
120528
120553
 
120554
+
120529
120555
  const
120530
120556
  _wireframe = Symbol (),
120531
120557
  _primitiveModes = Symbol (),
@@ -120627,8 +120653,8 @@ Object .assign (X3DShadersContext .prototype,
120627
120653
  },
120628
120654
  createShader (name, vs, fs = vs, options = [ ], uniformNames = [ ], transformFeedbackVaryings = [ ])
120629
120655
  {
120630
- if (this .getBrowserOption ("Debug"))
120631
- console .info (`Initializing ${name}Shader`);
120656
+ if (DEVELOPMENT)
120657
+ console .info (`Initializing ${name}Shader.`);
120632
120658
 
120633
120659
  const
120634
120660
  gl = this .getContext (),
@@ -121052,7 +121078,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
121052
121078
  x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
121053
121079
  /* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
121054
121080
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
121055
- /* provided dependency */ var KTXDecoder_$ = __webpack_require__(631);
121081
+ /* provided dependency */ var KTXDecoder_$ = __webpack_require__(63);
121056
121082
  const KTXDecoder_default_ = class KTXDecoder
121057
121083
  {
121058
121084
  constructor (gl, externalKtxlib, scriptDir)
@@ -122144,6 +122170,7 @@ const
122144
122170
  _limitFrameRate = Symbol (),
122145
122171
  _traverse = Symbol (),
122146
122172
  _renderCallback = Symbol (),
122173
+ _animFrame = Symbol (),
122147
122174
  _previousTime = Symbol (),
122148
122175
  _systemTime = Symbol (),
122149
122176
  _browserTime = Symbol (),
@@ -122296,9 +122323,8 @@ Object .assign (Object .setPrototypeOf (X3DBrowserContext .prototype, Base_X3DBa
122296
122323
  if (this [X3DBrowserContext_tainted])
122297
122324
  return;
122298
122325
 
122299
- this [X3DBrowserContext_tainted] = true;
122300
-
122301
- requestAnimationFrame (this [_renderCallback]);
122326
+ this [X3DBrowserContext_tainted] = true;
122327
+ this [_animFrame] = requestAnimationFrame (this [_renderCallback]);
122302
122328
  },
122303
122329
  [_limitFrameRate] (now)
122304
122330
  {
@@ -122426,6 +122452,12 @@ Object .assign (Object .setPrototypeOf (X3DBrowserContext .prototype, Base_X3DBa
122426
122452
  Scripting_X3DScriptingContext .prototype .dispose ?.call (this);
122427
122453
  Routing_X3DRoutingContext .prototype .dispose ?.call (this);
122428
122454
  Base_X3DBaseNode .prototype .dispose ?.call (this);
122455
+
122456
+ this [X3DBrowserContext_tainted] = true;
122457
+
122458
+ cancelAnimationFrame (this [_animFrame]);
122459
+
122460
+ this .getContext () .getExtension ("WEBGL_lose_context") ?.loseContext ();
122429
122461
  },
122430
122462
  });
122431
122463
 
@@ -122606,7 +122638,7 @@ const Components_default_ = Components;
122606
122638
  x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
122607
122639
  /* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
122608
122640
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
122609
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(631);
122641
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(63);
122610
122642
  /*******************************************************************************
122611
122643
  * MIT License
122612
122644
  *
@@ -122763,7 +122795,7 @@ class DOMIntegration
122763
122795
 
122764
122796
  const
122765
122797
  parentNode = element .parentNode,
122766
- node = DOMIntegration_$.data (parentNode, "node");
122798
+ node = DOMIntegration_$.data (parentNode, "node");
122767
122799
 
122768
122800
  if (node)
122769
122801
  {
@@ -122980,6 +123012,10 @@ class DOMIntegration
122980
123012
  if (!node)
122981
123013
  return;
122982
123014
 
123015
+ // Unfortunately `getEventListeners` is not available all the time.
123016
+ // if (!getEventListeners (element) .hasOwnProperty (field .getName ()))
123017
+ // return;
123018
+
122983
123019
  const event = new CustomEvent (field .getName (),
122984
123020
  {
122985
123021
  detail: {
@@ -123739,8 +123775,138 @@ const SupportedProfiles_default_ = SupportedProfiles;
123739
123775
 
123740
123776
  x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
123741
123777
  /* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
123778
+ ;// CONCATENATED MODULE: ./src/x_ite/Configuration/FieldTypesArray.js
123779
+ /*******************************************************************************
123780
+ *
123781
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
123782
+ *
123783
+ * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
123784
+ *
123785
+ * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
123786
+ *
123787
+ * The copyright notice above does not evidence any actual of intended
123788
+ * publication of such source code, and is an unpublished work by create3000.
123789
+ * This material contains CONFIDENTIAL INFORMATION that is the property of
123790
+ * create3000.
123791
+ *
123792
+ * No permission is granted to copy, distribute, or create derivative works from
123793
+ * the contents of this software, in whole or in part, without the prior written
123794
+ * permission of create3000.
123795
+ *
123796
+ * NON-MILITARY USE ONLY
123797
+ *
123798
+ * All create3000 software are effectively free software with a non-military use
123799
+ * restriction. It is free. Well commented source is provided. You may reuse the
123800
+ * source in any way you please with the exception anything that uses it must be
123801
+ * marked to indicate is contains 'non-military use only' components.
123802
+ *
123803
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
123804
+ *
123805
+ * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
123806
+ *
123807
+ * This file is part of the X_ITE Project.
123808
+ *
123809
+ * X_ITE is free software: you can redistribute it and/or modify it under the
123810
+ * terms of the GNU General Public License version 3 only, as published by the
123811
+ * Free Software Foundation.
123812
+ *
123813
+ * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
123814
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
123815
+ * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
123816
+ * details (a copy is included in the LICENSE file that accompanied this code).
123817
+ *
123818
+ * You should have received a copy of the GNU General Public License version 3
123819
+ * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
123820
+ * copy of the GPLv3 License.
123821
+ *
123822
+ * For Silvio, Joy and Adi.
123823
+ *
123824
+ ******************************************************************************/
123825
+
123826
+
123827
+
123828
+ function FieldTypesArray (values = [ ])
123829
+ {
123830
+ return Base_X3DInfoArray .call (this, Array .from (values, value => [value .typeName, value]), Function);
123831
+ }
123832
+
123833
+ Object .setPrototypeOf (FieldTypesArray .prototype, Base_X3DInfoArray .prototype);
123834
+
123835
+ for (const key of Object .keys (FieldTypesArray .prototype))
123836
+ Object .defineProperty (FieldTypesArray .prototype, key, { enumerable: false });
123837
+
123838
+ Object .defineProperties (FieldTypesArray,
123839
+ {
123840
+ typeName:
123841
+ {
123842
+ value: "FieldTypesArray",
123843
+ enumerable: true,
123844
+ },
123845
+ });
123846
+
123847
+ const FieldTypesArray_default_ = FieldTypesArray;
123848
+ ;
123849
+
123850
+ x_ite_Namespace .add ("FieldTypesArray", "x_ite/Configuration/FieldTypesArray", FieldTypesArray_default_);
123851
+ /* harmony default export */ const Configuration_FieldTypesArray = (FieldTypesArray_default_);
123852
+ ;// CONCATENATED MODULE: ./src/x_ite/Configuration/FieldTypes.js
123853
+ /*******************************************************************************
123854
+ *
123855
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
123856
+ *
123857
+ * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
123858
+ *
123859
+ * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
123860
+ *
123861
+ * The copyright notice above does not evidence any actual of intended
123862
+ * publication of such source code, and is an unpublished work by create3000.
123863
+ * This material contains CONFIDENTIAL INFORMATION that is the property of
123864
+ * create3000.
123865
+ *
123866
+ * No permission is granted to copy, distribute, or create derivative works from
123867
+ * the contents of this software, in whole or in part, without the prior written
123868
+ * permission of create3000.
123869
+ *
123870
+ * NON-MILITARY USE ONLY
123871
+ *
123872
+ * All create3000 software are effectively free software with a non-military use
123873
+ * restriction. It is free. Well commented source is provided. You may reuse the
123874
+ * source in any way you please with the exception anything that uses it must be
123875
+ * marked to indicate is contains 'non-military use only' components.
123876
+ *
123877
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
123878
+ *
123879
+ * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
123880
+ *
123881
+ * This file is part of the X_ITE Project.
123882
+ *
123883
+ * X_ITE is free software: you can redistribute it and/or modify it under the
123884
+ * terms of the GNU General Public License version 3 only, as published by the
123885
+ * Free Software Foundation.
123886
+ *
123887
+ * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
123888
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
123889
+ * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
123890
+ * details (a copy is included in the LICENSE file that accompanied this code).
123891
+ *
123892
+ * You should have received a copy of the GNU General Public License version 3
123893
+ * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
123894
+ * copy of the GPLv3 License.
123895
+ *
123896
+ * For Silvio, Joy and Adi.
123897
+ *
123898
+ ******************************************************************************/
123899
+
123900
+
123901
+
123902
+
123903
+ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x_ite_Fields));
123904
+ ;
123905
+
123906
+ x_ite_Namespace .add ("FieldTypes", "x_ite/Configuration/FieldTypes", FieldTypes_default_);
123907
+ /* harmony default export */ const FieldTypes = (FieldTypes_default_);
123742
123908
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
123743
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(631);
123909
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(63);
123744
123910
  /*******************************************************************************
123745
123911
  *
123746
123912
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -123810,6 +123976,7 @@ x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfile
123810
123976
 
123811
123977
 
123812
123978
 
123979
+
123813
123980
 
123814
123981
 
123815
123982
  const
@@ -123818,6 +123985,7 @@ const
123818
123985
  _supportedComponents = Symbol (),
123819
123986
  _concreteNodes = Symbol (),
123820
123987
  _abstractNodes = Symbol (),
123988
+ _fieldTypes = Symbol (),
123821
123989
  _reject = Symbol (),
123822
123990
  _fileLoader = Symbol (),
123823
123991
  _browserCallbacks = Symbol (),
@@ -123839,6 +124007,7 @@ function X3DBrowser (element)
123839
124007
  this [_supportedComponents] = Configuration_SupportedComponents .copy ();
123840
124008
  this [_concreteNodes] = ConcreteNodes .copy ();
123841
124009
  this [_abstractNodes] = AbstractNodes .copy ();
124010
+ this [_fieldTypes] = FieldTypes .copy ();
123842
124011
  this [_console] = document .getElementsByClassName ("x_ite-console");
123843
124012
 
123844
124013
  this [_browserCallbacks] = new Map ([
@@ -124041,7 +124210,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
124041
124210
  for (const arg of args)
124042
124211
  {
124043
124212
  if (arg instanceof Execution_X3DScene)
124044
- component .push (... (arg .profile ?.components ?? [ ]), ... arg .components);
124213
+ component .push (... (arg .profile ?? this .getProfile ("Full")) .components, ... arg .components);
124045
124214
 
124046
124215
  else if (arg instanceof Configuration_ProfileInfo)
124047
124216
  component .push (... arg .components);
@@ -124053,7 +124222,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
124053
124222
  component .push (arg);
124054
124223
 
124055
124224
  else if (typeof arg === "string")
124056
- component .push (this [_supportedComponents] .get (arg))
124225
+ component .push (this .getComponent (arg))
124057
124226
  }
124058
124227
 
124059
124228
  // Load array of component names.
@@ -124110,6 +124279,19 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
124110
124279
  {
124111
124280
  return this [_abstractNodes];
124112
124281
  },
124282
+ getFieldType (typeName)
124283
+ {
124284
+ const fieldType = this [_fieldTypes] .get (String (typeName));
124285
+
124286
+ if (fieldType)
124287
+ return fieldType;
124288
+
124289
+ throw new Error (`Field type '${typeName}' does not exists.`);
124290
+ },
124291
+ getFieldTypes ()
124292
+ {
124293
+ return this [_fieldTypes];
124294
+ },
124113
124295
  createScene (profile, ... components)
124114
124296
  {
124115
124297
  const scene = new Execution_X3DScene (this);
@@ -124197,7 +124379,6 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
124197
124379
  return;
124198
124380
 
124199
124381
  loadCount .removeInterest ("checkLoadCount", this);
124200
- this .touch (0, 0);
124201
124382
  this .setBrowserLoading (false);
124202
124383
  this .initialized () .set (this .getCurrentTime ());
124203
124384
  this .initialized () .processInterests ();
@@ -124777,34 +124958,27 @@ Object .defineProperties (X3DBrowser .prototype,
124777
124958
  },
124778
124959
  supportedProfiles:
124779
124960
  {
124780
- get ()
124781
- {
124782
- return this [_supportedProfiles];
124783
- },
124961
+ get: X3DBrowser .prototype .getSupportedProfiles,
124784
124962
  enumerable: true,
124785
124963
  },
124786
124964
  supportedComponents:
124787
124965
  {
124788
- get ()
124789
- {
124790
- return this [_supportedComponents];
124791
- },
124966
+ get: X3DBrowser .prototype .getSupportedComponents,
124792
124967
  enumerable: true,
124793
124968
  },
124794
124969
  concreteNodes:
124795
124970
  {
124796
- get ()
124797
- {
124798
- return this [_concreteNodes];
124799
- },
124971
+ get: X3DBrowser .prototype .getConcreteNodes,
124800
124972
  enumerable: true,
124801
124973
  },
124802
124974
  abstractNodes:
124803
124975
  {
124804
- get ()
124805
- {
124806
- return this [_abstractNodes];
124807
- },
124976
+ get: X3DBrowser .prototype .getAbstractNodes,
124977
+ enumerable: true,
124978
+ },
124979
+ fieldTypes:
124980
+ {
124981
+ get: X3DBrowser .prototype .getFieldTypes,
124808
124982
  enumerable: true,
124809
124983
  },
124810
124984
  element:
@@ -124834,7 +125008,7 @@ const X3DBrowser_default_ = X3DBrowser;
124834
125008
  x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
124835
125009
  /* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
124836
125010
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
124837
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(631);
125011
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(63);
124838
125012
  /*******************************************************************************
124839
125013
  *
124840
125014
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124921,6 +125095,8 @@ class X3DCanvasElement extends HTMLElement
124921
125095
  "contextMenu",
124922
125096
  "contextmenu",
124923
125097
  "debug",
125098
+ "logarithmicDepthBuffer",
125099
+ "logarithmicdepthbuffer",
124924
125100
  "multisampling",
124925
125101
  "notifications",
124926
125102
  "oninitialized",
@@ -124971,8 +125147,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
124971
125147
  x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
124972
125148
  /* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
124973
125149
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
124974
- /* provided dependency */ var jquery_$ = __webpack_require__(631);
124975
- /* provided dependency */ var pako = __webpack_require__(511);
125150
+ /* provided dependency */ var jquery_$ = __webpack_require__(63);
125151
+ /* provided dependency */ var pako = __webpack_require__(807);
124976
125152
  Object .assign (jquery_$,
124977
125153
  {
124978
125154
  decodeText (input)
@@ -125049,14 +125225,14 @@ const jquery_default_ = jquery_$;
125049
125225
  x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
125050
125226
  /* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
125051
125227
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
125052
- /* provided dependency */ var libtess_libtess = __webpack_require__(580);
125228
+ /* provided dependency */ var libtess_libtess = __webpack_require__(844);
125053
125229
  const libtess_default_ = libtess_libtess;
125054
125230
  ;
125055
125231
 
125056
125232
  x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
125057
125233
  /* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
125058
125234
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
125059
- /* provided dependency */ var X3D_$ = __webpack_require__(631);
125235
+ /* provided dependency */ var X3D_$ = __webpack_require__(63);
125060
125236
  /*******************************************************************************
125061
125237
  *
125062
125238
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -125364,7 +125540,7 @@ Object .assign (X3D,
125364
125540
 
125365
125541
  // Assign X3D to global namespace.
125366
125542
 
125367
- window [Symbol .for ("X_ITE.X3D-9.6.2")] = x_ite_X3D;
125543
+ window [Symbol .for ("X_ITE.X3D-9.7.0")] = x_ite_X3D;
125368
125544
 
125369
125545
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
125370
125546