x_ite 8.9.6 → 8.10.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/build/bin/tests.pl +1 -1
- 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 +26 -26
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +13 -13
- 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 +35 -34
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +37 -37
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +370 -208
- 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 +27 -30
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +26 -26
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +23 -23
- 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 +23 -23
- 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 +31 -31
- 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 +33 -33
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +18 -18
- 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 +9157 -8799
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +5 -5
- package/docs/_posts/components/Core/MetadataBoolean.md +1 -1
- package/docs/_posts/components/Core/MetadataDouble.md +1 -1
- package/docs/_posts/components/Core/MetadataFloat.md +1 -1
- package/docs/_posts/components/Core/MetadataInteger.md +1 -1
- package/docs/_posts/components/Core/MetadataSet.md +1 -1
- package/docs/_posts/components/Core/MetadataString.md +1 -1
- package/docs/_posts/components/Core/WorldInfo.md +1 -1
- package/docs/_posts/components/EventUtilities/BooleanFilter.md +2 -2
- package/docs/_posts/components/EventUtilities/BooleanSequencer.md +2 -2
- package/docs/_posts/components/EventUtilities/BooleanToggle.md +2 -2
- package/docs/_posts/components/EventUtilities/BooleanTrigger.md +2 -2
- package/docs/_posts/components/EventUtilities/IntegerSequencer.md +2 -2
- package/docs/_posts/components/EventUtilities/IntegerTrigger.md +2 -2
- package/docs/_posts/components/EventUtilities/TimeTrigger.md +2 -2
- package/docs/_posts/components/Geometry2D/Arc2D.md +1 -1
- package/docs/_posts/components/Geometry2D/ArcClose2D.md +1 -1
- package/docs/_posts/components/Geometry2D/Circle2D.md +1 -1
- package/docs/_posts/components/Geometry2D/Disk2D.md +1 -1
- package/docs/_posts/components/Geometry2D/Polyline2D.md +1 -1
- package/docs/_posts/components/Geometry2D/Polypoint2D.md +1 -1
- package/docs/_posts/components/Geometry2D/Rectangle2D.md +1 -1
- package/docs/_posts/components/HAnim/HAnimHumanoid.md +17 -17
- package/docs/_posts/components/Interpolation/ColorInterpolator.md +1 -1
- package/docs/_posts/components/Interpolation/CoordinateInterpolator.md +1 -1
- package/docs/_posts/components/Interpolation/CoordinateInterpolator2D.md +1 -1
- package/docs/_posts/components/Interpolation/NormalInterpolator.md +1 -1
- package/docs/_posts/components/Interpolation/OrientationInterpolator.md +1 -1
- package/docs/_posts/components/Interpolation/PositionInterpolator.md +1 -1
- package/docs/_posts/components/Interpolation/PositionInterpolator2D.md +1 -1
- package/docs/_posts/components/Interpolation/ScalarInterpolator.md +1 -1
- package/docs/_posts/components/KeyDeviceSensor/KeySensor.md +1 -1
- package/docs/_posts/components/KeyDeviceSensor/StringSensor.md +1 -1
- package/docs/_posts/components/Networking/LoadSensor.md +1 -1
- package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +1 -1
- package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +1 -1
- package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +1 -1
- package/docs/_posts/components/Text/Text.md +1 -1
- package/docs/_posts/components/Time/TimeSensor.md +1 -1
- package/docs/_posts/reference/browser-services.md +6 -6
- package/docs/laboratory/gltf-sample-viewer.html +1 -1
- package/package.json +1 -1
- package/src/assets/shaders/webgl1/Depth.vs.js +4 -4
- package/src/assets/shaders/webgl1/Pointing.fs.js +1 -1
- package/src/assets/shaders/webgl2/Depth.vs.js +7 -4
- package/src/assets/shaders/webgl2/LineTransform.vs.js +24 -12
- package/src/assets/shaders/webgl2/Pointing.fs.js +1 -1
- package/src/assets/shaders/webgl2/Pointing.vs.js +12 -9
- package/src/assets/shaders/webgl2/include/Particle.glsl.js +5 -15
- package/src/assets/shaders/webgl2/include/Skin.glsl.js +88 -0
- package/src/assets/shaders/webgl2/include/Utils.glsl.js +13 -0
- package/src/assets/shaders/webgl2/include/Vertex.glsl.js +17 -8
- package/src/bookmarks.js +54 -2
- package/src/tests.js +0 -360
- package/src/x_ite/Base/X3DArrayField.js +18 -3
- package/src/x_ite/Base/X3DBaseNode.js +73 -56
- package/src/x_ite/Base/X3DObjectArrayField.js +6 -4
- package/src/x_ite/Browser/Core/Context.js +14 -4
- package/src/x_ite/Browser/Core/Notification.js +4 -3
- package/src/x_ite/Browser/Core/X3DCoreContext.js +8 -8
- package/src/x_ite/Browser/Geometry2D/Arc2DOptions.js +4 -3
- package/src/x_ite/Browser/Geometry2D/ArcClose2DOptions.js +4 -3
- package/src/x_ite/Browser/Geometry2D/Circle2DOptions.js +6 -6
- package/src/x_ite/Browser/Geometry2D/Disk2DOptions.js +9 -10
- package/src/x_ite/Browser/Geometry3D/ConeOptions.js +5 -4
- package/src/x_ite/Browser/Geometry3D/CylinderOptions.js +5 -4
- package/src/x_ite/Browser/Geometry3D/IcoSphereOptions.js +3 -2
- package/src/x_ite/Browser/Geometry3D/QuadSphereOptions.js +3 -2
- package/src/x_ite/Browser/Layout/ScreenText.js +2 -2
- package/src/x_ite/Browser/Navigation/ExamineViewer.js +4 -4
- package/src/x_ite/Browser/Navigation/LookAtViewer.js +4 -4
- package/src/x_ite/Browser/Navigation/PlaneViewer.js +3 -3
- package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +3 -3
- package/src/x_ite/Browser/Navigation/X3DNavigationContext.js +6 -5
- package/src/x_ite/Browser/Navigation/X3DViewer.js +2 -13
- package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +5 -4
- package/src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js +8 -18
- package/src/x_ite/Browser/PointingDeviceSensor/X3DPointingDeviceSensorContext.js +17 -5
- package/src/x_ite/Browser/Rendering/X3DRenderingContext.js +6 -5
- package/src/x_ite/Browser/Shaders/Shaders.js +4 -0
- package/src/x_ite/Browser/Shape/X3DShapeContext.js +3 -3
- package/src/x_ite/Browser/Sound/X3DSoundContext.js +4 -3
- package/src/x_ite/Browser/Text/PolygonText.js +2 -2
- package/src/x_ite/Browser/Texturing/X3DTexturingContext.js +1 -1
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Browser/X3DBrowser.js +49 -17
- package/src/x_ite/Browser/X3DBrowserContext.js +8 -7
- package/src/x_ite/Components/Core/X3DChildNode.js +2 -5
- package/src/x_ite/Components/Core/X3DPrototypeInstance.js +14 -14
- package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +1 -1
- package/src/x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode.js +1 -1
- package/src/x_ite/Components/Geometry3D/ElevationGrid.js +5 -2
- package/src/x_ite/Components/Geometry3D/Extrusion.js +24 -13
- package/src/x_ite/Components/Geometry3D/IndexedFaceSet.js +5 -2
- package/src/x_ite/Components/Geospatial/GeoElevationGrid.js +2 -2
- package/src/x_ite/Components/Geospatial/GeoViewpoint.js +2 -2
- package/src/x_ite/Components/Grouping/X3DBoundedObject.js +1 -2
- package/src/x_ite/Components/HAnim/HAnimHumanoid.js +314 -161
- package/src/x_ite/Components/HAnim/HAnimJoint.js +37 -25
- package/src/x_ite/Components/Layering/X3DLayerNode.js +2 -2
- package/src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsPositionInterpolator.js +1 -1
- package/src/x_ite/Components/Navigation/NavigationInfo.js +4 -4
- package/src/x_ite/Components/Navigation/OrthoViewpoint.js +1 -1
- package/src/x_ite/Components/Navigation/X3DViewpointNode.js +12 -12
- package/src/x_ite/Components/Networking/X3DUrlObject.js +18 -11
- package/src/x_ite/Components/Rendering/IndexedLineSet.js +17 -14
- package/src/x_ite/Components/Rendering/LineSet.js +16 -13
- package/src/x_ite/Components/Rendering/PointSet.js +16 -12
- package/src/x_ite/Components/Rendering/X3DColorNode.js +1 -3
- package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +3 -0
- package/src/x_ite/Components/Rendering/X3DGeometryNode.js +48 -77
- package/src/x_ite/Components/Rendering/X3DLineGeometryNode.js +31 -12
- package/src/x_ite/Components/Rendering/X3DPointGeometryNode.js +3 -0
- package/src/x_ite/Components/RigidBodyPhysics/RigidBody.js +3 -3
- package/src/x_ite/Components/RigidBodyPhysics/X3DNBodyCollidableNode.js +2 -2
- package/src/x_ite/Components/RigidBodyPhysics/X3DRigidJointNode.js +1 -1
- package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +24 -7
- package/src/x_ite/Components/Shaders/X3DVertexAttributeNode.js +1 -1
- package/src/x_ite/Components/Shape/FillProperties.js +1 -3
- package/src/x_ite/Components/Shape/X3DAppearanceNode.js +1 -3
- package/src/x_ite/Components/Shape/X3DMaterialNode.js +8 -6
- package/src/x_ite/Components/Shape/X3DOneSidedMaterialNode.js +0 -2
- package/src/x_ite/Components/Sound/AudioClip.js +1 -1
- package/src/x_ite/Components/Sound/BufferAudioSource.js +1 -1
- package/src/x_ite/Components/Sound/ListenerPointSource.js +2 -2
- package/src/x_ite/Components/Sound/MicrophoneSource.js +2 -2
- package/src/x_ite/Components/Sound/OscillatorSource.js +2 -2
- package/src/x_ite/Components/Sound/Sound.js +1 -1
- package/src/x_ite/Components/Sound/StreamAudioSource.js +2 -2
- package/src/x_ite/Components/Sound/X3DSoundProcessingNode.js +1 -1
- package/src/x_ite/Components/Text/X3DFontStyleNode.js +4 -4
- package/src/x_ite/Components/Texturing/MultiTexture.js +1 -1
- package/src/x_ite/Components/Texturing/PixelTexture.js +1 -1
- package/src/x_ite/Components/Texturing/X3DSingleTextureCoordinateNode.js +2 -2
- package/src/x_ite/Components/Texturing/X3DTextureNode.js +1 -3
- package/src/x_ite/Components/Texturing3D/ComposedTexture3D.js +2 -2
- package/src/x_ite/Components/Texturing3D/PixelTexture3D.js +1 -1
- package/src/x_ite/Components/Time/TimeSensor.js +1 -1
- package/src/x_ite/Components/Time/X3DTimeDependentNode.js +2 -2
- package/src/x_ite/Execution/X3DExecutionContext.js +3 -4
- package/src/x_ite/Execution/X3DScene.js +4 -4
- package/src/x_ite/Execution/X3DWorld.js +1 -1
- package/src/x_ite/Parser/GLTF2Parser.js +196 -116
- package/src/x_ite/Parser/X3DOptimizer.js +47 -18
- package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +4 -4
- package/src/x_ite/Prototype/X3DProtoDeclarationNode.js +1 -1
- package/src/x_ite/Rendering/X3DRenderObject.js +20 -12
- package/src/x_ite.html +36 -10
- package/x_ite.min.html +36 -10
package/build/bin/tests.pl
CHANGED
|
@@ -40,7 +40,7 @@ EOT
|
|
|
40
40
|
|
|
41
41
|
sub tests
|
|
42
42
|
{
|
|
43
|
-
my @files = sort { "\U$a" cmp "\U$b" } `find /Volumes/Home/Projekte/Library/Tests -type f -name "*.x3d" -o -name "*.x3dz" -o -name "*.x3dj" -o -name "*.x3djz" -o -name "*.x3dv" -o -name "*.x3dvz" -o -name "*.wrl"`;
|
|
43
|
+
my @files = sort { "\U$a" cmp "\U$b" } grep !m|/\.|, `find /Volumes/Home/Projekte/Library/Tests -type f -name "*.x3d" -o -name "*.x3dz" -o -name "*.x3dj" -o -name "*.x3djz" -o -name "*.x3dv" -o -name "*.x3dvz" -o -name "*.wrl"`;
|
|
44
44
|
|
|
45
45
|
chomp @files;
|
|
46
46
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.
|
|
1
|
+
/* X_ITE v8.10.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,31 +39,31 @@ 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.10.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.10.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.10.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.10.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/Layering/X3DLayerNode\")"
|
|
54
|
-
const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
54
|
+
const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.10.0")] .require ("x_ite/Components/Layering/X3DLayerNode");
|
|
55
55
|
var X3DLayerNode_default = /*#__PURE__*/__webpack_require__.n(X3DLayerNode_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/Viewpoint\")"
|
|
57
|
-
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
57
|
+
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.10.0")] .require ("x_ite/Components/Navigation/Viewpoint");
|
|
58
58
|
var Viewpoint_default = /*#__PURE__*/__webpack_require__.n(Viewpoint_namespaceObject);
|
|
59
59
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/Group\")"
|
|
60
|
-
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
60
|
+
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.10.0")] .require ("x_ite/Components/Grouping/Group");
|
|
61
61
|
var Group_default = /*#__PURE__*/__webpack_require__.n(Group_namespaceObject);
|
|
62
62
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
63
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
63
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.10.0")] .require ("x_ite/Base/X3DConstants");
|
|
64
64
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
65
65
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
66
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
66
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.10.0")] .require ("x_ite/Namespace");
|
|
67
67
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
68
68
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/AnnotationLayer.js
|
|
69
69
|
/*******************************************************************************
|
|
@@ -180,7 +180,7 @@ const __default__ = AnnotationLayer;
|
|
|
180
180
|
Namespace_default().set ("x_ite/Components/Annotation/AnnotationLayer", __default__);
|
|
181
181
|
/* harmony default export */ const Annotation_AnnotationLayer = (__default__);
|
|
182
182
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
183
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
183
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.10.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
184
184
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
185
185
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/AnnotationTarget.js
|
|
186
186
|
/*******************************************************************************
|
|
@@ -292,7 +292,7 @@ const AnnotationTarget_default_ = AnnotationTarget;
|
|
|
292
292
|
Namespace_default().set ("x_ite/Components/Annotation/AnnotationTarget", AnnotationTarget_default_);
|
|
293
293
|
/* harmony default export */ const Annotation_AnnotationTarget = (AnnotationTarget_default_);
|
|
294
294
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
|
|
295
|
-
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
295
|
+
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.10.0")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
|
|
296
296
|
var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
|
|
297
297
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/X3DAnnotationNode.js
|
|
298
298
|
/*******************************************************************************
|
|
@@ -504,7 +504,7 @@ const GroupAnnotation_default_ = GroupAnnotation;
|
|
|
504
504
|
Namespace_default().set ("x_ite/Components/Annotation/GroupAnnotation", GroupAnnotation_default_);
|
|
505
505
|
/* harmony default export */ const Annotation_GroupAnnotation = (GroupAnnotation_default_);
|
|
506
506
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
507
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
507
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.10.0")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
508
508
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
509
509
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/IconAnnotation.js
|
|
510
510
|
/*******************************************************************************
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.
|
|
1
|
+
/* X_ITE v8.10.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.10.0")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Fields");var o=e.n(i);const a=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Base/X3DFieldDefinition");var p=e.n(a);const r=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Base/FieldDefinitionArray");var u=e.n(r);const l=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Components/Layering/X3DLayerNode");var s=e.n(l);const c=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Components/Navigation/Viewpoint");var w=e.n(c);const d=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Components/Grouping/Group");var m=e.n(d);const y=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Base/X3DConstants");var b=e.n(y);const O=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Namespace");var f=e.n(O);function S(e){s().call(this,e,new(w())(e),new(m())(e)),this.addType(b().AnnotationLayer)}Object.assign(Object.setPrototypeOf(S.prototype,s().prototype),{initialize(){s().prototype.initialize.call(this)}}),Object.defineProperties(S,{typeName:{value:"AnnotationLayer",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"layers",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(p())(b().inputOutput,"metadata",new(o().SFNode)),new(p())(b().inputOutput,"isPickable",new(o().SFBool)(!0)),new(p())(b().inputOutput,"layoutPolicy",new(o().MFString)),new(p())(b().inputOutput,"shownGroupID",new(o().MFString)),new(p())(b().inputOutput,"viewport",new(o().SFNode))]),enumerable:!0}});const v=S;f().set("x_ite/Components/Annotation/AnnotationLayer",v);const F=v,h=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Components/Core/X3DChildNode");var N=e.n(h);function A(e){N().call(this,e),this.addType(b().AnnotationTarget)}Object.assign(Object.setPrototypeOf(A.prototype,N().prototype),{initialize(){N().prototype.initialize.call(this)}}),Object.defineProperties(A,{typeName:{value:"AnnotationTarget",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(p())(b().inputOutput,"metadata",new(o().SFNode)),new(p())(b().inputOutput,"referencePoint",new(o().SFVec3f)(0,0,0)),new(p())(b().inputOutput,"leadLineStyle",new(o().SFNode)),new(p())(b().inputOutput,"marker",new(o().SFNode)),new(p())(b().inputOutput,"annotations",new(o().MFNode))]),enumerable:!0}});const g=A;f().set("x_ite/Components/Annotation/AnnotationTarget",g);const D=g,X=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Components/Grouping/X3DGroupingNode");var _=e.n(X);function j(e){N().call(this,e),this.addType(b().X3DAnnotationNode)}Object.assign(Object.setPrototypeOf(j.prototype,N().prototype),{initialize(){N().prototype.initialize.call(this)}}),Object.defineProperties(j,{typeName:{value:"X3DAnnotationNode",enumerable:!0},componentName:{value:"Annotation",enumerable:!0}});const T=j;f().set("x_ite/Components/Annotation/X3DAnnotationNode",T);const x=T;function I(e){_().call(this,e),x.call(this,e),this.addType(b().GroupAnnotation)}Object.assign(Object.setPrototypeOf(I.prototype,_().prototype),x.prototype,{initialize(){_().prototype.initialize.call(this),x.prototype.initialize.call(this)},dispose(){x.prototype.dispose.call(this),_().prototype.dispose.call(this)}}),Object.defineProperties(I,{typeName:{value:"GroupAnnotation",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(p())(b().inputOutput,"metadata",new(o().SFNode)),new(p())(b().inputOutput,"enabled",new(o().SFBool)(!0)),new(p())(b().inputOutput,"annotationGroupID",new(o().SFString)),new(p())(b().inputOutput,"displayPolicy",new(o().SFString)("NEVER")),new(p())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(p())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(p())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(p())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)(0,0,0)),new(p())(b().inputOnly,"addChildren",new(o().MFNode)),new(p())(b().inputOnly,"removeChildren",new(o().MFNode)),new(p())(b().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const z=I;f().set("x_ite/Components/Annotation/GroupAnnotation",z);const P=z,C=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Components/Networking/X3DUrlObject");var E=e.n(C);function R(e){x.call(this,e),E().call(this,e),this.addType(b().IconAnnotation)}Object.assign(Object.setPrototypeOf(R.prototype,x.prototype),E().prototype,{initialize(){x.prototype.initialize.call(this),E().prototype.initialize.call(this)},requestImmediateLoad(e=!0){},dispose(){E().prototype.dispose.call(this),x.prototype.dispose.call(this)}}),Object.defineProperties(R,{typeName:{value:"IconAnnotation",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(p())(b().inputOutput,"metadata",new(o().SFNode)),new(p())(b().inputOutput,"enabled",new(o().SFBool)(!0)),new(p())(b().inputOutput,"annotationGroupID",new(o().SFString)),new(p())(b().inputOutput,"displayPolicy",new(o().SFString)("NEVER")),new(p())(b().inputOutput,"url",new(o().MFString)),new(p())(b().inputOutput,"autoRefresh",new(o().SFTime)),new(p())(b().inputOutput,"autoRefreshTimeLimit",new(o().SFTime)(3600))]),enumerable:!0}});const q=R;f().set("x_ite/Components/Annotation/IconAnnotation",q);const G=q;function L(e){x.call(this,e),this.addType(b().TextAnnotation)}Object.assign(Object.setPrototypeOf(L.prototype,x.prototype),{initialize(){x.prototype.initialize.call(this)}}),Object.defineProperties(L,{typeName:{value:"TextAnnotation",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(p())(b().inputOutput,"metadata",new(o().SFNode)),new(p())(b().inputOutput,"enabled",new(o().SFBool)(!0)),new(p())(b().inputOutput,"annotationGroupID",new(o().SFString)),new(p())(b().inputOutput,"displayPolicy",new(o().SFString)("NEVER")),new(p())(b().inputOutput,"contentType",new(o().SFString)("text/plain")),new(p())(b().inputOutput,"text",new(o().SFString))]),enumerable:!0}});const B=L;f().set("x_ite/Components/Annotation/TextAnnotation",B);const M=B;function V(e){x.call(this,e),this.addType(b().URLAnnotation)}Object.assign(Object.setPrototypeOf(V.prototype,x.prototype),{initialize(){x.prototype.initialize.call(this)}}),Object.defineProperties(V,{typeName:{value:"URLAnnotation",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(p())(b().inputOutput,"metadata",new(o().SFNode)),new(p())(b().inputOutput,"enabled",new(o().SFBool)(!0)),new(p())(b().inputOutput,"annotationGroupID",new(o().SFString)),new(p())(b().inputOutput,"displayPolicy",new(o().SFString)("NEVER")),new(p())(b().inputOutput,"url",new(o().MFString))]),enumerable:!0}});const U=V;f().set("x_ite/Components/Annotation/URLAnnotation",U);const k=U;n().add({name:"Annotation",concreteNodes:[F,D,P,G,M,k],abstractNodes:[x]});const H=void 0;f().set("assets/components/Annotation",H)})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.
|
|
1
|
+
/* X_ITE v8.10.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,28 +39,28 @@ 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.10.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.10.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.10.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.10.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/Grouping/X3DGroupingNode\")"
|
|
54
|
-
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
54
|
+
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.10.0")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
|
|
55
55
|
var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
57
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
57
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.10.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
58
58
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
59
59
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
60
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
60
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.10.0")] .require ("x_ite/Base/X3DConstants");
|
|
61
61
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
62
62
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
63
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
63
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.10.0")] .require ("x_ite/Namespace");
|
|
64
64
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
65
65
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/X3DProductStructureChildNode.js
|
|
66
66
|
/*******************************************************************************
|
|
@@ -254,10 +254,10 @@ const CADAssembly_default_ = CADAssembly;
|
|
|
254
254
|
Namespace_default().set ("x_ite/Components/CADGeometry/CADAssembly", CADAssembly_default_);
|
|
255
255
|
/* harmony default export */ const CADGeometry_CADAssembly = (CADAssembly_default_);
|
|
256
256
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
|
|
257
|
-
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
257
|
+
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.10.0")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
|
|
258
258
|
var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
|
|
259
259
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
260
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
260
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.10.0")] .require ("x_ite/Rendering/TraverseType");
|
|
261
261
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
262
262
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/CADFace.js
|
|
263
263
|
/*******************************************************************************
|
|
@@ -624,7 +624,7 @@ const CADLayer_default_ = CADLayer;
|
|
|
624
624
|
Namespace_default().set ("x_ite/Components/CADGeometry/CADLayer", CADLayer_default_);
|
|
625
625
|
/* harmony default export */ const CADGeometry_CADLayer = (CADLayer_default_);
|
|
626
626
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DTransformNode\")"
|
|
627
|
-
const X3DTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
627
|
+
const X3DTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.10.0")] .require ("x_ite/Components/Grouping/X3DTransformNode");
|
|
628
628
|
var X3DTransformNode_default = /*#__PURE__*/__webpack_require__.n(X3DTransformNode_namespaceObject);
|
|
629
629
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/CADPart.js
|
|
630
630
|
/*******************************************************************************
|
|
@@ -744,7 +744,7 @@ const CADPart_default_ = CADPart;
|
|
|
744
744
|
Namespace_default().set ("x_ite/Components/CADGeometry/CADPart", CADPart_default_);
|
|
745
745
|
/* harmony default export */ const CADGeometry_CADPart = (CADPart_default_);
|
|
746
746
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DComposedGeometryNode\")"
|
|
747
|
-
const X3DComposedGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
747
|
+
const X3DComposedGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.10.0")] .require ("x_ite/Components/Rendering/X3DComposedGeometryNode");
|
|
748
748
|
var X3DComposedGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DComposedGeometryNode_namespaceObject);
|
|
749
749
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/IndexedQuadSet.js
|
|
750
750
|
/*******************************************************************************
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.9.6 */(()=>{"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.9.6")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Fields");var o=e.n(i);const r=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Base/X3DFieldDefinition");var a=e.n(r);const s=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Base/FieldDefinitionArray");var l=e.n(s);const u=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Components/Grouping/X3DGroupingNode");var d=e.n(u);const p=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Components/Core/X3DChildNode");var c=e.n(p);const b=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Base/X3DConstants");var w=e.n(b);const m=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Namespace");var h=e.n(m);function y(e){c().call(this,e),this.addType(w().X3DProductStructureChildNode)}Object.setPrototypeOf(y.prototype,c().prototype),Object.defineProperties(y,{typeName:{value:"X3DProductStructureChildNode",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0}});const O=y;h().set("x_ite/Components/CADGeometry/X3DProductStructureChildNode",O);const _=O;function f(e){d().call(this,e),_.call(this,e),this.addType(w().CADAssembly)}Object.assign(Object.setPrototypeOf(f.prototype,d().prototype),{}),Object.defineProperties(f,{typeName:{value:"CADAssembly",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const S=f;h().set("x_ite/Components/CADGeometry/CADAssembly",S);const v=S,N=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Components/Grouping/X3DBoundedObject");var F=e.n(N);const D=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Rendering/TraverseType");var C=e.n(D);function x(e){_.call(this,e),F().call(this,e),this.addType(w().CADFace),this.childNode=null,this.visibleNode=null,this.boundedObject=null}Object.assign(Object.setPrototypeOf(x.prototype,_.prototype),F().prototype,{initialize(){_.prototype.initialize.call(this),F().prototype.initialize.call(this),this._shape.addInterest("set_shape__",this),this.set_shape__()},getBBox(e,t){return this._bboxSize.getValue().equals(this.getDefaultBBoxSize())?this.visibleNode?.getBBox(e,t)??e.set():e.set(this._bboxSize.getValue(),this._bboxCenter.getValue())},set_shape__(){this.childNode&&(this.childNode._isCameraObject.removeInterest("set_cameraObject__",this),this.childNode._isPickableObject.removeInterest("set_transformSensors__",this),this.childNode._visible.removeInterest("set_visible__",this),this.childNode._bboxDisplay.removeInterest("set_bboxDisplay__",this)),this.childNode=null;try{const e=this._shape.getValue().getInnerNode(),t=e.getType();for(let n=t.length-1;n>=0;--n){switch(t[n]){case w().LOD:case w().Transform:case w().X3DShapeNode:e._isCameraObject.addInterest("set_cameraObject__",this),e._isPickableObject.addInterest("set_transformSensors__",this),e._visible.addInterest("set_visible__",this),e._bboxDisplay.addInterest("set_bboxDisplay__",this),this.childNode=e;break;default:continue}break}}catch{}this.childNode?delete this.traverse:this.traverse=Function.prototype,this.set_visible__(),this.set_bboxDisplay__()},set_cameraObject__(){this.setCameraObject(!!this.visibleNode?.isCameraObject())},set_transformSensors__(){this.setPickableObject(!!this.visibleNode?.isPickableObject())},set_visible__(){this.childNode?this.visibleNode=this.childNode._visible.getValue()?this.childNode:null:this.visibleNode=null,this.set_cameraObject__(),this.set_transformSensors__()},set_bboxDisplay__(){this.childNode?this.boundedObject=this.childNode._bboxDisplay.getValue()?this.childNode:null:this.boundedObject=null},traverse(e,t){switch(e){case C().POINTER:case C().CAMERA:case C().SHADOW:return void this.visibleNode?.traverse(e,t);case C().PICKING:{const n=this.getBrowser().getPickingHierarchy();return n.push(this),this.visibleNode?.traverse(e,t),void n.pop()}case C().COLLISION:return void this.visibleNode?.traverse(e,t);case C().DISPLAY:return this.visibleNode?.traverse(e,t),void this.boundedObject?.displayBBox(e,t)}},dispose(){F().prototype.dispose.call(this),_.prototype.dispose.call(this)}}),Object.defineProperties(x,{typeName:{value:"CADFace",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOutput,"shape",new(o().SFNode))]),enumerable:!0}});const g=x;h().set("x_ite/Components/CADGeometry/CADFace",g);const j=g;function I(e){d().call(this,e),this.addType(w().CADLayer)}Object.setPrototypeOf(I.prototype,d().prototype),Object.defineProperties(I,{typeName:{value:"CADLayer",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const z=I;h().set("x_ite/Components/CADGeometry/CADLayer",z);const A=z,P=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Components/Grouping/X3DTransformNode");var X=e.n(P);function B(e){X().call(this,e),_.call(this,e),this.addType(w().CADPart)}Object.assign(Object.setPrototypeOf(B.prototype,X().prototype),{}),Object.defineProperties(B,{typeName:{value:"CADPart",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"translation",new(o().SFVec3f)),new(a())(w().inputOutput,"rotation",new(o().SFRotation)),new(a())(w().inputOutput,"scale",new(o().SFVec3f)(1,1,1)),new(a())(w().inputOutput,"scaleOrientation",new(o().SFRotation)),new(a())(w().inputOutput,"center",new(o().SFVec3f)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const T=B;h().set("x_ite/Components/CADGeometry/CADPart",T);const G=T,V=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Components/Rendering/X3DComposedGeometryNode");var M=e.n(V);function E(e){M().call(this,e),this.addType(w().IndexedQuadSet)}Object.assign(Object.setPrototypeOf(E.prototype,M().prototype),{initialize(){M().prototype.initialize.call(this),this._set_index.addFieldInterest(this._index)},getTriangleIndex:function(e){const t=e%6;return 4*Math.floor(e/6)+t%3+Math.floor(t/4)},getPolygonIndex(e){return this._index[e]},build(){let e=this._index.length;e-=e%4,M().prototype.build.call(this,4,e,6,e/4*6)}}),Object.defineProperties(E,{typeName:{value:"IndexedQuadSet",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOnly,"set_index",new(o().MFInt32)),new(a())(w().initializeOnly,"solid",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"ccw",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"index",new(o().MFInt32)),new(a())(w().inputOutput,"attrib",new(o().MFNode)),new(a())(w().inputOutput,"fogCoord",new(o().SFNode)),new(a())(w().inputOutput,"color",new(o().SFNode)),new(a())(w().inputOutput,"texCoord",new(o().SFNode)),new(a())(w().inputOutput,"normal",new(o().SFNode)),new(a())(w().inputOutput,"coord",new(o().SFNode))]),enumerable:!0}});const q=E;h().set("x_ite/Components/CADGeometry/IndexedQuadSet",q);const R=q;function k(e){M().call(this,e),this.addType(w().QuadSet)}Object.assign(Object.setPrototypeOf(k.prototype,M().prototype),{getTriangleIndex:function(e){const t=e%6;return 4*Math.floor(e/6)+t%3+Math.floor(t/4)},build(){if(!this.getCoord())return;let e=this.getCoord().getSize();e-=e%4,M().prototype.build.call(this,4,e,6,e/4*6)},createNormals(e,t){return this.createFaceNormals(e,t)}}),Object.defineProperties(k,{typeName:{value:"QuadSet",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().initializeOnly,"solid",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"ccw",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(a())(w().inputOutput,"attrib",new(o().MFNode)),new(a())(w().inputOutput,"fogCoord",new(o().SFNode)),new(a())(w().inputOutput,"color",new(o().SFNode)),new(a())(w().inputOutput,"texCoord",new(o().SFNode)),new(a())(w().inputOutput,"normal",new(o().SFNode)),new(a())(w().inputOutput,"coord",new(o().SFNode))]),enumerable:!0}});const L=k;h().set("x_ite/Components/CADGeometry/QuadSet",L);const Q=L;n().add({name:"CADGeometry",concreteNodes:[v,j,A,G,R,Q],abstractNodes:[_]});const H=void 0;h().set("assets/components/CADGeometry",H)})();
|
|
1
|
+
/* X_ITE v8.10.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.10.0")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Fields");var o=e.n(i);const r=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Base/X3DFieldDefinition");var a=e.n(r);const s=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Base/FieldDefinitionArray");var l=e.n(s);const u=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Components/Grouping/X3DGroupingNode");var d=e.n(u);const p=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Components/Core/X3DChildNode");var c=e.n(p);const b=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Base/X3DConstants");var w=e.n(b);const m=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Namespace");var h=e.n(m);function y(e){c().call(this,e),this.addType(w().X3DProductStructureChildNode)}Object.setPrototypeOf(y.prototype,c().prototype),Object.defineProperties(y,{typeName:{value:"X3DProductStructureChildNode",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0}});const O=y;h().set("x_ite/Components/CADGeometry/X3DProductStructureChildNode",O);const _=O;function f(e){d().call(this,e),_.call(this,e),this.addType(w().CADAssembly)}Object.assign(Object.setPrototypeOf(f.prototype,d().prototype),{}),Object.defineProperties(f,{typeName:{value:"CADAssembly",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const S=f;h().set("x_ite/Components/CADGeometry/CADAssembly",S);const v=S,N=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Components/Grouping/X3DBoundedObject");var F=e.n(N);const D=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Rendering/TraverseType");var C=e.n(D);function x(e){_.call(this,e),F().call(this,e),this.addType(w().CADFace),this.childNode=null,this.visibleNode=null,this.boundedObject=null}Object.assign(Object.setPrototypeOf(x.prototype,_.prototype),F().prototype,{initialize(){_.prototype.initialize.call(this),F().prototype.initialize.call(this),this._shape.addInterest("set_shape__",this),this.set_shape__()},getBBox(e,t){return this._bboxSize.getValue().equals(this.getDefaultBBoxSize())?this.visibleNode?.getBBox(e,t)??e.set():e.set(this._bboxSize.getValue(),this._bboxCenter.getValue())},set_shape__(){this.childNode&&(this.childNode._isCameraObject.removeInterest("set_cameraObject__",this),this.childNode._isPickableObject.removeInterest("set_transformSensors__",this),this.childNode._visible.removeInterest("set_visible__",this),this.childNode._bboxDisplay.removeInterest("set_bboxDisplay__",this)),this.childNode=null;try{const e=this._shape.getValue().getInnerNode(),t=e.getType();for(let n=t.length-1;n>=0;--n){switch(t[n]){case w().LOD:case w().Transform:case w().X3DShapeNode:e._isCameraObject.addInterest("set_cameraObject__",this),e._isPickableObject.addInterest("set_transformSensors__",this),e._visible.addInterest("set_visible__",this),e._bboxDisplay.addInterest("set_bboxDisplay__",this),this.childNode=e;break;default:continue}break}}catch{}this.childNode?delete this.traverse:this.traverse=Function.prototype,this.set_visible__(),this.set_bboxDisplay__()},set_cameraObject__(){this.setCameraObject(!!this.visibleNode?.isCameraObject())},set_transformSensors__(){this.setPickableObject(!!this.visibleNode?.isPickableObject())},set_visible__(){this.childNode?this.visibleNode=this.childNode._visible.getValue()?this.childNode:null:this.visibleNode=null,this.set_cameraObject__(),this.set_transformSensors__()},set_bboxDisplay__(){this.childNode?this.boundedObject=this.childNode._bboxDisplay.getValue()?this.childNode:null:this.boundedObject=null},traverse(e,t){switch(e){case C().POINTER:case C().CAMERA:case C().SHADOW:return void this.visibleNode?.traverse(e,t);case C().PICKING:{const n=this.getBrowser().getPickingHierarchy();return n.push(this),this.visibleNode?.traverse(e,t),void n.pop()}case C().COLLISION:return void this.visibleNode?.traverse(e,t);case C().DISPLAY:return this.visibleNode?.traverse(e,t),void this.boundedObject?.displayBBox(e,t)}},dispose(){F().prototype.dispose.call(this),_.prototype.dispose.call(this)}}),Object.defineProperties(x,{typeName:{value:"CADFace",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOutput,"shape",new(o().SFNode))]),enumerable:!0}});const g=x;h().set("x_ite/Components/CADGeometry/CADFace",g);const j=g;function I(e){d().call(this,e),this.addType(w().CADLayer)}Object.setPrototypeOf(I.prototype,d().prototype),Object.defineProperties(I,{typeName:{value:"CADLayer",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const z=I;h().set("x_ite/Components/CADGeometry/CADLayer",z);const A=z,P=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Components/Grouping/X3DTransformNode");var X=e.n(P);function B(e){X().call(this,e),_.call(this,e),this.addType(w().CADPart)}Object.assign(Object.setPrototypeOf(B.prototype,X().prototype),{}),Object.defineProperties(B,{typeName:{value:"CADPart",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"translation",new(o().SFVec3f)),new(a())(w().inputOutput,"rotation",new(o().SFRotation)),new(a())(w().inputOutput,"scale",new(o().SFVec3f)(1,1,1)),new(a())(w().inputOutput,"scaleOrientation",new(o().SFRotation)),new(a())(w().inputOutput,"center",new(o().SFVec3f)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const T=B;h().set("x_ite/Components/CADGeometry/CADPart",T);const G=T,V=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Components/Rendering/X3DComposedGeometryNode");var M=e.n(V);function E(e){M().call(this,e),this.addType(w().IndexedQuadSet)}Object.assign(Object.setPrototypeOf(E.prototype,M().prototype),{initialize(){M().prototype.initialize.call(this),this._set_index.addFieldInterest(this._index)},getTriangleIndex:function(e){const t=e%6;return 4*Math.floor(e/6)+t%3+Math.floor(t/4)},getPolygonIndex(e){return this._index[e]},build(){let e=this._index.length;e-=e%4,M().prototype.build.call(this,4,e,6,e/4*6)}}),Object.defineProperties(E,{typeName:{value:"IndexedQuadSet",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOnly,"set_index",new(o().MFInt32)),new(a())(w().initializeOnly,"solid",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"ccw",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"index",new(o().MFInt32)),new(a())(w().inputOutput,"attrib",new(o().MFNode)),new(a())(w().inputOutput,"fogCoord",new(o().SFNode)),new(a())(w().inputOutput,"color",new(o().SFNode)),new(a())(w().inputOutput,"texCoord",new(o().SFNode)),new(a())(w().inputOutput,"normal",new(o().SFNode)),new(a())(w().inputOutput,"coord",new(o().SFNode))]),enumerable:!0}});const q=E;h().set("x_ite/Components/CADGeometry/IndexedQuadSet",q);const R=q;function k(e){M().call(this,e),this.addType(w().QuadSet)}Object.assign(Object.setPrototypeOf(k.prototype,M().prototype),{getTriangleIndex:function(e){const t=e%6;return 4*Math.floor(e/6)+t%3+Math.floor(t/4)},build(){if(!this.getCoord())return;let e=this.getCoord().getSize();e-=e%4,M().prototype.build.call(this,4,e,6,e/4*6)},createNormals(e,t){return this.createFaceNormals(e,t)}}),Object.defineProperties(k,{typeName:{value:"QuadSet",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().initializeOnly,"solid",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"ccw",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(a())(w().inputOutput,"attrib",new(o().MFNode)),new(a())(w().inputOutput,"fogCoord",new(o().SFNode)),new(a())(w().inputOutput,"color",new(o().SFNode)),new(a())(w().inputOutput,"texCoord",new(o().SFNode)),new(a())(w().inputOutput,"normal",new(o().SFNode)),new(a())(w().inputOutput,"coord",new(o().SFNode))]),enumerable:!0}});const L=k;h().set("x_ite/Components/CADGeometry/QuadSet",L);const Q=L;n().add({name:"CADGeometry",concreteNodes:[v,j,A,G,R,Q],abstractNodes:[_]});const H=void 0;h().set("assets/components/CADGeometry",H)})();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* X_ITE v8.
|
|
1
|
+
/* X_ITE v8.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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
|
/*******************************************************************************
|
|
@@ -317,7 +317,7 @@ function ComposedCubeMapTexture (executionContext)
|
|
|
317
317
|
this .addAlias ("bottom", this ._bottomTexture);
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
this .addChildObjects ("update", new (Fields_default()).SFTime ());
|
|
320
|
+
this .addChildObjects ((X3DConstants_default()).inputOutput, "update", new (Fields_default()).SFTime ());
|
|
321
321
|
|
|
322
322
|
this .textureNodes = [null, null, null, null, null, null];
|
|
323
323
|
this .textureBits = new (BitSet_default()) ();
|
|
@@ -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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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,13 @@ 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.10.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.10.0")] .require ("standard/Math/Numbers/Vector2");
|
|
978
978
|
var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
|
|
979
979
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/DEVELOPMENT\")"
|
|
980
|
-
const DEVELOPMENT_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
980
|
+
const DEVELOPMENT_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.10.0")] .require ("x_ite/DEVELOPMENT");
|
|
981
981
|
var DEVELOPMENT_default = /*#__PURE__*/__webpack_require__.n(DEVELOPMENT_namespaceObject);
|
|
982
982
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js
|
|
983
983
|
/* provided dependency */ var $ = __webpack_require__(355);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.9.6 */(()=>{"use strict";var e={355:e=>{e.exports=window[Symbol.for("X_ITE.X3D-8.9.6")].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.9.6")].require("x_ite/Components");var t=r.n(e);const i=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Fields");var n=r.n(i);const s=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Base/X3DFieldDefinition");var a=r.n(s);const o=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Base/FieldDefinitionArray");var u=r.n(o);const d=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Components/Texturing/X3DSingleTextureNode");var h=r.n(d);const l=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Base/X3DConstants");var p=r.n(l);const g=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Namespace");var x=r.n(g);function T(e){h().call(this,e),this.addType(p().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.9.6")].require("x_ite/Base/X3DCast");var m=r.n(_);const f=window[Symbol.for("X_ITE.X3D-8.9.6")].require("standard/Utility/BitSet");var b=r.n(f);function E(e){w.call(this,e),this.addType(p().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("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()(p().X3DTexture2DNode,e),r?.addInterest("set_loadState__",this,r,t),this.set_loadState__(r,t)},set_loadState__(e,t){this.setTextureBit(t,e,e?.checkLoadState()??p().NOT_STARTED),this._update.addEvent()},setTextureBit(e,t,r){this.textureBits.set(e,r===p().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 p().ImageTexture:case p().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())(p().inputOutput,"metadata",new(n().SFNode)),new(a())(p().inputOutput,"description",new(n().SFString)),new(a())(p().inputOutput,"frontTexture",new(n().SFNode)),new(a())(p().inputOutput,"backTexture",new(n().SFNode)),new(a())(p().inputOutput,"leftTexture",new(n().SFNode)),new(a())(p().inputOutput,"rightTexture",new(n().SFNode)),new(a())(p().inputOutput,"topTexture",new(n().SFNode)),new(a())(p().inputOutput,"bottomTexture",new(n().SFNode)),new(a())(p().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.9.6")].require("x_ite/Base/X3DBaseNode");var M=r.n(I);const O=window[Symbol.for("X_ITE.X3D-8.9.6")].require("x_ite/Rendering/X3DRenderObject");var N=r.n(O);const B=window[Symbol.for("X_ITE.X3D-8.9.6")].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.9.6")].require("x_ite/Rendering/TextureBuffer");var A=r.n(R);const F=window[Symbol.for("X_ITE.X3D-8.9.6")].require("standard/Math/Geometry/Camera");var U=r.n(F);const P=window[Symbol.for("X_ITE.X3D-8.9.6")].require("standard/Math/Geometry/ViewVolume");var V=r.n(P);const j=window[Symbol.for("X_ITE.X3D-8.9.6")].require("standard/Math/Numbers/Rotation4");var L=r.n(j);const G=window[Symbol.for("X_ITE.X3D-8.9.6")].require("standard/Math/Numbers/Vector3");var z=r.n(G);const q=window[Symbol.for("X_ITE.X3D-8.9.6")].require("standard/Math/Numbers/Vector4");var k=r.n(q);const Y=window[Symbol.for("X_ITE.X3D-8.9.6")].require("standard/Math/Numbers/Matrix4");var W=r.n(Y);const H=window[Symbol.for("X_ITE.X3D-8.9.6")].require("standard/Math/Algorithm");var Z=r.n(H);function $(e){w.call(this,e),this.addType(p().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(),l=s.getHeadlight(),p=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),p&&(l.modelViewMatrix.pushMatrix(r),l.modelViewMatrix.multLeft(h.getCameraSpaceMatrix())),a.traverse(v().DISPLAY,n),p&&l.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())(p().inputOutput,"metadata",new(n().SFNode)),new(a())(p().inputOutput,"description",new(n().SFString)),new(a())(p().inputOutput,"update",new(n().SFString)("NONE")),new(a())(p().initializeOnly,"size",new(n().SFInt32)(128)),new(a())(p().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.9.6")].require("x_ite/Components/Networking/X3DUrlObject");var ee=r.n(Q);const te=window[Symbol.for("X_ITE.X3D-8.9.6")].require("standard/Math/Numbers/Vector2");var re=r.n(te);const ie=window[Symbol.for("X_ITE.X3D-8.9.6")].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(p().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(p().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(p().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())(p().inputOutput,"metadata",new(n().SFNode)),new(a())(p().inputOutput,"description",new(n().SFString)),new(a())(p().inputOutput,"load",new(n().SFBool)(!0)),new(a())(p().inputOutput,"url",new(n().MFString)),new(a())(p().inputOutput,"autoRefresh",new(n().SFTime)),new(a())(p().inputOutput,"autoRefreshTimeLimit",new(n().SFTime)(3600)),new(a())(p().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 le=void 0;x().set("assets/components/CubeMapTexturing",le)})()})();
|
|
1
|
+
/* X_ITE v8.10.0 */(()=>{"use strict";var e={355:e=>{e.exports=window[Symbol.for("X_ITE.X3D-8.10.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.10.0")].require("x_ite/Components");var t=r.n(e);const i=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Fields");var n=r.n(i);const s=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Base/X3DFieldDefinition");var a=r.n(s);const o=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Base/FieldDefinitionArray");var u=r.n(o);const d=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Components/Texturing/X3DSingleTextureNode");var h=r.n(d);const p=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Base/X3DConstants");var l=r.n(p);const g=window[Symbol.for("X_ITE.X3D-8.10.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.10.0")].require("x_ite/Base/X3DCast");var m=r.n(_);const f=window[Symbol.for("X_ITE.X3D-8.10.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.10.0")].require("x_ite/Base/X3DBaseNode");var M=r.n(I);const O=window[Symbol.for("X_ITE.X3D-8.10.0")].require("x_ite/Rendering/X3DRenderObject");var N=r.n(O);const B=window[Symbol.for("X_ITE.X3D-8.10.0")].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.0")].require("x_ite/Rendering/TextureBuffer");var A=r.n(R);const F=window[Symbol.for("X_ITE.X3D-8.10.0")].require("standard/Math/Geometry/Camera");var U=r.n(F);const P=window[Symbol.for("X_ITE.X3D-8.10.0")].require("standard/Math/Geometry/ViewVolume");var V=r.n(P);const j=window[Symbol.for("X_ITE.X3D-8.10.0")].require("standard/Math/Numbers/Rotation4");var L=r.n(j);const G=window[Symbol.for("X_ITE.X3D-8.10.0")].require("standard/Math/Numbers/Vector3");var z=r.n(G);const q=window[Symbol.for("X_ITE.X3D-8.10.0")].require("standard/Math/Numbers/Vector4");var k=r.n(q);const Y=window[Symbol.for("X_ITE.X3D-8.10.0")].require("standard/Math/Numbers/Matrix4");var W=r.n(Y);const H=window[Symbol.for("X_ITE.X3D-8.10.0")].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.0")].require("x_ite/Components/Networking/X3DUrlObject");var ee=r.n(Q);const te=window[Symbol.for("X_ITE.X3D-8.10.0")].require("standard/Math/Numbers/Vector2");var re=r.n(te);const ie=window[Symbol.for("X_ITE.X3D-8.10.0")].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,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.
|
|
1
|
+
/* X_ITE v8.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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
|
/*******************************************************************************
|
|
@@ -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.10.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.10.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.10.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
|
/*******************************************************************************
|