x_ite 14.1.2 → 14.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/X3DUOM.xml +314 -404
- package/dist/assets/components/AnnotationComponent.js +2 -2
- package/dist/assets/components/AnnotationComponent.min.js +2 -2
- package/dist/assets/components/CADGeometryComponent.js +2 -2
- package/dist/assets/components/CADGeometryComponent.min.js +2 -2
- package/dist/assets/components/CubeMapTexturingComponent.js +5 -5
- package/dist/assets/components/CubeMapTexturingComponent.min.js +2 -2
- package/dist/assets/components/DISComponent.js +2 -2
- package/dist/assets/components/DISComponent.min.js +2 -2
- package/dist/assets/components/EventUtilitiesComponent.js +2 -2
- package/dist/assets/components/EventUtilitiesComponent.min.js +2 -2
- package/dist/assets/components/Geometry2DComponent.js +2 -2
- package/dist/assets/components/Geometry2DComponent.min.js +2 -2
- package/dist/assets/components/Geometry3DComponent.js +2 -2
- package/dist/assets/components/Geometry3DComponent.min.js +2 -2
- package/dist/assets/components/GeospatialComponent.js +2 -2
- package/dist/assets/components/GeospatialComponent.min.js +2 -2
- package/dist/assets/components/HAnimComponent.js +2 -2
- package/dist/assets/components/HAnimComponent.min.js +2 -2
- package/dist/assets/components/KeyDeviceSensorComponent.js +8 -5
- package/dist/assets/components/KeyDeviceSensorComponent.min.js +2 -2
- package/dist/assets/components/LayoutComponent.js +2 -2
- package/dist/assets/components/LayoutComponent.min.js +2 -2
- package/dist/assets/components/NURBSComponent.js +2 -2
- package/dist/assets/components/NURBSComponent.min.js +2 -2
- package/dist/assets/components/ParticleSystemsComponent.js +4 -5
- package/dist/assets/components/ParticleSystemsComponent.min.js +2 -2
- package/dist/assets/components/PickingComponent.js +12 -30
- package/dist/assets/components/PickingComponent.min.js +2 -2
- package/dist/assets/components/RigidBodyPhysicsComponent.js +2 -2
- package/dist/assets/components/RigidBodyPhysicsComponent.min.js +2 -2
- package/dist/assets/components/ScriptingComponent.js +2 -2
- package/dist/assets/components/ScriptingComponent.min.js +2 -2
- package/dist/assets/components/TextComponent.js +2 -2
- package/dist/assets/components/TextComponent.min.js +2 -2
- package/dist/assets/components/TextureProjectionComponent.js +2 -2
- package/dist/assets/components/TextureProjectionComponent.min.js +2 -2
- package/dist/assets/components/Texturing3DComponent.js +10 -10
- package/dist/assets/components/Texturing3DComponent.min.js +2 -2
- package/dist/assets/components/VolumeRenderingComponent.js +4 -4
- package/dist/assets/components/VolumeRenderingComponent.min.js +2 -2
- package/dist/assets/components/WebXRComponent.js +2 -2
- package/dist/assets/components/WebXRComponent.min.js +2 -2
- package/dist/assets/components/X_ITEComponent.js +2 -2
- package/dist/assets/components/X_ITEComponent.min.js +2 -2
- package/dist/assets/lib/README.md +5 -1
- package/dist/assets/lib/meshopt_decoder.js +1 -1
- package/dist/example.html +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.d.ts +125 -64
- package/dist/x_ite.js +328 -236
- package/dist/x_ite.min.js +2 -2
- package/dist/x_ite.min.mjs +2 -2
- package/dist/x_ite.mjs +326 -235
- package/dist/x_ite.zip +0 -0
- package/package.json +4 -4
package/dist/x_ite.mjs
CHANGED
|
@@ -1,40 +1,7 @@
|
|
|
1
|
-
/* X_ITE v14.1.
|
|
1
|
+
/* X_ITE v14.1.4 */
|
|
2
2
|
var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
5
|
-
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6
|
-
|
|
7
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8
|
-
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
9
|
-
/* harmony export */ });
|
|
10
|
-
const Namespace = { };
|
|
11
|
-
|
|
12
|
-
Object .defineProperty (Namespace, "add",
|
|
13
|
-
{
|
|
14
|
-
value (name, module)
|
|
15
|
-
{
|
|
16
|
-
if (Namespace .hasOwnProperty (name))
|
|
17
|
-
{
|
|
18
|
-
console .error (new Error (`Namespace: "${name}" already exists.`));
|
|
19
|
-
return module;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
const X3D = window [Symbol .for ("X_ITE.X3D-14.1.2")];
|
|
23
|
-
|
|
24
|
-
if (X3D)
|
|
25
|
-
X3D [name] = module;
|
|
26
|
-
|
|
27
|
-
// For x_ite.js:
|
|
28
|
-
return Namespace [name] = module;
|
|
29
|
-
},
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Namespace .add ("Namespace", Namespace));
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/***/ },
|
|
36
|
-
|
|
37
|
-
/***/ 181
|
|
4
|
+
/***/ 334
|
|
38
5
|
(module, exports) {
|
|
39
6
|
|
|
40
7
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
|
|
@@ -1039,7 +1006,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
1039
1006
|
|
|
1040
1007
|
/***/ },
|
|
1041
1008
|
|
|
1042
|
-
/***/
|
|
1009
|
+
/***/ 652
|
|
1043
1010
|
(module) {
|
|
1044
1011
|
|
|
1045
1012
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -2035,7 +2002,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
2035
2002
|
|
|
2036
2003
|
/***/ },
|
|
2037
2004
|
|
|
2038
|
-
/***/
|
|
2005
|
+
/***/ 347
|
|
2039
2006
|
(module, exports, __webpack_require__) {
|
|
2040
2007
|
|
|
2041
2008
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -2049,7 +2016,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
2049
2016
|
if ( true ) {
|
|
2050
2017
|
|
|
2051
2018
|
// AMD. Register as an anonymous module.
|
|
2052
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(
|
|
2019
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(632) ], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
2053
2020
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
2054
2021
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
2055
2022
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
@@ -2280,7 +2247,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
2280
2247
|
|
|
2281
2248
|
/***/ },
|
|
2282
2249
|
|
|
2283
|
-
/***/
|
|
2250
|
+
/***/ 584
|
|
2284
2251
|
(module) {
|
|
2285
2252
|
|
|
2286
2253
|
/**
|
|
@@ -7059,7 +7026,7 @@ if (true) {
|
|
|
7059
7026
|
|
|
7060
7027
|
/***/ },
|
|
7061
7028
|
|
|
7062
|
-
/***/
|
|
7029
|
+
/***/ 67
|
|
7063
7030
|
(__unused_webpack_module, exports) {
|
|
7064
7031
|
|
|
7065
7032
|
|
|
@@ -10304,28 +10271,60 @@ if (true) {
|
|
|
10304
10271
|
|
|
10305
10272
|
/***/ },
|
|
10306
10273
|
|
|
10307
|
-
/***/
|
|
10274
|
+
/***/ 562
|
|
10275
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
10276
|
+
|
|
10277
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10278
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
10279
|
+
/* harmony export */ });
|
|
10280
|
+
const Namespace = { };
|
|
10281
|
+
|
|
10282
|
+
Object .defineProperty (Namespace, "add",
|
|
10283
|
+
{
|
|
10284
|
+
value (name, module)
|
|
10285
|
+
{
|
|
10286
|
+
if (Namespace .hasOwnProperty (name))
|
|
10287
|
+
{
|
|
10288
|
+
console .error (new Error (`Namespace: "${name}" already exists.`));
|
|
10289
|
+
return module;
|
|
10290
|
+
}
|
|
10291
|
+
|
|
10292
|
+
const X3D = window [Symbol .for ("X_ITE.X3D-14.1.4")];
|
|
10293
|
+
|
|
10294
|
+
if (X3D)
|
|
10295
|
+
X3D [name] = module;
|
|
10296
|
+
|
|
10297
|
+
// For x_ite.js:
|
|
10298
|
+
return Namespace [name] = module;
|
|
10299
|
+
},
|
|
10300
|
+
});
|
|
10301
|
+
|
|
10302
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Namespace .add ("Namespace", Namespace));
|
|
10303
|
+
|
|
10304
|
+
|
|
10305
|
+
/***/ },
|
|
10306
|
+
|
|
10307
|
+
/***/ 632
|
|
10308
10308
|
(module, __unused_webpack_exports, __webpack_require__) {
|
|
10309
10309
|
|
|
10310
10310
|
|
|
10311
10311
|
|
|
10312
10312
|
// Bundlers are able to synchronously require an ESM module from a CommonJS one.
|
|
10313
|
-
const { jQuery } = __webpack_require__(
|
|
10313
|
+
const { jQuery } = __webpack_require__( 768 );
|
|
10314
10314
|
module.exports = jQuery;
|
|
10315
10315
|
|
|
10316
10316
|
|
|
10317
10317
|
/***/ },
|
|
10318
10318
|
|
|
10319
|
-
/***/
|
|
10319
|
+
/***/ 768
|
|
10320
10320
|
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
10321
10321
|
|
|
10322
|
-
__webpack_require__.r(__webpack_exports__);
|
|
10323
10322
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10324
|
-
/* harmony export */
|
|
10325
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
10323
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
10326
10324
|
/* harmony export */ jQuery: () => (/* binding */ jQuery)
|
|
10327
10325
|
/* harmony export */ });
|
|
10328
|
-
/* harmony
|
|
10326
|
+
/* unused harmony export $ */
|
|
10327
|
+
/* harmony import */ var _src_x_ite_Namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(562);
|
|
10329
10328
|
/*!
|
|
10330
10329
|
* jQuery JavaScript Library v4.0.0+slim
|
|
10331
10330
|
* https://jquery.com/
|
|
@@ -17236,22 +17235,10 @@ const __default__ = jQuery;
|
|
|
17236
17235
|
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
17237
17236
|
/******/ })();
|
|
17238
17237
|
/******/
|
|
17239
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
17240
|
-
/******/ (() => {
|
|
17241
|
-
/******/ // define __esModule on exports
|
|
17242
|
-
/******/ __webpack_require__.r = (exports) => {
|
|
17243
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
17244
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
17245
|
-
/******/ }
|
|
17246
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
17247
|
-
/******/ };
|
|
17248
|
-
/******/ })();
|
|
17249
|
-
/******/
|
|
17250
17238
|
/************************************************************************/
|
|
17251
|
-
var __webpack_exports__ = {};
|
|
17252
17239
|
|
|
17253
17240
|
// EXTERNAL MODULE: ./src/x_ite/Namespace.js
|
|
17254
|
-
var Namespace = __webpack_require__(
|
|
17241
|
+
var Namespace = __webpack_require__(562);
|
|
17255
17242
|
;// ./src/x_ite/Base/X3DConstants.js
|
|
17256
17243
|
const X3DConstants =
|
|
17257
17244
|
{
|
|
@@ -18407,8 +18394,11 @@ const Features =
|
|
|
18407
18394
|
|
|
18408
18395
|
window .FinalizationRegistry = class FinalizationRegistry
|
|
18409
18396
|
{
|
|
18410
|
-
register ()
|
|
18411
|
-
|
|
18397
|
+
register ()
|
|
18398
|
+
{ }
|
|
18399
|
+
|
|
18400
|
+
unregister ()
|
|
18401
|
+
{ }
|
|
18412
18402
|
};
|
|
18413
18403
|
}
|
|
18414
18404
|
|
|
@@ -18454,7 +18444,7 @@ const Features_default_ = Features;
|
|
|
18454
18444
|
|
|
18455
18445
|
/* harmony default export */ const x_ite_Features = (Namespace/* default */.A .add ("Features", Features_default_));
|
|
18456
18446
|
;// ./src/x_ite/Base/X3DObject.js
|
|
18457
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
18447
|
+
/* provided dependency */ var $ = __webpack_require__(768)["A"];
|
|
18458
18448
|
|
|
18459
18449
|
|
|
18460
18450
|
|
|
@@ -29321,7 +29311,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
|
|
|
29321
29311
|
|
|
29322
29312
|
/* harmony default export */ const Base_X3DBaseNode = (Namespace/* default */.A .add ("X3DBaseNode", X3DBaseNode_default_));
|
|
29323
29313
|
;// ./src/x_ite/Browser/Legacy.js
|
|
29324
|
-
/* provided dependency */ var Legacy_$ = __webpack_require__(
|
|
29314
|
+
/* provided dependency */ var Legacy_$ = __webpack_require__(768)["A"];
|
|
29325
29315
|
const Legacy =
|
|
29326
29316
|
{
|
|
29327
29317
|
elements (elements, X3DBrowser)
|
|
@@ -29383,7 +29373,7 @@ const Legacy_default_ = Legacy;
|
|
|
29383
29373
|
|
|
29384
29374
|
/* harmony default export */ const Browser_Legacy = (Namespace/* default */.A .add ("Legacy", Legacy_default_));
|
|
29385
29375
|
;// ./src/x_ite/BROWSER_VERSION.js
|
|
29386
|
-
const BROWSER_VERSION_default_ = "14.1.
|
|
29376
|
+
const BROWSER_VERSION_default_ = "14.1.4";
|
|
29387
29377
|
;
|
|
29388
29378
|
|
|
29389
29379
|
/* harmony default export */ const BROWSER_VERSION = (Namespace/* default */.A .add ("BROWSER_VERSION", BROWSER_VERSION_default_));
|
|
@@ -29970,7 +29960,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
|
|
|
29970
29960
|
|
|
29971
29961
|
/* harmony default export */ const gettext = (Namespace/* default */.A .add ("gettext", gettext_default_));
|
|
29972
29962
|
;// ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
29973
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
29963
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(768)["A"];
|
|
29974
29964
|
|
|
29975
29965
|
|
|
29976
29966
|
|
|
@@ -30421,7 +30411,7 @@ const TextCompression_default_ = TextCompression;
|
|
|
30421
30411
|
|
|
30422
30412
|
/* harmony default export */ const Core_TextCompression = (Namespace/* default */.A .add ("TextCompression", TextCompression_default_));
|
|
30423
30413
|
;// ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
30424
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
30414
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(768)["A"];
|
|
30425
30415
|
|
|
30426
30416
|
|
|
30427
30417
|
|
|
@@ -30900,7 +30890,7 @@ const BrowserProperties_default_ = BrowserProperties;
|
|
|
30900
30890
|
|
|
30901
30891
|
/* harmony default export */ const Core_BrowserProperties = (Namespace/* default */.A .add ("BrowserProperties", BrowserProperties_default_));
|
|
30902
30892
|
;// ./src/x_ite/Browser/Core/RenderingProperties.js
|
|
30903
|
-
/* provided dependency */ var RenderingProperties_$ = __webpack_require__(
|
|
30893
|
+
/* provided dependency */ var RenderingProperties_$ = __webpack_require__(768)["A"];
|
|
30904
30894
|
|
|
30905
30895
|
|
|
30906
30896
|
|
|
@@ -30984,7 +30974,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
30984
30974
|
|
|
30985
30975
|
/* harmony default export */ const Core_RenderingProperties = (Namespace/* default */.A .add ("RenderingProperties", RenderingProperties_default_));
|
|
30986
30976
|
;// ./src/x_ite/Browser/Core/Notification.js
|
|
30987
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
30977
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(768)["A"];
|
|
30988
30978
|
|
|
30989
30979
|
|
|
30990
30980
|
|
|
@@ -31070,7 +31060,7 @@ const Notification_default_ = Notification;
|
|
|
31070
31060
|
|
|
31071
31061
|
/* harmony default export */ const Core_Notification = (Namespace/* default */.A .add ("Notification", Notification_default_));
|
|
31072
31062
|
;// ./src/x_ite/Browser/Core/ContextMenu.js
|
|
31073
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
31063
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(768)["A"];
|
|
31074
31064
|
|
|
31075
31065
|
|
|
31076
31066
|
|
|
@@ -34470,7 +34460,8 @@ Object .assign (X3DBoundedObject .prototype,
|
|
|
34470
34460
|
{
|
|
34471
34461
|
this .getExecutionContext () ._bbox_changed = Date .now () / 1000;
|
|
34472
34462
|
},
|
|
34473
|
-
dispose ()
|
|
34463
|
+
dispose ()
|
|
34464
|
+
{ },
|
|
34474
34465
|
});
|
|
34475
34466
|
|
|
34476
34467
|
Object .defineProperties (X3DBoundedObject, Core_X3DNode .getStaticProperties ("X3DBoundedObject", "Grouping", 1));
|
|
@@ -34507,7 +34498,7 @@ const NamedNodesArray_default_ = NamedNodesArray;
|
|
|
34507
34498
|
|
|
34508
34499
|
/* harmony default export */ const Execution_NamedNodesArray = (Namespace/* default */.A .add ("NamedNodesArray", NamedNodesArray_default_));
|
|
34509
34500
|
;// ./src/x_ite/Components/Core/X3DImportedNodeProxy.js
|
|
34510
|
-
/* provided dependency */ var X3DImportedNodeProxy_$ = __webpack_require__(
|
|
34501
|
+
/* provided dependency */ var X3DImportedNodeProxy_$ = __webpack_require__(768)["A"];
|
|
34511
34502
|
|
|
34512
34503
|
|
|
34513
34504
|
|
|
@@ -34855,7 +34846,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Base_X3DObje
|
|
|
34855
34846
|
generator .attribute ("AS", importedName);
|
|
34856
34847
|
|
|
34857
34848
|
if (this [_description])
|
|
34858
|
-
generator .attribute ("
|
|
34849
|
+
generator .attribute ("DESCRIPTION", this [_description]);
|
|
34859
34850
|
|
|
34860
34851
|
generator .closeTag ("IMPORT");
|
|
34861
34852
|
},
|
|
@@ -34878,7 +34869,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Base_X3DObje
|
|
|
34878
34869
|
generator .stringProperty ("@AS", importedName);
|
|
34879
34870
|
|
|
34880
34871
|
if (this [_description])
|
|
34881
|
-
generator .stringProperty ("@
|
|
34872
|
+
generator .stringProperty ("@DESCRIPTION", this [_description]);
|
|
34882
34873
|
|
|
34883
34874
|
generator .endObject ();
|
|
34884
34875
|
generator .endObject ();
|
|
@@ -35039,22 +35030,10 @@ Object .assign (X3DUrlObject .prototype,
|
|
|
35039
35030
|
if (!notify)
|
|
35040
35031
|
return;
|
|
35041
35032
|
|
|
35042
|
-
|
|
35043
|
-
|
|
35044
|
-
|
|
35045
|
-
|
|
35046
|
-
case Base_X3DConstants .IN_PROGRESS_STATE:
|
|
35047
|
-
{
|
|
35048
|
-
this .getScene () .addLoadingObject (this);
|
|
35049
|
-
break;
|
|
35050
|
-
}
|
|
35051
|
-
case Base_X3DConstants .COMPLETE_STATE:
|
|
35052
|
-
case Base_X3DConstants .FAILED_STATE:
|
|
35053
|
-
{
|
|
35054
|
-
this .getScene () .removeLoadingObject (this);
|
|
35055
|
-
break;
|
|
35056
|
-
}
|
|
35057
|
-
}
|
|
35033
|
+
if (value === Base_X3DConstants .IN_PROGRESS_STATE)
|
|
35034
|
+
this .getScene () .addLoadingObject (this);
|
|
35035
|
+
else
|
|
35036
|
+
this .getScene () .removeLoadingObject (this);
|
|
35058
35037
|
},
|
|
35059
35038
|
checkLoadState ()
|
|
35060
35039
|
{
|
|
@@ -35230,7 +35209,8 @@ Object .assign (X3DUrlObject .prototype,
|
|
|
35230
35209
|
|
|
35231
35210
|
this .setAutoRefreshTimer (autoRefreshInterval);
|
|
35232
35211
|
},
|
|
35233
|
-
dispose ()
|
|
35212
|
+
dispose ()
|
|
35213
|
+
{ },
|
|
35234
35214
|
});
|
|
35235
35215
|
|
|
35236
35216
|
Object .defineProperties (X3DUrlObject, Core_X3DNode .getStaticProperties ("X3DUrlObject", "Networking", 1));
|
|
@@ -35309,10 +35289,18 @@ Object .assign (Object .setPrototypeOf (X3DPrototypeInstance .prototype, Core_X3
|
|
|
35309
35289
|
this .importImportedNodes (proto .getBody () .importedNodes);
|
|
35310
35290
|
this .copyRoutes (proto .getBody () .routes);
|
|
35311
35291
|
|
|
35292
|
+
// Propagate events.
|
|
35293
|
+
|
|
35294
|
+
this [_body] .rootNodes .addInterest ("set_rootNodes__", this);
|
|
35295
|
+
|
|
35312
35296
|
this [_body] .setup ();
|
|
35313
35297
|
|
|
35314
35298
|
Base_X3DChildObject .prototype .addEvent .call (this);
|
|
35315
35299
|
},
|
|
35300
|
+
set_rootNodes__ ()
|
|
35301
|
+
{
|
|
35302
|
+
Base_X3DChildObject .prototype .addEvent .call (this);
|
|
35303
|
+
},
|
|
35316
35304
|
construct ()
|
|
35317
35305
|
{
|
|
35318
35306
|
const
|
|
@@ -36459,7 +36447,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
36459
36447
|
|
|
36460
36448
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (Namespace/* default */.A .add ("X3DProtoDeclaration", X3DProtoDeclaration_default_));
|
|
36461
36449
|
;// ./src/x_ite/Parser/X3DParser.js
|
|
36462
|
-
/* provided dependency */ var X3DParser_$ = __webpack_require__(
|
|
36450
|
+
/* provided dependency */ var X3DParser_$ = __webpack_require__(768)["A"];
|
|
36463
36451
|
|
|
36464
36452
|
|
|
36465
36453
|
function X3DParser (scene, name = "Parser")
|
|
@@ -36777,7 +36765,7 @@ const Placeholder_default_ = Placeholder;
|
|
|
36777
36765
|
|
|
36778
36766
|
/* harmony default export */ const Parser_Placeholder = (Namespace/* default */.A .add ("Placeholder", Placeholder_default_));
|
|
36779
36767
|
;// ./src/x_ite/Parser/VRMLParser.js
|
|
36780
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
36768
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(768)["A"];
|
|
36781
36769
|
|
|
36782
36770
|
|
|
36783
36771
|
|
|
@@ -39470,7 +39458,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
39470
39458
|
|
|
39471
39459
|
/* harmony default export */ const Parser_VRMLParser = (Namespace/* default */.A .add ("VRMLParser", VRMLParser_default_));
|
|
39472
39460
|
;// ./src/x_ite/Parser/XMLParser.js
|
|
39473
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
39461
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(768)["A"];
|
|
39474
39462
|
|
|
39475
39463
|
|
|
39476
39464
|
|
|
@@ -40306,7 +40294,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
40306
40294
|
inlineNodeName = xmlElement .getAttribute ("inlineDEF"),
|
|
40307
40295
|
exportedNodeName = xmlElement .getAttribute ("importedDEF") || xmlElement .getAttribute ("exportedDEF"),
|
|
40308
40296
|
localNodeName = xmlElement .getAttribute ("AS") || exportedNodeName,
|
|
40309
|
-
description = xmlElement .getAttribute ("
|
|
40297
|
+
description = xmlElement .getAttribute ("DESCRIPTION") || "";
|
|
40310
40298
|
|
|
40311
40299
|
if (inlineNodeName === null)
|
|
40312
40300
|
throw new Error ("Bad IMPORT statement: Expected inlineDEF attribute.");
|
|
@@ -40341,7 +40329,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
|
|
|
40341
40329
|
const
|
|
40342
40330
|
localNodeName = xmlElement .getAttribute ("localDEF"),
|
|
40343
40331
|
exportedNodeName = xmlElement .getAttribute ("AS") || localNodeName,
|
|
40344
|
-
description = xmlElement .getAttribute ("
|
|
40332
|
+
description = xmlElement .getAttribute ("DESCRIPTION") || "";
|
|
40345
40333
|
|
|
40346
40334
|
if (localNodeName === null)
|
|
40347
40335
|
throw new Error ("Bad EXPORT statement: Expected localDEF attribute.");
|
|
@@ -40756,7 +40744,7 @@ const XMLParser_default_ = XMLParser;
|
|
|
40756
40744
|
|
|
40757
40745
|
/* harmony default export */ const Parser_XMLParser = (Namespace/* default */.A .add ("XMLParser", XMLParser_default_));
|
|
40758
40746
|
;// ./src/x_ite/Parser/JSONParser.js
|
|
40759
|
-
/* provided dependency */ var JSONParser_$ = __webpack_require__(
|
|
40747
|
+
/* provided dependency */ var JSONParser_$ = __webpack_require__(768)["A"];
|
|
40760
40748
|
|
|
40761
40749
|
|
|
40762
40750
|
|
|
@@ -41665,7 +41653,7 @@ const Plane3_default_ = Plane3;
|
|
|
41665
41653
|
|
|
41666
41654
|
/* harmony default export */ const Geometry_Plane3 = (Namespace/* default */.A .add ("Plane3", Plane3_default_));
|
|
41667
41655
|
;// ./src/standard/Math/Geometry/Triangle3.js
|
|
41668
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
41656
|
+
/* provided dependency */ var libtess = __webpack_require__(584);
|
|
41669
41657
|
|
|
41670
41658
|
|
|
41671
41659
|
const Triangle3 =
|
|
@@ -44463,6 +44451,7 @@ const BindableList_default_ = BindableList;
|
|
|
44463
44451
|
;// ./src/x_ite/Base/X3DCast.js
|
|
44464
44452
|
|
|
44465
44453
|
|
|
44454
|
+
|
|
44466
44455
|
function X3DCast (type, node, innerNode = true)
|
|
44467
44456
|
{
|
|
44468
44457
|
try
|
|
@@ -44472,8 +44461,11 @@ function X3DCast (type, node, innerNode = true)
|
|
|
44472
44461
|
|
|
44473
44462
|
node = innerNode ? node ?.getInnerNode () : node ?.valueOf ();
|
|
44474
44463
|
|
|
44475
|
-
if (node
|
|
44476
|
-
|
|
44464
|
+
if (node instanceof Core_X3DNode)
|
|
44465
|
+
{
|
|
44466
|
+
if (node .getType () .includes (type))
|
|
44467
|
+
return node;
|
|
44468
|
+
}
|
|
44477
44469
|
}
|
|
44478
44470
|
catch
|
|
44479
44471
|
{ }
|
|
@@ -45515,7 +45507,8 @@ Object .assign (X3DFogObject .prototype,
|
|
|
45515
45507
|
|
|
45516
45508
|
this .set_fogType__ ();
|
|
45517
45509
|
},
|
|
45518
|
-
dispose ()
|
|
45510
|
+
dispose ()
|
|
45511
|
+
{ },
|
|
45519
45512
|
});
|
|
45520
45513
|
|
|
45521
45514
|
Object .defineProperties (X3DFogObject, Core_X3DNode .getStaticProperties ("X3DFogObject", "EnvironmentalEffects", 1));
|
|
@@ -48365,7 +48358,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
48365
48358
|
|
|
48366
48359
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (Namespace/* default */.A .add ("X3DTexture2DNode", X3DTexture2DNode_default_));
|
|
48367
48360
|
;// ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
48368
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
48361
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(768)["A"];
|
|
48369
48362
|
|
|
48370
48363
|
|
|
48371
48364
|
|
|
@@ -50881,7 +50874,7 @@ const Layer_default_ = Layer;
|
|
|
50881
50874
|
|
|
50882
50875
|
/* harmony default export */ const Layering_Layer = (Namespace/* default */.A .add ("Layer", Layer_default_));
|
|
50883
50876
|
;// ./src/x_ite/Parser/GLTF2Parser.js
|
|
50884
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
50877
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(768)["A"];
|
|
50885
50878
|
|
|
50886
50879
|
|
|
50887
50880
|
|
|
@@ -55236,7 +55229,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
55236
55229
|
|
|
55237
55230
|
/* harmony default export */ const Parser_GLTF2Parser = (Namespace/* default */.A .add ("GLTF2Parser", GLTF2Parser_default_));
|
|
55238
55231
|
;// ./src/x_ite/Parser/GLB2Parser.js
|
|
55239
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
55232
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(768)["A"];
|
|
55240
55233
|
|
|
55241
55234
|
|
|
55242
55235
|
|
|
@@ -55342,7 +55335,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
55342
55335
|
|
|
55343
55336
|
/* harmony default export */ const Parser_GLB2Parser = (Namespace/* default */.A .add ("GLB2Parser", GLB2Parser_default_));
|
|
55344
55337
|
;// ./src/x_ite/Parser/OBJParser.js
|
|
55345
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
55338
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(768)["A"];
|
|
55346
55339
|
|
|
55347
55340
|
|
|
55348
55341
|
|
|
@@ -56796,7 +56789,7 @@ const STLAParser_default_ = STLAParser;
|
|
|
56796
56789
|
|
|
56797
56790
|
/* harmony default export */ const Parser_STLAParser = (Namespace/* default */.A .add ("STLAParser", STLAParser_default_));
|
|
56798
56791
|
;// ./src/x_ite/Parser/STLBParser.js
|
|
56799
|
-
/* provided dependency */ var STLBParser_$ = __webpack_require__(
|
|
56792
|
+
/* provided dependency */ var STLBParser_$ = __webpack_require__(768)["A"];
|
|
56800
56793
|
|
|
56801
56794
|
|
|
56802
56795
|
|
|
@@ -57058,7 +57051,7 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
|
|
|
57058
57051
|
|
|
57059
57052
|
this .comments .push (value);
|
|
57060
57053
|
|
|
57061
|
-
this .mustRotateAxes ||= !! value .match (
|
|
57054
|
+
this .mustRotateAxes ||= !! value .match (/\b(?:Blender|Artec|Polycam)\b/i);
|
|
57062
57055
|
|
|
57063
57056
|
return true;
|
|
57064
57057
|
}
|
|
@@ -57568,7 +57561,7 @@ Object .assign (Object .setPrototypeOf (PLYAParser .prototype, Parser_X3DParser
|
|
|
57568
57561
|
{
|
|
57569
57562
|
// https://github.com/graphdeco-inria/gaussian-splatting/issues/485
|
|
57570
57563
|
|
|
57571
|
-
const C0 = 0.28209479177387814;
|
|
57564
|
+
const C0 = 0.28209479177387814; // = 1 / (2 * Math .sqrt (Math .PI))
|
|
57572
57565
|
|
|
57573
57566
|
return 0.5 + C0 * f_dc;
|
|
57574
57567
|
},
|
|
@@ -58166,8 +58159,8 @@ const Bezier_default_ = Bezier;
|
|
|
58166
58159
|
|
|
58167
58160
|
/* harmony default export */ const Algorithms_Bezier = (Namespace/* default */.A .add ("Bezier", Bezier_default_));
|
|
58168
58161
|
;// ./src/x_ite/Parser/SVGParser.js
|
|
58169
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
58170
|
-
/* provided dependency */ var SVGParser_libtess = __webpack_require__(
|
|
58162
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(768)["A"];
|
|
58163
|
+
/* provided dependency */ var SVGParser_libtess = __webpack_require__(584);
|
|
58171
58164
|
|
|
58172
58165
|
|
|
58173
58166
|
|
|
@@ -60901,7 +60894,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
60901
60894
|
|
|
60902
60895
|
/* harmony default export */ const Parser_SVGParser = (Namespace/* default */.A .add ("SVGParser", SVGParser_default_));
|
|
60903
60896
|
;// ./src/x_ite/Parser/GoldenGate.js
|
|
60904
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
60897
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(768)["A"];
|
|
60905
60898
|
|
|
60906
60899
|
|
|
60907
60900
|
|
|
@@ -61317,7 +61310,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
61317
61310
|
|
|
61318
61311
|
/* harmony default export */ const Execution_X3DWorld = (Namespace/* default */.A .add ("X3DWorld", X3DWorld_default_));
|
|
61319
61312
|
;// ./src/x_ite/InputOutput/FileLoader.js
|
|
61320
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
61313
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(768)["A"];
|
|
61321
61314
|
|
|
61322
61315
|
|
|
61323
61316
|
|
|
@@ -62024,7 +62017,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
|
|
|
62024
62017
|
|
|
62025
62018
|
/* harmony default export */ const Prototype_ProtoDeclarationArray = (Namespace/* default */.A .add ("ProtoDeclarationArray", ProtoDeclarationArray_default_));
|
|
62026
62019
|
;// ./src/x_ite/Routing/X3DRoute.js
|
|
62027
|
-
/* provided dependency */ var X3DRoute_$ = __webpack_require__(
|
|
62020
|
+
/* provided dependency */ var X3DRoute_$ = __webpack_require__(768)["A"];
|
|
62028
62021
|
|
|
62029
62022
|
|
|
62030
62023
|
|
|
@@ -62452,7 +62445,7 @@ function X3DExecutionContext (executionContext, outerNode = null, browser = exec
|
|
|
62452
62445
|
|
|
62453
62446
|
if (executionContext)
|
|
62454
62447
|
{
|
|
62455
|
-
this ._countPrimitives
|
|
62448
|
+
this ._countPrimitives .addReference (executionContext ._countPrimitives);
|
|
62456
62449
|
this ._sceneGraph_changed .addFieldInterest (executionContext ._sceneGraph_changed);
|
|
62457
62450
|
this ._bbox_changed .addFieldInterest (executionContext ._bbox_changed);
|
|
62458
62451
|
}
|
|
@@ -63659,7 +63652,7 @@ Object .assign (Object .setPrototypeOf (X3DExportedNode .prototype, Base_X3DObje
|
|
|
63659
63652
|
generator .attribute ("AS", this [X3DExportedNode_exportedName]);
|
|
63660
63653
|
|
|
63661
63654
|
if (this [X3DExportedNode_description])
|
|
63662
|
-
generator .attribute ("
|
|
63655
|
+
generator .attribute ("DESCRIPTION", this [X3DExportedNode_description]);
|
|
63663
63656
|
|
|
63664
63657
|
generator .closeTag ("EXPORT");
|
|
63665
63658
|
},
|
|
@@ -63677,7 +63670,7 @@ Object .assign (Object .setPrototypeOf (X3DExportedNode .prototype, Base_X3DObje
|
|
|
63677
63670
|
generator .stringProperty ("@AS", this [X3DExportedNode_exportedName]);
|
|
63678
63671
|
|
|
63679
63672
|
if (this [X3DExportedNode_description])
|
|
63680
|
-
generator .stringProperty ("@
|
|
63673
|
+
generator .stringProperty ("@DESCRIPTION", this [X3DExportedNode_description]);
|
|
63681
63674
|
|
|
63682
63675
|
generator .endObject ();
|
|
63683
63676
|
generator .endObject ();
|
|
@@ -64681,7 +64674,7 @@ add ("PT_Sans/PTSans-Italic.woff2", false, true);
|
|
|
64681
64674
|
// add ("PT_Sans/PTSans-BoldItalic.woff2", true, true);
|
|
64682
64675
|
|
|
64683
64676
|
;// ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
64684
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
64677
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(768)["A"];
|
|
64685
64678
|
|
|
64686
64679
|
|
|
64687
64680
|
|
|
@@ -65194,6 +65187,8 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
65194
65187
|
},
|
|
65195
65188
|
[_keydown] (event)
|
|
65196
65189
|
{
|
|
65190
|
+
// console .log (event .keyCode);
|
|
65191
|
+
|
|
65197
65192
|
switch (event .keyCode)
|
|
65198
65193
|
{
|
|
65199
65194
|
case 16: // Shift
|
|
@@ -70792,8 +70787,8 @@ const OrientationChaser_default_ = OrientationChaser;
|
|
|
70792
70787
|
|
|
70793
70788
|
/* harmony default export */ const Followers_OrientationChaser = (Namespace/* default */.A .add ("OrientationChaser", OrientationChaser_default_));
|
|
70794
70789
|
;// ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
70795
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
70796
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
70790
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(347);
|
|
70791
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(768)["A"];
|
|
70797
70792
|
|
|
70798
70793
|
|
|
70799
70794
|
|
|
@@ -71868,8 +71863,8 @@ const ScreenLine_default_ = ScreenLine;
|
|
|
71868
71863
|
|
|
71869
71864
|
/* harmony default export */ const Rendering_ScreenLine = (Namespace/* default */.A .add ("ScreenLine", ScreenLine_default_));
|
|
71870
71865
|
;// ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
71871
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
71872
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
71866
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(347);
|
|
71867
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(768)["A"];
|
|
71873
71868
|
|
|
71874
71869
|
|
|
71875
71870
|
|
|
@@ -72606,8 +72601,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
72606
72601
|
|
|
72607
72602
|
/* harmony default export */ const Navigation_FlyViewer = (Namespace/* default */.A .add ("FlyViewer", FlyViewer_default_));
|
|
72608
72603
|
;// ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
72609
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
72610
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
72604
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(347);
|
|
72605
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(768)["A"];
|
|
72611
72606
|
|
|
72612
72607
|
|
|
72613
72608
|
|
|
@@ -72820,8 +72815,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
72820
72815
|
|
|
72821
72816
|
/* harmony default export */ const Navigation_NoneViewer = (Namespace/* default */.A .add ("NoneViewer", NoneViewer_default_));
|
|
72822
72817
|
;// ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
72823
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
72824
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
72818
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(347);
|
|
72819
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(768)["A"];
|
|
72825
72820
|
|
|
72826
72821
|
|
|
72827
72822
|
|
|
@@ -73562,7 +73557,7 @@ Object .assign (DirectionalLightContainer .prototype,
|
|
|
73562
73557
|
renderObject .getProjectionMatrix () .push (projectionMatrix);
|
|
73563
73558
|
renderObject .getModelViewMatrix () .push (invLightSpaceMatrix);
|
|
73564
73559
|
|
|
73565
|
-
renderObject .render (Rendering_TraverseType .SHADOW,
|
|
73560
|
+
renderObject .render (Rendering_TraverseType .SHADOW, this .groupNode .traverse, this .groupNode);
|
|
73566
73561
|
|
|
73567
73562
|
renderObject .getModelViewMatrix () .pop ();
|
|
73568
73563
|
renderObject .getProjectionMatrix () .pop ();
|
|
@@ -74167,8 +74162,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
74167
74162
|
|
|
74168
74163
|
/* harmony default export */ const Picking_X3DPickingContext = (Namespace/* default */.A .add ("X3DPickingContext", X3DPickingContext_default_));
|
|
74169
74164
|
;// ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
74170
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
74171
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
74165
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(347);
|
|
74166
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(768)["A"];
|
|
74172
74167
|
|
|
74173
74168
|
|
|
74174
74169
|
|
|
@@ -75422,7 +75417,7 @@ const Lock_default_ = Lock;
|
|
|
75422
75417
|
|
|
75423
75418
|
/* harmony default export */ const Utility_Lock = (Namespace/* default */.A .add ("Lock", Lock_default_));
|
|
75424
75419
|
;// ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
75425
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
75420
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(768)["A"];
|
|
75426
75421
|
|
|
75427
75422
|
|
|
75428
75423
|
|
|
@@ -77577,7 +77572,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
|
|
|
77577
77572
|
|
|
77578
77573
|
/* harmony default export */ const Shaders_X3DShaderNode = (Namespace/* default */.A .add ("X3DShaderNode", X3DShaderNode_default_));
|
|
77579
77574
|
;// ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
77580
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
77575
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(768)["A"];
|
|
77581
77576
|
|
|
77582
77577
|
|
|
77583
77578
|
|
|
@@ -78915,15 +78910,17 @@ Object .assign (Object .setPrototypeOf (LoadSensor .prototype, Networking_X3DNet
|
|
|
78915
78910
|
},
|
|
78916
78911
|
set_timeOut__ ()
|
|
78917
78912
|
{
|
|
78918
|
-
if (this ._isActive .getValue ())
|
|
78919
|
-
|
|
78920
|
-
this .clearTimeout ();
|
|
78913
|
+
if (!this ._isActive .getValue ())
|
|
78914
|
+
return;
|
|
78921
78915
|
|
|
78922
|
-
|
|
78916
|
+
const timeOut = this ._timeOut .getValue ();
|
|
78923
78917
|
|
|
78924
|
-
|
|
78925
|
-
|
|
78926
|
-
|
|
78918
|
+
this .clearTimeout ();
|
|
78919
|
+
|
|
78920
|
+
this .aborted = false;
|
|
78921
|
+
|
|
78922
|
+
if (timeOut > 0)
|
|
78923
|
+
this .timeOutId = setTimeout (this .abort .bind (this), timeOut * 1000);
|
|
78927
78924
|
},
|
|
78928
78925
|
set_children__ ()
|
|
78929
78926
|
{
|
|
@@ -78931,18 +78928,10 @@ Object .assign (Object .setPrototypeOf (LoadSensor .prototype, Networking_X3DNet
|
|
|
78931
78928
|
},
|
|
78932
78929
|
set_loadState__ (urlObject)
|
|
78933
78930
|
{
|
|
78934
|
-
|
|
78935
|
-
|
|
78936
|
-
|
|
78937
|
-
|
|
78938
|
-
case Base_X3DConstants .IN_PROGRESS_STATE:
|
|
78939
|
-
case Base_X3DConstants .COMPLETE_STATE:
|
|
78940
|
-
case Base_X3DConstants .FAILED_STATE:
|
|
78941
|
-
{
|
|
78942
|
-
this .count ();
|
|
78943
|
-
break;
|
|
78944
|
-
}
|
|
78945
|
-
}
|
|
78931
|
+
if (urlObject .checkLoadState () === Base_X3DConstants .NOT_STARTED_STATE)
|
|
78932
|
+
return;
|
|
78933
|
+
|
|
78934
|
+
this .count ();
|
|
78946
78935
|
},
|
|
78947
78936
|
count ()
|
|
78948
78937
|
{
|
|
@@ -79582,7 +79571,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
79582
79571
|
|
|
79583
79572
|
/* harmony default export */ const Shaders_ShaderCompiler = (Namespace/* default */.A .add ("ShaderCompiler", ShaderCompiler_default_));
|
|
79584
79573
|
;// ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
79585
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
79574
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(768)["A"];
|
|
79586
79575
|
|
|
79587
79576
|
|
|
79588
79577
|
|
|
@@ -81514,7 +81503,7 @@ const PeriodicWave_default_ = PeriodicWave;
|
|
|
81514
81503
|
|
|
81515
81504
|
/* harmony default export */ const Sound_PeriodicWave = (Namespace/* default */.A .add ("PeriodicWave", PeriodicWave_default_));
|
|
81516
81505
|
;// ./src/x_ite/Browser/Sound/X3DSoundContext.js
|
|
81517
|
-
/* provided dependency */ var X3DSoundContext_$ = __webpack_require__(
|
|
81506
|
+
/* provided dependency */ var X3DSoundContext_$ = __webpack_require__(768)["A"];
|
|
81518
81507
|
|
|
81519
81508
|
|
|
81520
81509
|
|
|
@@ -81821,7 +81810,7 @@ const TextureTransform_default_ = TextureTransform;
|
|
|
81821
81810
|
|
|
81822
81811
|
/* harmony default export */ const Texturing_TextureTransform = (Namespace/* default */.A .add ("TextureTransform", TextureTransform_default_));
|
|
81823
81812
|
;// ./src/x_ite/Browser/Texturing/KTXDecoder.js
|
|
81824
|
-
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(
|
|
81813
|
+
/* provided dependency */ var KTXDecoder_$ = __webpack_require__(768)["A"];
|
|
81825
81814
|
const KTXDecoder_default_ = class KTXDecoder
|
|
81826
81815
|
{
|
|
81827
81816
|
constructor (gl, externalKtxlib, scriptDir)
|
|
@@ -82316,7 +82305,8 @@ function X3DRoutingContext ()
|
|
|
82316
82305
|
|
|
82317
82306
|
Object .assign (X3DRoutingContext .prototype,
|
|
82318
82307
|
{
|
|
82319
|
-
initialize ()
|
|
82308
|
+
initialize ()
|
|
82309
|
+
{ },
|
|
82320
82310
|
addTaintedField (field, event)
|
|
82321
82311
|
{
|
|
82322
82312
|
this [_taintedFields] .push (field, event);
|
|
@@ -82372,7 +82362,8 @@ Object .assign (X3DRoutingContext .prototype,
|
|
|
82372
82362
|
|
|
82373
82363
|
this [_active] = false;
|
|
82374
82364
|
},
|
|
82375
|
-
dispose ()
|
|
82365
|
+
dispose ()
|
|
82366
|
+
{ },
|
|
82376
82367
|
});
|
|
82377
82368
|
|
|
82378
82369
|
const X3DRoutingContext_default_ = X3DRoutingContext;
|
|
@@ -82852,7 +82843,7 @@ const X3DBrowserContext_default_ = X3DBrowserContext;
|
|
|
82852
82843
|
|
|
82853
82844
|
/* harmony default export */ const Browser_X3DBrowserContext = (Namespace/* default */.A .add ("X3DBrowserContext", X3DBrowserContext_default_));
|
|
82854
82845
|
;// ./src/x_ite/Browser/DOMIntegration.js
|
|
82855
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
82846
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(768)["A"];
|
|
82856
82847
|
/*******************************************************************************
|
|
82857
82848
|
* MIT License
|
|
82858
82849
|
*
|
|
@@ -83721,7 +83712,7 @@ SupportedProfiles .add ("Immersive",
|
|
|
83721
83712
|
getComponent ("EnvironmentalEffects", 2),
|
|
83722
83713
|
getComponent ("EnvironmentalSensor", 2),
|
|
83723
83714
|
getComponent ("EventUtilities", 1),
|
|
83724
|
-
getComponent ("Geometry2D",
|
|
83715
|
+
getComponent ("Geometry2D", 1),
|
|
83725
83716
|
getComponent ("Geometry3D", 4),
|
|
83726
83717
|
getComponent ("Grouping", 2),
|
|
83727
83718
|
getComponent ("Interpolation", 2),
|
|
@@ -83790,7 +83781,7 @@ SupportedProfiles .add ("MedicalInterchange",
|
|
|
83790
83781
|
getComponent ("EnvironmentalEffects", 1),
|
|
83791
83782
|
getComponent ("EventUtilities", 1),
|
|
83792
83783
|
getComponent ("Geometry2D", 2),
|
|
83793
|
-
getComponent ("Geometry3D",
|
|
83784
|
+
getComponent ("Geometry3D", 2),
|
|
83794
83785
|
getComponent ("Grouping", 3),
|
|
83795
83786
|
getComponent ("Interpolation", 2),
|
|
83796
83787
|
getComponent ("Lighting", 1),
|
|
@@ -83806,14 +83797,14 @@ SupportedProfiles .add ("MedicalInterchange",
|
|
|
83806
83797
|
],
|
|
83807
83798
|
});
|
|
83808
83799
|
|
|
83809
|
-
SupportedProfiles .add ("
|
|
83800
|
+
SupportedProfiles .add ("MPEG4Interactive",
|
|
83810
83801
|
{
|
|
83811
83802
|
title: "MPEG-4 interactive",
|
|
83812
83803
|
components: [
|
|
83813
83804
|
getComponent ("Core", 1),
|
|
83814
83805
|
getComponent ("EnvironmentalEffects", 1),
|
|
83815
83806
|
getComponent ("EnvironmentalSensor", 1),
|
|
83816
|
-
getComponent ("Geometry3D",
|
|
83807
|
+
getComponent ("Geometry3D", 2),
|
|
83817
83808
|
getComponent ("Grouping", 2),
|
|
83818
83809
|
getComponent ("Interpolation", 2),
|
|
83819
83810
|
getComponent ("Lighting", 2),
|
|
@@ -83827,6 +83818,8 @@ SupportedProfiles .add ("MPEG-4",
|
|
|
83827
83818
|
],
|
|
83828
83819
|
});
|
|
83829
83820
|
|
|
83821
|
+
SupportedProfiles .alias ("MPEG-4", SupportedProfiles .get ("MPEG4Interactive"));
|
|
83822
|
+
|
|
83830
83823
|
const SupportedProfiles_default_ = SupportedProfiles;
|
|
83831
83824
|
;
|
|
83832
83825
|
|
|
@@ -83876,8 +83869,10 @@ function X3DMetadataObject (executionContext)
|
|
|
83876
83869
|
|
|
83877
83870
|
Object .assign (X3DMetadataObject .prototype,
|
|
83878
83871
|
{
|
|
83879
|
-
initialize ()
|
|
83880
|
-
|
|
83872
|
+
initialize ()
|
|
83873
|
+
{ },
|
|
83874
|
+
dispose ()
|
|
83875
|
+
{ },
|
|
83881
83876
|
});
|
|
83882
83877
|
|
|
83883
83878
|
Object .defineProperties (X3DMetadataObject, Core_X3DNode .getStaticProperties ("X3DMetadataObject", "Core", 1));
|
|
@@ -84767,7 +84762,8 @@ Object .assign (Object .setPrototypeOf (X3DEnvironmentalSensorNode .prototype, C
|
|
|
84767
84762
|
{
|
|
84768
84763
|
return this .currentTraversed;
|
|
84769
84764
|
},
|
|
84770
|
-
update ()
|
|
84765
|
+
update ()
|
|
84766
|
+
{ },
|
|
84771
84767
|
});
|
|
84772
84768
|
|
|
84773
84769
|
Object .defineProperties (X3DEnvironmentalSensorNode, Core_X3DNode .getStaticProperties ("X3DEnvironmentalSensorNode", "EnvironmentalSensor", 1));
|
|
@@ -85007,6 +85003,7 @@ const ProximitySensor_default_ = ProximitySensor;
|
|
|
85007
85003
|
|
|
85008
85004
|
|
|
85009
85005
|
|
|
85006
|
+
|
|
85010
85007
|
const
|
|
85011
85008
|
ModelMatrixCache = Utility_ObjectCache (Numbers_Matrix4),
|
|
85012
85009
|
TargetMatrixCache = Utility_ObjectCache (Numbers_Matrix4);
|
|
@@ -85088,33 +85085,8 @@ Object .assign (Object .setPrototypeOf (TransformSensor .prototype, Environmenta
|
|
|
85088
85085
|
},
|
|
85089
85086
|
set_targetObject__ ()
|
|
85090
85087
|
{
|
|
85091
|
-
this .targetObjectNode =
|
|
85092
|
-
|
|
85093
|
-
try
|
|
85094
|
-
{
|
|
85095
|
-
const
|
|
85096
|
-
node = this ._targetObject .getValue () .getInnerNode (),
|
|
85097
|
-
type = node .getType ();
|
|
85098
|
-
|
|
85099
|
-
for (let t = type .length - 1; t >= 0; -- t)
|
|
85100
|
-
{
|
|
85101
|
-
switch (type [t])
|
|
85102
|
-
{
|
|
85103
|
-
case Base_X3DConstants .X3DGroupingNode:
|
|
85104
|
-
case Base_X3DConstants .X3DShapeNode:
|
|
85105
|
-
{
|
|
85106
|
-
this .targetObjectNode = node;
|
|
85107
|
-
break;
|
|
85108
|
-
}
|
|
85109
|
-
default:
|
|
85110
|
-
continue;
|
|
85111
|
-
}
|
|
85112
|
-
|
|
85113
|
-
break;
|
|
85114
|
-
}
|
|
85115
|
-
}
|
|
85116
|
-
catch
|
|
85117
|
-
{ }
|
|
85088
|
+
this .targetObjectNode = Base_X3DCast (Base_X3DConstants .X3DGroupingNode, this ._targetObject)
|
|
85089
|
+
?? Base_X3DCast (Base_X3DConstants .X3DShapeNode, this ._targetObject);
|
|
85118
85090
|
|
|
85119
85091
|
this .set_enabled__ ();
|
|
85120
85092
|
},
|
|
@@ -91755,7 +91727,7 @@ Object .assign (PointLightContainer .prototype,
|
|
|
91755
91727
|
renderObject .getModelViewMatrix () .push (orientationMatrices [i]);
|
|
91756
91728
|
renderObject .getModelViewMatrix () .multLeft (invLightSpaceMatrix);
|
|
91757
91729
|
|
|
91758
|
-
renderObject .render (Rendering_TraverseType .SHADOW,
|
|
91730
|
+
renderObject .render (Rendering_TraverseType .SHADOW, this .groupNode .traverse, this .groupNode);
|
|
91759
91731
|
|
|
91760
91732
|
renderObject .getModelViewMatrix () .pop ();
|
|
91761
91733
|
renderObject .getProjectionMatrix () .pop ();
|
|
@@ -92043,7 +92015,7 @@ Object .assign (SpotLightContainer .prototype,
|
|
|
92043
92015
|
renderObject .getProjectionMatrix () .push (projectionMatrix);
|
|
92044
92016
|
renderObject .getModelViewMatrix () .push (invLightSpaceMatrix);
|
|
92045
92017
|
|
|
92046
|
-
renderObject .render (Rendering_TraverseType .SHADOW,
|
|
92018
|
+
renderObject .render (Rendering_TraverseType .SHADOW, this .groupNode .traverse, this .groupNode);
|
|
92047
92019
|
|
|
92048
92020
|
renderObject .getModelViewMatrix () .pop ();
|
|
92049
92021
|
renderObject .getProjectionMatrix () .pop ();
|
|
@@ -93413,7 +93385,7 @@ Object .assign (Object .setPrototypeOf (Inline .prototype, Core_X3DChildNode .pr
|
|
|
93413
93385
|
{
|
|
93414
93386
|
this .groupNode ._children .length = 0;
|
|
93415
93387
|
|
|
93416
|
-
this .setLoadState (Base_X3DConstants .
|
|
93388
|
+
this .setLoadState (Base_X3DConstants .FAILED_STATE);
|
|
93417
93389
|
}
|
|
93418
93390
|
|
|
93419
93391
|
this .getBrowser () .addBrowserEvent ();
|
|
@@ -93593,8 +93565,48 @@ Object .assign (Object .setPrototypeOf (InlineGeometry .prototype, Rendering_X3D
|
|
|
93593
93565
|
Rendering_X3DGeometryNode .prototype .initialize .call (this);
|
|
93594
93566
|
Networking_X3DUrlObject .prototype .initialize .call (this);
|
|
93595
93567
|
|
|
93568
|
+
this ._solid .addInterest ("set_solid__", this);
|
|
93569
|
+
this ._smooth .addInterest ("set_smooth__", this);
|
|
93570
|
+
|
|
93596
93571
|
this .requestImmediateLoad () .catch (Function .prototype);
|
|
93597
93572
|
},
|
|
93573
|
+
set_solid__ ()
|
|
93574
|
+
{
|
|
93575
|
+
if (!this .geometryNode)
|
|
93576
|
+
return;
|
|
93577
|
+
|
|
93578
|
+
if (this .geometryNode .getGeometryType () < 2)
|
|
93579
|
+
return;
|
|
93580
|
+
|
|
93581
|
+
this .geometryNode ._solid = this ._solid;
|
|
93582
|
+
},
|
|
93583
|
+
set_smooth__ ()
|
|
93584
|
+
{
|
|
93585
|
+
if (!this .geometryNode)
|
|
93586
|
+
return;
|
|
93587
|
+
|
|
93588
|
+
if (this .geometryNode .getGeometryType () < 2)
|
|
93589
|
+
return;
|
|
93590
|
+
|
|
93591
|
+
const smooth = this ._smooth .getValue ();
|
|
93592
|
+
|
|
93593
|
+
if (this .geometryNode ._creaseAngle)
|
|
93594
|
+
{
|
|
93595
|
+
const creaseAngle = smooth ? Math .PI : 0;
|
|
93596
|
+
|
|
93597
|
+
if (this .geometryNode ._creaseAngle .equals (creaseAngle))
|
|
93598
|
+
return;
|
|
93599
|
+
|
|
93600
|
+
this .geometryNode ._creaseAngle = creaseAngle;
|
|
93601
|
+
}
|
|
93602
|
+
else if (this .geometryNode ._normal && !this .geometryNode ._normal .getValue ())
|
|
93603
|
+
{
|
|
93604
|
+
if (this .geometryNode ._normalPerVertex .equals (smooth))
|
|
93605
|
+
return;
|
|
93606
|
+
|
|
93607
|
+
this .geometryNode ._normalPerVertex = smooth;
|
|
93608
|
+
}
|
|
93609
|
+
},
|
|
93598
93610
|
unloadData ()
|
|
93599
93611
|
{
|
|
93600
93612
|
this .fileLoader ?.abort ();
|
|
@@ -93636,6 +93648,9 @@ Object .assign (Object .setPrototypeOf (InlineGeometry .prototype, Rendering_X3D
|
|
|
93636
93648
|
this .scene .setExecutionContext (scene .cache ? browser .getDefaultScene () : this .getExecutionContext ());
|
|
93637
93649
|
this .scene .setLive (true);
|
|
93638
93650
|
|
|
93651
|
+
this .set_solid__ ();
|
|
93652
|
+
this .set_smooth__ ();
|
|
93653
|
+
|
|
93639
93654
|
this .setLoadState (Base_X3DConstants .COMPLETE_STATE);
|
|
93640
93655
|
}
|
|
93641
93656
|
else
|
|
@@ -93727,6 +93742,8 @@ Object .defineProperties (InlineGeometry,
|
|
|
93727
93742
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "url", new x_ite_Fields .MFString ()),
|
|
93728
93743
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "autoRefresh", new x_ite_Fields .SFTime (0)),
|
|
93729
93744
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "autoRefreshTimeLimit", new x_ite_Fields .SFTime (3600)),
|
|
93745
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "solid", new x_ite_Fields .SFBool (false)),
|
|
93746
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "smooth", new x_ite_Fields .SFBool (true)),
|
|
93730
93747
|
]),
|
|
93731
93748
|
enumerable: true,
|
|
93732
93749
|
},
|
|
@@ -93736,6 +93753,29 @@ const InlineGeometry_default_ = InlineGeometry;
|
|
|
93736
93753
|
;
|
|
93737
93754
|
|
|
93738
93755
|
/* harmony default export */ const Networking_InlineGeometry = (Namespace/* default */.A .add ("InlineGeometry", InlineGeometry_default_));
|
|
93756
|
+
;// ./src/x_ite/Components/Networking/X3DUrlOutputObject.js
|
|
93757
|
+
|
|
93758
|
+
|
|
93759
|
+
|
|
93760
|
+
function X3DUrlOutputObject (executionContext)
|
|
93761
|
+
{
|
|
93762
|
+
this .addType (Base_X3DConstants .X3DUrlOutputObject);
|
|
93763
|
+
}
|
|
93764
|
+
|
|
93765
|
+
Object .assign (X3DUrlOutputObject .prototype,
|
|
93766
|
+
{
|
|
93767
|
+
initialize ()
|
|
93768
|
+
{ },
|
|
93769
|
+
dispose ()
|
|
93770
|
+
{ },
|
|
93771
|
+
});
|
|
93772
|
+
|
|
93773
|
+
Object .defineProperties (X3DUrlOutputObject, Core_X3DNode .getStaticProperties ("X3DUrlOutputObject", "Networking", 4));
|
|
93774
|
+
|
|
93775
|
+
const X3DUrlOutputObject_default_ = X3DUrlOutputObject;
|
|
93776
|
+
;
|
|
93777
|
+
|
|
93778
|
+
/* harmony default export */ const Networking_X3DUrlOutputObject = (Namespace/* default */.A .add ("X3DUrlOutputObject", X3DUrlOutputObject_default_));
|
|
93739
93779
|
;// ./src/x_ite/Components/NetworkingComponent.js
|
|
93740
93780
|
|
|
93741
93781
|
|
|
@@ -93744,6 +93784,7 @@ const InlineGeometry_default_ = InlineGeometry;
|
|
|
93744
93784
|
|
|
93745
93785
|
|
|
93746
93786
|
|
|
93787
|
+
|
|
93747
93788
|
const NetworkingComponent_default_ = {
|
|
93748
93789
|
name: "Networking",
|
|
93749
93790
|
concreteNodes:
|
|
@@ -93757,6 +93798,7 @@ const NetworkingComponent_default_ = {
|
|
|
93757
93798
|
[
|
|
93758
93799
|
Networking_X3DNetworkSensorNode,
|
|
93759
93800
|
Networking_X3DUrlObject,
|
|
93801
|
+
Networking_X3DUrlOutputObject,
|
|
93760
93802
|
],
|
|
93761
93803
|
};
|
|
93762
93804
|
;
|
|
@@ -100853,9 +100895,9 @@ const PNGMedia_default_ = PNGMedia;
|
|
|
100853
100895
|
|
|
100854
100896
|
/* harmony default export */ const Texturing_PNGMedia = (Namespace/* default */.A .add ("PNGMedia", PNGMedia_default_));
|
|
100855
100897
|
;// ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
100856
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
100857
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
100858
|
-
/* provided dependency */ var APNG = __webpack_require__(
|
|
100898
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(768)["A"];
|
|
100899
|
+
/* provided dependency */ var SuperGif = __webpack_require__(334);
|
|
100900
|
+
/* provided dependency */ var APNG = __webpack_require__(652);
|
|
100859
100901
|
|
|
100860
100902
|
|
|
100861
100903
|
|
|
@@ -101802,13 +101844,16 @@ const DependentRenderer_default_ = DependentRenderer;
|
|
|
101802
101844
|
|
|
101803
101845
|
|
|
101804
101846
|
|
|
101847
|
+
|
|
101848
|
+
|
|
101805
101849
|
/**
|
|
101806
101850
|
* THIS NODE IS STILL EXPERIMENTAL.
|
|
101807
101851
|
*/
|
|
101808
101852
|
|
|
101809
101853
|
function RenderedTexture (executionContext)
|
|
101810
101854
|
{
|
|
101811
|
-
Texturing_X3DTexture2DNode
|
|
101855
|
+
Texturing_X3DTexture2DNode .call (this, executionContext);
|
|
101856
|
+
Networking_X3DUrlOutputObject .call (this, executionContext);
|
|
101812
101857
|
|
|
101813
101858
|
this .addType (Base_X3DConstants .RenderedTexture);
|
|
101814
101859
|
|
|
@@ -101816,6 +101861,8 @@ function RenderedTexture (executionContext)
|
|
|
101816
101861
|
|
|
101817
101862
|
// Private properties
|
|
101818
101863
|
|
|
101864
|
+
this .groupNode = new Grouping_Group (executionContext);
|
|
101865
|
+
this .lastUpdate = -1;
|
|
101819
101866
|
this .dependentRenderers = new WeakMap ();
|
|
101820
101867
|
}
|
|
101821
101868
|
|
|
@@ -101823,21 +101870,18 @@ Object .assign (Object .setPrototypeOf (RenderedTexture .prototype, Texturing_X3
|
|
|
101823
101870
|
{
|
|
101824
101871
|
initialize ()
|
|
101825
101872
|
{
|
|
101826
|
-
Texturing_X3DTexture2DNode
|
|
101873
|
+
Texturing_X3DTexture2DNode .prototype .initialize .call (this);
|
|
101874
|
+
Networking_X3DUrlOutputObject .prototype .initialize .call (this);
|
|
101827
101875
|
|
|
101828
101876
|
this ._dimensions .addInterest ("set_dimensions__", this);
|
|
101829
101877
|
this ._depthMap .addInterest ("set_depthMap__", this);
|
|
101830
|
-
this .
|
|
101831
|
-
this ._fog .addInterest ("set_fog__", this);
|
|
101832
|
-
this ._viewpoint .addInterest ("set_viewpoint__", this);
|
|
101833
|
-
this ._scene .addInterest ("set_scene__", this);
|
|
101878
|
+
this ._children .addInterest ("set_children__", this);
|
|
101834
101879
|
|
|
101835
101880
|
this .set_dimensions__ ();
|
|
101836
101881
|
this .set_depthMap__ ();
|
|
101837
|
-
this .
|
|
101838
|
-
|
|
101839
|
-
this .
|
|
101840
|
-
this .set_scene__ ();
|
|
101882
|
+
this .set_children__ ();
|
|
101883
|
+
|
|
101884
|
+
this .groupNode .setup ();
|
|
101841
101885
|
},
|
|
101842
101886
|
getTextureType ()
|
|
101843
101887
|
{
|
|
@@ -101884,35 +101928,75 @@ Object .assign (Object .setPrototypeOf (RenderedTexture .prototype, Texturing_X3
|
|
|
101884
101928
|
{
|
|
101885
101929
|
this .type = this ._depthMap .getValue () ? Rendering_TraverseType .DEPTH : Rendering_TraverseType .DISPLAY;
|
|
101886
101930
|
},
|
|
101887
|
-
|
|
101888
|
-
{
|
|
101889
|
-
this .backgroundNode = Base_X3DCast (Base_X3DConstants .X3DBackgroundNode, this ._background);
|
|
101890
|
-
},
|
|
101891
|
-
set_fog__ ()
|
|
101892
|
-
{
|
|
101893
|
-
this .fogNode = Base_X3DCast (Base_X3DConstants .X3DFogObject, this ._fog);
|
|
101894
|
-
},
|
|
101895
|
-
set_viewpoint__ ()
|
|
101931
|
+
set_children__ ()
|
|
101896
101932
|
{
|
|
101897
|
-
this .
|
|
101933
|
+
this .backgroundNode = null;
|
|
101934
|
+
this .fogNode = null;
|
|
101935
|
+
this .viewpointNode = null;
|
|
101936
|
+
|
|
101937
|
+
this .groupNode ._children .length = 0;
|
|
101938
|
+
|
|
101939
|
+
for (const child of this ._children)
|
|
101940
|
+
this .setChild (child);
|
|
101898
101941
|
},
|
|
101899
|
-
|
|
101942
|
+
setChild (child)
|
|
101900
101943
|
{
|
|
101901
|
-
|
|
101944
|
+
const childNode = Base_X3DCast (Base_X3DConstants .X3DChildNode, child);
|
|
101945
|
+
|
|
101946
|
+
if (!childNode)
|
|
101947
|
+
return;
|
|
101948
|
+
|
|
101949
|
+
const type = childNode .getType ();
|
|
101950
|
+
|
|
101951
|
+
for (let t = type .length - 1; t >= 0; -- t)
|
|
101952
|
+
{
|
|
101953
|
+
switch (type [t])
|
|
101954
|
+
{
|
|
101955
|
+
case Base_X3DConstants .X3DBackgroundNode:
|
|
101956
|
+
{
|
|
101957
|
+
this .backgroundNode = childNode;
|
|
101958
|
+
break;
|
|
101959
|
+
}
|
|
101960
|
+
case Base_X3DConstants .Fog:
|
|
101961
|
+
{
|
|
101962
|
+
this .fogNode = childNode;
|
|
101963
|
+
break;
|
|
101964
|
+
}
|
|
101965
|
+
case Base_X3DConstants .X3DViewpointNode:
|
|
101966
|
+
{
|
|
101967
|
+
this .viewpointNode = childNode;
|
|
101968
|
+
break;
|
|
101969
|
+
}
|
|
101970
|
+
case Base_X3DConstants .X3DChildNode:
|
|
101971
|
+
{
|
|
101972
|
+
this .groupNode ._children .push (childNode);
|
|
101973
|
+
break;
|
|
101974
|
+
}
|
|
101975
|
+
default:
|
|
101976
|
+
continue;
|
|
101977
|
+
}
|
|
101978
|
+
|
|
101979
|
+
break;
|
|
101980
|
+
}
|
|
101902
101981
|
},
|
|
101903
101982
|
traverse (type, renderObject)
|
|
101904
101983
|
{
|
|
101905
101984
|
// TraverseType .DISPLAY
|
|
101906
101985
|
|
|
101907
|
-
if (this ._update .getValue () === "NONE")
|
|
101908
|
-
return;
|
|
101909
|
-
|
|
101910
101986
|
if (!renderObject .isIndependent ())
|
|
101911
101987
|
return;
|
|
101912
101988
|
|
|
101913
101989
|
if (!this .frameBuffer)
|
|
101914
101990
|
return;
|
|
101915
101991
|
|
|
101992
|
+
if (this ._update .getValue () === "NONE")
|
|
101993
|
+
return;
|
|
101994
|
+
|
|
101995
|
+
if (Date .now () - this .lastUpdate < this ._updateInterval .getValue () * 1000)
|
|
101996
|
+
return;
|
|
101997
|
+
|
|
101998
|
+
this .lastUpdate = Date .now ();
|
|
101999
|
+
|
|
101916
102000
|
renderObject .getRenderedTextures () .add (this);
|
|
101917
102001
|
},
|
|
101918
102002
|
renderTexture: (() =>
|
|
@@ -101976,15 +102060,15 @@ Object .assign (Object .setPrototypeOf (RenderedTexture .prototype, Texturing_X3
|
|
|
101976
102060
|
headlightContainer .modelViewMatrix .push (renderObject .getViewMatrix () .get ());
|
|
101977
102061
|
headlightContainer .modelViewMatrix .multLeft (viewpointNode .getCameraSpaceMatrix ());
|
|
101978
102062
|
|
|
101979
|
-
if (this .
|
|
102063
|
+
if (this .groupNode ._children .length)
|
|
101980
102064
|
{
|
|
101981
102065
|
dependentRenderer .getGlobalLights () .push (headlightContainer);
|
|
101982
102066
|
dependentRenderer .getGlobalLightsKeys () .push (headlightContainer .lightNode .getLightKey ());
|
|
101983
102067
|
}
|
|
101984
102068
|
}
|
|
101985
102069
|
|
|
101986
|
-
if (this .
|
|
101987
|
-
dependentRenderer .render (this .type, this .
|
|
102070
|
+
if (this .groupNode ._children .length)
|
|
102071
|
+
dependentRenderer .render (this .type, this .groupNode .traverse, this .groupNode);
|
|
101988
102072
|
else
|
|
101989
102073
|
layer .traverse (this .type, dependentRenderer);
|
|
101990
102074
|
|
|
@@ -102011,6 +102095,11 @@ Object .assign (Object .setPrototypeOf (RenderedTexture .prototype, Texturing_X3
|
|
|
102011
102095
|
this ._update = "NONE";
|
|
102012
102096
|
};
|
|
102013
102097
|
})(),
|
|
102098
|
+
dispose ()
|
|
102099
|
+
{
|
|
102100
|
+
Networking_X3DUrlOutputObject .prototype .dispose .call (this);
|
|
102101
|
+
Texturing_X3DTexture2DNode .prototype .dispose .call (this);
|
|
102102
|
+
},
|
|
102014
102103
|
});
|
|
102015
102104
|
|
|
102016
102105
|
Object .defineProperties (RenderedTexture,
|
|
@@ -102021,16 +102110,18 @@ Object .defineProperties (RenderedTexture,
|
|
|
102021
102110
|
value: new Base_FieldDefinitionArray ([
|
|
102022
102111
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "metadata", new x_ite_Fields .SFNode ()),
|
|
102023
102112
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "description", new x_ite_Fields .SFString ()),
|
|
102113
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "enabled", new x_ite_Fields .SFBool (true)),
|
|
102114
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "replaceImage", new x_ite_Fields .SFBool (true)),
|
|
102115
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "url", new x_ite_Fields .MFString ()),
|
|
102024
102116
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "update", new x_ite_Fields .SFString ("NONE")),
|
|
102025
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "
|
|
102117
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "updateInterval", new x_ite_Fields .SFTime (0.1)),
|
|
102118
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "dimensions", new x_ite_Fields .MFInt32 (128, 128, 4)),
|
|
102026
102119
|
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "depthMap", new x_ite_Fields .SFBool ()),
|
|
102027
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "background", new x_ite_Fields .SFNode ()),
|
|
102028
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "fog", new x_ite_Fields .SFNode ()),
|
|
102029
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "viewpoint", new x_ite_Fields .SFNode ()),
|
|
102030
|
-
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "scene", new x_ite_Fields .SFNode ()),
|
|
102031
102120
|
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "repeatS", new x_ite_Fields .SFBool (true)),
|
|
102032
102121
|
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "repeatT", new x_ite_Fields .SFBool (true)),
|
|
102122
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .outputOnly, "isActive", new x_ite_Fields .SFBool ()),
|
|
102033
102123
|
new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "textureProperties", new x_ite_Fields .SFNode ()),
|
|
102124
|
+
new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "children", new x_ite_Fields .MFNode ()),
|
|
102034
102125
|
]),
|
|
102035
102126
|
enumerable: true,
|
|
102036
102127
|
},
|
|
@@ -102165,7 +102256,7 @@ const Components_default_ = Components;
|
|
|
102165
102256
|
|
|
102166
102257
|
/* harmony default export */ const x_ite_Components = (Namespace/* default */.A .add ("Components", Components_default_));
|
|
102167
102258
|
;// ./src/x_ite/Browser/X3DBrowser.js
|
|
102168
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
102259
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(768)["A"];
|
|
102169
102260
|
|
|
102170
102261
|
|
|
102171
102262
|
|
|
@@ -103303,7 +103394,7 @@ const SUPPORTED_VERSIONS_default_ = [
|
|
|
103303
103394
|
|
|
103304
103395
|
/* harmony default export */ const SUPPORTED_VERSIONS = (Namespace/* default */.A .add ("SUPPORTED_VERSIONS", SUPPORTED_VERSIONS_default_));
|
|
103305
103396
|
;// ./src/x_ite/X3DCanvasElement.js
|
|
103306
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
103397
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(768)["A"];
|
|
103307
103398
|
|
|
103308
103399
|
|
|
103309
103400
|
class X3DCanvasElement extends HTMLElement
|
|
@@ -103467,8 +103558,8 @@ const QuickSort_default_ = QuickSort;
|
|
|
103467
103558
|
|
|
103468
103559
|
/* harmony default export */ const Algorithms_QuickSort = (Namespace/* default */.A .add ("QuickSort", QuickSort_default_));
|
|
103469
103560
|
;// ./src/lib/jquery.js
|
|
103470
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
103471
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
103561
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(768)["A"];
|
|
103562
|
+
/* provided dependency */ var pako = __webpack_require__(67);
|
|
103472
103563
|
Object .assign (jquery_$,
|
|
103473
103564
|
{
|
|
103474
103565
|
decodeText (input)
|
|
@@ -103532,13 +103623,13 @@ const jquery_default_ = jquery_$;
|
|
|
103532
103623
|
|
|
103533
103624
|
/* harmony default export */ const jquery = (Namespace/* default */.A .add ("jquery", jquery_default_));
|
|
103534
103625
|
;// ./src/lib/libtess.js
|
|
103535
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
103626
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(584);
|
|
103536
103627
|
const libtess_default_ = libtess_libtess;
|
|
103537
103628
|
;
|
|
103538
103629
|
|
|
103539
103630
|
/* harmony default export */ const lib_libtess = (Namespace/* default */.A .add ("libtess", libtess_default_));
|
|
103540
103631
|
;// ./src/x_ite/X3D.js
|
|
103541
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
103632
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(768)["A"];
|
|
103542
103633
|
|
|
103543
103634
|
|
|
103544
103635
|
|
|
@@ -103704,7 +103795,7 @@ Namespace/* default */.A, Namespace/* default */.A .Fields,
|
|
|
103704
103795
|
|
|
103705
103796
|
// Assign X3D to global namespace.
|
|
103706
103797
|
|
|
103707
|
-
window [Symbol .for ("X_ITE.X3D-14.1.
|
|
103798
|
+
window [Symbol .for ("X_ITE.X3D-14.1.4")] = x_ite_X3D;
|
|
103708
103799
|
|
|
103709
103800
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
103710
103801
|
|