x_ite 8.10.1 → 8.11.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.
- package/Makefile +3 -0
- package/build/bin/version.pl +28 -20
- package/build/docs/glTF-samples.pl +151 -0
- package/build/docs/nodes.pl +1 -1
- package/build/src/nodes.pl +41 -0
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +13 -13
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +30 -26
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +14 -14
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +19 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +394 -30
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +26 -26
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +24 -24
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +73 -74
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +18 -18
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +37 -37
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +55 -63
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +14 -14
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +35 -31
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +20 -20
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +9 -9
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +1456 -844
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +2 -2
- package/docs/_posts/components/Core/MetadataBoolean.md +6 -4
- package/docs/_posts/components/Core/MetadataDouble.md +6 -4
- package/docs/_posts/components/Core/MetadataFloat.md +6 -4
- package/docs/_posts/components/Core/MetadataInteger.md +6 -4
- package/docs/_posts/components/Core/MetadataSet.md +6 -4
- package/docs/_posts/components/Core/MetadataString.md +6 -4
- package/docs/_posts/components/DIS/DISEntityTypeMapping.md +1 -1
- package/docs/_posts/components/HAnim/HAnimMotion.md +48 -48
- package/docs/_posts/components/RigidBodyPhysics/Contact.md +1 -1
- package/docs/_posts/getting-started.md +45 -35
- package/docs/_posts/reference/browser-services.md +6 -0
- package/docs/_tabs/playground.html +215 -15
- package/docs/assets/css/style.scss +35 -2
- package/docs/assets/js/example.js +95 -3
- package/docs/laboratory/gltf-sample-viewer.html +603 -235
- package/package.json +2 -2
- package/src/assets/shaders/Types.glsl.js +4 -0
- package/src/assets/shaders/webgl1/include/Hatch.glsl.js +2 -3
- package/src/assets/shaders/webgl2/Compose.fs.js +29 -0
- package/src/assets/shaders/webgl2/Compose.vs.js +14 -0
- package/src/assets/shaders/webgl2/include/Fragment.glsl.js +24 -2
- package/src/assets/shaders/webgl2/include/Hatch.glsl.js +2 -3
- package/src/assets/shaders/webgl2/include/Stipple.glsl.js +5 -3
- package/src/bookmarks.js +92 -5
- package/src/examples.js +1 -0
- package/src/standard/Math/Numbers/Quaternion.js +191 -13
- package/src/standard/Math/Numbers/Rotation4.js +23 -0
- package/src/standard/Time/{MicroTime.js → Time.js} +21 -28
- package/src/x_ite/Base/X3DChildObject.js +5 -4
- package/src/x_ite/Browser/Core/BrowserOptions.js +71 -60
- package/src/x_ite/Browser/Core/Context.js +2 -2
- package/src/x_ite/Browser/Core/X3DCoreContext.js +6 -0
- package/src/x_ite/Browser/DOMIntegration.js +0 -17
- package/src/x_ite/Browser/Navigation/ExamineViewer.js +5 -4
- package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +7 -4
- package/src/x_ite/Browser/Rendering/X3DRenderingContext.js +20 -15
- package/src/x_ite/Browser/Shaders/Shaders.js +19 -15
- package/src/x_ite/Browser/Text/X3DTextContext.js +16 -16
- package/src/x_ite/Browser/Time/X3DTimeContext.js +3 -2
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Browser/VolumeRendering/VolumeMaterial.js +2 -2
- package/src/x_ite/Browser/X3DBrowser.js +1 -2
- package/src/x_ite/Browser/X3DBrowserContext.js +0 -5
- package/src/x_ite/Components/Core/MetadataBoolean.js +8 -1
- package/src/x_ite/Components/Core/MetadataDouble.js +8 -1
- package/src/x_ite/Components/Core/MetadataFloat.js +8 -1
- package/src/x_ite/Components/Core/MetadataInteger.js +8 -1
- package/src/x_ite/Components/Core/MetadataSet.js +8 -1
- package/src/x_ite/Components/Core/MetadataString.js +8 -1
- package/src/x_ite/Components/Core/X3DPrototypeInstance.js +9 -6
- package/src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js +2 -1
- package/src/x_ite/Components/DIS/DISEntityTypeMapping.js +1 -1
- package/src/x_ite/Components/EnvironmentalEffects/X3DBackgroundNode.js +5 -1
- package/src/x_ite/Components/Grouping/X3DGroupingNode.js +2 -0
- package/src/x_ite/Components/HAnim/HAnimHumanoid.js +34 -2
- package/src/x_ite/Components/HAnim/HAnimMotion.js +331 -15
- package/src/x_ite/Components/Lighting/DirectionalLight.js +1 -3
- package/src/x_ite/Components/Lighting/PointLight.js +1 -3
- package/src/x_ite/Components/Lighting/SpotLight.js +1 -3
- package/src/x_ite/Components/Networking/X3DUrlObject.js +5 -4
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +47 -51
- package/src/x_ite/Components/Rendering/X3DGeometryNode.js +4 -2
- package/src/x_ite/Components/RigidBodyPhysics/Contact.js +1 -1
- package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +1 -1
- package/src/x_ite/Components/Shape/FillProperties.js +4 -0
- package/src/x_ite/Components/Shape/LineProperties.js +4 -0
- package/src/x_ite/Components/Shape/PointProperties.js +4 -0
- package/src/x_ite/Components/Shape/X3DMaterialNode.js +44 -20
- package/src/x_ite/Components/Sound/AudioClip.js +2 -1
- package/src/x_ite/Components/Text/X3DFontStyleNode.js +13 -23
- package/src/x_ite/Components/Texturing/ImageTexture.js +2 -1
- package/src/x_ite/Components/Texturing/MovieTexture.js +2 -1
- package/src/x_ite/Components/Texturing3D/ImageTextureAtlas.js +2 -1
- package/src/x_ite/Components/Time/TimeSensor.js +25 -24
- package/src/x_ite/Components/Time/X3DTimeDependentNode.js +5 -4
- package/src/x_ite/Execution/BindableList.js +3 -3
- package/src/x_ite/Execution/X3DScene.js +2 -0
- package/src/x_ite/Parser/XMLParser.js +12 -2
- package/src/x_ite/Rendering/MultiSampleFrameBuffer.js +264 -26
- package/src/x_ite/Rendering/PointingBuffer.js +5 -7
- package/src/x_ite/Rendering/TextureBuffer.js +6 -14
- package/src/x_ite/Rendering/X3DRenderObject.js +28 -28
- package/src/x_ite/X3D.js +0 -1
- package/src/x_ite/X3DCanvasElement.js +2 -0
- package/src/x_ite.html +23 -24
- package/x_ite.min.html +23 -24
- /package/build/{bin → docs}/tags.pl +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* X_ITE v8.
|
|
1
|
+
/* X_ITE v8.11.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
5
|
/***/ 355:
|
|
6
6
|
/***/ ((module) => {
|
|
7
7
|
|
|
8
|
-
module.exports = window [Symbol .for ("X_ITE.X3D-8.
|
|
8
|
+
module.exports = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("lib/jquery");
|
|
9
9
|
|
|
10
10
|
/***/ })
|
|
11
11
|
|
|
@@ -73,25 +73,25 @@ var __webpack_exports__ = {};
|
|
|
73
73
|
// UNUSED EXPORTS: default
|
|
74
74
|
|
|
75
75
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
76
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
76
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components");
|
|
77
77
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
78
78
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
79
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
79
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Fields");
|
|
80
80
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
81
81
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
82
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
82
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
83
83
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
84
84
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
85
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
85
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
86
86
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
87
87
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Texturing/X3DSingleTextureNode\")"
|
|
88
|
-
const X3DSingleTextureNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
88
|
+
const X3DSingleTextureNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Texturing/X3DSingleTextureNode");
|
|
89
89
|
var X3DSingleTextureNode_default = /*#__PURE__*/__webpack_require__.n(X3DSingleTextureNode_namespaceObject);
|
|
90
90
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
91
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
91
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Base/X3DConstants");
|
|
92
92
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
93
93
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
94
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
94
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Namespace");
|
|
95
95
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
96
96
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode.js
|
|
97
97
|
/*******************************************************************************
|
|
@@ -240,10 +240,10 @@ const __default__ = X3DEnvironmentTextureNode;
|
|
|
240
240
|
Namespace_default().set ("x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode", __default__);
|
|
241
241
|
/* harmony default export */ const CubeMapTexturing_X3DEnvironmentTextureNode = (__default__);
|
|
242
242
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
243
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
243
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Base/X3DCast");
|
|
244
244
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
245
245
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Utility/BitSet\")"
|
|
246
|
-
const BitSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
246
|
+
const BitSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("standard/Utility/BitSet");
|
|
247
247
|
var BitSet_default = /*#__PURE__*/__webpack_require__.n(BitSet_namespaceObject);
|
|
248
248
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js
|
|
249
249
|
/*******************************************************************************
|
|
@@ -501,13 +501,13 @@ const ComposedCubeMapTexture_default_ = ComposedCubeMapTexture;
|
|
|
501
501
|
Namespace_default().set ("x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture", ComposedCubeMapTexture_default_);
|
|
502
502
|
/* harmony default export */ const CubeMapTexturing_ComposedCubeMapTexture = (ComposedCubeMapTexture_default_);
|
|
503
503
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DBaseNode\")"
|
|
504
|
-
const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
504
|
+
const X3DBaseNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Base/X3DBaseNode");
|
|
505
505
|
var X3DBaseNode_default = /*#__PURE__*/__webpack_require__.n(X3DBaseNode_namespaceObject);
|
|
506
506
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/X3DRenderObject\")"
|
|
507
|
-
const X3DRenderObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
507
|
+
const X3DRenderObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Rendering/X3DRenderObject");
|
|
508
508
|
var X3DRenderObject_default = /*#__PURE__*/__webpack_require__.n(X3DRenderObject_namespaceObject);
|
|
509
509
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
510
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
510
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Rendering/TraverseType");
|
|
511
511
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
512
512
|
;// CONCATENATED MODULE: ./src/x_ite/Rendering/DependentRenderer.js
|
|
513
513
|
/*******************************************************************************
|
|
@@ -647,28 +647,28 @@ const DependentRenderer_default_ = DependentRenderer;
|
|
|
647
647
|
Namespace_default().set ("x_ite/Rendering/DependentRenderer", DependentRenderer_default_);
|
|
648
648
|
/* harmony default export */ const Rendering_DependentRenderer = (DependentRenderer_default_);
|
|
649
649
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TextureBuffer\")"
|
|
650
|
-
const TextureBuffer_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
650
|
+
const TextureBuffer_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Rendering/TextureBuffer");
|
|
651
651
|
var TextureBuffer_default = /*#__PURE__*/__webpack_require__.n(TextureBuffer_namespaceObject);
|
|
652
652
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Camera\")"
|
|
653
|
-
const Camera_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
653
|
+
const Camera_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("standard/Math/Geometry/Camera");
|
|
654
654
|
var Camera_default = /*#__PURE__*/__webpack_require__.n(Camera_namespaceObject);
|
|
655
655
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/ViewVolume\")"
|
|
656
|
-
const ViewVolume_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
656
|
+
const ViewVolume_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("standard/Math/Geometry/ViewVolume");
|
|
657
657
|
var ViewVolume_default = /*#__PURE__*/__webpack_require__.n(ViewVolume_namespaceObject);
|
|
658
658
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
|
|
659
|
-
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
659
|
+
const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("standard/Math/Numbers/Rotation4");
|
|
660
660
|
var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
|
|
661
661
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
662
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
662
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("standard/Math/Numbers/Vector3");
|
|
663
663
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
664
664
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector4\")"
|
|
665
|
-
const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
665
|
+
const Vector4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("standard/Math/Numbers/Vector4");
|
|
666
666
|
var Vector4_default = /*#__PURE__*/__webpack_require__.n(Vector4_namespaceObject);
|
|
667
667
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
|
|
668
|
-
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
668
|
+
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("standard/Math/Numbers/Matrix4");
|
|
669
669
|
var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
|
|
670
670
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
671
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
671
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("standard/Math/Algorithm");
|
|
672
672
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
673
673
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture.js
|
|
674
674
|
/*******************************************************************************
|
|
@@ -971,13 +971,16 @@ const GeneratedCubeMapTexture_default_ = GeneratedCubeMapTexture;
|
|
|
971
971
|
Namespace_default().set ("x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture", GeneratedCubeMapTexture_default_);
|
|
972
972
|
/* harmony default export */ const CubeMapTexturing_GeneratedCubeMapTexture = (GeneratedCubeMapTexture_default_);
|
|
973
973
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
974
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
974
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
975
975
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
976
976
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
|
|
977
|
-
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
977
|
+
const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("standard/Math/Numbers/Vector2");
|
|
978
978
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
979
|
+
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Time/Time\")"
|
|
980
|
+
const Time_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("standard/Time/Time");
|
|
981
|
+
var Time_default = /*#__PURE__*/__webpack_require__.n(Time_namespaceObject);
|
|
979
982
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/DEVELOPMENT\")"
|
|
980
|
-
const DEVELOPMENT_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
983
|
+
const DEVELOPMENT_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/DEVELOPMENT");
|
|
981
984
|
var DEVELOPMENT_default = /*#__PURE__*/__webpack_require__.n(DEVELOPMENT_namespaceObject);
|
|
982
985
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js
|
|
983
986
|
/* provided dependency */ var $ = __webpack_require__(355);
|
|
@@ -1038,6 +1041,7 @@ var DEVELOPMENT_default = /*#__PURE__*/__webpack_require__.n(DEVELOPMENT_namespa
|
|
|
1038
1041
|
|
|
1039
1042
|
|
|
1040
1043
|
|
|
1044
|
+
|
|
1041
1045
|
const defaultData = new Uint8Array ([ 255, 255, 255, 255 ]);
|
|
1042
1046
|
|
|
1043
1047
|
const offsets = [
|
|
@@ -1111,7 +1115,7 @@ Object .assign (Object .setPrototypeOf (ImageCubeMapTexture .prototype, CubeMapT
|
|
|
1111
1115
|
if (this .URL .protocol !== "data:")
|
|
1112
1116
|
{
|
|
1113
1117
|
if (!this .getCache ())
|
|
1114
|
-
this .URL .searchParams .set ("_",
|
|
1118
|
+
this .URL .searchParams .set ("_", Time_default().now ());
|
|
1115
1119
|
}
|
|
1116
1120
|
|
|
1117
1121
|
this .image .attr ("src", this .URL .href);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.10.1 */(()=>{"use strict";var e={355:e=>{e.exports=window[Symbol.for("X_ITE.X3D-8.10.1")].require("lib/jquery")}},t={};function r(i){var n=t[i];if(void 0!==n)return n.exports;var s=t[i]={exports:{}};return e[i](s,s.exports,r),s.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components");var t=r.n(e);const i=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Fields");var n=r.n(i);const s=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Base/X3DFieldDefinition");var a=r.n(s);const o=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Base/FieldDefinitionArray");var u=r.n(o);const d=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Texturing/X3DSingleTextureNode");var h=r.n(d);const p=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Base/X3DConstants");var l=r.n(p);const g=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Namespace");var x=r.n(g);function T(e){h().call(this,e),this.addType(l().X3DEnvironmentTextureNode);const t=this.getBrowser().getContext();this.target=t.TEXTURE_CUBE_MAP,this.targets=[t.TEXTURE_CUBE_MAP_POSITIVE_Z,t.TEXTURE_CUBE_MAP_NEGATIVE_Z,t.TEXTURE_CUBE_MAP_NEGATIVE_X,t.TEXTURE_CUBE_MAP_POSITIVE_X,t.TEXTURE_CUBE_MAP_POSITIVE_Y,t.TEXTURE_CUBE_MAP_NEGATIVE_Y]}Object.assign(Object.setPrototypeOf(T.prototype,h().prototype),{getTarget(){return this.target},getTextureType:()=>4,getTextureTypeString:()=>"CUBE",getTargets(){return this.targets},clearTexture:(()=>{const e=new Uint8Array([255,255,255,255]);return function(){const t=this.getBrowser().getContext();t.bindTexture(this.getTarget(),this.getTexture());for(const r of this.getTargets())t.texImage2D(r,0,t.RGBA,1,1,0,t.RGBA,t.UNSIGNED_BYTE,e);this.setTransparent(!1)}})(),updateTextureParameters(){h().prototype.updateTextureParameters.call(this,this.target,this._textureProperties.getValue(),this.texturePropertiesNode,128,128,!1,!1,!1)},setShaderUniforms(e,t,r,i=t.x3d_Texture[0]){const n=this.getBrowser().getTextureCubeUnit();e.activeTexture(e.TEXTURE0+n),e.bindTexture(e.TEXTURE_CUBE_MAP,this.getTexture()),e.uniform1i(i.textureCube,n)}}),Object.defineProperties(T,{typeName:{value:"X3DEnvironmentTextureNode",enumerable:!0},componentName:{value:"CubeMapTexturing",enumerable:!0}});const c=T;x().set("x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode",c);const w=c,_=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Base/X3DCast");var m=r.n(_);const f=window[Symbol.for("X_ITE.X3D-8.10.1")].require("standard/Utility/BitSet");var b=r.n(f);function E(e){w.call(this,e),this.addType(l().ComposedCubeMapTexture),e.getSpecificationVersion()<4&&(this.addAlias("front",this._frontTexture),this.addAlias("back",this._backTexture),this.addAlias("left",this._leftTexture),this.addAlias("right",this._rightTexture),this.addAlias("top",this._topTexture),this.addAlias("bottom",this._bottomTexture)),this.addChildObjects(l().inputOutput,"update",new(n().SFTime)),this.textureNodes=[null,null,null,null,null,null],this.textureBits=new(b())}Object.assign(Object.setPrototypeOf(E.prototype,w.prototype),{initialize(){w.prototype.initialize.call(this);const e=this.getBrowser().getContext();this.frameBuffer=e.createFramebuffer(),this.clearTexture(),this._frontTexture.addInterest("set_texture__",this,0),this._backTexture.addInterest("set_texture__",this,1),this._leftTexture.addInterest("set_texture__",this,2),this._rightTexture.addInterest("set_texture__",this,3),this._topTexture.addInterest("set_texture__",this,5),this._bottomTexture.addInterest("set_texture__",this,4),this._update.addInterest("update",this),this.set_texture__(this._frontTexture,0),this.set_texture__(this._backTexture,1),this.set_texture__(this._leftTexture,2),this.set_texture__(this._rightTexture,3),this.set_texture__(this._topTexture,4),this.set_texture__(this._bottomTexture,5)},set_texture__(e,t){let r=this.textureNodes[t];r?.removeInterest("set_loadState__",this),r=this.textureNodes[t]=m()(l().X3DTexture2DNode,e),r?.addInterest("set_loadState__",this,r,t),this.set_loadState__(r,t)},set_loadState__(e,t){this.setTextureBit(t,e,e?.checkLoadState()??l().NOT_STARTED),this._update.addEvent()},setTextureBit(e,t,r){this.textureBits.set(e,r===l().COMPLETE_STATE||t?.getWidth())},isComplete(){if(63!=+this.textureBits)return!1;const e=this.textureNodes,t=e[0].getWidth();for(const r of e){if(r.getWidth()!==t)return!1;if(r.getHeight()!==t)return!1}return!0},update(){if(this.isComplete()){const e=this.getBrowser().getContext(),t=this.textureNodes,r=e.getParameter(e.FRAMEBUFFER_BINDING);e.bindFramebuffer(e.FRAMEBUFFER,this.frameBuffer);for(let r=0;r<6;++r){const i=t[r],n=i.getWidth(),s=i.getHeight();switch(i.getType().at(-1)){case l().ImageTexture:case l().MovieTexture:e.bindTexture(this.getTarget(),this.getTexture()),e.getVersion()>=2?e.texImage2D(this.getTargets()[r],0,e.RGBA,n,s,0,e.RGBA,e.UNSIGNED_BYTE,i.getElement()):e.texImage2D(this.getTargets()[r],0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,i.getElement());break;default:e.bindTexture(e.TEXTURE_2D,i.getTexture()),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,i.getTexture(),0),e.bindTexture(this.getTarget(),this.getTexture()),e.texImage2D(this.getTargets()[r],0,e.RGBA,n,s,0,e.RGBA,e.UNSIGNED_BYTE,null),e.copyTexSubImage2D(this.getTargets()[r],0,0,0,0,0,n,s)}}e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!1),e.bindFramebuffer(e.FRAMEBUFFER,r),this.setTransparent(t.some((e=>e.isTransparent()))),this.updateTextureParameters()}else this.clearTexture()}}),Object.defineProperties(E,{typeName:{value:"ComposedCubeMapTexture",enumerable:!0},componentName:{value:"CubeMapTexturing",enumerable:!0},containerField:{value:"texture",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(a())(l().inputOutput,"metadata",new(n().SFNode)),new(a())(l().inputOutput,"description",new(n().SFString)),new(a())(l().inputOutput,"frontTexture",new(n().SFNode)),new(a())(l().inputOutput,"backTexture",new(n().SFNode)),new(a())(l().inputOutput,"leftTexture",new(n().SFNode)),new(a())(l().inputOutput,"rightTexture",new(n().SFNode)),new(a())(l().inputOutput,"topTexture",new(n().SFNode)),new(a())(l().inputOutput,"bottomTexture",new(n().SFNode)),new(a())(l().initializeOnly,"textureProperties",new(n().SFNode))]),enumerable:!0}});const y=E;x().set("x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture",y);const S=y,I=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Base/X3DBaseNode");var M=r.n(I);const O=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Rendering/X3DRenderObject");var N=r.n(O);const B=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Rendering/TraverseType");var v=r.n(B);function C(e){M().call(this,e),N().call(this,e),this.renderObject=null}Object.assign(Object.setPrototypeOf(C.prototype,M().prototype),N().prototype,{initialize(){M().prototype.initialize.call(this),N().prototype.initialize.call(this)},isIndependent:()=>!1,setRenderer(e){this.renderObject=e},getLayer(){return this.renderObject.getLayer()},getBackground(){return this.renderObject.getBackground()},getFog(){return this.renderObject.getFog()},getNavigationInfo(){return this.renderObject.getNavigationInfo()},getViewpoint(){return this.renderObject.getViewpoint()},getLightContainer(){return this.renderObject.getLights()[this.lightIndex++]},render(e,t,r){switch(e){case v().COLLISION:case v().SHADOW:N().prototype.render.call(this,e,t,r);break;case v().DISPLAY:this.lightIndex=0,N().prototype.render.call(this,e,t,r);for(const e of this.renderObject.getLights())e.modelViewMatrix.pop()}}});for(const e of Object.keys(C.prototype))Object.defineProperty(C.prototype,e,{enumerable:!1});const D=C;x().set("x_ite/Rendering/DependentRenderer",D);const X=D,R=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Rendering/TextureBuffer");var A=r.n(R);const F=window[Symbol.for("X_ITE.X3D-8.10.1")].require("standard/Math/Geometry/Camera");var U=r.n(F);const P=window[Symbol.for("X_ITE.X3D-8.10.1")].require("standard/Math/Geometry/ViewVolume");var V=r.n(P);const j=window[Symbol.for("X_ITE.X3D-8.10.1")].require("standard/Math/Numbers/Rotation4");var L=r.n(j);const G=window[Symbol.for("X_ITE.X3D-8.10.1")].require("standard/Math/Numbers/Vector3");var z=r.n(G);const q=window[Symbol.for("X_ITE.X3D-8.10.1")].require("standard/Math/Numbers/Vector4");var k=r.n(q);const Y=window[Symbol.for("X_ITE.X3D-8.10.1")].require("standard/Math/Numbers/Matrix4");var W=r.n(Y);const H=window[Symbol.for("X_ITE.X3D-8.10.1")].require("standard/Math/Algorithm");var Z=r.n(H);function $(e){w.call(this,e),this.addType(l().GeneratedCubeMapTexture),this.dependentRenderer=new X(e),this.projectionMatrix=new(W()),this.modelMatrix=new(W()),this.viewVolume=new(V())}Object.assign(Object.setPrototypeOf($.prototype,w.prototype),{initialize(){w.prototype.initialize.call(this),this._size.addInterest("set_size__",this),this.dependentRenderer.setup(),this.set_size__()},set_size__(){const e=this.getBrowser().getContext(),t=e.getVersion()>=2?this._size.getValue():Z().nextPowerOfTwo(this._size.getValue());if(t>0){const r=new Uint8Array(t*t*4);e.bindTexture(this.getTarget(),this.getTexture());for(const i of this.getTargets())e.texImage2D(i,0,e.RGBA,t,t,0,e.RGBA,e.UNSIGNED_BYTE,r);this.updateTextureParameters(),this.viewport=new(k())(0,0,t,t),this.frameBuffer=new(A())(this.getBrowser(),t,t)}else this.frameBuffer=null},traverse(e,t){"NONE"!==this._update.getValue()&&t.isIndependent()&&this.frameBuffer&&(t.getGeneratedCubeMapTextures().push(this),this.modelMatrix.assign(t.getModelViewMatrix().get()).multRight(t.getCameraSpaceMatrix().get()))},renderTexture:(()=>{const e=[new(L())(z().zAxis,new(z())(0,0,-1)),new(L())(z().zAxis,new(z())(0,0,1)),new(L())(z().zAxis,new(z())(1,0,0)),new(L())(z().zAxis,new(z())(-1,0,0)),new(L())(z().zAxis,new(z())(0,-1,0)),new(L())(z().zAxis,new(z())(0,1,0))],t=[new(z())(-1,-1,1),new(z())(-1,-1,1),new(z())(-1,-1,1),new(z())(-1,-1,1),new(z())(1,1,1),new(z())(1,1,1)],r=new(W());return function(i){this.dependentRenderer.setRenderer(i);const n=this.dependentRenderer,s=this.getBrowser(),a=i.getLayer(),o=s.getContext(),u=n.getBackground(),d=n.getNavigationInfo(),h=n.getViewpoint(),p=s.getHeadlight(),l=d._headlight.getValue(),g=d.getNearValue(),x=d.getFarValue(h),T=U().perspective(Z().radians(90),g,x,1,1,this.projectionMatrix),c=this.frameBuffer.getWidth(),w=this.frameBuffer.getHeight();this.setTransparent(u.isTransparent()),this.frameBuffer.bind(),n.getViewVolumes().push(this.viewVolume.set(T,this.viewport,this.viewport)),n.getProjectionMatrix().pushMatrix(T),o.bindTexture(this.getTarget(),this.getTexture());for(let i=0;i<6;++i)o.clear(o.COLOR_BUFFER_BIT),n.getCameraSpaceMatrix().pushMatrix(this.modelMatrix),n.getCameraSpaceMatrix().rotate(e[i]),n.getCameraSpaceMatrix().scale(t[i]),n.getViewMatrix().pushMatrix(r.assign(n.getCameraSpaceMatrix().get()).inverse()),n.getModelViewMatrix().pushMatrix(r),l&&(p.modelViewMatrix.pushMatrix(r),p.modelViewMatrix.multLeft(h.getCameraSpaceMatrix())),a.traverse(v().DISPLAY,n),l&&p.modelViewMatrix.pop(),n.getModelViewMatrix().pop(),n.getCameraSpaceMatrix().pop(),n.getViewMatrix().pop(),o.bindTexture(this.getTarget(),this.getTexture()),o.copyTexSubImage2D(this.getTargets()[i],0,0,0,0,0,c,w);this.updateTextureParameters(),n.getProjectionMatrix().pop(),n.getViewVolumes().pop(),this.frameBuffer.unbind(),"NEXT_FRAME_ONLY"===this._update.getValue()&&(this._update="NONE")}})(),setShaderUniforms:(()=>{const e=new Float32Array(16);return function(t,r,i,n){w.prototype.setShaderUniforms.call(this,t,r,i,n),i===this.dependentRenderer&&t.uniformMatrix4fv(r.x3d_ModelViewMatrix,!1,e)}})()}),Object.defineProperties($,{typeName:{value:"GeneratedCubeMapTexture",enumerable:!0},componentName:{value:"CubeMapTexturing",enumerable:!0},containerField:{value:"texture",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(a())(l().inputOutput,"metadata",new(n().SFNode)),new(a())(l().inputOutput,"description",new(n().SFString)),new(a())(l().inputOutput,"update",new(n().SFString)("NONE")),new(a())(l().initializeOnly,"size",new(n().SFInt32)(128)),new(a())(l().initializeOnly,"textureProperties",new(n().SFNode))]),enumerable:!0}});const K=$;x().set("x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture",K);const J=K,Q=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Networking/X3DUrlObject");var ee=r.n(Q);const te=window[Symbol.for("X_ITE.X3D-8.10.1")].require("standard/Math/Numbers/Vector2");var re=r.n(te);const ie=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/DEVELOPMENT");var ne=r.n(ie),se=r(355);const ae=new Uint8Array([255,255,255,255]),oe=[new(re())(1,1),new(re())(3,1),new(re())(0,1),new(re())(2,1),new(re())(1,0),new(re())(1,2)];function ue(e){w.call(this,e),ee().call(this,e),this.addType(l().ImageCubeMapTexture),this.image=se("<img></img>"),this.canvas=se("<canvas></canvas>"),this.urlStack=new(n().MFString)}Object.assign(Object.setPrototypeOf(ue.prototype,w.prototype),ee().prototype,{initialize(){w.prototype.initialize.call(this),ee().prototype.initialize.call(this);const e=this.getBrowser().getContext();e.bindTexture(this.getTarget(),this.getTexture());for(let t=0;t<6;++t)e.texImage2D(this.getTargets()[t],0,e.RGBA,1,1,0,e.RGBA,e.UNSIGNED_BYTE,ae);this.image.on("load",this.setImage.bind(this)),this.image.on("abort error",this.setError.bind(this)),this.image.prop("crossOrigin","Anonymous"),this.requestImmediateLoad().catch(Function.prototype)},unloadData(){this.clearTexture()},loadData(){this.urlStack.setValue(this._url),this.loadNext()},loadNext(){if(0===this.urlStack.length)return this.clearTexture(),void this.setLoadState(l().FAILED_STATE);this.URL=new URL(this.urlStack.shift(),this.getExecutionContext().getWorldURL()),"data:"!==this.URL.protocol&&(this.getCache()||this.URL.searchParams.set("_",Date.now())),this.image.attr("src",this.URL.href)},setError(){"data:"!==this.URL.protocol&&console.warn(`Error loading image '${decodeURI(this.URL.href)}'`),this.loadNext()},setImage(){ne()&&"data:"!==this.URL.protocol&&console.info(`Done loading image cube map texture '${decodeURI(this.URL.href)}'`);try{const e=this.image[0],t=this.canvas[0],r=t.getContext("2d",{willReadFrequently:!0});let i=e.width,n=e.height,s=Math.floor(i/4),a=Math.floor(n/3);Z().isPowerOfTwo(s)&&Z().isPowerOfTwo(a)&&4*s===i&&3*a===n?(t.width=i,t.height=n,r.drawImage(e,0,0)):(s=Z().nextPowerOfTwo(s),a=Z().nextPowerOfTwo(a),i=4*s,n=3*a,t.width=i,t.height=n,r.drawImage(e,0,0,e.width,e.height,0,0,i,n));const o=this.getBrowser().getContext();let u=!0;o.bindTexture(this.getTarget(),this.getTexture());for(let e=0;e<6;++e){const t=r.getImageData(oe[e].x*s,oe[e].y*a,s,a).data;if(u)for(let e=3;e<t.length;e+=4)if(255!==t[e]){u=!1;break}o.texImage2D(this.getTargets()[e],0,o.RGBA,s,a,!1,o.RGBA,o.UNSIGNED_BYTE,new Uint8Array(t.buffer))}this.updateTextureParameters(),this.setTransparent(!u),this.setLoadState(l().COMPLETE_STATE)}catch(e){console.log(e.message),this.setError()}},dispose(){ee().prototype.dispose.call(this),w.prototype.dispose.call(this)}}),Object.defineProperties(ue,{typeName:{value:"ImageCubeMapTexture",enumerable:!0},componentName:{value:"CubeMapTexturing",enumerable:!0},containerField:{value:"texture",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(a())(l().inputOutput,"metadata",new(n().SFNode)),new(a())(l().inputOutput,"description",new(n().SFString)),new(a())(l().inputOutput,"load",new(n().SFBool)(!0)),new(a())(l().inputOutput,"url",new(n().MFString)),new(a())(l().inputOutput,"autoRefresh",new(n().SFTime)),new(a())(l().inputOutput,"autoRefreshTimeLimit",new(n().SFTime)(3600)),new(a())(l().initializeOnly,"textureProperties",new(n().SFNode))]),enumerable:!0}});const de=ue;x().set("x_ite/Components/CubeMapTexturing/ImageCubeMapTexture",de);const he=de;t().add({name:"CubeMapTexturing",concreteNodes:[S,J,he],abstractNodes:[w]});const pe=void 0;x().set("assets/components/CubeMapTexturing",pe)})()})();
|
|
1
|
+
/* X_ITE v8.11.0 */(()=>{"use strict";var e={355:e=>{e.exports=window[Symbol.for("X_ITE.X3D-8.11.0")].require("lib/jquery")}},t={};function r(i){var n=t[i];if(void 0!==n)return n.exports;var s=t[i]={exports:{}};return e[i](s,s.exports,r),s.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components");var t=r.n(e);const i=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Fields");var n=r.n(i);const s=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Base/X3DFieldDefinition");var a=r.n(s);const o=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Base/FieldDefinitionArray");var u=r.n(o);const d=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Texturing/X3DSingleTextureNode");var h=r.n(d);const p=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Base/X3DConstants");var l=r.n(p);const g=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Namespace");var x=r.n(g);function T(e){h().call(this,e),this.addType(l().X3DEnvironmentTextureNode);const t=this.getBrowser().getContext();this.target=t.TEXTURE_CUBE_MAP,this.targets=[t.TEXTURE_CUBE_MAP_POSITIVE_Z,t.TEXTURE_CUBE_MAP_NEGATIVE_Z,t.TEXTURE_CUBE_MAP_NEGATIVE_X,t.TEXTURE_CUBE_MAP_POSITIVE_X,t.TEXTURE_CUBE_MAP_POSITIVE_Y,t.TEXTURE_CUBE_MAP_NEGATIVE_Y]}Object.assign(Object.setPrototypeOf(T.prototype,h().prototype),{getTarget(){return this.target},getTextureType:()=>4,getTextureTypeString:()=>"CUBE",getTargets(){return this.targets},clearTexture:(()=>{const e=new Uint8Array([255,255,255,255]);return function(){const t=this.getBrowser().getContext();t.bindTexture(this.getTarget(),this.getTexture());for(const r of this.getTargets())t.texImage2D(r,0,t.RGBA,1,1,0,t.RGBA,t.UNSIGNED_BYTE,e);this.setTransparent(!1)}})(),updateTextureParameters(){h().prototype.updateTextureParameters.call(this,this.target,this._textureProperties.getValue(),this.texturePropertiesNode,128,128,!1,!1,!1)},setShaderUniforms(e,t,r,i=t.x3d_Texture[0]){const n=this.getBrowser().getTextureCubeUnit();e.activeTexture(e.TEXTURE0+n),e.bindTexture(e.TEXTURE_CUBE_MAP,this.getTexture()),e.uniform1i(i.textureCube,n)}}),Object.defineProperties(T,{typeName:{value:"X3DEnvironmentTextureNode",enumerable:!0},componentName:{value:"CubeMapTexturing",enumerable:!0}});const c=T;x().set("x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode",c);const w=c,_=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Base/X3DCast");var m=r.n(_);const f=window[Symbol.for("X_ITE.X3D-8.11.0")].require("standard/Utility/BitSet");var b=r.n(f);function E(e){w.call(this,e),this.addType(l().ComposedCubeMapTexture),e.getSpecificationVersion()<4&&(this.addAlias("front",this._frontTexture),this.addAlias("back",this._backTexture),this.addAlias("left",this._leftTexture),this.addAlias("right",this._rightTexture),this.addAlias("top",this._topTexture),this.addAlias("bottom",this._bottomTexture)),this.addChildObjects(l().inputOutput,"update",new(n().SFTime)),this.textureNodes=[null,null,null,null,null,null],this.textureBits=new(b())}Object.assign(Object.setPrototypeOf(E.prototype,w.prototype),{initialize(){w.prototype.initialize.call(this);const e=this.getBrowser().getContext();this.frameBuffer=e.createFramebuffer(),this.clearTexture(),this._frontTexture.addInterest("set_texture__",this,0),this._backTexture.addInterest("set_texture__",this,1),this._leftTexture.addInterest("set_texture__",this,2),this._rightTexture.addInterest("set_texture__",this,3),this._topTexture.addInterest("set_texture__",this,5),this._bottomTexture.addInterest("set_texture__",this,4),this._update.addInterest("update",this),this.set_texture__(this._frontTexture,0),this.set_texture__(this._backTexture,1),this.set_texture__(this._leftTexture,2),this.set_texture__(this._rightTexture,3),this.set_texture__(this._topTexture,4),this.set_texture__(this._bottomTexture,5)},set_texture__(e,t){let r=this.textureNodes[t];r?.removeInterest("set_loadState__",this),r=this.textureNodes[t]=m()(l().X3DTexture2DNode,e),r?.addInterest("set_loadState__",this,r,t),this.set_loadState__(r,t)},set_loadState__(e,t){this.setTextureBit(t,e,e?.checkLoadState()??l().NOT_STARTED),this._update.addEvent()},setTextureBit(e,t,r){this.textureBits.set(e,r===l().COMPLETE_STATE||t?.getWidth())},isComplete(){if(63!=+this.textureBits)return!1;const e=this.textureNodes,t=e[0].getWidth();for(const r of e){if(r.getWidth()!==t)return!1;if(r.getHeight()!==t)return!1}return!0},update(){if(this.isComplete()){const e=this.getBrowser().getContext(),t=this.textureNodes,r=e.getParameter(e.FRAMEBUFFER_BINDING);e.bindFramebuffer(e.FRAMEBUFFER,this.frameBuffer);for(let r=0;r<6;++r){const i=t[r],n=i.getWidth(),s=i.getHeight();switch(i.getType().at(-1)){case l().ImageTexture:case l().MovieTexture:e.bindTexture(this.getTarget(),this.getTexture()),e.getVersion()>=2?e.texImage2D(this.getTargets()[r],0,e.RGBA,n,s,0,e.RGBA,e.UNSIGNED_BYTE,i.getElement()):e.texImage2D(this.getTargets()[r],0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,i.getElement());break;default:e.bindTexture(e.TEXTURE_2D,i.getTexture()),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,i.getTexture(),0),e.bindTexture(this.getTarget(),this.getTexture()),e.texImage2D(this.getTargets()[r],0,e.RGBA,n,s,0,e.RGBA,e.UNSIGNED_BYTE,null),e.copyTexSubImage2D(this.getTargets()[r],0,0,0,0,0,n,s)}}e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!1),e.bindFramebuffer(e.FRAMEBUFFER,r),this.setTransparent(t.some((e=>e.isTransparent()))),this.updateTextureParameters()}else this.clearTexture()}}),Object.defineProperties(E,{typeName:{value:"ComposedCubeMapTexture",enumerable:!0},componentName:{value:"CubeMapTexturing",enumerable:!0},containerField:{value:"texture",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(a())(l().inputOutput,"metadata",new(n().SFNode)),new(a())(l().inputOutput,"description",new(n().SFString)),new(a())(l().inputOutput,"frontTexture",new(n().SFNode)),new(a())(l().inputOutput,"backTexture",new(n().SFNode)),new(a())(l().inputOutput,"leftTexture",new(n().SFNode)),new(a())(l().inputOutput,"rightTexture",new(n().SFNode)),new(a())(l().inputOutput,"topTexture",new(n().SFNode)),new(a())(l().inputOutput,"bottomTexture",new(n().SFNode)),new(a())(l().initializeOnly,"textureProperties",new(n().SFNode))]),enumerable:!0}});const y=E;x().set("x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture",y);const S=y,I=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Base/X3DBaseNode");var M=r.n(I);const O=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Rendering/X3DRenderObject");var N=r.n(O);const X=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Rendering/TraverseType");var v=r.n(X);function B(e){M().call(this,e),N().call(this,e),this.renderObject=null}Object.assign(Object.setPrototypeOf(B.prototype,M().prototype),N().prototype,{initialize(){M().prototype.initialize.call(this),N().prototype.initialize.call(this)},isIndependent:()=>!1,setRenderer(e){this.renderObject=e},getLayer(){return this.renderObject.getLayer()},getBackground(){return this.renderObject.getBackground()},getFog(){return this.renderObject.getFog()},getNavigationInfo(){return this.renderObject.getNavigationInfo()},getViewpoint(){return this.renderObject.getViewpoint()},getLightContainer(){return this.renderObject.getLights()[this.lightIndex++]},render(e,t,r){switch(e){case v().COLLISION:case v().SHADOW:N().prototype.render.call(this,e,t,r);break;case v().DISPLAY:this.lightIndex=0,N().prototype.render.call(this,e,t,r);for(const e of this.renderObject.getLights())e.modelViewMatrix.pop()}}});for(const e of Object.keys(B.prototype))Object.defineProperty(B.prototype,e,{enumerable:!1});const C=B;x().set("x_ite/Rendering/DependentRenderer",C);const D=C,R=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Rendering/TextureBuffer");var A=r.n(R);const F=window[Symbol.for("X_ITE.X3D-8.11.0")].require("standard/Math/Geometry/Camera");var U=r.n(F);const P=window[Symbol.for("X_ITE.X3D-8.11.0")].require("standard/Math/Geometry/ViewVolume");var V=r.n(P);const j=window[Symbol.for("X_ITE.X3D-8.11.0")].require("standard/Math/Numbers/Rotation4");var L=r.n(j);const G=window[Symbol.for("X_ITE.X3D-8.11.0")].require("standard/Math/Numbers/Vector3");var z=r.n(G);const q=window[Symbol.for("X_ITE.X3D-8.11.0")].require("standard/Math/Numbers/Vector4");var k=r.n(q);const Y=window[Symbol.for("X_ITE.X3D-8.11.0")].require("standard/Math/Numbers/Matrix4");var W=r.n(Y);const H=window[Symbol.for("X_ITE.X3D-8.11.0")].require("standard/Math/Algorithm");var Z=r.n(H);function $(e){w.call(this,e),this.addType(l().GeneratedCubeMapTexture),this.dependentRenderer=new D(e),this.projectionMatrix=new(W()),this.modelMatrix=new(W()),this.viewVolume=new(V())}Object.assign(Object.setPrototypeOf($.prototype,w.prototype),{initialize(){w.prototype.initialize.call(this),this._size.addInterest("set_size__",this),this.dependentRenderer.setup(),this.set_size__()},set_size__(){const e=this.getBrowser().getContext(),t=e.getVersion()>=2?this._size.getValue():Z().nextPowerOfTwo(this._size.getValue());if(t>0){const r=new Uint8Array(t*t*4);e.bindTexture(this.getTarget(),this.getTexture());for(const i of this.getTargets())e.texImage2D(i,0,e.RGBA,t,t,0,e.RGBA,e.UNSIGNED_BYTE,r);this.updateTextureParameters(),this.viewport=new(k())(0,0,t,t),this.frameBuffer=new(A())(this.getBrowser(),t,t)}else this.frameBuffer=null},traverse(e,t){"NONE"!==this._update.getValue()&&t.isIndependent()&&this.frameBuffer&&(t.getGeneratedCubeMapTextures().push(this),this.modelMatrix.assign(t.getModelViewMatrix().get()).multRight(t.getCameraSpaceMatrix().get()))},renderTexture:(()=>{const e=[new(L())(z().zAxis,new(z())(0,0,-1)),new(L())(z().zAxis,new(z())(0,0,1)),new(L())(z().zAxis,new(z())(1,0,0)),new(L())(z().zAxis,new(z())(-1,0,0)),new(L())(z().zAxis,new(z())(0,-1,0)),new(L())(z().zAxis,new(z())(0,1,0))],t=[new(z())(-1,-1,1),new(z())(-1,-1,1),new(z())(-1,-1,1),new(z())(-1,-1,1),new(z())(1,1,1),new(z())(1,1,1)],r=new(W());return function(i){this.dependentRenderer.setRenderer(i);const n=this.dependentRenderer,s=this.getBrowser(),a=i.getLayer(),o=s.getContext(),u=n.getBackground(),d=n.getNavigationInfo(),h=n.getViewpoint(),p=s.getHeadlight(),l=d._headlight.getValue(),g=d.getNearValue(),x=d.getFarValue(h),T=U().perspective(Z().radians(90),g,x,1,1,this.projectionMatrix),c=this.frameBuffer.getWidth(),w=this.frameBuffer.getHeight();this.setTransparent(u.isTransparent()),this.frameBuffer.bind(),n.getViewVolumes().push(this.viewVolume.set(T,this.viewport,this.viewport)),n.getProjectionMatrix().pushMatrix(T),o.bindTexture(this.getTarget(),this.getTexture());for(let i=0;i<6;++i)o.clear(o.COLOR_BUFFER_BIT),n.getCameraSpaceMatrix().pushMatrix(this.modelMatrix),n.getCameraSpaceMatrix().rotate(e[i]),n.getCameraSpaceMatrix().scale(t[i]),n.getViewMatrix().pushMatrix(r.assign(n.getCameraSpaceMatrix().get()).inverse()),n.getModelViewMatrix().pushMatrix(r),l&&(p.modelViewMatrix.pushMatrix(r),p.modelViewMatrix.multLeft(h.getCameraSpaceMatrix())),a.traverse(v().DISPLAY,n),l&&p.modelViewMatrix.pop(),n.getModelViewMatrix().pop(),n.getCameraSpaceMatrix().pop(),n.getViewMatrix().pop(),o.bindTexture(this.getTarget(),this.getTexture()),o.copyTexSubImage2D(this.getTargets()[i],0,0,0,0,0,c,w);this.updateTextureParameters(),n.getProjectionMatrix().pop(),n.getViewVolumes().pop(),this.frameBuffer.unbind(),"NEXT_FRAME_ONLY"===this._update.getValue()&&(this._update="NONE")}})(),setShaderUniforms:(()=>{const e=new Float32Array(16);return function(t,r,i,n){w.prototype.setShaderUniforms.call(this,t,r,i,n),i===this.dependentRenderer&&t.uniformMatrix4fv(r.x3d_ModelViewMatrix,!1,e)}})()}),Object.defineProperties($,{typeName:{value:"GeneratedCubeMapTexture",enumerable:!0},componentName:{value:"CubeMapTexturing",enumerable:!0},containerField:{value:"texture",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(a())(l().inputOutput,"metadata",new(n().SFNode)),new(a())(l().inputOutput,"description",new(n().SFString)),new(a())(l().inputOutput,"update",new(n().SFString)("NONE")),new(a())(l().initializeOnly,"size",new(n().SFInt32)(128)),new(a())(l().initializeOnly,"textureProperties",new(n().SFNode))]),enumerable:!0}});const K=$;x().set("x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture",K);const J=K,Q=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Networking/X3DUrlObject");var ee=r.n(Q);const te=window[Symbol.for("X_ITE.X3D-8.11.0")].require("standard/Math/Numbers/Vector2");var re=r.n(te);const ie=window[Symbol.for("X_ITE.X3D-8.11.0")].require("standard/Time/Time");var ne=r.n(ie);const se=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/DEVELOPMENT");var ae=r.n(se),oe=r(355);const ue=new Uint8Array([255,255,255,255]),de=[new(re())(1,1),new(re())(3,1),new(re())(0,1),new(re())(2,1),new(re())(1,0),new(re())(1,2)];function he(e){w.call(this,e),ee().call(this,e),this.addType(l().ImageCubeMapTexture),this.image=oe("<img></img>"),this.canvas=oe("<canvas></canvas>"),this.urlStack=new(n().MFString)}Object.assign(Object.setPrototypeOf(he.prototype,w.prototype),ee().prototype,{initialize(){w.prototype.initialize.call(this),ee().prototype.initialize.call(this);const e=this.getBrowser().getContext();e.bindTexture(this.getTarget(),this.getTexture());for(let t=0;t<6;++t)e.texImage2D(this.getTargets()[t],0,e.RGBA,1,1,0,e.RGBA,e.UNSIGNED_BYTE,ue);this.image.on("load",this.setImage.bind(this)),this.image.on("abort error",this.setError.bind(this)),this.image.prop("crossOrigin","Anonymous"),this.requestImmediateLoad().catch(Function.prototype)},unloadData(){this.clearTexture()},loadData(){this.urlStack.setValue(this._url),this.loadNext()},loadNext(){if(0===this.urlStack.length)return this.clearTexture(),void this.setLoadState(l().FAILED_STATE);this.URL=new URL(this.urlStack.shift(),this.getExecutionContext().getWorldURL()),"data:"!==this.URL.protocol&&(this.getCache()||this.URL.searchParams.set("_",ne().now())),this.image.attr("src",this.URL.href)},setError(){"data:"!==this.URL.protocol&&console.warn(`Error loading image '${decodeURI(this.URL.href)}'`),this.loadNext()},setImage(){ae()&&"data:"!==this.URL.protocol&&console.info(`Done loading image cube map texture '${decodeURI(this.URL.href)}'`);try{const e=this.image[0],t=this.canvas[0],r=t.getContext("2d",{willReadFrequently:!0});let i=e.width,n=e.height,s=Math.floor(i/4),a=Math.floor(n/3);Z().isPowerOfTwo(s)&&Z().isPowerOfTwo(a)&&4*s===i&&3*a===n?(t.width=i,t.height=n,r.drawImage(e,0,0)):(s=Z().nextPowerOfTwo(s),a=Z().nextPowerOfTwo(a),i=4*s,n=3*a,t.width=i,t.height=n,r.drawImage(e,0,0,e.width,e.height,0,0,i,n));const o=this.getBrowser().getContext();let u=!0;o.bindTexture(this.getTarget(),this.getTexture());for(let e=0;e<6;++e){const t=r.getImageData(de[e].x*s,de[e].y*a,s,a).data;if(u)for(let e=3;e<t.length;e+=4)if(255!==t[e]){u=!1;break}o.texImage2D(this.getTargets()[e],0,o.RGBA,s,a,!1,o.RGBA,o.UNSIGNED_BYTE,new Uint8Array(t.buffer))}this.updateTextureParameters(),this.setTransparent(!u),this.setLoadState(l().COMPLETE_STATE)}catch(e){console.log(e.message),this.setError()}},dispose(){ee().prototype.dispose.call(this),w.prototype.dispose.call(this)}}),Object.defineProperties(he,{typeName:{value:"ImageCubeMapTexture",enumerable:!0},componentName:{value:"CubeMapTexturing",enumerable:!0},containerField:{value:"texture",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(a())(l().inputOutput,"metadata",new(n().SFNode)),new(a())(l().inputOutput,"description",new(n().SFString)),new(a())(l().inputOutput,"load",new(n().SFBool)(!0)),new(a())(l().inputOutput,"url",new(n().MFString)),new(a())(l().inputOutput,"autoRefresh",new(n().SFTime)),new(a())(l().inputOutput,"autoRefreshTimeLimit",new(n().SFTime)(3600)),new(a())(l().initializeOnly,"textureProperties",new(n().SFNode))]),enumerable:!0}});const pe=he;x().set("x_ite/Components/CubeMapTexturing/ImageCubeMapTexture",pe);const le=pe;t().add({name:"CubeMapTexturing",concreteNodes:[S,J,le],abstractNodes:[w]});const ge=void 0;x().set("assets/components/CubeMapTexturing",ge)})()})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.
|
|
1
|
+
/* X_ITE v8.11.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,25 +39,25 @@ var __webpack_exports__ = {};
|
|
|
39
39
|
// UNUSED EXPORTS: default
|
|
40
40
|
|
|
41
41
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
42
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components");
|
|
43
43
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
44
44
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
45
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
45
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Fields");
|
|
46
46
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
47
47
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
48
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
48
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
49
49
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
50
50
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
51
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
51
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
52
52
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
53
53
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
54
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
54
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
55
55
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
57
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
57
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Base/X3DConstants");
|
|
58
58
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
59
59
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
60
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
60
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Namespace");
|
|
61
61
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
62
62
|
;// CONCATENATED MODULE: ./src/x_ite/Components/DIS/DISEntityManager.js
|
|
63
63
|
/*******************************************************************************
|
|
@@ -169,10 +169,10 @@ const __default__ = DISEntityManager;
|
|
|
169
169
|
Namespace_default().set ("x_ite/Components/DIS/DISEntityManager", __default__);
|
|
170
170
|
/* harmony default export */ const DIS_DISEntityManager = (__default__);
|
|
171
171
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DInfoNode\")"
|
|
172
|
-
const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
172
|
+
const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Core/X3DInfoNode");
|
|
173
173
|
var X3DInfoNode_default = /*#__PURE__*/__webpack_require__.n(X3DInfoNode_namespaceObject);
|
|
174
174
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
175
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
175
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
176
176
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
177
177
|
;// CONCATENATED MODULE: ./src/x_ite/Components/DIS/DISEntityTypeMapping.js
|
|
178
178
|
/*******************************************************************************
|
|
@@ -266,7 +266,7 @@ Object .defineProperties (DISEntityTypeMapping,
|
|
|
266
266
|
},
|
|
267
267
|
containerField:
|
|
268
268
|
{
|
|
269
|
-
value: "
|
|
269
|
+
value: "children",
|
|
270
270
|
enumerable: true,
|
|
271
271
|
},
|
|
272
272
|
specificationRange:
|
|
@@ -300,10 +300,10 @@ const DISEntityTypeMapping_default_ = DISEntityTypeMapping;
|
|
|
300
300
|
Namespace_default().set ("x_ite/Components/DIS/DISEntityTypeMapping", DISEntityTypeMapping_default_);
|
|
301
301
|
/* harmony default export */ const DIS_DISEntityTypeMapping = (DISEntityTypeMapping_default_);
|
|
302
302
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
|
|
303
|
-
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
303
|
+
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
|
|
304
304
|
var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
|
|
305
305
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DSensorNode\")"
|
|
306
|
-
const X3DSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
306
|
+
const X3DSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Core/X3DSensorNode");
|
|
307
307
|
var X3DSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DSensorNode_namespaceObject);
|
|
308
308
|
;// CONCATENATED MODULE: ./src/x_ite/Components/DIS/EspduTransform.js
|
|
309
309
|
/*******************************************************************************
|
|
@@ -505,7 +505,7 @@ const EspduTransform_default_ = EspduTransform;
|
|
|
505
505
|
Namespace_default().set ("x_ite/Components/DIS/EspduTransform", EspduTransform_default_);
|
|
506
506
|
/* harmony default export */ const DIS_EspduTransform = (EspduTransform_default_);
|
|
507
507
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
|
|
508
|
-
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
508
|
+
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
|
|
509
509
|
var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
|
|
510
510
|
;// CONCATENATED MODULE: ./src/x_ite/Components/DIS/ReceiverPdu.js
|
|
511
511
|
/*******************************************************************************
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.10.1 */(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var i in n)t.o(n,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:n[i]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const e=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components");var n=t.n(e);const i=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Fields");var u=t.n(i);const o=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Base/X3DFieldDefinition");var p=t.n(o);const a=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Base/FieldDefinitionArray");var w=t.n(a);const l=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Core/X3DChildNode");var r=t.n(l);const S=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Base/X3DConstants");var s=t.n(S);const F=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Namespace");var O=t.n(F);function c(t){r().call(this,t),this.addType(s().DISEntityManager),t.getSpecificationVersion()<=3.3&&this.addAlias("mapping",this._children)}Object.setPrototypeOf(c.prototype,r().prototype),Object.defineProperties(c,{typeName:{value:"DISEntityManager",enumerable:!0},componentName:{value:"DIS",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"children",new(u().MFNode)),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().outputOnly,"addedEntities",new(u().MFNode)),new(p())(s().outputOnly,"removedEntities",new(u().MFNode))]),enumerable:!0}});const d=c;O().set("x_ite/Components/DIS/DISEntityManager",d);const y=d,m=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Core/X3DInfoNode");var I=t.n(m);const b=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Networking/X3DUrlObject");var f=t.n(b);function D(t){I().call(this,t),f().call(this,t),this.addType(s().DISEntityTypeMapping)}Object.assign(Object.setPrototypeOf(D.prototype,I().prototype),f().prototype,{initialize(){I().prototype.initialize.call(this),f().prototype.initialize.call(this)},dispose(){f().prototype.dispose.call(this),I().prototype.dispose.call(this)}}),Object.defineProperties(D,{typeName:{value:"DISEntityTypeMapping",enumerable:!0},componentName:{value:"DIS",enumerable:!0},containerField:{value:"mapping",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"load",new(u().SFBool)(!0)),new(p())(s().inputOutput,"url",new(u().MFString)),new(p())(s().inputOutput,"autoRefresh",new(u().SFTime)),new(p())(s().inputOutput,"autoRefreshTimeLimit",new(u().SFTime)(3600)),new(p())(s().initializeOnly,"category",new(u().SFInt32)),new(p())(s().initializeOnly,"country",new(u().SFInt32)),new(p())(s().initializeOnly,"domain",new(u().SFInt32)),new(p())(s().initializeOnly,"extra",new(u().SFInt32)),new(p())(s().initializeOnly,"kind",new(u().SFInt32)),new(p())(s().initializeOnly,"specific",new(u().SFInt32)),new(p())(s().initializeOnly,"subcategory",new(u().SFInt32))]),enumerable:!0}});const h=D;O().set("x_ite/Components/DIS/DISEntityTypeMapping",h);const v=h,g=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Grouping/X3DGroupingNode");var T=t.n(g);const P=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Core/X3DSensorNode");var _=t.n(P);function B(t){T().call(this,t),_().call(this,t),this.addType(s().EspduTransform)}Object.assign(Object.setPrototypeOf(B.prototype,T().prototype),_().prototype,{initialize(){T().prototype.initialize.call(this),_().prototype.initialize.call(this)}}),Object.defineProperties(B,{typeName:{value:"EspduTransform",enumerable:!0},componentName:{value:"DIS",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOnly,"addChildren",new(u().MFNode)),new(p())(s().inputOnly,"removeChildren",new(u().MFNode)),new(p())(s().inputOutput,"children",new(u().MFNode)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOnly,"set_articulationParameterValue0",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue1",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue2",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue3",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue4",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue5",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue6",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue7",new(u().SFFloat)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"articulationParameterCount",new(u().SFInt32)),new(p())(s().inputOutput,"articulationParameterDesignatorArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterChangeIndicatorArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterIdPartAttachedToArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterTypeArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterArray",new(u().MFFloat)),new(p())(s().inputOutput,"center",new(u().SFVec3f)),new(p())(s().inputOutput,"collisionType",new(u().SFInt32)),new(p())(s().inputOutput,"deadReckoning",new(u().SFInt32)),new(p())(s().inputOutput,"detonationLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"detonationRelativeLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"detonationResult",new(u().SFInt32)),new(p())(s().inputOutput,"entityCategory",new(u().SFInt32)),new(p())(s().inputOutput,"entityCountry",new(u().SFInt32)),new(p())(s().inputOutput,"entityDomain",new(u().SFInt32)),new(p())(s().inputOutput,"entityExtra",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"entityKind",new(u().SFInt32)),new(p())(s().inputOutput,"entitySpecific",new(u().SFInt32)),new(p())(s().inputOutput,"entitySubCategory",new(u().SFInt32)),new(p())(s().inputOutput,"eventApplicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"eventEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"eventNumber",new(u().SFInt32)),new(p())(s().inputOutput,"eventSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"fired1",new(u().SFBool)),new(p())(s().inputOutput,"fired2",new(u().SFBool)),new(p())(s().inputOutput,"fireMissionIndex",new(u().SFInt32)),new(p())(s().inputOutput,"firingRange",new(u().SFFloat)),new(p())(s().inputOutput,"firingRate",new(u().SFInt32)),new(p())(s().inputOutput,"forceID",new(u().SFInt32)),new(p())(s().inputOutput,"fuse",new(u().SFInt32)),new(p())(s().inputOutput,"linearVelocity",new(u().SFVec3f)),new(p())(s().inputOutput,"linearAcceleration",new(u().SFVec3f)),new(p())(s().inputOutput,"marking",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"munitionApplicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"munitionEndPoint",new(u().SFVec3f)),new(p())(s().inputOutput,"munitionEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"munitionQuantity",new(u().SFInt32)),new(p())(s().inputOutput,"munitionSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"munitionStartPoint",new(u().SFVec3f)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFTime)(.1)),new(p())(s().inputOutput,"rotation",new(u().SFRotation)),new(p())(s().inputOutput,"scale",new(u().SFVec3f)(1,1,1)),new(p())(s().inputOutput,"scaleOrientation",new(u().SFRotation)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"translation",new(u().SFVec3f)),new(p())(s().inputOutput,"warhead",new(u().SFInt32)),new(p())(s().inputOutput,"writeInterval",new(u().SFTime)(1)),new(p())(s().outputOnly,"articulationParameterValue0_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue1_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue2_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue3_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue4_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue5_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue6_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue7_changed",new(u().SFFloat)),new(p())(s().outputOnly,"collideTime",new(u().SFTime)),new(p())(s().outputOnly,"detonateTime",new(u().SFTime)),new(p())(s().outputOnly,"firedTime",new(u().SFTime)),new(p())(s().outputOnly,"isCollided",new(u().SFBool)),new(p())(s().outputOnly,"isDetonated",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime)),new(p())(s().initializeOnly,"rtpHeaderExpected",new(u().SFBool))]),enumerable:!0}});const N=B;O().set("x_ite/Components/DIS/EspduTransform",N);const z=N,E=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Grouping/X3DBoundedObject");var V=t.n(E);function x(t){_().call(this,t),V().call(this,t),this.addType(s().ReceiverPdu)}Object.assign(Object.setPrototypeOf(x.prototype,_().prototype),V().prototype,{initialize(){_().prototype.initialize.call(this),V().prototype.initialize.call(this)},dispose(){V().prototype.dispose.call(this),_().prototype.dispose.call(this)}}),Object.defineProperties(x,{typeName:{value:"ReceiverPdu",enumerable:!0},componentName:{value:"DIS",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFFloat)(.1)),new(p())(s().inputOutput,"receivedPower",new(u().SFFloat)),new(p())(s().inputOutput,"receiverState",new(u().SFInt32)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterApplicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"transmitterEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterRadioID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFFloat)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime))]),enumerable:!0}});const R=x;O().set("x_ite/Components/DIS/ReceiverPdu",R);const C=R;function X(t){_().call(this,t),V().call(this,t),this.addType(s().SignalPdu)}Object.assign(Object.setPrototypeOf(X.prototype,_().prototype),V().prototype,{initialize(){_().prototype.initialize.call(this),V().prototype.initialize.call(this)},dispose(){V().prototype.dispose.call(this),_().prototype.dispose.call(this)}}),Object.defineProperties(X,{typeName:{value:"SignalPdu",enumerable:!0},componentName:{value:"DIS",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"data",new(u().MFInt32)),new(p())(s().inputOutput,"dataLength",new(u().SFInt32)),new(p())(s().inputOutput,"encodingScheme",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFFloat)(.1)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"sampleRate",new(u().SFInt32)),new(p())(s().inputOutput,"samples",new(u().SFInt32)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"tdlType",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFFloat)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime))]),enumerable:!0}});const j=X;O().set("x_ite/Components/DIS/SignalPdu",j);const M=j;function A(t){_().call(this,t),V().call(this,t),this.addType(s().TransmitterPdu)}Object.assign(Object.setPrototypeOf(A.prototype,_().prototype),V().prototype,{initialize(){_().prototype.initialize.call(this),V().prototype.initialize.call(this)},dispose(){V().prototype.dispose.call(this),_().prototype.dispose.call(this)}}),Object.defineProperties(A,{typeName:{value:"TransmitterPdu",enumerable:!0},componentName:{value:"DIS",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"antennaLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"antennaPatternLength",new(u().SFInt32)),new(p())(s().inputOutput,"antennaPatternType",new(u().SFInt32)),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"cryptoKeyID",new(u().SFInt32)),new(p())(s().inputOutput,"cryptoSystem",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"frequency",new(u().SFInt32)),new(p())(s().inputOutput,"inputSource",new(u().SFInt32)),new(p())(s().inputOutput,"lengthOfModulationParameters",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeDetail",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeMajor",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeSpreadSpectrum",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeSystem",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"power",new(u().SFFloat)),new(p())(s().inputOutput,"radioEntityTypeCategory",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeCountry",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeDomain",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeKind",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeNomenclature",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeNomenclatureVersion",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFFloat)(.1)),new(p())(s().inputOutput,"relativeAntennaLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitFrequencyBandwidth",new(u().SFFloat)),new(p())(s().inputOutput,"transmitState",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFFloat)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime))]),enumerable:!0}});const k=A;O().set("x_ite/Components/DIS/TransmitterPdu",k);const H=k;n().add({name:"DIS",concreteNodes:[y,v,z,C,M,H],abstractNodes:[]});const q=void 0;O().set("assets/components/DIS",q)})();
|
|
1
|
+
/* X_ITE v8.11.0 */(()=>{"use strict";var t={n:e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},d:(e,n)=>{for(var i in n)t.o(n,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:n[i]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const e=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components");var n=t.n(e);const i=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Fields");var u=t.n(i);const o=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Base/X3DFieldDefinition");var p=t.n(o);const a=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Base/FieldDefinitionArray");var w=t.n(a);const l=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Core/X3DChildNode");var r=t.n(l);const S=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Base/X3DConstants");var s=t.n(S);const F=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Namespace");var O=t.n(F);function c(t){r().call(this,t),this.addType(s().DISEntityManager),t.getSpecificationVersion()<=3.3&&this.addAlias("mapping",this._children)}Object.setPrototypeOf(c.prototype,r().prototype),Object.defineProperties(c,{typeName:{value:"DISEntityManager",enumerable:!0},componentName:{value:"DIS",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"children",new(u().MFNode)),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().outputOnly,"addedEntities",new(u().MFNode)),new(p())(s().outputOnly,"removedEntities",new(u().MFNode))]),enumerable:!0}});const d=c;O().set("x_ite/Components/DIS/DISEntityManager",d);const y=d,m=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Core/X3DInfoNode");var I=t.n(m);const b=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Networking/X3DUrlObject");var f=t.n(b);function D(t){I().call(this,t),f().call(this,t),this.addType(s().DISEntityTypeMapping)}Object.assign(Object.setPrototypeOf(D.prototype,I().prototype),f().prototype,{initialize(){I().prototype.initialize.call(this),f().prototype.initialize.call(this)},dispose(){f().prototype.dispose.call(this),I().prototype.dispose.call(this)}}),Object.defineProperties(D,{typeName:{value:"DISEntityTypeMapping",enumerable:!0},componentName:{value:"DIS",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"load",new(u().SFBool)(!0)),new(p())(s().inputOutput,"url",new(u().MFString)),new(p())(s().inputOutput,"autoRefresh",new(u().SFTime)),new(p())(s().inputOutput,"autoRefreshTimeLimit",new(u().SFTime)(3600)),new(p())(s().initializeOnly,"category",new(u().SFInt32)),new(p())(s().initializeOnly,"country",new(u().SFInt32)),new(p())(s().initializeOnly,"domain",new(u().SFInt32)),new(p())(s().initializeOnly,"extra",new(u().SFInt32)),new(p())(s().initializeOnly,"kind",new(u().SFInt32)),new(p())(s().initializeOnly,"specific",new(u().SFInt32)),new(p())(s().initializeOnly,"subcategory",new(u().SFInt32))]),enumerable:!0}});const h=D;O().set("x_ite/Components/DIS/DISEntityTypeMapping",h);const v=h,g=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Grouping/X3DGroupingNode");var T=t.n(g);const P=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Core/X3DSensorNode");var _=t.n(P);function B(t){T().call(this,t),_().call(this,t),this.addType(s().EspduTransform)}Object.assign(Object.setPrototypeOf(B.prototype,T().prototype),_().prototype,{initialize(){T().prototype.initialize.call(this),_().prototype.initialize.call(this)}}),Object.defineProperties(B,{typeName:{value:"EspduTransform",enumerable:!0},componentName:{value:"DIS",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOnly,"addChildren",new(u().MFNode)),new(p())(s().inputOnly,"removeChildren",new(u().MFNode)),new(p())(s().inputOutput,"children",new(u().MFNode)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOnly,"set_articulationParameterValue0",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue1",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue2",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue3",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue4",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue5",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue6",new(u().SFFloat)),new(p())(s().inputOnly,"set_articulationParameterValue7",new(u().SFFloat)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"articulationParameterCount",new(u().SFInt32)),new(p())(s().inputOutput,"articulationParameterDesignatorArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterChangeIndicatorArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterIdPartAttachedToArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterTypeArray",new(u().MFInt32)),new(p())(s().inputOutput,"articulationParameterArray",new(u().MFFloat)),new(p())(s().inputOutput,"center",new(u().SFVec3f)),new(p())(s().inputOutput,"collisionType",new(u().SFInt32)),new(p())(s().inputOutput,"deadReckoning",new(u().SFInt32)),new(p())(s().inputOutput,"detonationLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"detonationRelativeLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"detonationResult",new(u().SFInt32)),new(p())(s().inputOutput,"entityCategory",new(u().SFInt32)),new(p())(s().inputOutput,"entityCountry",new(u().SFInt32)),new(p())(s().inputOutput,"entityDomain",new(u().SFInt32)),new(p())(s().inputOutput,"entityExtra",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"entityKind",new(u().SFInt32)),new(p())(s().inputOutput,"entitySpecific",new(u().SFInt32)),new(p())(s().inputOutput,"entitySubCategory",new(u().SFInt32)),new(p())(s().inputOutput,"eventApplicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"eventEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"eventNumber",new(u().SFInt32)),new(p())(s().inputOutput,"eventSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"fired1",new(u().SFBool)),new(p())(s().inputOutput,"fired2",new(u().SFBool)),new(p())(s().inputOutput,"fireMissionIndex",new(u().SFInt32)),new(p())(s().inputOutput,"firingRange",new(u().SFFloat)),new(p())(s().inputOutput,"firingRate",new(u().SFInt32)),new(p())(s().inputOutput,"forceID",new(u().SFInt32)),new(p())(s().inputOutput,"fuse",new(u().SFInt32)),new(p())(s().inputOutput,"linearVelocity",new(u().SFVec3f)),new(p())(s().inputOutput,"linearAcceleration",new(u().SFVec3f)),new(p())(s().inputOutput,"marking",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"munitionApplicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"munitionEndPoint",new(u().SFVec3f)),new(p())(s().inputOutput,"munitionEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"munitionQuantity",new(u().SFInt32)),new(p())(s().inputOutput,"munitionSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"munitionStartPoint",new(u().SFVec3f)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFTime)(.1)),new(p())(s().inputOutput,"rotation",new(u().SFRotation)),new(p())(s().inputOutput,"scale",new(u().SFVec3f)(1,1,1)),new(p())(s().inputOutput,"scaleOrientation",new(u().SFRotation)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"translation",new(u().SFVec3f)),new(p())(s().inputOutput,"warhead",new(u().SFInt32)),new(p())(s().inputOutput,"writeInterval",new(u().SFTime)(1)),new(p())(s().outputOnly,"articulationParameterValue0_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue1_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue2_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue3_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue4_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue5_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue6_changed",new(u().SFFloat)),new(p())(s().outputOnly,"articulationParameterValue7_changed",new(u().SFFloat)),new(p())(s().outputOnly,"collideTime",new(u().SFTime)),new(p())(s().outputOnly,"detonateTime",new(u().SFTime)),new(p())(s().outputOnly,"firedTime",new(u().SFTime)),new(p())(s().outputOnly,"isCollided",new(u().SFBool)),new(p())(s().outputOnly,"isDetonated",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime)),new(p())(s().initializeOnly,"rtpHeaderExpected",new(u().SFBool))]),enumerable:!0}});const N=B;O().set("x_ite/Components/DIS/EspduTransform",N);const z=N,E=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Grouping/X3DBoundedObject");var V=t.n(E);function x(t){_().call(this,t),V().call(this,t),this.addType(s().ReceiverPdu)}Object.assign(Object.setPrototypeOf(x.prototype,_().prototype),V().prototype,{initialize(){_().prototype.initialize.call(this),V().prototype.initialize.call(this)},dispose(){V().prototype.dispose.call(this),_().prototype.dispose.call(this)}}),Object.defineProperties(x,{typeName:{value:"ReceiverPdu",enumerable:!0},componentName:{value:"DIS",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFFloat)(.1)),new(p())(s().inputOutput,"receivedPower",new(u().SFFloat)),new(p())(s().inputOutput,"receiverState",new(u().SFInt32)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterApplicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"transmitterEntityID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterRadioID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitterSiteID",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFFloat)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime))]),enumerable:!0}});const R=x;O().set("x_ite/Components/DIS/ReceiverPdu",R);const C=R;function X(t){_().call(this,t),V().call(this,t),this.addType(s().SignalPdu)}Object.assign(Object.setPrototypeOf(X.prototype,_().prototype),V().prototype,{initialize(){_().prototype.initialize.call(this),V().prototype.initialize.call(this)},dispose(){V().prototype.dispose.call(this),_().prototype.dispose.call(this)}}),Object.defineProperties(X,{typeName:{value:"SignalPdu",enumerable:!0},componentName:{value:"DIS",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"data",new(u().MFInt32)),new(p())(s().inputOutput,"dataLength",new(u().SFInt32)),new(p())(s().inputOutput,"encodingScheme",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFFloat)(.1)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"sampleRate",new(u().SFInt32)),new(p())(s().inputOutput,"samples",new(u().SFInt32)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"tdlType",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFFloat)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime))]),enumerable:!0}});const j=X;O().set("x_ite/Components/DIS/SignalPdu",j);const M=j;function A(t){_().call(this,t),V().call(this,t),this.addType(s().TransmitterPdu)}Object.assign(Object.setPrototypeOf(A.prototype,_().prototype),V().prototype,{initialize(){_().prototype.initialize.call(this),V().prototype.initialize.call(this)},dispose(){V().prototype.dispose.call(this),_().prototype.dispose.call(this)}}),Object.defineProperties(A,{typeName:{value:"TransmitterPdu",enumerable:!0},componentName:{value:"DIS",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(w())([new(p())(s().inputOutput,"metadata",new(u().SFNode)),new(p())(s().inputOutput,"visible",new(u().SFBool)(!0)),new(p())(s().inputOutput,"bboxDisplay",new(u().SFBool)),new(p())(s().initializeOnly,"bboxSize",new(u().SFVec3f)(-1,-1,-1)),new(p())(s().initializeOnly,"bboxCenter",new(u().SFVec3f)),new(p())(s().inputOutput,"enabled",new(u().SFBool)(!0)),new(p())(s().outputOnly,"isActive",new(u().SFBool)),new(p())(s().inputOutput,"address",new(u().SFString)("localhost")),new(p())(s().inputOutput,"antennaLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"antennaPatternLength",new(u().SFInt32)),new(p())(s().inputOutput,"antennaPatternType",new(u().SFInt32)),new(p())(s().inputOutput,"applicationID",new(u().SFInt32)(1)),new(p())(s().inputOutput,"cryptoKeyID",new(u().SFInt32)),new(p())(s().inputOutput,"cryptoSystem",new(u().SFInt32)),new(p())(s().inputOutput,"entityID",new(u().SFInt32)),new(p())(s().inputOutput,"frequency",new(u().SFInt32)),new(p())(s().inputOutput,"inputSource",new(u().SFInt32)),new(p())(s().inputOutput,"lengthOfModulationParameters",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeDetail",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeMajor",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeSpreadSpectrum",new(u().SFInt32)),new(p())(s().inputOutput,"modulationTypeSystem",new(u().SFInt32)),new(p())(s().inputOutput,"multicastRelayHost",new(u().SFString)),new(p())(s().inputOutput,"multicastRelayPort",new(u().SFInt32)),new(p())(s().inputOutput,"networkMode",new(u().SFString)("standAlone")),new(p())(s().inputOutput,"port",new(u().SFInt32)),new(p())(s().inputOutput,"power",new(u().SFFloat)),new(p())(s().inputOutput,"radioEntityTypeCategory",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeCountry",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeDomain",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeKind",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeNomenclature",new(u().SFInt32)),new(p())(s().inputOutput,"radioEntityTypeNomenclatureVersion",new(u().SFInt32)),new(p())(s().inputOutput,"radioID",new(u().SFInt32)),new(p())(s().inputOutput,"readInterval",new(u().SFFloat)(.1)),new(p())(s().inputOutput,"relativeAntennaLocation",new(u().SFVec3f)),new(p())(s().inputOutput,"rtpHeaderExpected",new(u().SFBool)),new(p())(s().inputOutput,"siteID",new(u().SFInt32)),new(p())(s().inputOutput,"transmitFrequencyBandwidth",new(u().SFFloat)),new(p())(s().inputOutput,"transmitState",new(u().SFInt32)),new(p())(s().inputOutput,"whichGeometry",new(u().SFInt32)(1)),new(p())(s().inputOutput,"writeInterval",new(u().SFFloat)(1)),new(p())(s().outputOnly,"isNetworkReader",new(u().SFBool)),new(p())(s().outputOnly,"isNetworkWriter",new(u().SFBool)),new(p())(s().outputOnly,"isRtpHeaderHeard",new(u().SFBool)),new(p())(s().outputOnly,"isStandAlone",new(u().SFBool)),new(p())(s().outputOnly,"timestamp",new(u().SFTime))]),enumerable:!0}});const k=A;O().set("x_ite/Components/DIS/TransmitterPdu",k);const H=k;n().add({name:"DIS",concreteNodes:[y,v,z,C,M,H],abstractNodes:[]});const q=void 0;O().set("assets/components/DIS",q)})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.
|
|
1
|
+
/* X_ITE v8.11.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,25 +39,25 @@ var __webpack_exports__ = {};
|
|
|
39
39
|
// UNUSED EXPORTS: default
|
|
40
40
|
|
|
41
41
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
42
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components");
|
|
43
43
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
44
44
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
45
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
45
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Fields");
|
|
46
46
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
47
47
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
48
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
48
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
49
49
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
50
50
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
51
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
51
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
52
52
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
53
53
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
54
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
54
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
55
55
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
57
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
57
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Base/X3DConstants");
|
|
58
58
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
59
59
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
60
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
60
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Namespace");
|
|
61
61
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
62
62
|
;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/BooleanFilter.js
|
|
63
63
|
/*******************************************************************************
|
|
@@ -183,7 +183,7 @@ const __default__ = BooleanFilter;
|
|
|
183
183
|
Namespace_default().set ("x_ite/Components/EventUtilities/BooleanFilter", __default__);
|
|
184
184
|
/* harmony default export */ const EventUtilities_BooleanFilter = (__default__);
|
|
185
185
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
186
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
186
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("standard/Math/Algorithm");
|
|
187
187
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
188
188
|
;// CONCATENATED MODULE: ./src/x_ite/Components/EventUtilities/X3DSequencerNode.js
|
|
189
189
|
/*******************************************************************************
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.
|
|
1
|
+
/* X_ITE v8.11.0 */(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Fields");var o=e.n(i);const a=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Base/X3DFieldDefinition");var l=e.n(a);const s=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Base/FieldDefinitionArray");var r=e.n(s);const u=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Core/X3DChildNode");var p=e.n(u);const c=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Base/X3DConstants");var d=e.n(c);const _=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Namespace");var h=e.n(_);function m(e){p().call(this,e),this.addType(d().BooleanFilter)}Object.assign(Object.setPrototypeOf(m.prototype,p().prototype),{initialize(){p().prototype.initialize.call(this),this._set_boolean.addInterest("set_boolean__",this)},set_boolean__(){const e=this._set_boolean.getValue();e?this._inputTrue=!0:this._inputFalse=!1,this._inputNegate=!e}}),Object.defineProperties(m,{typeName:{value:"BooleanFilter",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_boolean",new(o().SFBool)),new(l())(d().outputOnly,"inputTrue",new(o().SFBool)),new(l())(d().outputOnly,"inputFalse",new(o().SFBool)),new(l())(d().outputOnly,"inputNegate",new(o().SFBool))]),enumerable:!0}});const g=m;h().set("x_ite/Components/EventUtilities/BooleanFilter",g);const y=g,b=window[Symbol.for("X_ITE.X3D-8.11.0")].require("standard/Math/Algorithm");var w=e.n(b);function f(e){p().call(this,e),this.addType(d().X3DSequencerNode),this.index=-1}Object.assign(Object.setPrototypeOf(f.prototype,p().prototype),{initialize(){p().prototype.initialize.call(this),this._set_fraction.addInterest("set_fraction__",this),this._previous.addInterest("set_previous__",this),this._next.addInterest("set_next__",this),this._key.addInterest("set_index__",this)},set_fraction__(){const e=this._set_fraction.getValue(),t=this._key,n=t.length;if(0===n)return;let i=0;if(1===n||e<=t[0])i=0;else if(e>=t[n-1])i=this.getSize()-1;else{i=w().upperBound(t,0,n,e)-1}i!==this.index&&i<this.getSize()&&this.sequence(this.index=i)},set_previous__(){this._previous.getValue()&&(this.index<=0?this.index=this.getSize()-1:--this.index,this.index<this.getSize()&&this.sequence(this.index))},set_next__(){this._next.getValue()&&(this.index>=this.getSize()-1?this.index=0:++this.index,this.index<this.getSize()&&this.sequence(this.index))},set_index__(){this.index=-1}}),Object.defineProperties(f,{typeName:{value:"X3DSequencerNode",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0}});const v=f;h().set("x_ite/Components/EventUtilities/X3DSequencerNode",v);const O=v;function S(e){O.call(this,e),this.addType(d().BooleanSequencer)}Object.assign(Object.setPrototypeOf(S.prototype,O.prototype),{initialize(){O.prototype.initialize.call(this),this._keyValue.addInterest("set_index__",this)},getSize(){return this._keyValue.length},sequence(e){this._value_changed=this._keyValue[e]}}),Object.defineProperties(S,{typeName:{value:"BooleanSequencer",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_fraction",new(o().SFFloat)),new(l())(d().inputOnly,"previous",new(o().SFBool)),new(l())(d().inputOnly,"next",new(o().SFBool)),new(l())(d().inputOutput,"key",new(o().MFFloat)),new(l())(d().inputOutput,"keyValue",new(o().MFBool)),new(l())(d().outputOnly,"value_changed",new(o().SFBool))]),enumerable:!0}});const F=S;h().set("x_ite/Components/EventUtilities/BooleanSequencer",F);const T=F;function x(e){p().call(this,e),this.addType(d().BooleanToggle)}Object.assign(Object.setPrototypeOf(x.prototype,p().prototype),{initialize(){p().prototype.initialize.call(this),this._set_boolean.addInterest("set_boolean__",this)},set_boolean__(){this._set_boolean.getValue()&&(this._toggle=!this._toggle.getValue())}}),Object.defineProperties(x,{typeName:{value:"BooleanToggle",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_boolean",new(o().SFBool)),new(l())(d().inputOutput,"toggle",new(o().SFBool))]),enumerable:!0}});const N=x;h().set("x_ite/Components/EventUtilities/BooleanToggle",N);const I=N;function j(e){p().call(this,e),this.addType(d().X3DTriggerNode)}Object.setPrototypeOf(j.prototype,p().prototype),Object.defineProperties(j,{typeName:{value:"X3DTriggerNode",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0}});const B=j;h().set("x_ite/Components/EventUtilities/X3DTriggerNode",B);const z=B;function E(e){z.call(this,e),this.addType(d().BooleanTrigger)}Object.assign(Object.setPrototypeOf(E.prototype,z.prototype),{initialize(){z.prototype.initialize.call(this),this._set_triggerTime.addInterest("set_triggerTime__",this)},set_triggerTime__(){this._triggerTrue=!0}}),Object.defineProperties(E,{typeName:{value:"BooleanTrigger",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_triggerTime",new(o().SFTime)),new(l())(d().outputOnly,"triggerTrue",new(o().SFBool))]),enumerable:!0}});const D=E;h().set("x_ite/Components/EventUtilities/BooleanTrigger",D);const X=D;function q(e){O.call(this,e),this.addType(d().IntegerSequencer)}Object.assign(Object.setPrototypeOf(q.prototype,O.prototype),{initialize(){O.prototype.initialize.call(this),this._keyValue.addInterest("set_index__",this)},getSize(){return this._keyValue.length},sequence(e){this._value_changed=this._keyValue[e]}}),Object.defineProperties(q,{typeName:{value:"IntegerSequencer",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_fraction",new(o().SFFloat)),new(l())(d().inputOnly,"previous",new(o().SFBool)),new(l())(d().inputOnly,"next",new(o().SFBool)),new(l())(d().inputOutput,"key",new(o().MFFloat)),new(l())(d().inputOutput,"keyValue",new(o().MFInt32)),new(l())(d().outputOnly,"value_changed",new(o().SFInt32))]),enumerable:!0}});const P=q;h().set("x_ite/Components/EventUtilities/IntegerSequencer",P);const U=P;function V(e){z.call(this,e),this.addType(d().IntegerTrigger)}Object.assign(Object.setPrototypeOf(V.prototype,z.prototype),{initialize(){z.prototype.initialize.call(this),this._set_boolean.addInterest("set_boolean__",this)},set_boolean__(){this._triggerValue=this._integerKey}}),Object.defineProperties(V,{typeName:{value:"IntegerTrigger",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_boolean",new(o().SFBool)),new(l())(d().inputOutput,"integerKey",new(o().SFInt32)(-1)),new(l())(d().outputOnly,"triggerValue",new(o().SFInt32))]),enumerable:!0}});const C=V;h().set("x_ite/Components/EventUtilities/IntegerTrigger",C);const k=C;function R(e){z.call(this,e),this.addType(d().TimeTrigger)}Object.assign(Object.setPrototypeOf(R.prototype,z.prototype),{initialize(){z.prototype.initialize.call(this),this._set_boolean.addInterest("set_boolean__",this)},set_boolean__(){this._triggerTime=this.getBrowser().getCurrentTime()}}),Object.defineProperties(R,{typeName:{value:"TimeTrigger",enumerable:!0},componentName:{value:"EventUtilities",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(r())([new(l())(d().inputOutput,"metadata",new(o().SFNode)),new(l())(d().inputOnly,"set_boolean",new(o().SFBool)),new(l())(d().outputOnly,"triggerTime",new(o().SFTime))]),enumerable:!0}});const M=R;h().set("x_ite/Components/EventUtilities/TimeTrigger",M);const A=M;n().add({name:"EventUtilities",concreteNodes:[y,T,I,X,U,k,A],abstractNodes:[O,z]});const K=void 0;h().set("assets/components/EventUtilities",K)})();
|