x_ite 8.7.8 → 8.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Makefile +3 -0
- package/build/bin/version.pl +1 -1
- package/dist/assets/components/Annotation.js +248 -169
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +296 -233
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +217 -172
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +451 -387
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +309 -208
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +397 -333
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +705 -575
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +319 -259
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +134 -99
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +305 -240
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +781 -626
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +632 -460
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +376 -295
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +936 -749
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +173 -103
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +241 -207
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +162 -129
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +485 -384
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +741 -547
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +66 -54
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +61554 -59658
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +2 -2
- package/package.json +4 -4
- package/src/assets/components/Annotation.js +14 -14
- package/src/assets/components/CADGeometry.js +14 -14
- package/src/assets/components/CubeMapTexturing.js +11 -11
- package/src/assets/components/DIS.js +13 -13
- package/src/assets/components/EventUtilities.js +16 -16
- package/src/assets/components/Geometry2D.js +15 -15
- package/src/assets/components/Geospatial.js +19 -19
- package/src/assets/components/HAnim.js +13 -13
- package/src/assets/components/KeyDeviceSensor.js +10 -10
- package/src/assets/components/Layout.js +13 -13
- package/src/assets/components/NURBS.js +24 -24
- package/src/assets/components/ParticleSystems.js +19 -19
- package/src/assets/components/Picking.js +14 -14
- package/src/assets/components/RigidBodyPhysics.js +24 -24
- package/src/assets/components/Scripting.js +9 -9
- package/src/assets/components/Text.js +10 -10
- package/src/assets/components/TextureProjector.js +10 -10
- package/src/assets/components/Texturing3D.js +16 -16
- package/src/assets/components/VolumeRendering.js +23 -23
- package/src/assets/components/X_ITE.js +8 -7
- package/src/assets/shaders/webgl1/include/Shadow.glsl.js +21 -25
- package/src/assets/shaders/webgl2/include/Shadow.glsl.js +23 -27
- package/src/bookmarks.js +2 -2
- package/src/lib/jquery.js +42 -30
- package/src/standard/Geospatial/Geodetic.js +8 -9
- package/src/standard/Geospatial/UniversalTransverseMercator.js +4 -5
- package/src/standard/Math/Algorithm.js +41 -56
- package/src/standard/Math/Algorithms/Bezier.js +2 -2
- package/src/standard/Math/Algorithms/MergeSort.js +6 -6
- package/src/standard/Math/Algorithms/PartialSort.js +5 -5
- package/src/standard/Math/Algorithms/QuickSort.js +5 -5
- package/src/standard/Math/Geometry/Box2.js +16 -17
- package/src/standard/Math/Geometry/Box3.js +18 -19
- package/src/standard/Math/Geometry/Camera.js +6 -5
- package/src/standard/Math/Geometry/Cylinder3.js +6 -7
- package/src/standard/Math/Geometry/Line2.js +20 -18
- package/src/standard/Math/Geometry/Line3.js +20 -18
- package/src/standard/Math/Geometry/Plane3.js +11 -12
- package/src/standard/Math/Geometry/Sphere3.js +6 -7
- package/src/standard/Math/Geometry/Spheroid3.js +6 -7
- package/src/standard/Math/Geometry/Triangle2.js +4 -3
- package/src/standard/Math/Geometry/Triangle3.js +5 -4
- package/src/standard/Math/Geometry/ViewVolume.js +6 -7
- package/src/standard/Math/Numbers/Color3.js +18 -19
- package/src/standard/Math/Numbers/Color4.js +20 -21
- package/src/standard/Math/Numbers/Complex.js +28 -29
- package/src/standard/Math/Numbers/Matrix2.js +22 -23
- package/src/standard/Math/Numbers/Matrix3.js +28 -29
- package/src/standard/Math/Numbers/Matrix4.js +29 -30
- package/src/standard/Math/Numbers/Quaternion.js +40 -41
- package/src/standard/Math/Numbers/Rotation4.js +34 -35
- package/src/standard/Math/Numbers/Vector2.js +29 -30
- package/src/standard/Math/Numbers/Vector3.js +32 -33
- package/src/standard/Math/Numbers/Vector4.js +34 -35
- package/src/standard/Math/Utility/BVH.js +14 -15
- package/src/standard/Math/Utility/MatrixStack.js +12 -12
- package/src/standard/Time/MicroTime.js +4 -3
- package/src/standard/Utility/BitSet.js +10 -11
- package/src/standard/Utility/DataStorage.js +10 -10
- package/src/standard/Utility/MapUtilities.js +2 -1
- package/src/standard/Utility/ObjectCache.js +3 -3
- package/src/tests.js +10 -0
- package/src/x_ite/Base/Events.js +3 -3
- package/src/x_ite/Base/FieldArray.js +11 -9
- package/src/x_ite/Base/FieldDefinitionArray.js +11 -9
- package/src/x_ite/Base/X3DArrayField.js +13 -14
- package/src/x_ite/Base/X3DBaseNode.js +219 -181
- package/src/x_ite/Base/X3DCast.js +1 -1
- package/src/x_ite/Base/X3DChildObject.js +162 -53
- package/src/x_ite/Base/X3DConstants.js +74 -60
- package/src/x_ite/Base/X3DEventObject.js +6 -12
- package/src/x_ite/Base/X3DField.js +45 -42
- package/src/x_ite/Base/X3DFieldDefinition.js +9 -7
- package/src/x_ite/Base/X3DInfoArray.js +75 -65
- package/src/x_ite/Base/X3DObject.js +59 -29
- package/src/x_ite/Base/X3DObjectArrayField.js +51 -117
- package/src/x_ite/Base/X3DTypedArrayField.js +48 -42
- package/src/x_ite/Browser/Core/BrowserOptions.js +55 -57
- package/src/x_ite/Browser/Core/BrowserProperties.js +18 -20
- package/src/x_ite/Browser/Core/BrowserTimings.js +29 -33
- package/src/x_ite/Browser/Core/Context.js +7 -7
- package/src/x_ite/Browser/Core/ContextMenu.js +61 -83
- package/src/x_ite/Browser/Core/Notification.js +12 -12
- package/src/x_ite/Browser/Core/RenderingProperties.js +28 -28
- package/src/x_ite/Browser/Core/X3DCoreContext.js +45 -37
- package/src/x_ite/Browser/DOMIntegration.js +4 -1
- package/src/x_ite/Browser/EnvironmentalEffects/X3DEnvironmentalEffectsContext.js +3 -3
- package/src/x_ite/Browser/Followers/X3DArrayChaserTemplate.js +1 -1
- package/src/x_ite/Browser/Followers/X3DArrayFollowerTemplate.js +12 -12
- package/src/x_ite/Browser/Geometry2D/Arc2DOptions.js +8 -14
- package/src/x_ite/Browser/Geometry2D/ArcClose2DOptions.js +8 -14
- package/src/x_ite/Browser/Geometry2D/Circle2DOptions.js +13 -17
- package/src/x_ite/Browser/Geometry2D/Disk2DOptions.js +15 -19
- package/src/x_ite/Browser/Geometry2D/Rectangle2DOptions.js +12 -16
- package/src/x_ite/Browser/Geometry2D/X3DGeometry2DContext.js +9 -9
- package/src/x_ite/Browser/Geometry3D/BoxOptions.js +12 -16
- package/src/x_ite/Browser/Geometry3D/ConeOptions.js +6 -12
- package/src/x_ite/Browser/Geometry3D/CylinderOptions.js +6 -12
- package/src/x_ite/Browser/Geometry3D/IcoSphereOptions.js +13 -17
- package/src/x_ite/Browser/Geometry3D/QuadSphereOptions.js +17 -21
- package/src/x_ite/Browser/Geometry3D/X3DGeometry3DContext.js +8 -8
- package/src/x_ite/Browser/Geospatial/Geocentric.js +5 -6
- package/src/x_ite/Browser/Geospatial/Geospatial.js +10 -10
- package/src/x_ite/Browser/Grouping/X3DGroupingContext.js +3 -3
- package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolator.js +2 -3
- package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolator1.js +8 -9
- package/src/x_ite/Browser/Interpolation/CatmullRomSplineInterpolatorTemplate.js +7 -8
- package/src/x_ite/Browser/Interpolation/SquatInterpolator.js +3 -4
- package/src/x_ite/Browser/KeyDeviceSensor/X3DKeyDeviceSensorContext.js +8 -8
- package/src/x_ite/Browser/Layering/X3DLayeringContext.js +4 -4
- package/src/x_ite/Browser/Layout/ScreenText.js +7 -8
- package/src/x_ite/Browser/Layout/X3DLayoutContext.js +3 -3
- package/src/x_ite/Browser/Legacy.js +32 -12
- package/src/x_ite/Browser/Lighting/X3DLightingContext.js +5 -5
- package/src/x_ite/Browser/NURBS/NURBS.js +10 -10
- package/src/x_ite/Browser/Navigation/ExamineViewer.js +32 -20
- package/src/x_ite/Browser/Navigation/FlyViewer.js +22 -10
- package/src/x_ite/Browser/Navigation/LookAtViewer.js +29 -17
- package/src/x_ite/Browser/Navigation/NoneViewer.js +15 -5
- package/src/x_ite/Browser/Navigation/PlaneViewer.js +24 -12
- package/src/x_ite/Browser/Navigation/WalkViewer.js +22 -10
- package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +17 -18
- package/src/x_ite/Browser/Navigation/X3DNavigationContext.js +19 -19
- package/src/x_ite/Browser/Navigation/X3DViewer.js +13 -19
- package/src/x_ite/Browser/Networking/URLs.js +5 -5
- package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +16 -16
- package/src/x_ite/Browser/ParticleSystems/X3DParticleSystemsContext.js +3 -3
- package/src/x_ite/Browser/Picking/VolumePicker.js +8 -8
- package/src/x_ite/Browser/Picking/X3DPickingContext.js +12 -12
- package/src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js +24 -20
- package/src/x_ite/Browser/PointingDeviceSensor/PointingDeviceSensorContainer.js +6 -6
- package/src/x_ite/Browser/PointingDeviceSensor/X3DPointingDeviceSensorContext.js +21 -21
- package/src/x_ite/Browser/Rendering/GeometryContext.js +4 -5
- package/src/x_ite/Browser/Rendering/X3DRenderingContext.js +18 -18
- package/src/x_ite/Browser/Scripting/X3DScriptingContext.js +4 -4
- package/src/x_ite/Browser/Shaders/ShaderCompiler.js +4 -4
- package/src/x_ite/Browser/Shaders/ShaderSource.js +1 -1
- package/src/x_ite/Browser/Shaders/X3DShadersContext.js +13 -13
- package/src/x_ite/Browser/Shape/X3DShapeContext.js +12 -12
- package/src/x_ite/Browser/Sound/X3DSoundContext.js +0 -2
- package/src/x_ite/Browser/Text/PolygonText.js +10 -11
- package/src/x_ite/Browser/Text/X3DTextContext.js +6 -6
- package/src/x_ite/Browser/Text/X3DTextGeometry.js +18 -19
- package/src/x_ite/Browser/Texturing/GifMedia.js +7 -7
- package/src/x_ite/Browser/Texturing/X3DTexturingContext.js +24 -24
- package/src/x_ite/Browser/Texturing3D/DICOMParser.js +38 -38
- package/src/x_ite/Browser/Texturing3D/NRRDParser.js +14 -14
- package/src/x_ite/Browser/Time/X3DTimeContext.js +5 -5
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Browser/VolumeRendering/VolumeMaterial.js +39 -22
- package/src/x_ite/Browser/VolumeRendering/X3DVolumeRenderingContext.js +6 -6
- package/src/x_ite/Browser/X3DBrowser.js +170 -136
- package/src/x_ite/Browser/X3DBrowserContext.js +23 -24
- package/src/x_ite/Components/Annotation/AnnotationLayer.js +30 -19
- package/src/x_ite/Components/Annotation/AnnotationTarget.js +30 -19
- package/src/x_ite/Components/Annotation/GroupAnnotation.js +40 -29
- package/src/x_ite/Components/Annotation/IconAnnotation.js +38 -27
- package/src/x_ite/Components/Annotation/TextAnnotation.js +31 -20
- package/src/x_ite/Components/Annotation/URLAnnotation.js +30 -19
- package/src/x_ite/Components/Annotation/X3DAnnotationNode.js +16 -3
- package/src/x_ite/Components/CADGeometry/CADAssembly.js +32 -21
- package/src/x_ite/Components/CADGeometry/CADFace.js +48 -37
- package/src/x_ite/Components/CADGeometry/CADLayer.js +30 -21
- package/src/x_ite/Components/CADGeometry/CADPart.js +37 -26
- package/src/x_ite/Components/CADGeometry/IndexedQuadSet.js +51 -46
- package/src/x_ite/Components/CADGeometry/QuadSet.js +48 -43
- package/src/x_ite/Components/CADGeometry/X3DProductStructureChildNode.js +13 -2
- package/src/x_ite/Components/Core/MetadataBoolean.js +33 -22
- package/src/x_ite/Components/Core/MetadataDouble.js +33 -22
- package/src/x_ite/Components/Core/MetadataFloat.js +33 -22
- package/src/x_ite/Components/Core/MetadataInteger.js +33 -22
- package/src/x_ite/Components/Core/MetadataSet.js +33 -22
- package/src/x_ite/Components/Core/MetadataString.js +33 -22
- package/src/x_ite/Components/Core/WorldInfo.js +34 -23
- package/src/x_ite/Components/Core/X3DBindableNode.js +17 -4
- package/src/x_ite/Components/Core/X3DChildNode.js +19 -6
- package/src/x_ite/Components/Core/X3DInfoNode.js +13 -2
- package/src/x_ite/Components/Core/X3DMetadataObject.js +18 -5
- package/src/x_ite/Components/Core/X3DNode.js +66 -34
- package/src/x_ite/Components/Core/X3DPrototypeInstance.js +68 -77
- package/src/x_ite/Components/Core/X3DSensorNode.js +13 -2
- package/src/x_ite/Components/Core.js +22 -29
- package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +46 -35
- package/src/x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture.js +39 -28
- package/src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js +47 -36
- package/src/x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode.js +21 -8
- package/src/x_ite/Components/DIS/DISEntityManager.js +29 -20
- package/src/x_ite/Components/DIS/DISEntityTypeMapping.js +41 -30
- package/src/x_ite/Components/DIS/EspduTransform.js +117 -106
- package/src/x_ite/Components/DIS/ReceiverPdu.js +60 -49
- package/src/x_ite/Components/DIS/SignalPdu.js +60 -49
- package/src/x_ite/Components/DIS/TransmitterPdu.js +76 -65
- package/src/x_ite/Components/EnvironmentalEffects/Background.js +47 -36
- package/src/x_ite/Components/EnvironmentalEffects/Fog.js +42 -31
- package/src/x_ite/Components/EnvironmentalEffects/FogCoordinate.js +39 -28
- package/src/x_ite/Components/EnvironmentalEffects/LocalFog.js +40 -29
- package/src/x_ite/Components/EnvironmentalEffects/TextureBackground.js +48 -37
- package/src/x_ite/Components/EnvironmentalEffects/X3DBackgroundNode.js +28 -15
- package/src/x_ite/Components/EnvironmentalEffects/X3DFogObject.js +30 -18
- package/src/x_ite/Components/EnvironmentalEffects.js +15 -22
- package/src/x_ite/Components/EnvironmentalSensor/ProximitySensor.js +45 -34
- package/src/x_ite/Components/EnvironmentalSensor/TransformSensor.js +50 -39
- package/src/x_ite/Components/EnvironmentalSensor/VisibilitySensor.js +41 -30
- package/src/x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode.js +22 -9
- package/src/x_ite/Components/EnvironmentalSensor.js +12 -19
- package/src/x_ite/Components/EventUtilities/BooleanFilter.js +38 -27
- package/src/x_ite/Components/EventUtilities/BooleanSequencer.js +38 -27
- package/src/x_ite/Components/EventUtilities/BooleanToggle.js +33 -22
- package/src/x_ite/Components/EventUtilities/BooleanTrigger.js +32 -21
- package/src/x_ite/Components/EventUtilities/IntegerSequencer.js +38 -27
- package/src/x_ite/Components/EventUtilities/IntegerTrigger.js +33 -22
- package/src/x_ite/Components/EventUtilities/TimeTrigger.js +32 -21
- package/src/x_ite/Components/EventUtilities/X3DSequencerNode.js +20 -7
- package/src/x_ite/Components/EventUtilities/X3DTriggerNode.js +13 -2
- package/src/x_ite/Components/Followers/ColorChaser.js +47 -36
- package/src/x_ite/Components/Followers/ColorDamper.js +49 -38
- package/src/x_ite/Components/Followers/CoordinateChaser.js +33 -22
- package/src/x_ite/Components/Followers/CoordinateDamper.js +35 -24
- package/src/x_ite/Components/Followers/OrientationChaser.js +43 -32
- package/src/x_ite/Components/Followers/OrientationDamper.js +41 -30
- package/src/x_ite/Components/Followers/PositionChaser.js +33 -22
- package/src/x_ite/Components/Followers/PositionChaser2D.js +33 -22
- package/src/x_ite/Components/Followers/PositionDamper.js +35 -24
- package/src/x_ite/Components/Followers/PositionDamper2D.js +35 -24
- package/src/x_ite/Components/Followers/ScalarChaser.js +47 -36
- package/src/x_ite/Components/Followers/ScalarDamper.js +43 -32
- package/src/x_ite/Components/Followers/TexCoordChaser2D.js +33 -22
- package/src/x_ite/Components/Followers/TexCoordDamper2D.js +35 -24
- package/src/x_ite/Components/Followers/X3DChaserNode.js +27 -14
- package/src/x_ite/Components/Followers/X3DDamperNode.js +22 -9
- package/src/x_ite/Components/Followers/X3DFollowerNode.js +29 -16
- package/src/x_ite/Components/Followers.js +25 -32
- package/src/x_ite/Components/Geometry2D/Arc2D.js +38 -27
- package/src/x_ite/Components/Geometry2D/ArcClose2D.js +39 -28
- package/src/x_ite/Components/Geometry2D/Circle2D.js +35 -24
- package/src/x_ite/Components/Geometry2D/Disk2D.js +40 -29
- package/src/x_ite/Components/Geometry2D/Polyline2D.js +34 -23
- package/src/x_ite/Components/Geometry2D/Polypoint2D.js +34 -23
- package/src/x_ite/Components/Geometry2D/Rectangle2D.js +34 -23
- package/src/x_ite/Components/Geometry2D/TriangleSet2D.js +36 -25
- package/src/x_ite/Components/Geometry3D/Box.js +34 -23
- package/src/x_ite/Components/Geometry3D/Cone.js +40 -29
- package/src/x_ite/Components/Geometry3D/Cylinder.js +41 -30
- package/src/x_ite/Components/Geometry3D/ElevationGrid.js +63 -52
- package/src/x_ite/Components/Geometry3D/Extrusion.js +49 -38
- package/src/x_ite/Components/Geometry3D/IndexedFaceSet.js +98 -95
- package/src/x_ite/Components/Geometry3D/Sphere.js +36 -25
- package/src/x_ite/Components/Geometry3D.js +15 -22
- package/src/x_ite/Components/Geospatial/GeoCoordinate.js +37 -26
- package/src/x_ite/Components/Geospatial/GeoElevationGrid.js +63 -52
- package/src/x_ite/Components/Geospatial/GeoLOD.js +59 -48
- package/src/x_ite/Components/Geospatial/GeoLocation.js +45 -34
- package/src/x_ite/Components/Geospatial/GeoMetadata.js +38 -27
- package/src/x_ite/Components/Geospatial/GeoOrigin.js +37 -26
- package/src/x_ite/Components/Geospatial/GeoPositionInterpolator.js +43 -32
- package/src/x_ite/Components/Geospatial/GeoProximitySensor.js +48 -37
- package/src/x_ite/Components/Geospatial/GeoTouchSensor.js +45 -34
- package/src/x_ite/Components/Geospatial/GeoTransform.js +49 -38
- package/src/x_ite/Components/Geospatial/GeoViewpoint.js +56 -45
- package/src/x_ite/Components/Geospatial/X3DGeospatialObject.js +30 -17
- package/src/x_ite/Components/Grouping/Group.js +29 -20
- package/src/x_ite/Components/Grouping/StaticGroup.js +40 -48
- package/src/x_ite/Components/Grouping/Switch.js +51 -40
- package/src/x_ite/Components/Grouping/Transform.js +34 -25
- package/src/x_ite/Components/Grouping/X3DBoundedObject.js +22 -9
- package/src/x_ite/Components/Grouping/X3DGroupingNode.js +224 -221
- package/src/x_ite/Components/Grouping/X3DTransformMatrix3DNode.js +20 -7
- package/src/x_ite/Components/Grouping/X3DTransformNode.js +17 -4
- package/src/x_ite/Components/Grouping.js +16 -23
- package/src/x_ite/Components/HAnim/HAnimDisplacer.js +27 -18
- package/src/x_ite/Components/HAnim/HAnimHumanoid.js +73 -62
- package/src/x_ite/Components/HAnim/HAnimJoint.js +61 -50
- package/src/x_ite/Components/HAnim/HAnimMotion.js +44 -33
- package/src/x_ite/Components/HAnim/HAnimSegment.js +36 -27
- package/src/x_ite/Components/HAnim/HAnimSite.js +36 -27
- package/src/x_ite/Components/Interpolation/ColorInterpolator.js +38 -27
- package/src/x_ite/Components/Interpolation/CoordinateInterpolator.js +38 -27
- package/src/x_ite/Components/Interpolation/CoordinateInterpolator2D.js +38 -27
- package/src/x_ite/Components/Interpolation/EaseInEaseOut.js +39 -28
- package/src/x_ite/Components/Interpolation/NormalInterpolator.js +38 -27
- package/src/x_ite/Components/Interpolation/OrientationInterpolator.js +38 -27
- package/src/x_ite/Components/Interpolation/PositionInterpolator.js +38 -27
- package/src/x_ite/Components/Interpolation/PositionInterpolator2D.js +38 -27
- package/src/x_ite/Components/Interpolation/ScalarInterpolator.js +39 -28
- package/src/x_ite/Components/Interpolation/SplinePositionInterpolator.js +44 -33
- package/src/x_ite/Components/Interpolation/SplinePositionInterpolator2D.js +44 -33
- package/src/x_ite/Components/Interpolation/SplineScalarInterpolator.js +44 -33
- package/src/x_ite/Components/Interpolation/SquadOrientationInterpolator.js +40 -29
- package/src/x_ite/Components/Interpolation/X3DInterpolatorNode.js +21 -8
- package/src/x_ite/Components/Interpolation.js +22 -29
- package/src/x_ite/Components/KeyDeviceSensor/KeySensor.js +44 -33
- package/src/x_ite/Components/KeyDeviceSensor/StringSensor.js +38 -27
- package/src/x_ite/Components/KeyDeviceSensor/X3DKeyDeviceSensorNode.js +23 -10
- package/src/x_ite/Components/Layering/Layer.js +40 -29
- package/src/x_ite/Components/Layering/LayerSet.js +44 -33
- package/src/x_ite/Components/Layering/Viewport.js +48 -37
- package/src/x_ite/Components/Layering/X3DLayerNode.js +45 -32
- package/src/x_ite/Components/Layering/X3DViewportNode.js +13 -2
- package/src/x_ite/Components/Layering.js +13 -20
- package/src/x_ite/Components/Layout/Layout.js +60 -49
- package/src/x_ite/Components/Layout/LayoutGroup.js +48 -37
- package/src/x_ite/Components/Layout/LayoutLayer.js +41 -30
- package/src/x_ite/Components/Layout/ScreenFontStyle.js +41 -30
- package/src/x_ite/Components/Layout/ScreenGroup.js +42 -31
- package/src/x_ite/Components/Layout/X3DLayoutNode.js +13 -2
- package/src/x_ite/Components/Lighting/DirectionalLight.js +45 -35
- package/src/x_ite/Components/Lighting/EnvironmentLight.js +51 -41
- package/src/x_ite/Components/Lighting/PointLight.js +53 -43
- package/src/x_ite/Components/Lighting/SpotLight.js +62 -52
- package/src/x_ite/Components/Lighting/X3DLightNode.js +29 -16
- package/src/x_ite/Components/Lighting.js +13 -20
- package/src/x_ite/Components/NURBS/Contour2D.js +45 -45
- package/src/x_ite/Components/NURBS/ContourPolyline2D.js +34 -23
- package/src/x_ite/Components/NURBS/CoordinateDouble.js +23 -14
- package/src/x_ite/Components/NURBS/NurbsCurve.js +47 -36
- package/src/x_ite/Components/NURBS/NurbsCurve2D.js +44 -33
- package/src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js +46 -35
- package/src/x_ite/Components/NURBS/NurbsPatchSurface.js +36 -27
- package/src/x_ite/Components/NURBS/NurbsPositionInterpolator.js +46 -35
- package/src/x_ite/Components/NURBS/NurbsSet.js +52 -52
- package/src/x_ite/Components/NURBS/NurbsSurfaceInterpolator.js +44 -33
- package/src/x_ite/Components/NURBS/NurbsSweptSurface.js +40 -29
- package/src/x_ite/Components/NURBS/NurbsSwungSurface.js +40 -29
- package/src/x_ite/Components/NURBS/NurbsTextureCoordinate.js +43 -32
- package/src/x_ite/Components/NURBS/NurbsTrimmedSurface.js +59 -59
- package/src/x_ite/Components/NURBS/X3DNurbsControlCurveNode.js +13 -2
- package/src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js +30 -17
- package/src/x_ite/Components/NURBS/X3DParametricGeometryNode.js +16 -3
- package/src/x_ite/Components/Navigation/Billboard.js +43 -32
- package/src/x_ite/Components/Navigation/Collision.js +49 -38
- package/src/x_ite/Components/Navigation/LOD.js +54 -43
- package/src/x_ite/Components/Navigation/NavigationInfo.js +58 -47
- package/src/x_ite/Components/Navigation/OrthoViewpoint.js +69 -58
- package/src/x_ite/Components/Navigation/Viewpoint.js +53 -42
- package/src/x_ite/Components/Navigation/ViewpointGroup.js +44 -33
- package/src/x_ite/Components/Navigation/X3DViewpointNode.js +48 -35
- package/src/x_ite/Components/Navigation.js +16 -23
- package/src/x_ite/Components/Networking/Anchor.js +51 -40
- package/src/x_ite/Components/Networking/Inline.js +54 -43
- package/src/x_ite/Components/Networking/LoadSensor.js +49 -38
- package/src/x_ite/Components/Networking/X3DNetworkSensorNode.js +13 -2
- package/src/x_ite/Components/Networking/X3DUrlObject.js +35 -22
- package/src/x_ite/Components/Networking.js +13 -20
- package/src/x_ite/Components/ParticleSystems/BoundedPhysicsModel.js +37 -26
- package/src/x_ite/Components/ParticleSystems/ConeEmitter.js +44 -33
- package/src/x_ite/Components/ParticleSystems/ExplosionEmitter.js +41 -30
- package/src/x_ite/Components/ParticleSystems/ForcePhysicsModel.js +34 -23
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +83 -72
- package/src/x_ite/Components/ParticleSystems/PointEmitter.js +41 -30
- package/src/x_ite/Components/ParticleSystems/PolylineEmitter.js +42 -31
- package/src/x_ite/Components/ParticleSystems/SurfaceEmitter.js +42 -31
- package/src/x_ite/Components/ParticleSystems/VolumeEmitter.js +43 -32
- package/src/x_ite/Components/ParticleSystems/WindPhysicsModel.js +38 -27
- package/src/x_ite/Components/ParticleSystems/X3DParticleEmitterNode.js +33 -20
- package/src/x_ite/Components/ParticleSystems/X3DParticlePhysicsModelNode.js +16 -3
- package/src/x_ite/Components/Picking/LinePickSensor.js +49 -38
- package/src/x_ite/Components/Picking/PickableGroup.js +45 -34
- package/src/x_ite/Components/Picking/PointPickSensor.js +46 -35
- package/src/x_ite/Components/Picking/PrimitivePickSensor.js +46 -35
- package/src/x_ite/Components/Picking/VolumePickSensor.js +45 -34
- package/src/x_ite/Components/Picking/X3DPickSensorNode.js +31 -18
- package/src/x_ite/Components/Picking/X3DPickableObject.js +20 -7
- package/src/x_ite/Components/PointingDeviceSensor/CylinderSensor.js +50 -39
- package/src/x_ite/Components/PointingDeviceSensor/PlaneSensor.js +52 -45
- package/src/x_ite/Components/PointingDeviceSensor/SphereSensor.js +44 -33
- package/src/x_ite/Components/PointingDeviceSensor/TouchSensor.js +30 -21
- package/src/x_ite/Components/PointingDeviceSensor/X3DDragSensorNode.js +13 -2
- package/src/x_ite/Components/PointingDeviceSensor/X3DPointingDeviceSensorNode.js +22 -11
- package/src/x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode.js +16 -3
- package/src/x_ite/Components/PointingDeviceSensor.js +15 -22
- package/src/x_ite/Components/Rendering/ClipPlane.js +44 -34
- package/src/x_ite/Components/Rendering/Color.js +37 -26
- package/src/x_ite/Components/Rendering/ColorRGBA.js +37 -26
- package/src/x_ite/Components/Rendering/Coordinate.js +23 -14
- package/src/x_ite/Components/Rendering/IndexedLineSet.js +52 -41
- package/src/x_ite/Components/Rendering/IndexedTriangleFanSet.js +48 -37
- package/src/x_ite/Components/Rendering/IndexedTriangleSet.js +44 -33
- package/src/x_ite/Components/Rendering/IndexedTriangleStripSet.js +48 -37
- package/src/x_ite/Components/Rendering/LineSet.js +45 -34
- package/src/x_ite/Components/Rendering/Normal.js +39 -28
- package/src/x_ite/Components/Rendering/PointSet.js +45 -34
- package/src/x_ite/Components/Rendering/TriangleFanSet.js +47 -36
- package/src/x_ite/Components/Rendering/TriangleSet.js +41 -30
- package/src/x_ite/Components/Rendering/TriangleStripSet.js +47 -36
- package/src/x_ite/Components/Rendering/X3DColorNode.js +17 -4
- package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +33 -20
- package/src/x_ite/Components/Rendering/X3DCoordinateNode.js +23 -10
- package/src/x_ite/Components/Rendering/X3DGeometricPropertyNode.js +13 -2
- package/src/x_ite/Components/Rendering/X3DGeometryNode.js +96 -80
- package/src/x_ite/Components/Rendering/X3DLineGeometryNode.js +21 -8
- package/src/x_ite/Components/Rendering/X3DNormalNode.js +13 -2
- package/src/x_ite/Components/Rendering/X3DPointGeometryNode.js +20 -7
- package/src/x_ite/Components/Rendering.js +29 -36
- package/src/x_ite/Components/RigidBodyPhysics/BallJoint.js +43 -32
- package/src/x_ite/Components/RigidBodyPhysics/CollidableOffset.js +48 -37
- package/src/x_ite/Components/RigidBodyPhysics/CollidableShape.js +52 -41
- package/src/x_ite/Components/RigidBodyPhysics/CollisionCollection.js +47 -36
- package/src/x_ite/Components/RigidBodyPhysics/CollisionSensor.js +41 -30
- package/src/x_ite/Components/RigidBodyPhysics/CollisionSpace.js +44 -33
- package/src/x_ite/Components/RigidBodyPhysics/Contact.js +38 -29
- package/src/x_ite/Components/RigidBodyPhysics/DoubleAxisHingeJoint.js +60 -49
- package/src/x_ite/Components/RigidBodyPhysics/MotorJoint.js +48 -39
- package/src/x_ite/Components/RigidBodyPhysics/RigidBody.js +69 -58
- package/src/x_ite/Components/RigidBodyPhysics/RigidBodyCollection.js +61 -50
- package/src/x_ite/Components/RigidBodyPhysics/SingleAxisHingeJoint.js +49 -38
- package/src/x_ite/Components/RigidBodyPhysics/SliderJoint.js +47 -36
- package/src/x_ite/Components/RigidBodyPhysics/UniversalJoint.js +36 -27
- package/src/x_ite/Components/RigidBodyPhysics/X3DNBodyCollidableNode.js +24 -11
- package/src/x_ite/Components/RigidBodyPhysics/X3DNBodyCollisionSpaceNode.js +17 -4
- package/src/x_ite/Components/RigidBodyPhysics/X3DRigidJointNode.js +34 -21
- package/src/x_ite/Components/Scripting/Script.js +83 -53
- package/src/x_ite/Components/Scripting/X3DScriptNode.js +17 -4
- package/src/x_ite/Components/Shaders/ComposedShader.js +46 -35
- package/src/x_ite/Components/Shaders/FloatVertexAttribute.js +40 -29
- package/src/x_ite/Components/Shaders/Matrix3VertexAttribute.js +38 -27
- package/src/x_ite/Components/Shaders/Matrix4VertexAttribute.js +38 -27
- package/src/x_ite/Components/Shaders/PackagedShader.js +45 -34
- package/src/x_ite/Components/Shaders/ProgramShader.js +27 -18
- package/src/x_ite/Components/Shaders/ShaderPart.js +47 -36
- package/src/x_ite/Components/Shaders/ShaderProgram.js +42 -31
- package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +51 -38
- package/src/x_ite/Components/Shaders/X3DShaderNode.js +19 -6
- package/src/x_ite/Components/Shaders/X3DVertexAttributeNode.js +17 -4
- package/src/x_ite/Components/Shaders.js +19 -26
- package/src/x_ite/Components/Shape/AcousticProperties.js +28 -19
- package/src/x_ite/Components/Shape/Appearance.js +79 -68
- package/src/x_ite/Components/Shape/FillProperties.js +44 -33
- package/src/x_ite/Components/Shape/LineProperties.js +44 -33
- package/src/x_ite/Components/Shape/Material.js +75 -64
- package/src/x_ite/Components/Shape/PhysicalMaterial.js +65 -54
- package/src/x_ite/Components/Shape/PointProperties.js +43 -32
- package/src/x_ite/Components/Shape/Shape.js +48 -37
- package/src/x_ite/Components/Shape/TwoSidedMaterial.js +60 -49
- package/src/x_ite/Components/Shape/UnlitMaterial.js +44 -33
- package/src/x_ite/Components/Shape/X3DAppearanceChildNode.js +13 -2
- package/src/x_ite/Components/Shape/X3DAppearanceNode.js +17 -4
- package/src/x_ite/Components/Shape/X3DMaterialNode.js +41 -33
- package/src/x_ite/Components/Shape/X3DOneSidedMaterialNode.js +29 -16
- package/src/x_ite/Components/Shape/X3DShapeNode.js +28 -15
- package/src/x_ite/Components/Shape.js +23 -30
- package/src/x_ite/Components/Sound/Analyser.js +46 -37
- package/src/x_ite/Components/Sound/AudioClip.js +61 -50
- package/src/x_ite/Components/Sound/AudioDestination.js +35 -26
- package/src/x_ite/Components/Sound/BiquadFilter.js +45 -36
- package/src/x_ite/Components/Sound/BufferAudioSource.js +61 -50
- package/src/x_ite/Components/Sound/ChannelMerger.js +32 -23
- package/src/x_ite/Components/Sound/ChannelSelector.js +33 -24
- package/src/x_ite/Components/Sound/ChannelSplitter.js +33 -24
- package/src/x_ite/Components/Sound/Convolver.js +43 -34
- package/src/x_ite/Components/Sound/Delay.js +43 -34
- package/src/x_ite/Components/Sound/DynamicsCompressor.js +47 -38
- package/src/x_ite/Components/Sound/Gain.js +41 -32
- package/src/x_ite/Components/Sound/ListenerPointSource.js +39 -30
- package/src/x_ite/Components/Sound/MicrophoneSource.js +35 -26
- package/src/x_ite/Components/Sound/OscillatorSource.js +37 -28
- package/src/x_ite/Components/Sound/PeriodicWave.js +27 -18
- package/src/x_ite/Components/Sound/Sound.js +51 -40
- package/src/x_ite/Components/Sound/SpatialSound.js +42 -33
- package/src/x_ite/Components/Sound/StreamAudioDestination.js +35 -26
- package/src/x_ite/Components/Sound/StreamAudioSource.js +35 -26
- package/src/x_ite/Components/Sound/WaveShaper.js +43 -34
- package/src/x_ite/Components/Sound/X3DSoundChannelNode.js +13 -2
- package/src/x_ite/Components/Sound/X3DSoundDestinationNode.js +13 -2
- package/src/x_ite/Components/Sound/X3DSoundNode.js +13 -2
- package/src/x_ite/Components/Sound/X3DSoundProcessingNode.js +17 -4
- package/src/x_ite/Components/Sound/X3DSoundSourceNode.js +30 -17
- package/src/x_ite/Components/Sound.js +34 -41
- package/src/x_ite/Components/Text/FontStyle.js +37 -26
- package/src/x_ite/Components/Text/Text.js +50 -39
- package/src/x_ite/Components/Text/X3DFontStyleNode.js +32 -18
- package/src/x_ite/Components/TextureProjector/TextureProjector.js +49 -39
- package/src/x_ite/Components/TextureProjector/TextureProjectorParallel.js +58 -48
- package/src/x_ite/Components/TextureProjector/X3DTextureProjectorNode.js +27 -14
- package/src/x_ite/Components/Texturing/ImageTexture.js +50 -39
- package/src/x_ite/Components/Texturing/MovieTexture.js +67 -56
- package/src/x_ite/Components/Texturing/MultiTexture.js +52 -41
- package/src/x_ite/Components/Texturing/MultiTextureCoordinate.js +44 -33
- package/src/x_ite/Components/Texturing/MultiTextureTransform.js +39 -28
- package/src/x_ite/Components/Texturing/PixelTexture.js +42 -31
- package/src/x_ite/Components/Texturing/TextureCoordinate.js +41 -30
- package/src/x_ite/Components/Texturing/TextureCoordinateGenerator.js +41 -30
- package/src/x_ite/Components/Texturing/TextureProperties.js +47 -36
- package/src/x_ite/Components/Texturing/TextureTransform.js +39 -28
- package/src/x_ite/Components/Texturing/X3DSingleTextureCoordinateNode.js +20 -7
- package/src/x_ite/Components/Texturing/X3DSingleTextureNode.js +21 -8
- package/src/x_ite/Components/Texturing/X3DSingleTextureTransformNode.js +20 -7
- package/src/x_ite/Components/Texturing/X3DTexture2DNode.js +26 -13
- package/src/x_ite/Components/Texturing/X3DTextureCoordinateNode.js +13 -2
- package/src/x_ite/Components/Texturing/X3DTextureNode.js +17 -4
- package/src/x_ite/Components/Texturing/X3DTextureTransformNode.js +13 -2
- package/src/x_ite/Components/Texturing.js +25 -32
- package/src/x_ite/Components/Texturing3D/ComposedTexture3D.js +44 -33
- package/src/x_ite/Components/Texturing3D/ImageTexture3D.js +46 -35
- package/src/x_ite/Components/Texturing3D/ImageTextureAtlas.js +54 -43
- package/src/x_ite/Components/Texturing3D/PixelTexture3D.js +40 -29
- package/src/x_ite/Components/Texturing3D/TextureCoordinate3D.js +41 -30
- package/src/x_ite/Components/Texturing3D/TextureCoordinate4D.js +41 -30
- package/src/x_ite/Components/Texturing3D/TextureTransform3D.js +39 -28
- package/src/x_ite/Components/Texturing3D/TextureTransformMatrix3D.js +36 -25
- package/src/x_ite/Components/Texturing3D/X3DTexture3DNode.js +26 -13
- package/src/x_ite/Components/Time/TimeSensor.js +55 -44
- package/src/x_ite/Components/Time/X3DTimeDependentNode.js +38 -25
- package/src/x_ite/Components/Time.js +10 -17
- package/src/x_ite/Components/VolumeRendering/BlendedVolumeStyle.js +51 -41
- package/src/x_ite/Components/VolumeRendering/BoundaryEnhancementVolumeStyle.js +39 -28
- package/src/x_ite/Components/VolumeRendering/CartoonVolumeStyle.js +42 -31
- package/src/x_ite/Components/VolumeRendering/ComposedVolumeStyle.js +41 -30
- package/src/x_ite/Components/VolumeRendering/EdgeEnhancementVolumeStyle.js +41 -30
- package/src/x_ite/Components/VolumeRendering/IsoSurfaceVolumeData.js +50 -39
- package/src/x_ite/Components/VolumeRendering/OpacityMapVolumeStyle.js +39 -28
- package/src/x_ite/Components/VolumeRendering/ProjectionVolumeStyle.js +38 -27
- package/src/x_ite/Components/VolumeRendering/SegmentedVolumeData.js +49 -38
- package/src/x_ite/Components/VolumeRendering/ShadedVolumeStyle.js +44 -33
- package/src/x_ite/Components/VolumeRendering/SilhouetteEnhancementVolumeStyle.js +42 -31
- package/src/x_ite/Components/VolumeRendering/ToneMappedVolumeStyle.js +41 -30
- package/src/x_ite/Components/VolumeRendering/VolumeData.js +45 -34
- package/src/x_ite/Components/VolumeRendering/X3DComposableVolumeRenderStyleNode.js +13 -2
- package/src/x_ite/Components/VolumeRendering/X3DVolumeDataNode.js +25 -12
- package/src/x_ite/Components/VolumeRendering/X3DVolumeRenderStyleNode.js +22 -9
- package/src/x_ite/Components/X_ITE/BlendMode.js +48 -37
- package/src/x_ite/Components.js +38 -14
- package/src/x_ite/Configuration/AbstractNodes.js +50 -0
- package/src/x_ite/{Fallback.js → Configuration/AbstractNodesArray.js} +22 -29
- package/src/x_ite/Configuration/ComponentInfo.js +14 -10
- package/src/x_ite/Configuration/ComponentInfoArray.js +14 -10
- package/src/x_ite/Configuration/ConcreteNodes.js +50 -0
- package/src/x_ite/Configuration/{SupportedNodes.js → ConcreteNodesArray.js} +26 -40
- package/src/x_ite/Configuration/ProfileInfo.js +13 -9
- package/src/x_ite/Configuration/ProfileInfoArray.js +14 -13
- package/src/x_ite/Configuration/SupportedComponents.js +40 -78
- package/src/x_ite/Configuration/SupportedProfiles.js +16 -16
- package/src/x_ite/Configuration/UnitInfo.js +14 -10
- package/src/x_ite/Configuration/UnitInfoArray.js +10 -21
- package/src/x_ite/Execution/BindableList.js +14 -10
- package/src/x_ite/Execution/BindableStack.js +14 -10
- package/src/x_ite/Execution/ExportedNodesArray.js +11 -9
- package/src/x_ite/Execution/ImportedNodesArray.js +11 -9
- package/src/x_ite/Execution/NamedNodesArray.js +11 -22
- package/src/x_ite/Execution/X3DExecutionContext.js +181 -152
- package/src/x_ite/Execution/X3DExportedNode.js +18 -10
- package/src/x_ite/Execution/X3DImportedNode.js +35 -22
- package/src/x_ite/Execution/X3DScene.js +93 -64
- package/src/x_ite/Execution/X3DWorld.js +21 -17
- package/src/x_ite/Fields/ArrayFields.js +87 -153
- package/src/x_ite/Fields/SFBool.js +21 -25
- package/src/x_ite/Fields/SFColor.js +43 -39
- package/src/x_ite/Fields/SFColorRGBA.js +39 -35
- package/src/x_ite/Fields/SFDouble.js +20 -21
- package/src/x_ite/Fields/SFFloat.js +20 -21
- package/src/x_ite/Fields/SFImage.js +50 -48
- package/src/x_ite/Fields/SFInt32.js +20 -21
- package/src/x_ite/Fields/SFMatrix3.js +23 -16
- package/src/x_ite/Fields/SFMatrix4.js +24 -17
- package/src/x_ite/Fields/SFMatrixPrototypeTemplate.js +31 -31
- package/src/x_ite/Fields/SFNode.js +57 -88
- package/src/x_ite/Fields/SFNodeCache.js +7 -11
- package/src/x_ite/Fields/SFRotation.js +73 -62
- package/src/x_ite/Fields/SFString.js +35 -36
- package/src/x_ite/Fields/SFTime.js +20 -21
- package/src/x_ite/Fields/SFVec2.js +17 -14
- package/src/x_ite/Fields/SFVec3.js +20 -17
- package/src/x_ite/Fields/SFVec4.js +21 -18
- package/src/x_ite/Fields/SFVecPrototypeTemplate.js +36 -36
- package/src/x_ite/Fields.js +6 -13
- package/src/x_ite/InputOutput/FileLoader.js +36 -40
- package/src/x_ite/InputOutput/Generator.js +50 -51
- package/src/x_ite/Parser/GLB2Parser.js +12 -13
- package/src/x_ite/Parser/GLTF2Parser.js +111 -112
- package/src/x_ite/Parser/GoldenGate.js +11 -13
- package/src/x_ite/Parser/HTMLSupport.js +15 -5
- package/src/x_ite/Parser/JSONParser.js +21 -22
- package/src/x_ite/Parser/OBJParser.js +56 -57
- package/src/x_ite/Parser/STLAParser.js +22 -23
- package/src/x_ite/Parser/STLBParser.js +12 -13
- package/src/x_ite/Parser/SVGParser.js +85 -86
- package/src/x_ite/Parser/VRMLParser.js +495 -878
- package/src/x_ite/Parser/X3DOptimizer.js +7 -7
- package/src/x_ite/Parser/X3DParser.js +17 -17
- package/src/x_ite/Parser/XMLParser.js +215 -269
- package/src/x_ite/Prototype/ExternProtoDeclarationArray.js +11 -9
- package/src/x_ite/Prototype/ProtoDeclarationArray.js +11 -9
- package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +35 -27
- package/src/x_ite/Prototype/X3DProtoDeclaration.js +28 -20
- package/src/x_ite/Prototype/X3DProtoDeclarationNode.js +18 -10
- package/src/x_ite/Rendering/DependentRenderer.js +11 -12
- package/src/x_ite/Rendering/MultiSampleFrameBuffer.js +9 -10
- package/src/x_ite/Rendering/PointingBuffer.js +6 -7
- package/src/x_ite/Rendering/TextureBuffer.js +11 -12
- package/src/x_ite/Rendering/VertexArray.js +5 -5
- package/src/x_ite/Rendering/X3DRenderObject.js +51 -52
- package/src/x_ite/Routing/RouteArray.js +11 -9
- package/src/x_ite/Routing/X3DRoute.js +35 -19
- package/src/x_ite/Routing/X3DRoutingContext.js +8 -9
- package/src/x_ite/X3D.js +27 -26
- package/src/x_ite/X3DCanvasElement.js +18 -7
- package/src/x_ite.css +2 -1
- package/webpack.config.js +2 -2
- /package/src/x_ite/{DEBUG.js → DEVELOPMENT.js} +0 -0
|
@@ -60,84 +60,95 @@ function TransmitterPdu (executionContext)
|
|
|
60
60
|
this .addType (X3DConstants .TransmitterPdu);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
Object .assign (Object .setPrototypeOf (TransmitterPdu .prototype, X3DSensorNode .prototype),
|
|
64
64
|
X3DBoundedObject .prototype,
|
|
65
65
|
{
|
|
66
|
-
|
|
67
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new FieldDefinitionArray ([
|
|
68
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
69
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "visible", new Fields .SFBool (true)),
|
|
70
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "bboxDisplay", new Fields .SFBool ()),
|
|
71
|
-
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxSize", new Fields .SFVec3f (-1, -1, -1)),
|
|
72
|
-
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxCenter", new Fields .SFVec3f ()),
|
|
73
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "enabled", new Fields .SFBool (true)),
|
|
74
|
-
new X3DFieldDefinition (X3DConstants .outputOnly, "isActive", new Fields .SFBool ()),
|
|
75
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "address", new Fields .SFString ("localhost")),
|
|
76
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "antennaLocation", new Fields .SFVec3f ()),
|
|
77
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "antennaPatternLength", new Fields .SFInt32 ()),
|
|
78
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "antennaPatternType", new Fields .SFInt32 ()),
|
|
79
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "applicationID", new Fields .SFInt32 (1)),
|
|
80
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "cryptoKeyID", new Fields .SFInt32 ()),
|
|
81
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "cryptoSystem", new Fields .SFInt32 ()),
|
|
82
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "entityID", new Fields .SFInt32 ()),
|
|
83
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "frequency", new Fields .SFInt32 ()),
|
|
84
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "inputSource", new Fields .SFInt32 ()),
|
|
85
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "lengthOfModulationParameters", new Fields .SFInt32 ()),
|
|
86
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "modulationTypeDetail", new Fields .SFInt32 ()),
|
|
87
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "modulationTypeMajor", new Fields .SFInt32 ()),
|
|
88
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "modulationTypeSpreadSpectrum", new Fields .SFInt32 ()),
|
|
89
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "modulationTypeSystem", new Fields .SFInt32 ()),
|
|
90
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "multicastRelayHost", new Fields .SFString ()),
|
|
91
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "multicastRelayPort", new Fields .SFInt32 ()),
|
|
92
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "networkMode", new Fields .SFString ("standAlone")),
|
|
93
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "port", new Fields .SFInt32 ()),
|
|
94
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "power", new Fields .SFFloat ()),
|
|
95
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "radioEntityTypeCategory", new Fields .SFInt32 ()),
|
|
96
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "radioEntityTypeCountry", new Fields .SFInt32 ()),
|
|
97
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "radioEntityTypeDomain", new Fields .SFInt32 ()),
|
|
98
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "radioEntityTypeKind", new Fields .SFInt32 ()),
|
|
99
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "radioEntityTypeNomenclature", new Fields .SFInt32 ()),
|
|
100
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "radioEntityTypeNomenclatureVersion", new Fields .SFInt32 ()),
|
|
101
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "radioID", new Fields .SFInt32 ()),
|
|
102
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "readInterval", new Fields .SFFloat (0.1)),
|
|
103
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "relativeAntennaLocation", new Fields .SFVec3f ()),
|
|
104
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "rtpHeaderExpected", new Fields .SFBool ()),
|
|
105
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "siteID", new Fields .SFInt32 ()),
|
|
106
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "transmitFrequencyBandwidth", new Fields .SFFloat ()),
|
|
107
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "transmitState", new Fields .SFInt32 ()),
|
|
108
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "whichGeometry", new Fields .SFInt32 (1)),
|
|
109
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "writeInterval", new Fields .SFFloat (1)),
|
|
110
|
-
new X3DFieldDefinition (X3DConstants .outputOnly, "isNetworkReader", new Fields .SFBool ()),
|
|
111
|
-
new X3DFieldDefinition (X3DConstants .outputOnly, "isNetworkWriter", new Fields .SFBool ()),
|
|
112
|
-
new X3DFieldDefinition (X3DConstants .outputOnly, "isRtpHeaderHeard", new Fields .SFBool ()),
|
|
113
|
-
new X3DFieldDefinition (X3DConstants .outputOnly, "isStandAlone", new Fields .SFBool ()),
|
|
114
|
-
new X3DFieldDefinition (X3DConstants .outputOnly, "timestamp", new Fields .SFTime ()),
|
|
115
|
-
]),
|
|
116
|
-
getTypeName: function ()
|
|
66
|
+
initialize ()
|
|
117
67
|
{
|
|
118
|
-
|
|
68
|
+
X3DSensorNode .prototype .initialize .call (this);
|
|
69
|
+
X3DBoundedObject .prototype .initialize .call (this);
|
|
119
70
|
},
|
|
120
|
-
|
|
71
|
+
dispose ()
|
|
121
72
|
{
|
|
122
|
-
|
|
73
|
+
X3DBoundedObject .prototype .dispose .call (this);
|
|
74
|
+
X3DSensorNode .prototype .dispose .call (this);
|
|
123
75
|
},
|
|
124
|
-
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
Object .defineProperties (TransmitterPdu,
|
|
79
|
+
{
|
|
80
|
+
typeName:
|
|
125
81
|
{
|
|
126
|
-
|
|
82
|
+
value: "TransmitterPdu",
|
|
83
|
+
enumerable: true,
|
|
127
84
|
},
|
|
128
|
-
|
|
85
|
+
componentName:
|
|
129
86
|
{
|
|
130
|
-
|
|
87
|
+
value: "DIS",
|
|
88
|
+
enumerable: true,
|
|
131
89
|
},
|
|
132
|
-
|
|
90
|
+
containerField:
|
|
133
91
|
{
|
|
134
|
-
|
|
135
|
-
|
|
92
|
+
value: "children",
|
|
93
|
+
enumerable: true,
|
|
136
94
|
},
|
|
137
|
-
|
|
95
|
+
specificationRange:
|
|
138
96
|
{
|
|
139
|
-
|
|
140
|
-
|
|
97
|
+
value: Object .freeze (["3.0", "Infinity"]),
|
|
98
|
+
enumerable: true,
|
|
99
|
+
},
|
|
100
|
+
fieldDefinitions:
|
|
101
|
+
{
|
|
102
|
+
value: new FieldDefinitionArray ([
|
|
103
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
104
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "visible", new Fields .SFBool (true)),
|
|
105
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "bboxDisplay", new Fields .SFBool ()),
|
|
106
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxSize", new Fields .SFVec3f (-1, -1, -1)),
|
|
107
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxCenter", new Fields .SFVec3f ()),
|
|
108
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "enabled", new Fields .SFBool (true)),
|
|
109
|
+
new X3DFieldDefinition (X3DConstants .outputOnly, "isActive", new Fields .SFBool ()),
|
|
110
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "address", new Fields .SFString ("localhost")),
|
|
111
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "antennaLocation", new Fields .SFVec3f ()),
|
|
112
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "antennaPatternLength", new Fields .SFInt32 ()),
|
|
113
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "antennaPatternType", new Fields .SFInt32 ()),
|
|
114
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "applicationID", new Fields .SFInt32 (1)),
|
|
115
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "cryptoKeyID", new Fields .SFInt32 ()),
|
|
116
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "cryptoSystem", new Fields .SFInt32 ()),
|
|
117
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "entityID", new Fields .SFInt32 ()),
|
|
118
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "frequency", new Fields .SFInt32 ()),
|
|
119
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "inputSource", new Fields .SFInt32 ()),
|
|
120
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "lengthOfModulationParameters", new Fields .SFInt32 ()),
|
|
121
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "modulationTypeDetail", new Fields .SFInt32 ()),
|
|
122
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "modulationTypeMajor", new Fields .SFInt32 ()),
|
|
123
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "modulationTypeSpreadSpectrum", new Fields .SFInt32 ()),
|
|
124
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "modulationTypeSystem", new Fields .SFInt32 ()),
|
|
125
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "multicastRelayHost", new Fields .SFString ()),
|
|
126
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "multicastRelayPort", new Fields .SFInt32 ()),
|
|
127
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "networkMode", new Fields .SFString ("standAlone")),
|
|
128
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "port", new Fields .SFInt32 ()),
|
|
129
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "power", new Fields .SFFloat ()),
|
|
130
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "radioEntityTypeCategory", new Fields .SFInt32 ()),
|
|
131
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "radioEntityTypeCountry", new Fields .SFInt32 ()),
|
|
132
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "radioEntityTypeDomain", new Fields .SFInt32 ()),
|
|
133
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "radioEntityTypeKind", new Fields .SFInt32 ()),
|
|
134
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "radioEntityTypeNomenclature", new Fields .SFInt32 ()),
|
|
135
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "radioEntityTypeNomenclatureVersion", new Fields .SFInt32 ()),
|
|
136
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "radioID", new Fields .SFInt32 ()),
|
|
137
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "readInterval", new Fields .SFFloat (0.1)),
|
|
138
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "relativeAntennaLocation", new Fields .SFVec3f ()),
|
|
139
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "rtpHeaderExpected", new Fields .SFBool ()),
|
|
140
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "siteID", new Fields .SFInt32 ()),
|
|
141
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "transmitFrequencyBandwidth", new Fields .SFFloat ()),
|
|
142
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "transmitState", new Fields .SFInt32 ()),
|
|
143
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "whichGeometry", new Fields .SFInt32 (1)),
|
|
144
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "writeInterval", new Fields .SFFloat (1)),
|
|
145
|
+
new X3DFieldDefinition (X3DConstants .outputOnly, "isNetworkReader", new Fields .SFBool ()),
|
|
146
|
+
new X3DFieldDefinition (X3DConstants .outputOnly, "isNetworkWriter", new Fields .SFBool ()),
|
|
147
|
+
new X3DFieldDefinition (X3DConstants .outputOnly, "isRtpHeaderHeard", new Fields .SFBool ()),
|
|
148
|
+
new X3DFieldDefinition (X3DConstants .outputOnly, "isStandAlone", new Fields .SFBool ()),
|
|
149
|
+
new X3DFieldDefinition (X3DConstants .outputOnly, "timestamp", new Fields .SFTime ()),
|
|
150
|
+
]),
|
|
151
|
+
enumerable: true,
|
|
141
152
|
},
|
|
142
153
|
});
|
|
143
154
|
|
|
@@ -59,43 +59,9 @@ function Background (executionContext)
|
|
|
59
59
|
this .addType (X3DConstants .Background);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
Object .assign (Object .setPrototypeOf (Background .prototype, X3DBackgroundNode .prototype),
|
|
63
63
|
{
|
|
64
|
-
|
|
65
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new FieldDefinitionArray ([
|
|
66
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
67
|
-
new X3DFieldDefinition (X3DConstants .inputOnly, "set_bind", new Fields .SFBool ()),
|
|
68
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "frontUrl", new Fields .MFString ()),
|
|
69
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "backUrl", new Fields .MFString ()),
|
|
70
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "leftUrl", new Fields .MFString ()),
|
|
71
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "rightUrl", new Fields .MFString ()),
|
|
72
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "topUrl", new Fields .MFString ()),
|
|
73
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "bottomUrl", new Fields .MFString ()),
|
|
74
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "skyAngle", new Fields .MFFloat ()),
|
|
75
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "skyColor", new Fields .MFColor (new Fields .SFColor ())),
|
|
76
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "groundAngle", new Fields .MFFloat ()),
|
|
77
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "groundColor", new Fields .MFColor ()),
|
|
78
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "transparency", new Fields .SFFloat ()),
|
|
79
|
-
new X3DFieldDefinition (X3DConstants .outputOnly, "isBound", new Fields .SFBool ()),
|
|
80
|
-
new X3DFieldDefinition (X3DConstants .outputOnly, "bindTime", new Fields .SFTime ()),
|
|
81
|
-
]),
|
|
82
|
-
getTypeName: function ()
|
|
83
|
-
{
|
|
84
|
-
return "Background";
|
|
85
|
-
},
|
|
86
|
-
getComponentName: function ()
|
|
87
|
-
{
|
|
88
|
-
return "EnvironmentalEffects";
|
|
89
|
-
},
|
|
90
|
-
getContainerField: function ()
|
|
91
|
-
{
|
|
92
|
-
return "children";
|
|
93
|
-
},
|
|
94
|
-
getSpecificationRange: function ()
|
|
95
|
-
{
|
|
96
|
-
return ["2.0", "Infinity"];
|
|
97
|
-
},
|
|
98
|
-
initialize: function ()
|
|
64
|
+
initialize ()
|
|
99
65
|
{
|
|
100
66
|
X3DBackgroundNode .prototype .initialize .call (this);
|
|
101
67
|
|
|
@@ -145,4 +111,49 @@ Background .prototype = Object .assign (Object .create (X3DBackgroundNode .proto
|
|
|
145
111
|
}
|
|
146
112
|
});
|
|
147
113
|
|
|
114
|
+
Object .defineProperties (Background,
|
|
115
|
+
{
|
|
116
|
+
typeName:
|
|
117
|
+
{
|
|
118
|
+
value: "Background",
|
|
119
|
+
enumerable: true,
|
|
120
|
+
},
|
|
121
|
+
componentName:
|
|
122
|
+
{
|
|
123
|
+
value: "EnvironmentalEffects",
|
|
124
|
+
enumerable: true,
|
|
125
|
+
},
|
|
126
|
+
containerField:
|
|
127
|
+
{
|
|
128
|
+
value: "children",
|
|
129
|
+
enumerable: true,
|
|
130
|
+
},
|
|
131
|
+
specificationRange:
|
|
132
|
+
{
|
|
133
|
+
value: Object .freeze (["2.0", "Infinity"]),
|
|
134
|
+
enumerable: true,
|
|
135
|
+
},
|
|
136
|
+
fieldDefinitions:
|
|
137
|
+
{
|
|
138
|
+
value: new FieldDefinitionArray ([
|
|
139
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
140
|
+
new X3DFieldDefinition (X3DConstants .inputOnly, "set_bind", new Fields .SFBool ()),
|
|
141
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "frontUrl", new Fields .MFString ()),
|
|
142
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "backUrl", new Fields .MFString ()),
|
|
143
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "leftUrl", new Fields .MFString ()),
|
|
144
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "rightUrl", new Fields .MFString ()),
|
|
145
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "topUrl", new Fields .MFString ()),
|
|
146
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "bottomUrl", new Fields .MFString ()),
|
|
147
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "skyAngle", new Fields .MFFloat ()),
|
|
148
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "skyColor", new Fields .MFColor (new Fields .SFColor ())),
|
|
149
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "groundAngle", new Fields .MFFloat ()),
|
|
150
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "groundColor", new Fields .MFColor ()),
|
|
151
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "transparency", new Fields .SFFloat ()),
|
|
152
|
+
new X3DFieldDefinition (X3DConstants .outputOnly, "isBound", new Fields .SFBool ()),
|
|
153
|
+
new X3DFieldDefinition (X3DConstants .outputOnly, "bindTime", new Fields .SFTime ()),
|
|
154
|
+
]),
|
|
155
|
+
enumerable: true,
|
|
156
|
+
},
|
|
157
|
+
});
|
|
158
|
+
|
|
148
159
|
export default Background;
|
|
@@ -64,45 +64,19 @@ function Fog (executionContext)
|
|
|
64
64
|
this .modelMatrix = new Matrix4 ();
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
Object .assign (Object .setPrototypeOf (Fog .prototype, X3DBindableNode .prototype),
|
|
68
68
|
X3DFogObject .prototype,
|
|
69
69
|
{
|
|
70
|
-
|
|
71
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new FieldDefinitionArray ([
|
|
72
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
73
|
-
new X3DFieldDefinition (X3DConstants .inputOnly, "set_bind", new Fields .SFBool ()),
|
|
74
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "fogType", new Fields .SFString ("LINEAR")),
|
|
75
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "color", new Fields .SFColor (1, 1, 1)),
|
|
76
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "visibilityRange", new Fields .SFFloat ()),
|
|
77
|
-
new X3DFieldDefinition (X3DConstants .outputOnly, "isBound", new Fields .SFBool ()),
|
|
78
|
-
new X3DFieldDefinition (X3DConstants .outputOnly, "bindTime", new Fields .SFTime ()),
|
|
79
|
-
]),
|
|
80
|
-
getTypeName: function ()
|
|
81
|
-
{
|
|
82
|
-
return "Fog";
|
|
83
|
-
},
|
|
84
|
-
getComponentName: function ()
|
|
85
|
-
{
|
|
86
|
-
return "EnvironmentalEffects";
|
|
87
|
-
},
|
|
88
|
-
getContainerField: function ()
|
|
89
|
-
{
|
|
90
|
-
return "children";
|
|
91
|
-
},
|
|
92
|
-
getSpecificationRange: function ()
|
|
93
|
-
{
|
|
94
|
-
return ["2.0", "Infinity"];
|
|
95
|
-
},
|
|
96
|
-
initialize: function ()
|
|
70
|
+
initialize ()
|
|
97
71
|
{
|
|
98
72
|
X3DBindableNode .prototype .initialize .call (this);
|
|
99
73
|
X3DFogObject .prototype .initialize .call (this);
|
|
100
74
|
},
|
|
101
|
-
getModelMatrix
|
|
75
|
+
getModelMatrix ()
|
|
102
76
|
{
|
|
103
77
|
return this .modelMatrix;
|
|
104
78
|
},
|
|
105
|
-
traverse
|
|
79
|
+
traverse (type, renderObject)
|
|
106
80
|
{
|
|
107
81
|
if (type !== TraverseType .CAMERA)
|
|
108
82
|
return;
|
|
@@ -111,11 +85,48 @@ Fog .prototype = Object .assign (Object .create (X3DBindableNode .prototype),
|
|
|
111
85
|
|
|
112
86
|
this .modelMatrix .assign (renderObject .getModelViewMatrix () .get ());
|
|
113
87
|
},
|
|
114
|
-
dispose
|
|
88
|
+
dispose ()
|
|
115
89
|
{
|
|
116
90
|
X3DFogObject .prototype .dispose .call (this);
|
|
117
91
|
X3DBindableNode .prototype .dispose .call (this);
|
|
118
92
|
},
|
|
119
93
|
});
|
|
120
94
|
|
|
95
|
+
Object .defineProperties (Fog,
|
|
96
|
+
{
|
|
97
|
+
typeName:
|
|
98
|
+
{
|
|
99
|
+
value: "Fog",
|
|
100
|
+
enumerable: true,
|
|
101
|
+
},
|
|
102
|
+
componentName:
|
|
103
|
+
{
|
|
104
|
+
value: "EnvironmentalEffects",
|
|
105
|
+
enumerable: true,
|
|
106
|
+
},
|
|
107
|
+
containerField:
|
|
108
|
+
{
|
|
109
|
+
value: "children",
|
|
110
|
+
enumerable: true,
|
|
111
|
+
},
|
|
112
|
+
specificationRange:
|
|
113
|
+
{
|
|
114
|
+
value: Object .freeze (["2.0", "Infinity"]),
|
|
115
|
+
enumerable: true,
|
|
116
|
+
},
|
|
117
|
+
fieldDefinitions:
|
|
118
|
+
{
|
|
119
|
+
value: new FieldDefinitionArray ([
|
|
120
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
121
|
+
new X3DFieldDefinition (X3DConstants .inputOnly, "set_bind", new Fields .SFBool ()),
|
|
122
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "fogType", new Fields .SFString ("LINEAR")),
|
|
123
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "color", new Fields .SFColor (1, 1, 1)),
|
|
124
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "visibilityRange", new Fields .SFFloat ()),
|
|
125
|
+
new X3DFieldDefinition (X3DConstants .outputOnly, "isBound", new Fields .SFBool ()),
|
|
126
|
+
new X3DFieldDefinition (X3DConstants .outputOnly, "bindTime", new Fields .SFTime ()),
|
|
127
|
+
]),
|
|
128
|
+
enumerable: true,
|
|
129
|
+
},
|
|
130
|
+
});
|
|
131
|
+
|
|
121
132
|
export default Fog;
|
|
@@ -60,30 +60,9 @@ function FogCoordinate (executionContext)
|
|
|
60
60
|
this ._depth .setUnit ("length");
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
Object .assign (Object .setPrototypeOf (FogCoordinate .prototype, X3DGeometricPropertyNode .prototype),
|
|
64
64
|
{
|
|
65
|
-
|
|
66
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new FieldDefinitionArray ([
|
|
67
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
68
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "depth", new Fields .MFFloat ()),
|
|
69
|
-
]),
|
|
70
|
-
getTypeName: function ()
|
|
71
|
-
{
|
|
72
|
-
return "FogCoordinate";
|
|
73
|
-
},
|
|
74
|
-
getComponentName: function ()
|
|
75
|
-
{
|
|
76
|
-
return "EnvironmentalEffects";
|
|
77
|
-
},
|
|
78
|
-
getContainerField: function ()
|
|
79
|
-
{
|
|
80
|
-
return "fogCoord";
|
|
81
|
-
},
|
|
82
|
-
getSpecificationRange: function ()
|
|
83
|
-
{
|
|
84
|
-
return ["3.0", "Infinity"];
|
|
85
|
-
},
|
|
86
|
-
initialize: function ()
|
|
65
|
+
initialize ()
|
|
87
66
|
{
|
|
88
67
|
X3DGeometricPropertyNode .prototype .initialize .call (this);
|
|
89
68
|
|
|
@@ -91,20 +70,20 @@ FogCoordinate .prototype = Object .assign (Object .create (X3DGeometricPropertyN
|
|
|
91
70
|
|
|
92
71
|
this .set_depth__ ();
|
|
93
72
|
},
|
|
94
|
-
set_depth__
|
|
73
|
+
set_depth__ ()
|
|
95
74
|
{
|
|
96
75
|
this .depth = this ._depth .getValue ();
|
|
97
76
|
this .length = this ._depth .length;
|
|
98
77
|
},
|
|
99
|
-
isEmpty
|
|
78
|
+
isEmpty ()
|
|
100
79
|
{
|
|
101
80
|
return this .length === 0;
|
|
102
81
|
},
|
|
103
|
-
getSize
|
|
82
|
+
getSize ()
|
|
104
83
|
{
|
|
105
84
|
return this .length;
|
|
106
85
|
},
|
|
107
|
-
addDepth
|
|
86
|
+
addDepth (index, array)
|
|
108
87
|
{
|
|
109
88
|
if (index < this .length)
|
|
110
89
|
array .push (this .depth [index]);
|
|
@@ -115,7 +94,7 @@ FogCoordinate .prototype = Object .assign (Object .create (X3DGeometricPropertyN
|
|
|
115
94
|
else
|
|
116
95
|
array .push (0);
|
|
117
96
|
},
|
|
118
|
-
addDepths
|
|
97
|
+
addDepths (array, min)
|
|
119
98
|
{
|
|
120
99
|
const length = this .length;
|
|
121
100
|
|
|
@@ -139,4 +118,36 @@ FogCoordinate .prototype = Object .assign (Object .create (X3DGeometricPropertyN
|
|
|
139
118
|
},
|
|
140
119
|
});
|
|
141
120
|
|
|
121
|
+
Object .defineProperties (FogCoordinate,
|
|
122
|
+
{
|
|
123
|
+
typeName:
|
|
124
|
+
{
|
|
125
|
+
value: "FogCoordinate",
|
|
126
|
+
enumerable: true,
|
|
127
|
+
},
|
|
128
|
+
componentName:
|
|
129
|
+
{
|
|
130
|
+
value: "EnvironmentalEffects",
|
|
131
|
+
enumerable: true,
|
|
132
|
+
},
|
|
133
|
+
containerField:
|
|
134
|
+
{
|
|
135
|
+
value: "fogCoord",
|
|
136
|
+
enumerable: true,
|
|
137
|
+
},
|
|
138
|
+
specificationRange:
|
|
139
|
+
{
|
|
140
|
+
value: Object .freeze (["3.0", "Infinity"]),
|
|
141
|
+
enumerable: true,
|
|
142
|
+
},
|
|
143
|
+
fieldDefinitions:
|
|
144
|
+
{
|
|
145
|
+
value: new FieldDefinitionArray ([
|
|
146
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
147
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "depth", new Fields .MFFloat ()),
|
|
148
|
+
]),
|
|
149
|
+
enumerable: true,
|
|
150
|
+
},
|
|
151
|
+
});
|
|
152
|
+
|
|
142
153
|
export default FogCoordinate;
|
|
@@ -60,39 +60,15 @@ function LocalFog (executionContext)
|
|
|
60
60
|
this .addType (X3DConstants .LocalFog);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
Object .assign (Object .setPrototypeOf (LocalFog .prototype, X3DChildNode .prototype),
|
|
64
64
|
X3DFogObject .prototype,
|
|
65
65
|
{
|
|
66
|
-
|
|
67
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new FieldDefinitionArray ([
|
|
68
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
69
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "enabled", new Fields .SFBool (true)),
|
|
70
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "fogType", new Fields .SFString ("LINEAR")),
|
|
71
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "color", new Fields .SFColor (1, 1, 1)),
|
|
72
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "visibilityRange", new Fields .SFFloat ()),
|
|
73
|
-
]),
|
|
74
|
-
getTypeName: function ()
|
|
75
|
-
{
|
|
76
|
-
return "LocalFog";
|
|
77
|
-
},
|
|
78
|
-
getComponentName: function ()
|
|
79
|
-
{
|
|
80
|
-
return "EnvironmentalEffects";
|
|
81
|
-
},
|
|
82
|
-
getContainerField: function ()
|
|
83
|
-
{
|
|
84
|
-
return "children";
|
|
85
|
-
},
|
|
86
|
-
getSpecificationRange: function ()
|
|
87
|
-
{
|
|
88
|
-
return ["3.0", "Infinity"];
|
|
89
|
-
},
|
|
90
|
-
initialize: function ()
|
|
66
|
+
initialize ()
|
|
91
67
|
{
|
|
92
68
|
X3DChildNode .prototype .initialize .call (this);
|
|
93
69
|
X3DFogObject .prototype .initialize .call (this);
|
|
94
70
|
},
|
|
95
|
-
push
|
|
71
|
+
push (renderObject)
|
|
96
72
|
{
|
|
97
73
|
if (this ._enabled .getValue () && this .getFogType ())
|
|
98
74
|
{
|
|
@@ -103,16 +79,51 @@ LocalFog .prototype = Object .assign (Object .create (X3DChildNode .prototype),
|
|
|
103
79
|
renderObject .getLocalFogs () .push (fogContainer);
|
|
104
80
|
}
|
|
105
81
|
},
|
|
106
|
-
pop
|
|
82
|
+
pop (renderObject)
|
|
107
83
|
{
|
|
108
84
|
if (this ._enabled .getValue () && this .getFogType ())
|
|
109
85
|
this .getBrowser () .getLocalObjects () .push (renderObject .getLocalFogs () .pop ());
|
|
110
86
|
},
|
|
111
|
-
dispose
|
|
87
|
+
dispose ()
|
|
112
88
|
{
|
|
113
89
|
X3DFogObject .prototype .dispose .call (this);
|
|
114
90
|
X3DChildNode .prototype .dispose .call (this);
|
|
115
91
|
},
|
|
116
92
|
});
|
|
117
93
|
|
|
94
|
+
Object .defineProperties (LocalFog,
|
|
95
|
+
{
|
|
96
|
+
typeName:
|
|
97
|
+
{
|
|
98
|
+
value: "LocalFog",
|
|
99
|
+
enumerable: true,
|
|
100
|
+
},
|
|
101
|
+
componentName:
|
|
102
|
+
{
|
|
103
|
+
value: "EnvironmentalEffects",
|
|
104
|
+
enumerable: true,
|
|
105
|
+
},
|
|
106
|
+
containerField:
|
|
107
|
+
{
|
|
108
|
+
value: "children",
|
|
109
|
+
enumerable: true,
|
|
110
|
+
},
|
|
111
|
+
specificationRange:
|
|
112
|
+
{
|
|
113
|
+
value: Object .freeze (["3.0", "Infinity"]),
|
|
114
|
+
enumerable: true,
|
|
115
|
+
},
|
|
116
|
+
fieldDefinitions:
|
|
117
|
+
{
|
|
118
|
+
value: new FieldDefinitionArray ([
|
|
119
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
120
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "enabled", new Fields .SFBool (true)),
|
|
121
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "fogType", new Fields .SFString ("LINEAR")),
|
|
122
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "color", new Fields .SFColor (1, 1, 1)),
|
|
123
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "visibilityRange", new Fields .SFFloat ()),
|
|
124
|
+
]),
|
|
125
|
+
enumerable: true,
|
|
126
|
+
},
|
|
127
|
+
});
|
|
128
|
+
|
|
118
129
|
export default LocalFog;
|
|
@@ -59,43 +59,9 @@ function TextureBackground (executionContext)
|
|
|
59
59
|
this .addType (X3DConstants .TextureBackground);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
Object .assign (Object .setPrototypeOf (TextureBackground .prototype, X3DBackgroundNode .prototype),
|
|
63
63
|
{
|
|
64
|
-
|
|
65
|
-
[Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new FieldDefinitionArray ([
|
|
66
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
67
|
-
new X3DFieldDefinition (X3DConstants .inputOnly, "set_bind", new Fields .SFBool ()),
|
|
68
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "skyAngle", new Fields .MFFloat ()),
|
|
69
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "skyColor", new Fields .MFColor (new Fields .SFColor ())),
|
|
70
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "groundAngle", new Fields .MFFloat ()),
|
|
71
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "groundColor", new Fields .MFColor ()),
|
|
72
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "transparency", new Fields .SFFloat ()),
|
|
73
|
-
new X3DFieldDefinition (X3DConstants .outputOnly, "isBound", new Fields .SFBool ()),
|
|
74
|
-
new X3DFieldDefinition (X3DConstants .outputOnly, "bindTime", new Fields .SFTime ()),
|
|
75
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "frontTexture", new Fields .SFNode ()),
|
|
76
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "backTexture", new Fields .SFNode ()),
|
|
77
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "leftTexture", new Fields .SFNode ()),
|
|
78
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "rightTexture", new Fields .SFNode ()),
|
|
79
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "topTexture", new Fields .SFNode ()),
|
|
80
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "bottomTexture", new Fields .SFNode ()),
|
|
81
|
-
]),
|
|
82
|
-
getTypeName: function ()
|
|
83
|
-
{
|
|
84
|
-
return "TextureBackground";
|
|
85
|
-
},
|
|
86
|
-
getComponentName: function ()
|
|
87
|
-
{
|
|
88
|
-
return "EnvironmentalEffects";
|
|
89
|
-
},
|
|
90
|
-
getContainerField: function ()
|
|
91
|
-
{
|
|
92
|
-
return "children";
|
|
93
|
-
},
|
|
94
|
-
getSpecificationRange: function ()
|
|
95
|
-
{
|
|
96
|
-
return ["3.0", "Infinity"];
|
|
97
|
-
},
|
|
98
|
-
initialize: function ()
|
|
64
|
+
initialize ()
|
|
99
65
|
{
|
|
100
66
|
X3DBackgroundNode .prototype .initialize .call (this);
|
|
101
67
|
|
|
@@ -113,10 +79,55 @@ TextureBackground .prototype = Object .assign (Object .create (X3DBackgroundNode
|
|
|
113
79
|
this .set_texture__ (4, this ._topTexture);
|
|
114
80
|
this .set_texture__ (5, this ._bottomTexture);
|
|
115
81
|
},
|
|
116
|
-
set_texture__
|
|
82
|
+
set_texture__ (index, textureNode)
|
|
117
83
|
{
|
|
118
84
|
X3DBackgroundNode .prototype .set_texture__ .call (this, X3DCast (X3DConstants .X3DTextureNode, textureNode), index);
|
|
119
85
|
},
|
|
120
86
|
});
|
|
121
87
|
|
|
88
|
+
Object .defineProperties (TextureBackground,
|
|
89
|
+
{
|
|
90
|
+
typeName:
|
|
91
|
+
{
|
|
92
|
+
value: "TextureBackground",
|
|
93
|
+
enumerable: true,
|
|
94
|
+
},
|
|
95
|
+
componentName:
|
|
96
|
+
{
|
|
97
|
+
value: "EnvironmentalEffects",
|
|
98
|
+
enumerable: true,
|
|
99
|
+
},
|
|
100
|
+
containerField:
|
|
101
|
+
{
|
|
102
|
+
value: "children",
|
|
103
|
+
enumerable: true,
|
|
104
|
+
},
|
|
105
|
+
specificationRange:
|
|
106
|
+
{
|
|
107
|
+
value: Object .freeze (["3.0", "Infinity"]),
|
|
108
|
+
enumerable: true,
|
|
109
|
+
},
|
|
110
|
+
fieldDefinitions:
|
|
111
|
+
{
|
|
112
|
+
value: new FieldDefinitionArray ([
|
|
113
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
114
|
+
new X3DFieldDefinition (X3DConstants .inputOnly, "set_bind", new Fields .SFBool ()),
|
|
115
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "skyAngle", new Fields .MFFloat ()),
|
|
116
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "skyColor", new Fields .MFColor (new Fields .SFColor ())),
|
|
117
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "groundAngle", new Fields .MFFloat ()),
|
|
118
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "groundColor", new Fields .MFColor ()),
|
|
119
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "transparency", new Fields .SFFloat ()),
|
|
120
|
+
new X3DFieldDefinition (X3DConstants .outputOnly, "isBound", new Fields .SFBool ()),
|
|
121
|
+
new X3DFieldDefinition (X3DConstants .outputOnly, "bindTime", new Fields .SFTime ()),
|
|
122
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "frontTexture", new Fields .SFNode ()),
|
|
123
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "backTexture", new Fields .SFNode ()),
|
|
124
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "leftTexture", new Fields .SFNode ()),
|
|
125
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "rightTexture", new Fields .SFNode ()),
|
|
126
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "topTexture", new Fields .SFNode ()),
|
|
127
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "bottomTexture", new Fields .SFNode ()),
|
|
128
|
+
]),
|
|
129
|
+
enumerable: true,
|
|
130
|
+
},
|
|
131
|
+
});
|
|
132
|
+
|
|
122
133
|
export default TextureBackground;
|