x_ite 8.8.6 → 8.9.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 +6 -0
- package/build/docs/nodes.pl +434 -0
- package/dist/assets/components/Annotation.js +14 -14
- 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 +28 -28
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +14 -14
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +19 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +52 -40
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +19 -19
- 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 -27
- 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 +76 -74
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +29 -30
- 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 +24 -24
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +23 -23
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +30 -30
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +21 -21
- 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 +1002 -133
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +2 -2
- package/docs/_posts/components/CADGeometry/CADAssembly.md +47 -21
- package/docs/_posts/components/CADGeometry/CADFace.md +47 -21
- package/docs/_posts/components/CADGeometry/CADLayer.md +50 -21
- package/docs/_posts/components/CADGeometry/CADPart.md +56 -26
- package/docs/_posts/components/CADGeometry/IndexedQuadSet.md +55 -26
- package/docs/_posts/components/CADGeometry/QuadSet.md +52 -20
- package/docs/_posts/components/Core/MetadataBoolean.md +27 -36
- package/docs/_posts/components/Core/MetadataDouble.md +31 -16
- package/docs/_posts/components/Core/MetadataFloat.md +31 -16
- package/docs/_posts/components/Core/MetadataInteger.md +31 -16
- package/docs/_posts/components/Core/MetadataSet.md +30 -15
- package/docs/_posts/components/Core/MetadataString.md +31 -16
- package/docs/_posts/components/Core/WorldInfo.md +21 -10
- package/docs/_posts/components/CubeMapTexturing/ComposedCubeMapTexture.md +39 -30
- package/docs/_posts/components/CubeMapTexturing/GeneratedCubeMapTexture.md +19 -10
- package/docs/_posts/components/CubeMapTexturing/ImageCubeMapTexture.md +22 -18
- package/docs/_posts/components/DIS/DISEntityManager.md +43 -18
- package/docs/_posts/components/DIS/DISEntityTypeMapping.md +43 -34
- package/docs/_posts/components/DIS/EspduTransform.md +211 -78
- package/docs/_posts/components/DIS/ReceiverPdu.md +95 -45
- package/docs/_posts/components/DIS/SignalPdu.md +98 -44
- package/docs/_posts/components/DIS/TransmitterPdu.md +118 -68
- package/docs/_posts/components/EnvironmentalEffects/Background.md +80 -39
- package/docs/_posts/components/EnvironmentalEffects/Fog.md +39 -18
- package/docs/_posts/components/EnvironmentalEffects/FogCoordinate.md +10 -6
- package/docs/_posts/components/EnvironmentalEffects/LocalFog.md +21 -14
- package/docs/_posts/components/EnvironmentalEffects/TextureBackground.md +83 -31
- package/docs/_posts/components/EnvironmentalSensor/ProximitySensor.md +36 -8
- package/docs/_posts/components/EnvironmentalSensor/TransformSensor.md +31 -7
- package/docs/_posts/components/EnvironmentalSensor/VisibilitySensor.md +23 -7
- package/docs/_posts/components/EventUtilities/BooleanFilter.md +27 -14
- package/docs/_posts/components/EventUtilities/BooleanSequencer.md +46 -17
- package/docs/_posts/components/EventUtilities/BooleanToggle.md +29 -8
- package/docs/_posts/components/EventUtilities/BooleanTrigger.md +24 -7
- package/docs/_posts/components/EventUtilities/IntegerSequencer.md +46 -17
- package/docs/_posts/components/EventUtilities/IntegerTrigger.md +34 -9
- package/docs/_posts/components/EventUtilities/TimeTrigger.md +30 -9
- package/docs/_posts/components/Followers/ColorChaser.md +35 -11
- package/docs/_posts/components/Followers/ColorDamper.md +32 -12
- package/docs/_posts/components/Followers/CoordinateChaser.md +33 -9
- package/docs/_posts/components/Followers/CoordinateDamper.md +30 -10
- package/docs/_posts/components/Followers/OrientationChaser.md +34 -10
- package/docs/_posts/components/Followers/OrientationDamper.md +31 -11
- package/docs/_posts/components/Followers/PositionChaser.md +33 -9
- package/docs/_posts/components/Followers/PositionChaser2D.md +33 -9
- package/docs/_posts/components/Followers/PositionDamper.md +30 -10
- package/docs/_posts/components/Followers/PositionDamper2D.md +30 -10
- package/docs/_posts/components/Followers/ScalarChaser.md +33 -9
- package/docs/_posts/components/Followers/ScalarDamper.md +30 -10
- package/docs/_posts/components/Followers/TexCoordChaser2D.md +33 -9
- package/docs/_posts/components/Followers/TexCoordDamper2D.md +30 -10
- package/docs/_posts/components/Geometry2D/Arc2D.md +39 -14
- package/docs/_posts/components/Geometry2D/ArcClose2D.md +43 -19
- package/docs/_posts/components/Geometry2D/Circle2D.md +21 -10
- package/docs/_posts/components/Geometry2D/Disk2D.md +32 -14
- package/docs/_posts/components/Geometry2D/Polyline2D.md +25 -10
- package/docs/_posts/components/Geometry2D/Polypoint2D.md +16 -8
- package/docs/_posts/components/Geometry2D/Rectangle2D.md +23 -12
- package/docs/_posts/components/Geometry2D/TriangleSet2D.md +23 -12
- package/docs/_posts/components/Geometry3D/Box.md +26 -13
- package/docs/_posts/components/Geometry3D/Cone.md +31 -23
- package/docs/_posts/components/Geometry3D/Cylinder.md +32 -28
- package/docs/_posts/components/Geometry3D/ElevationGrid.md +75 -31
- package/docs/_posts/components/Geometry3D/Extrusion.md +100 -48
- package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +95 -43
- package/docs/_posts/components/Geometry3D/Sphere.md +25 -13
- package/docs/_posts/components/Geospatial/GeoCoordinate.md +30 -14
- package/docs/_posts/components/Geospatial/GeoElevationGrid.md +85 -40
- package/docs/_posts/components/Geospatial/GeoLOD.md +69 -30
- package/docs/_posts/components/Geospatial/GeoLocation.md +66 -28
- package/docs/_posts/components/Geospatial/GeoMetadata.md +28 -22
- package/docs/_posts/components/Geospatial/GeoOrigin.md +34 -19
- package/docs/_posts/components/Geospatial/GeoPositionInterpolator.md +64 -18
- package/docs/_posts/components/Geospatial/GeoProximitySensor.md +67 -18
- package/docs/_posts/components/Geospatial/GeoTouchSensor.md +66 -21
- package/docs/_posts/components/Geospatial/GeoTransform.md +74 -30
- package/docs/_posts/components/Geospatial/GeoViewpoint.md +88 -41
- package/docs/_posts/components/Grouping/Group.md +34 -18
- package/docs/_posts/components/Grouping/StaticGroup.md +39 -18
- package/docs/_posts/components/Grouping/Switch.md +41 -22
- package/docs/_posts/components/Grouping/Transform.md +47 -30
- package/docs/_posts/components/HAnim/HAnimDisplacer.md +48 -37
- package/docs/_posts/components/HAnim/HAnimHumanoid.md +245 -55
- package/docs/_posts/components/HAnim/HAnimJoint.md +136 -70
- package/docs/_posts/components/HAnim/HAnimMotion.md +128 -18
- package/docs/_posts/components/HAnim/HAnimSegment.md +92 -52
- package/docs/_posts/components/HAnim/HAnimSite.md +95 -52
- package/docs/_posts/components/Interpolation/ColorInterpolator.md +41 -11
- package/docs/_posts/components/Interpolation/CoordinateInterpolator.md +39 -13
- package/docs/_posts/components/Interpolation/CoordinateInterpolator2D.md +43 -14
- package/docs/_posts/components/Interpolation/EaseInEaseOut.md +36 -12
- package/docs/_posts/components/Interpolation/NormalInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/OrientationInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/PositionInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/PositionInterpolator2D.md +43 -14
- package/docs/_posts/components/Interpolation/ScalarInterpolator.md +39 -13
- package/docs/_posts/components/Interpolation/SplinePositionInterpolator.md +41 -16
- package/docs/_posts/components/Interpolation/SplinePositionInterpolator2D.md +41 -16
- package/docs/_posts/components/Interpolation/SplineScalarInterpolator.md +40 -24
- package/docs/_posts/components/Interpolation/SquadOrientationInterpolator.md +35 -11
- package/docs/_posts/components/KeyDeviceSensor/KeySensor.md +51 -9
- package/docs/_posts/components/KeyDeviceSensor/StringSensor.md +31 -9
- package/docs/_posts/components/Layering/Layer.md +39 -14
- package/docs/_posts/components/Layering/LayerSet.md +21 -15
- package/docs/_posts/components/Layering/Viewport.md +34 -18
- package/docs/_posts/components/Layout/Layout.md +28 -17
- package/docs/_posts/components/Layout/LayoutGroup.md +37 -21
- package/docs/_posts/components/Layout/LayoutLayer.md +40 -15
- package/docs/_posts/components/Layout/ScreenFontStyle.md +74 -47
- package/docs/_posts/components/Layout/ScreenGroup.md +35 -19
- package/docs/_posts/components/Lighting/DirectionalLight.md +23 -15
- package/docs/_posts/components/Lighting/EnvironmentLight.md +7 -11
- package/docs/_posts/components/Lighting/PointLight.md +27 -15
- package/docs/_posts/components/Lighting/SpotLight.md +36 -23
- package/docs/_posts/components/NURBS/Contour2D.md +17 -9
- package/docs/_posts/components/NURBS/ContourPolyline2D.md +10 -6
- package/docs/_posts/components/NURBS/CoordinateDouble.md +13 -9
- package/docs/_posts/components/NURBS/NurbsCurve.md +16 -12
- package/docs/_posts/components/NURBS/NurbsCurve2D.md +15 -11
- package/docs/_posts/components/NURBS/NurbsOrientationInterpolator.md +31 -15
- package/docs/_posts/components/NURBS/NurbsPatchSurface.md +29 -23
- package/docs/_posts/components/NURBS/NurbsPositionInterpolator.md +30 -14
- package/docs/_posts/components/NURBS/NurbsSet.md +51 -17
- package/docs/_posts/components/NURBS/NurbsSurfaceInterpolator.md +48 -28
- package/docs/_posts/components/NURBS/NurbsSweptSurface.md +31 -14
- package/docs/_posts/components/NURBS/NurbsSwungSurface.md +25 -14
- package/docs/_posts/components/NURBS/NurbsTextureCoordinate.md +26 -22
- package/docs/_posts/components/NURBS/NurbsTrimmedSurface.md +36 -26
- package/docs/_posts/components/Navigation/Billboard.md +35 -19
- package/docs/_posts/components/Navigation/Collision.md +61 -24
- package/docs/_posts/components/Navigation/LOD.md +55 -25
- package/docs/_posts/components/Navigation/NavigationInfo.md +69 -26
- package/docs/_posts/components/Navigation/OrthoViewpoint.md +89 -38
- package/docs/_posts/components/Navigation/Viewpoint.md +95 -40
- package/docs/_posts/components/Navigation/ViewpointGroup.md +29 -18
- package/docs/_posts/components/Networking/Anchor.md +56 -58
- package/docs/_posts/components/Networking/Inline.md +44 -31
- package/docs/_posts/components/Networking/LoadSensor.md +43 -11
- package/docs/_posts/components/ParticleSystems/BoundedPhysicsModel.md +16 -8
- package/docs/_posts/components/ParticleSystems/ConeEmitter.md +31 -12
- package/docs/_posts/components/ParticleSystems/ExplosionEmitter.md +23 -12
- package/docs/_posts/components/ParticleSystems/ForcePhysicsModel.md +15 -8
- package/docs/_posts/components/ParticleSystems/ParticleSystem.md +110 -55
- package/docs/_posts/components/ParticleSystems/PointEmitter.md +25 -14
- package/docs/_posts/components/ParticleSystems/PolylineEmitter.md +28 -16
- package/docs/_posts/components/ParticleSystems/SurfaceEmitter.md +25 -14
- package/docs/_posts/components/ParticleSystems/VolumeEmitter.md +35 -16
- package/docs/_posts/components/ParticleSystems/WindPhysicsModel.md +12 -8
- package/docs/_posts/components/Picking/LinePickSensor.md +57 -31
- package/docs/_posts/components/Picking/PickableGroup.md +44 -26
- package/docs/_posts/components/Picking/PointPickSensor.md +47 -26
- package/docs/_posts/components/Picking/PrimitivePickSensor.md +43 -31
- package/docs/_posts/components/Picking/VolumePickSensor.md +43 -26
- package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +46 -21
- package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +43 -20
- package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +37 -15
- package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +50 -16
- package/docs/_posts/components/Rendering/ClipPlane.md +21 -16
- package/docs/_posts/components/Rendering/Color.md +14 -14
- package/docs/_posts/components/Rendering/ColorRGBA.md +13 -9
- package/docs/_posts/components/Rendering/Coordinate.md +11 -7
- package/docs/_posts/components/Rendering/IndexedLineSet.md +55 -27
- package/docs/_posts/components/Rendering/IndexedTriangleFanSet.md +44 -23
- package/docs/_posts/components/Rendering/IndexedTriangleSet.md +45 -24
- package/docs/_posts/components/Rendering/IndexedTriangleStripSet.md +45 -20
- package/docs/_posts/components/Rendering/LineSet.md +26 -14
- package/docs/_posts/components/Rendering/Normal.md +28 -6
- package/docs/_posts/components/Rendering/PointSet.md +24 -11
- package/docs/_posts/components/Rendering/TriangleFanSet.md +44 -19
- package/docs/_posts/components/Rendering/TriangleSet.md +44 -19
- package/docs/_posts/components/Rendering/TriangleStripSet.md +45 -20
- package/docs/_posts/components/RigidBodyPhysics/BallJoint.md +24 -12
- package/docs/_posts/components/RigidBodyPhysics/CollidableOffset.md +40 -17
- package/docs/_posts/components/RigidBodyPhysics/CollidableShape.md +37 -19
- package/docs/_posts/components/RigidBodyPhysics/CollisionCollection.md +24 -19
- package/docs/_posts/components/RigidBodyPhysics/CollisionSensor.md +21 -12
- package/docs/_posts/components/RigidBodyPhysics/CollisionSpace.md +36 -17
- package/docs/_posts/components/RigidBodyPhysics/Contact.md +20 -16
- package/docs/_posts/components/RigidBodyPhysics/DoubleAxisHingeJoint.md +43 -41
- package/docs/_posts/components/RigidBodyPhysics/MotorJoint.md +86 -34
- package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +36 -26
- package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +36 -20
- package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +33 -23
- package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +31 -19
- package/docs/_posts/components/RigidBodyPhysics/UniversalJoint.md +31 -23
- package/docs/_posts/components/Scripting/Script.md +43 -27
- package/docs/_posts/components/Shaders/ComposedShader.md +30 -17
- package/docs/_posts/components/Shaders/FloatVertexAttribute.md +18 -9
- package/docs/_posts/components/Shaders/Matrix3VertexAttribute.md +17 -8
- package/docs/_posts/components/Shaders/Matrix4VertexAttribute.md +17 -8
- package/docs/_posts/components/Shaders/PackagedShader.md +52 -46
- package/docs/_posts/components/Shaders/ProgramShader.md +35 -15
- package/docs/_posts/components/Shaders/ShaderPart.md +27 -18
- package/docs/_posts/components/Shaders/ShaderProgram.md +28 -17
- package/docs/_posts/components/Shape/AcousticProperties.md +38 -10
- package/docs/_posts/components/Shape/Appearance.md +30 -23
- package/docs/_posts/components/Shape/FillProperties.md +19 -12
- package/docs/_posts/components/Shape/LineProperties.md +18 -10
- package/docs/_posts/components/Shape/Material.md +64 -38
- package/docs/_posts/components/Shape/PhysicalMaterial.md +49 -25
- package/docs/_posts/components/Shape/PointProperties.md +23 -24
- package/docs/_posts/components/Shape/Shape.md +38 -20
- package/docs/_posts/components/Shape/TwoSidedMaterial.md +35 -36
- package/docs/_posts/components/Shape/UnlitMaterial.md +29 -17
- package/docs/_posts/components/Sound/Analyser.md +151 -18
- package/docs/_posts/components/Sound/AudioClip.md +82 -32
- package/docs/_posts/components/Sound/AudioDestination.md +85 -9
- package/docs/_posts/components/Sound/BiquadFilter.md +160 -17
- package/docs/_posts/components/Sound/BufferAudioSource.md +184 -28
- package/docs/_posts/components/Sound/ChannelMerger.md +70 -8
- package/docs/_posts/components/Sound/ChannelSelector.md +73 -9
- package/docs/_posts/components/Sound/ChannelSplitter.md +77 -9
- package/docs/_posts/components/Sound/Convolver.md +138 -14
- package/docs/_posts/components/Sound/Delay.md +134 -15
- package/docs/_posts/components/Sound/DynamicsCompressor.md +146 -19
- package/docs/_posts/components/Sound/Gain.md +128 -13
- package/docs/_posts/components/Sound/ListenerPointSource.md +121 -12
- package/docs/_posts/components/Sound/MicrophoneSource.md +101 -10
- package/docs/_posts/components/Sound/OscillatorSource.md +107 -12
- package/docs/_posts/components/Sound/PeriodicWave.md +48 -7
- package/docs/_posts/components/Sound/Sound.md +61 -22
- package/docs/_posts/components/Sound/SpatialSound.md +136 -17
- package/docs/_posts/components/Sound/StreamAudioDestination.md +89 -9
- package/docs/_posts/components/Sound/StreamAudioSource.md +101 -10
- package/docs/_posts/components/Sound/WaveShaper.md +138 -15
- package/docs/_posts/components/Text/FontStyle.md +75 -49
- package/docs/_posts/components/Text/Text.md +48 -26
- package/docs/_posts/components/TextureProjector/TextureProjector.md +63 -12
- package/docs/_posts/components/TextureProjector/TextureProjectorParallel.md +64 -12
- package/docs/_posts/components/Texturing/ImageTexture.md +28 -20
- package/docs/_posts/components/Texturing/MovieTexture.md +87 -40
- package/docs/_posts/components/Texturing/MultiTexture.md +47 -19
- package/docs/_posts/components/Texturing/MultiTextureCoordinate.md +27 -10
- package/docs/_posts/components/Texturing/MultiTextureTransform.md +32 -10
- package/docs/_posts/components/Texturing/PixelTexture.md +34 -14
- package/docs/_posts/components/Texturing/TextureCoordinate.md +20 -10
- package/docs/_posts/components/Texturing/TextureCoordinateGenerator.md +22 -12
- package/docs/_posts/components/Texturing/TextureProperties.md +45 -20
- package/docs/_posts/components/Texturing/TextureTransform.md +17 -8
- package/docs/_posts/components/Texturing3D/ComposedTexture3D.md +21 -13
- package/docs/_posts/components/Texturing3D/ImageTexture3D.md +32 -23
- package/docs/_posts/components/Texturing3D/ImageTextureAtlas.md +22 -16
- package/docs/_posts/components/Texturing3D/PixelTexture3D.md +28 -16
- package/docs/_posts/components/Texturing3D/TextureCoordinate3D.md +22 -10
- package/docs/_posts/components/Texturing3D/TextureCoordinate4D.md +21 -9
- package/docs/_posts/components/Texturing3D/TextureTransform3D.md +17 -8
- package/docs/_posts/components/Texturing3D/TextureTransformMatrix3D.md +20 -10
- package/docs/_posts/components/Time/TimeSensor.md +70 -27
- package/docs/_posts/components/VolumeRendering/BlendedVolumeStyle.md +41 -20
- package/docs/_posts/components/VolumeRendering/BoundaryEnhancementVolumeStyle.md +20 -10
- package/docs/_posts/components/VolumeRendering/CartoonVolumeStyle.md +24 -21
- package/docs/_posts/components/VolumeRendering/ComposedVolumeStyle.md +18 -10
- package/docs/_posts/components/VolumeRendering/EdgeEnhancementVolumeStyle.md +22 -14
- package/docs/_posts/components/VolumeRendering/IsoSurfaceVolumeData.md +59 -37
- package/docs/_posts/components/VolumeRendering/OpacityMapVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/ProjectionVolumeStyle.md +28 -6
- package/docs/_posts/components/VolumeRendering/SegmentedVolumeData.md +63 -30
- package/docs/_posts/components/VolumeRendering/ShadedVolumeStyle.md +27 -19
- package/docs/_posts/components/VolumeRendering/SilhouetteEnhancementVolumeStyle.md +21 -13
- package/docs/_posts/components/VolumeRendering/ToneMappedVolumeStyle.md +25 -16
- package/docs/_posts/components/VolumeRendering/VolumeData.md +43 -26
- package/docs/_posts/components/X_ITE/BlendMode.md +16 -9
- package/docs/_posts/getting-started.md +1 -0
- package/docs/_posts/laboratory/x3d-file-converter.md +1 -1
- package/docs/_tabs/playground.html +3 -1
- package/docs/assets/css/style.scss +4 -4
- package/package.json +1 -1
- package/src/x_ite/Base/X3DBaseNode.js +1 -1
- package/src/x_ite/Base/X3DInfoArray.js +2 -2
- package/src/x_ite/Browser/Core/X3DCoreContext.js +10 -3
- package/src/x_ite/Browser/DOMIntegration.js +13 -8
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Components/Annotation/GroupAnnotation.js +1 -1
- package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +3 -3
- package/src/x_ite/Components/DIS/DISEntityManager.js +1 -1
- package/src/x_ite/Components/Geospatial/GeoLocation.js +1 -1
- package/src/x_ite/Components/Geospatial/GeoViewpoint.js +18 -6
- package/src/x_ite/Components/Grouping/Switch.js +1 -1
- package/src/x_ite/Components/HAnim/HAnimMotion.js +1 -1
- package/src/x_ite/Components/Layering/X3DLayerNode.js +1 -1
- package/src/x_ite/Components/Lighting/DirectionalLight.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsPatchSurface.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsTrimmedSurface.js +1 -1
- package/src/x_ite/Components/Navigation/Collision.js +1 -1
- package/src/x_ite/Components/Navigation/LOD.js +1 -1
- package/src/x_ite/Components/Navigation/Viewpoint.js +1 -1
- package/src/x_ite/Components/Navigation/X3DViewpointNode.js +1 -1
- package/src/x_ite/Components/Networking/LoadSensor.js +1 -1
- package/src/x_ite/Components/ParticleSystems/ConeEmitter.js +9 -9
- package/src/x_ite/Components/ParticleSystems/ExplosionEmitter.js +7 -7
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +1 -1
- package/src/x_ite/Components/ParticleSystems/PointEmitter.js +8 -8
- package/src/x_ite/Components/ParticleSystems/PolylineEmitter.js +9 -9
- package/src/x_ite/Components/ParticleSystems/SurfaceEmitter.js +7 -7
- package/src/x_ite/Components/ParticleSystems/VolumeEmitter.js +12 -10
- package/src/x_ite/Components/RigidBodyPhysics/Contact.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/MotorJoint.js +6 -6
- package/src/x_ite/Components/RigidBodyPhysics/SingleAxisHingeJoint.js +0 -1
- package/src/x_ite/Components/RigidBodyPhysics/UniversalJoint.js +4 -4
- package/src/x_ite/Components/Shape/AcousticProperties.js +1 -1
- package/src/x_ite/Components/Shape/Appearance.js +1 -1
- package/src/x_ite/Components/Shape/FillProperties.js +1 -1
- package/src/x_ite/Components/Shape/Material.js +1 -1
- package/src/x_ite/Components/Shape/PhysicalMaterial.js +1 -1
- package/src/x_ite/Components/Shape/TwoSidedMaterial.js +1 -1
- package/src/x_ite/Components/Sound/Analyser.js +2 -2
- package/src/x_ite/Components/Sound/AudioDestination.js +2 -2
- package/src/x_ite/Components/Sound/BiquadFilter.js +3 -3
- package/src/x_ite/Components/Sound/BufferAudioSource.js +2 -2
- package/src/x_ite/Components/Sound/ChannelMerger.js +2 -2
- package/src/x_ite/Components/Sound/ChannelSelector.js +2 -2
- package/src/x_ite/Components/Sound/ChannelSplitter.js +2 -2
- package/src/x_ite/Components/Sound/Convolver.js +2 -2
- package/src/x_ite/Components/Sound/Delay.js +2 -2
- package/src/x_ite/Components/Sound/DynamicsCompressor.js +2 -2
- package/src/x_ite/Components/Sound/Gain.js +2 -2
- package/src/x_ite/Components/Sound/PeriodicWave.js +1 -1
- package/src/x_ite/Components/Sound/StreamAudioDestination.js +2 -2
- package/src/x_ite/Components/Sound/WaveShaper.js +3 -3
- package/src/x_ite/Components/TextureProjector/TextureProjector.js +4 -4
- package/src/x_ite/Components/TextureProjector/TextureProjectorParallel.js +5 -5
- package/src/x_ite/Components/Texturing/PixelTexture.js +1 -1
- package/src/x_ite/Components/Texturing/TextureProperties.js +1 -1
- package/src/x_ite/Components/VolumeRendering/IsoSurfaceVolumeData.js +1 -1
- package/src/x_ite/Components/VolumeRendering/SegmentedVolumeData.js +1 -1
- package/src/x_ite/Components/VolumeRendering/VolumeData.js +1 -1
- package/src/x_ite/Configuration/SupportedComponents.js +2 -2
- package/src/x_ite/Fields/ArrayFields.js +2 -2
- package/src/x_ite/Fields/SFColor.js +1 -1
- package/src/x_ite/Fields/SFMatrixPrototypeTemplate.js +1 -1
- package/src/x_ite/Fields/SFRotation.js +3 -3
- package/src/x_ite/Fields/SFVecPrototypeTemplate.js +1 -1
- package/src/x_ite/Parser/GoldenGate.js +16 -5
- package/src/x_ite/Parser/PLYAParser.js +615 -0
- package/src/x_ite/Parser/PLYBParser.js +222 -0
- package/src/x_ite/Parser/STLAParser.js +0 -1
- /package/build/{bin → docs}/components.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: BlendMode
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-X_ITE
|
|
5
5
|
categories: [components, X_ITE]
|
|
6
6
|
tags: [BlendMode, X_ITE]
|
|
@@ -17,6 +17,9 @@ BlendMode controls how pixels of an objects are drawn. Pixels can be drawn using
|
|
|
17
17
|
|
|
18
18
|
The BlendMode node belongs to the **X_ITE** component and its default container field is *blendMode.* It is available in Titania and X_ITE.
|
|
19
19
|
|
|
20
|
+
>**Info:** Please note that the functionality of this node is still experimental.
|
|
21
|
+
{: .prompt-info }
|
|
22
|
+
|
|
20
23
|
## Hierarchy
|
|
21
24
|
|
|
22
25
|
```
|
|
@@ -30,13 +33,17 @@ The BlendMode node belongs to the **X_ITE** component and its default container
|
|
|
30
33
|
|
|
31
34
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
32
35
|
|
|
33
|
-
|
|
36
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
37
|
+
|
|
38
|
+
#### Hint
|
|
39
|
+
|
|
40
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
34
41
|
|
|
35
|
-
### SFColorRGBA [in, out] **blendColor** 0 0 0 0 <small>[0,1]</small
|
|
42
|
+
### SFColorRGBA [in, out] **blendColor** 0 0 0 0 <small>[0,1]</small>
|
|
36
43
|
|
|
37
44
|
The *blendColor* may be used to calculate the source and destination blending factors.
|
|
38
45
|
|
|
39
|
-
### SFString [in,out] **sourceColorFactor** "SRC_ALPHA"
|
|
46
|
+
### SFString [in, out] **sourceColorFactor** "SRC_ALPHA"
|
|
40
47
|
|
|
41
48
|
Specifies how the red, green, and blue source blending factors are computed.
|
|
42
49
|
|
|
@@ -57,19 +64,19 @@ Source and destination parameters must be one of the following symbolic constant
|
|
|
57
64
|
- CONSTANT_ALPHA
|
|
58
65
|
- ONE_MINUS_CONSTANT_ALPHA
|
|
59
66
|
|
|
60
|
-
### SFString [in,out] **sourceAlphaFactor** "
|
|
67
|
+
### SFString [in, out] **sourceAlphaFactor** "ONE"
|
|
61
68
|
|
|
62
69
|
Specifies how the alpha source blending factors are computed.
|
|
63
70
|
|
|
64
|
-
### SFString [in,out] **destinationColorFactor** "
|
|
71
|
+
### SFString [in, out] **destinationColorFactor** "ONE_MINUS_SRC_ALPHA"
|
|
65
72
|
|
|
66
73
|
Specifies how the red, green, and blue destination blending factors are computed.
|
|
67
74
|
|
|
68
|
-
### SFString [in,out] **destinationAlphaFactor** "ONE_MINUS_SRC_ALPHA"
|
|
75
|
+
### SFString [in, out] **destinationAlphaFactor** "ONE_MINUS_SRC_ALPHA"
|
|
69
76
|
|
|
70
77
|
Specifies how the alpha destination blending factors are computed.
|
|
71
78
|
|
|
72
|
-
### SFString [in,out] **colorEquation** "FUNC_ADD"
|
|
79
|
+
### SFString [in, out] **colorEquation** "FUNC_ADD"
|
|
73
80
|
|
|
74
81
|
Specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be:
|
|
75
82
|
|
|
@@ -77,7 +84,7 @@ Specifies the RGB blend equation, how the red, green, and blue components of the
|
|
|
77
84
|
- FUNC_SUBTRACT
|
|
78
85
|
- FUNC_REVERSE_SUBTRACT
|
|
79
86
|
|
|
80
|
-
### SFString [in,out] **alphaEquation** "FUNC_ADD"
|
|
87
|
+
### SFString [in, out] **alphaEquation** "FUNC_ADD"
|
|
81
88
|
|
|
82
89
|
Specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be:
|
|
83
90
|
|
|
@@ -644,6 +644,7 @@ X_ITE can load several file formats, either directly as the source of the \<x3d-
|
|
|
644
644
|
| glTF | .gltf, .glb | model/gltf+json |
|
|
645
645
|
| Wavefront OBJ | .obj | model/obj |
|
|
646
646
|
| STL | .stl | model/stl |
|
|
647
|
+
| PLY | .ply | model/ply |
|
|
647
648
|
| SVG Document | .svg, .svgz | image/svg+xml |
|
|
648
649
|
|
|
649
650
|
>**Tip:** All files can be compressed using GZip compression. This saves bandwidth and speeds up download time.
|
|
@@ -157,7 +157,7 @@ $(() =>
|
|
|
157
157
|
|
|
158
158
|
## Upload and Convert
|
|
159
159
|
|
|
160
|
-
Convert **X3D, VRML, glTF (GLB), OBJ, STL,** and **SVG** to an X3D format of your choice.
|
|
160
|
+
Convert **X3D, VRML, glTF (GLB), OBJ, STL, PLY,** and **SVG** to an X3D format of your choice.
|
|
161
161
|
|
|
162
162
|
<div id="drop-zone">
|
|
163
163
|
<p id="open-files" class="center">
|
|
@@ -82,9 +82,11 @@ span.error {
|
|
|
82
82
|
<pre style="display:none">
|
|
83
83
|
Online X3D and VRML viewer.
|
|
84
84
|
<script defer src="https://cdn.jsdelivr.net/npm/monaco-editor@latest/min/vs/loader.js"></script>
|
|
85
|
-
<script
|
|
85
|
+
<script>
|
|
86
86
|
$(function ()
|
|
87
87
|
{
|
|
88
|
+
console .info (X3D .getBrowser () .getWelcomeMessage ());
|
|
89
|
+
|
|
88
90
|
const box = `<X3D profile='Full' version='4.0'>
|
|
89
91
|
<Scene>
|
|
90
92
|
<Shape>
|
|
@@ -135,19 +135,19 @@ small, .small {
|
|
|
135
135
|
font-weight: bold;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
|
|
138
|
+
.red {
|
|
139
139
|
color: var(--system-red) !important;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
|
|
142
|
+
.green {
|
|
143
143
|
color: var(--system-green) !important;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
|
|
146
|
+
.blue {
|
|
147
147
|
color: var(--system-blue) !important;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
|
|
150
|
+
.yellow {
|
|
151
151
|
color: var(--system-yellow) !important;
|
|
152
152
|
}
|
|
153
153
|
|
package/package.json
CHANGED
|
@@ -339,7 +339,7 @@ Object .assign (Object .setPrototypeOf (X3DBaseNode .prototype, X3DChildObject .
|
|
|
339
339
|
},
|
|
340
340
|
addAlias (alias, field)
|
|
341
341
|
{
|
|
342
|
-
this [_predefinedFields] .alias (alias, field
|
|
342
|
+
this [_predefinedFields] .alias (alias, field);
|
|
343
343
|
|
|
344
344
|
if (field .isInitializable ())
|
|
345
345
|
HTMLSupport .addFieldName (alias);
|
|
@@ -191,9 +191,9 @@ Object .assign (Object .setPrototypeOf (X3DInfoArray .prototype, X3DChildObject
|
|
|
191
191
|
|
|
192
192
|
this .addEvent ();
|
|
193
193
|
},
|
|
194
|
-
alias (alias,
|
|
194
|
+
alias (alias, value)
|
|
195
195
|
{
|
|
196
|
-
this [_index] .set (alias,
|
|
196
|
+
this [_index] .set (alias, value);
|
|
197
197
|
|
|
198
198
|
this .addEvent ();
|
|
199
199
|
},
|
|
@@ -420,11 +420,18 @@ Object .assign (X3DCoreContext .prototype,
|
|
|
420
420
|
},
|
|
421
421
|
parseUrlAttribute (urlCharacters)
|
|
422
422
|
{
|
|
423
|
-
|
|
423
|
+
try
|
|
424
|
+
{
|
|
425
|
+
const url = new Fields .MFString ();
|
|
424
426
|
|
|
425
|
-
|
|
427
|
+
url .fromString ("[" + urlCharacters + "]", this .getExecutionContext ());
|
|
426
428
|
|
|
427
|
-
|
|
429
|
+
return url;
|
|
430
|
+
}
|
|
431
|
+
catch
|
|
432
|
+
{
|
|
433
|
+
throw new Error ("Couldn't parse url attribute.");
|
|
434
|
+
}
|
|
428
435
|
},
|
|
429
436
|
callBrowserEventHandler: (() =>
|
|
430
437
|
{
|
|
@@ -135,15 +135,17 @@ class DOMIntegration
|
|
|
135
135
|
|
|
136
136
|
processAttribute (mutation, element)
|
|
137
137
|
{
|
|
138
|
-
const
|
|
138
|
+
const
|
|
139
|
+
parser = this .parser,
|
|
140
|
+
node = $.data (element, "node");
|
|
139
141
|
|
|
140
|
-
if (
|
|
142
|
+
if (node)
|
|
141
143
|
{
|
|
142
144
|
const
|
|
143
145
|
attributeName = mutation .attributeName,
|
|
144
146
|
attribute = element .attributes .getNamedItem (attributeName);
|
|
145
147
|
|
|
146
|
-
parser .nodeAttribute (attribute,
|
|
148
|
+
parser .nodeAttribute (attribute, node);
|
|
147
149
|
}
|
|
148
150
|
else
|
|
149
151
|
{
|
|
@@ -153,11 +155,14 @@ class DOMIntegration
|
|
|
153
155
|
parentNode = element .parentNode,
|
|
154
156
|
node = $.data (parentNode, "node");
|
|
155
157
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
158
|
+
if (node)
|
|
159
|
+
{
|
|
160
|
+
parser .pushExecutionContext (node .getExecutionContext ());
|
|
161
|
+
parser .pushParent (node);
|
|
162
|
+
parser .childElement (element);
|
|
163
|
+
parser .popParent ();
|
|
164
|
+
parser .popExecutionContext ();
|
|
165
|
+
}
|
|
161
166
|
}
|
|
162
167
|
}
|
|
163
168
|
|
|
@@ -106,8 +106,8 @@ Object .defineProperties (GroupAnnotation,
|
|
|
106
106
|
new X3DFieldDefinition (X3DConstants .inputOutput, "displayPolicy", new Fields .SFString ("NEVER")),
|
|
107
107
|
new X3DFieldDefinition (X3DConstants .inputOutput, "visible", new Fields .SFBool (true)),
|
|
108
108
|
new X3DFieldDefinition (X3DConstants .inputOutput, "bboxDisplay", new Fields .SFBool ()),
|
|
109
|
-
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxCenter", new Fields .SFVec3f (0, 0, 0)),
|
|
110
109
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxSize", new Fields .SFVec3f (-1, -1, -1)),
|
|
110
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxCenter", new Fields .SFVec3f (0, 0, 0)),
|
|
111
111
|
new X3DFieldDefinition (X3DConstants .inputOnly, "addChildren", new Fields .MFNode ()),
|
|
112
112
|
new X3DFieldDefinition (X3DConstants .inputOnly, "removeChildren", new Fields .MFNode ()),
|
|
113
113
|
new X3DFieldDefinition (X3DConstants .inputOutput, "children", new Fields .MFNode ()),
|
|
@@ -59,14 +59,14 @@ function ComposedCubeMapTexture (executionContext)
|
|
|
59
59
|
|
|
60
60
|
this .addType (X3DConstants .ComposedCubeMapTexture);
|
|
61
61
|
|
|
62
|
-
if (executionContext .getSpecificationVersion () < 4)
|
|
62
|
+
if (executionContext .getSpecificationVersion () < 4.0)
|
|
63
63
|
{
|
|
64
64
|
this .addAlias ("front", this ._frontTexture);
|
|
65
65
|
this .addAlias ("back", this ._backTexture);
|
|
66
66
|
this .addAlias ("left", this ._leftTexture);
|
|
67
67
|
this .addAlias ("right", this ._rightTexture);
|
|
68
|
-
this .addAlias ("bottom", this ._bottomTexture);
|
|
69
68
|
this .addAlias ("top", this ._topTexture);
|
|
69
|
+
this .addAlias ("bottom", this ._bottomTexture);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
this .addChildObjects ("update", new Fields .SFTime ());
|
|
@@ -239,8 +239,8 @@ Object .defineProperties (ComposedCubeMapTexture,
|
|
|
239
239
|
new X3DFieldDefinition (X3DConstants .inputOutput, "backTexture", new Fields .SFNode ()),
|
|
240
240
|
new X3DFieldDefinition (X3DConstants .inputOutput, "leftTexture", new Fields .SFNode ()),
|
|
241
241
|
new X3DFieldDefinition (X3DConstants .inputOutput, "rightTexture", new Fields .SFNode ()),
|
|
242
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "bottomTexture", new Fields .SFNode ()),
|
|
243
242
|
new X3DFieldDefinition (X3DConstants .inputOutput, "topTexture", new Fields .SFNode ()),
|
|
243
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "bottomTexture", new Fields .SFNode ()),
|
|
244
244
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "textureProperties", new Fields .SFNode ()),
|
|
245
245
|
]),
|
|
246
246
|
enumerable: true,
|
|
@@ -57,7 +57,7 @@ function DISEntityManager (executionContext)
|
|
|
57
57
|
|
|
58
58
|
this .addType (X3DConstants .DISEntityManager);
|
|
59
59
|
|
|
60
|
-
if (executionContext .getSpecificationVersion ()
|
|
60
|
+
if (executionContext .getSpecificationVersion () <= 3.3)
|
|
61
61
|
this .addAlias ("mapping", this ._children);
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -112,9 +112,9 @@ Object .defineProperties (GeoLocation,
|
|
|
112
112
|
{
|
|
113
113
|
value: new FieldDefinitionArray ([
|
|
114
114
|
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
115
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "geoOrigin", new Fields .SFNode ()),
|
|
115
116
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "geoSystem", new Fields .MFString ("GD", "WE")),
|
|
116
117
|
new X3DFieldDefinition (X3DConstants .inputOutput, "geoCoords", new Fields .SFVec3d ()),
|
|
117
|
-
new X3DFieldDefinition (X3DConstants .initializeOnly, "geoOrigin", new Fields .SFNode ()),
|
|
118
118
|
new X3DFieldDefinition (X3DConstants .inputOutput, "visible", new Fields .SFBool (true)),
|
|
119
119
|
new X3DFieldDefinition (X3DConstants .inputOutput, "bboxDisplay", new Fields .SFBool ()),
|
|
120
120
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxSize", new Fields .SFVec3f (-1, -1, -1)),
|
|
@@ -64,11 +64,19 @@ function GeoViewpoint (executionContext)
|
|
|
64
64
|
|
|
65
65
|
this .addType (X3DConstants .GeoViewpoint);
|
|
66
66
|
|
|
67
|
-
this .
|
|
68
|
-
|
|
67
|
+
this .addChildObjects ("navType", new Fields .MFString ("EXAMINE", "ANY"),
|
|
68
|
+
"headlight", new Fields .SFBool (true));
|
|
69
69
|
|
|
70
70
|
if (executionContext .getSpecificationVersion () <= 3.2)
|
|
71
|
+
{
|
|
72
|
+
this .addAlias ("navType", this ._navType);
|
|
73
|
+
this .addAlias ("headlight", this ._headlight);
|
|
74
|
+
|
|
71
75
|
this .traverse = traverse;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
this ._centerOfRotation .setUnit ("length");
|
|
79
|
+
this ._fieldOfView .setUnit ("angle");
|
|
72
80
|
|
|
73
81
|
this .geoNavigationInfoNode = new NavigationInfo (executionContext);
|
|
74
82
|
this .projectionMatrix = new Matrix4 ();
|
|
@@ -96,8 +104,14 @@ Object .assign (Object .setPrototypeOf (GeoViewpoint .prototype, X3DViewpointNod
|
|
|
96
104
|
this ._navType .addFieldInterest (this .geoNavigationInfoNode ._type);
|
|
97
105
|
this ._headlight .addFieldInterest (this .geoNavigationInfoNode ._headlight);
|
|
98
106
|
|
|
107
|
+
this .geoNavigationInfoNode ._type = this ._navType;
|
|
108
|
+
this .geoNavigationInfoNode ._headlight = this ._headlight;
|
|
109
|
+
|
|
99
110
|
this .geoNavigationInfoNode .setup ();
|
|
100
111
|
|
|
112
|
+
if (this .getExecutionContext () .getSpecificationVersion () <= 3.2)
|
|
113
|
+
this ._navigationInfo = this .geoNavigationInfoNode;
|
|
114
|
+
|
|
101
115
|
this .set_position__ ();
|
|
102
116
|
},
|
|
103
117
|
getRelativeTransformation: Viewpoint .prototype .getRelativeTransformation,
|
|
@@ -195,7 +209,7 @@ Object .assign (Object .setPrototypeOf (GeoViewpoint .prototype, X3DViewpointNod
|
|
|
195
209
|
|
|
196
210
|
return function (dynamic = false)
|
|
197
211
|
{
|
|
198
|
-
if (!
|
|
212
|
+
if (!dynamic || this .getUserPosition () .magnitude () < 6.5e6)
|
|
199
213
|
{
|
|
200
214
|
this .getCoord (this ._position .getValue (), position);
|
|
201
215
|
|
|
@@ -258,14 +272,12 @@ Object .defineProperties (GeoViewpoint,
|
|
|
258
272
|
new X3DFieldDefinition (X3DConstants .inputOutput, "position", new Fields .SFVec3d (0, 0, 100000)),
|
|
259
273
|
new X3DFieldDefinition (X3DConstants .inputOutput, "orientation", new Fields .SFRotation ()),
|
|
260
274
|
new X3DFieldDefinition (X3DConstants .inputOutput, "centerOfRotation", new Fields .SFVec3d ()),
|
|
261
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "fieldOfView", new Fields .SFFloat (0.
|
|
275
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "fieldOfView", new Fields .SFFloat (0.785398)),
|
|
262
276
|
new X3DFieldDefinition (X3DConstants .inputOutput, "nearDistance", new Fields .SFFloat (-1)),
|
|
263
277
|
new X3DFieldDefinition (X3DConstants .inputOutput, "farDistance", new Fields .SFFloat (-1)),
|
|
264
278
|
new X3DFieldDefinition (X3DConstants .inputOutput, "viewAll", new Fields .SFBool ()),
|
|
265
279
|
new X3DFieldDefinition (X3DConstants .inputOutput, "jump", new Fields .SFBool (true)),
|
|
266
280
|
new X3DFieldDefinition (X3DConstants .inputOutput, "retainUserOffsets", new Fields .SFBool ()),
|
|
267
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "navType", new Fields .MFString ("EXAMINE", "ANY")),
|
|
268
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "headlight", new Fields .SFBool (true)),
|
|
269
281
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "speedFactor", new Fields .SFFloat (1)),
|
|
270
282
|
new X3DFieldDefinition (X3DConstants .outputOnly, "isBound", new Fields .SFBool ()),
|
|
271
283
|
new X3DFieldDefinition (X3DConstants .outputOnly, "bindTime", new Fields .SFTime ()),
|
|
@@ -59,7 +59,7 @@ function Switch (executionContext)
|
|
|
59
59
|
|
|
60
60
|
this .addType (X3DConstants .Switch);
|
|
61
61
|
|
|
62
|
-
if (executionContext .getSpecificationVersion ()
|
|
62
|
+
if (executionContext .getSpecificationVersion () == 2.0)
|
|
63
63
|
this .addAlias ("choice", this ._children);
|
|
64
64
|
|
|
65
65
|
this .childNode = null;
|
|
@@ -102,7 +102,7 @@ Object .defineProperties (HAnimMotion,
|
|
|
102
102
|
new X3DFieldDefinition (X3DConstants .inputOutput, "loop", new Fields .SFBool ()),
|
|
103
103
|
new X3DFieldDefinition (X3DConstants .inputOutput, "channels", new Fields .SFString ()),
|
|
104
104
|
new X3DFieldDefinition (X3DConstants .inputOutput, "channelsEnabled", new Fields .MFBool ()),
|
|
105
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "joints", new Fields .
|
|
105
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "joints", new Fields .SFString ()),
|
|
106
106
|
new X3DFieldDefinition (X3DConstants .inputOutput, "loa", new Fields .SFInt32 (-1)),
|
|
107
107
|
new X3DFieldDefinition (X3DConstants .inputOutput, "startFrame", new Fields .SFInt32 ()),
|
|
108
108
|
new X3DFieldDefinition (X3DConstants .inputOutput, "endFrame", new Fields .SFInt32 ()),
|
|
@@ -66,7 +66,7 @@ function X3DLayerNode (executionContext, defaultViewpoint, groupNode)
|
|
|
66
66
|
|
|
67
67
|
this .addType (X3DConstants .X3DLayerNode);
|
|
68
68
|
|
|
69
|
-
if (executionContext .getSpecificationVersion ()
|
|
69
|
+
if (executionContext .getSpecificationVersion () <= 3.3)
|
|
70
70
|
this .addAlias ("isPickable", this ._pickable);
|
|
71
71
|
|
|
72
72
|
this .groupNode = groupNode;
|
|
@@ -235,7 +235,7 @@ function DirectionalLight (executionContext)
|
|
|
235
235
|
|
|
236
236
|
this .addType (X3DConstants .DirectionalLight);
|
|
237
237
|
|
|
238
|
-
if (executionContext .getSpecificationVersion ()
|
|
238
|
+
if (executionContext .getSpecificationVersion () == 2.0)
|
|
239
239
|
this ._global = true;
|
|
240
240
|
}
|
|
241
241
|
|
|
@@ -86,9 +86,9 @@ Object .defineProperties (NurbsPatchSurface,
|
|
|
86
86
|
{
|
|
87
87
|
value: new FieldDefinitionArray ([
|
|
88
88
|
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
89
|
-
new X3DFieldDefinition (X3DConstants .initializeOnly, "solid", new Fields .SFBool (true)),
|
|
90
89
|
new X3DFieldDefinition (X3DConstants .inputOutput, "uTessellation", new Fields .SFInt32 ()),
|
|
91
90
|
new X3DFieldDefinition (X3DConstants .inputOutput, "vTessellation", new Fields .SFInt32 ()),
|
|
91
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "solid", new Fields .SFBool (true)),
|
|
92
92
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "uClosed", new Fields .SFBool ()),
|
|
93
93
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "vClosed", new Fields .SFBool ()),
|
|
94
94
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "uOrder", new Fields .SFInt32 (3)),
|
|
@@ -152,9 +152,9 @@ Object .defineProperties (NurbsTrimmedSurface,
|
|
|
152
152
|
{
|
|
153
153
|
value: new FieldDefinitionArray ([
|
|
154
154
|
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
155
|
-
new X3DFieldDefinition (X3DConstants .initializeOnly, "solid", new Fields .SFBool (true)),
|
|
156
155
|
new X3DFieldDefinition (X3DConstants .inputOutput, "uTessellation", new Fields .SFInt32 ()),
|
|
157
156
|
new X3DFieldDefinition (X3DConstants .inputOutput, "vTessellation", new Fields .SFInt32 ()),
|
|
157
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "solid", new Fields .SFBool (true)),
|
|
158
158
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "uClosed", new Fields .SFBool ()),
|
|
159
159
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "vClosed", new Fields .SFBool ()),
|
|
160
160
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "uOrder", new Fields .SFInt32 (3)),
|
|
@@ -61,7 +61,7 @@ function Collision (executionContext)
|
|
|
61
61
|
|
|
62
62
|
this .addType (X3DConstants .Collision);
|
|
63
63
|
|
|
64
|
-
if (executionContext .getSpecificationVersion ()
|
|
64
|
+
if (executionContext .getSpecificationVersion () == 2.0)
|
|
65
65
|
this .addAlias ("collide", this ._enabled); // VRML2
|
|
66
66
|
}
|
|
67
67
|
|
|
@@ -61,7 +61,7 @@ function LOD (executionContext)
|
|
|
61
61
|
|
|
62
62
|
this .addType (X3DConstants .LOD);
|
|
63
63
|
|
|
64
|
-
if (executionContext .getSpecificationVersion ()
|
|
64
|
+
if (executionContext .getSpecificationVersion () == 2.0)
|
|
65
65
|
this .addAlias ("level", this ._children); // VRML2
|
|
66
66
|
|
|
67
67
|
this ._center .setUnit ("length");
|
|
@@ -183,7 +183,7 @@ Object .defineProperties (Viewpoint,
|
|
|
183
183
|
new X3DFieldDefinition (X3DConstants .inputOutput, "position", new Fields .SFVec3f (0, 0, 10)),
|
|
184
184
|
new X3DFieldDefinition (X3DConstants .inputOutput, "orientation", new Fields .SFRotation ()),
|
|
185
185
|
new X3DFieldDefinition (X3DConstants .inputOutput, "centerOfRotation", new Fields .SFVec3f ()),
|
|
186
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "fieldOfView", new Fields .SFFloat (0.
|
|
186
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "fieldOfView", new Fields .SFFloat (0.785398)),
|
|
187
187
|
new X3DFieldDefinition (X3DConstants .inputOutput, "nearDistance", new Fields .SFFloat (-1)),
|
|
188
188
|
new X3DFieldDefinition (X3DConstants .inputOutput, "farDistance", new Fields .SFFloat (-1)),
|
|
189
189
|
new X3DFieldDefinition (X3DConstants .inputOutput, "viewAll", new Fields .SFBool ()),
|
|
@@ -288,7 +288,7 @@ Object .assign (Object .setPrototypeOf (X3DViewpointNode .prototype, X3DBindable
|
|
|
288
288
|
|
|
289
289
|
// VRML behavior
|
|
290
290
|
|
|
291
|
-
if (this .getExecutionContext () .getSpecificationVersion ()
|
|
291
|
+
if (this .getExecutionContext () .getSpecificationVersion () == 2.0)
|
|
292
292
|
{
|
|
293
293
|
if (this .getVRMLTransition ())
|
|
294
294
|
transitionType = "LINEAR";
|
|
@@ -58,7 +58,7 @@ function LoadSensor (executionContext)
|
|
|
58
58
|
|
|
59
59
|
this .addType (X3DConstants .LoadSensor);
|
|
60
60
|
|
|
61
|
-
if (executionContext .getSpecificationVersion ()
|
|
61
|
+
if (executionContext .getSpecificationVersion () <= 3.3)
|
|
62
62
|
this .addAlias ("watchList", this ._children);
|
|
63
63
|
|
|
64
64
|
this .urlObjects = [ ];
|
|
@@ -145,15 +145,15 @@ Object .defineProperties (ConeEmitter,
|
|
|
145
145
|
fieldDefinitions:
|
|
146
146
|
{
|
|
147
147
|
value: new FieldDefinitionArray ([
|
|
148
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
149
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
150
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
151
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
152
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
153
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
154
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
155
|
-
new X3DFieldDefinition (X3DConstants .
|
|
156
|
-
new X3DFieldDefinition (X3DConstants .
|
|
148
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
149
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "on", new Fields .SFBool (true)),
|
|
150
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "position", new Fields .SFVec3f ()),
|
|
151
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "direction", new Fields .SFVec3f (0, 1, 0)),
|
|
152
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "angle", new Fields .SFFloat (0.785398)),
|
|
153
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "speed", new Fields .SFFloat ()),
|
|
154
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "variation", new Fields .SFFloat (0.25)),
|
|
155
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "mass", new Fields .SFFloat ()),
|
|
156
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "surfaceArea", new Fields .SFFloat ()),
|
|
157
157
|
]),
|
|
158
158
|
enumerable: true,
|
|
159
159
|
},
|
|
@@ -122,13 +122,13 @@ Object .defineProperties (ExplosionEmitter,
|
|
|
122
122
|
fieldDefinitions:
|
|
123
123
|
{
|
|
124
124
|
value: new FieldDefinitionArray ([
|
|
125
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
126
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
127
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
128
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
129
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
130
|
-
new X3DFieldDefinition (X3DConstants .
|
|
131
|
-
new X3DFieldDefinition (X3DConstants .
|
|
125
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
126
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "on", new Fields .SFBool (true)),
|
|
127
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "position", new Fields .SFVec3f ()),
|
|
128
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "speed", new Fields .SFFloat ()),
|
|
129
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "variation", new Fields .SFFloat (0.25)),
|
|
130
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "mass", new Fields .SFFloat ()),
|
|
131
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "surfaceArea", new Fields .SFFloat ()),
|
|
132
132
|
]),
|
|
133
133
|
enumerable: true,
|
|
134
134
|
},
|
|
@@ -106,7 +106,7 @@ function ParticleSystem (executionContext)
|
|
|
106
106
|
|
|
107
107
|
this ._particleSize .setUnit ("length");
|
|
108
108
|
|
|
109
|
-
if (executionContext .getSpecificationVersion ()
|
|
109
|
+
if (executionContext .getSpecificationVersion () <= 3.3)
|
|
110
110
|
{
|
|
111
111
|
this .addAlias ("colorRamp", this ._color);
|
|
112
112
|
this .addAlias ("texCoordRamp", this ._texCoord);
|
|
@@ -137,14 +137,14 @@ Object .defineProperties (PointEmitter,
|
|
|
137
137
|
fieldDefinitions:
|
|
138
138
|
{
|
|
139
139
|
value: new FieldDefinitionArray ([
|
|
140
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
141
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
142
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
143
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
144
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
145
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
146
|
-
new X3DFieldDefinition (X3DConstants .
|
|
147
|
-
new X3DFieldDefinition (X3DConstants .
|
|
140
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
141
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "on", new Fields .SFBool (true)),
|
|
142
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "position", new Fields .SFVec3f ()),
|
|
143
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "direction", new Fields .SFVec3f (0, 1, 0)),
|
|
144
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "speed", new Fields .SFFloat ()),
|
|
145
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "variation", new Fields .SFFloat (0.25)),
|
|
146
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "mass", new Fields .SFFloat ()),
|
|
147
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "surfaceArea", new Fields .SFFloat ()),
|
|
148
148
|
]),
|
|
149
149
|
enumerable: true,
|
|
150
150
|
},
|
|
@@ -227,15 +227,15 @@ Object .defineProperties (PolylineEmitter,
|
|
|
227
227
|
fieldDefinitions:
|
|
228
228
|
{
|
|
229
229
|
value: new FieldDefinitionArray ([
|
|
230
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
231
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
232
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
233
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
234
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
235
|
-
new X3DFieldDefinition (X3DConstants .
|
|
236
|
-
new X3DFieldDefinition (X3DConstants .
|
|
237
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
238
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
230
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
231
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "on", new Fields .SFBool (true)),
|
|
232
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "direction", new Fields .SFVec3f (0, 1, 0)),
|
|
233
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "speed", new Fields .SFFloat ()),
|
|
234
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "variation", new Fields .SFFloat (0.25)),
|
|
235
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "mass", new Fields .SFFloat ()),
|
|
236
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "surfaceArea", new Fields .SFFloat ()),
|
|
237
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "coordIndex", new Fields .MFInt32 (-1)),
|
|
238
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "coord", new Fields .SFNode ()),
|
|
239
239
|
]),
|
|
240
240
|
enumerable: true,
|
|
241
241
|
},
|
|
@@ -237,13 +237,13 @@ Object .defineProperties (SurfaceEmitter,
|
|
|
237
237
|
fieldDefinitions:
|
|
238
238
|
{
|
|
239
239
|
value: new FieldDefinitionArray ([
|
|
240
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
241
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
242
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
243
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
244
|
-
new X3DFieldDefinition (X3DConstants .
|
|
245
|
-
new X3DFieldDefinition (X3DConstants .
|
|
246
|
-
new X3DFieldDefinition (X3DConstants .
|
|
240
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
241
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "on", new Fields .SFBool (true)),
|
|
242
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "speed", new Fields .SFFloat ()),
|
|
243
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "variation", new Fields .SFFloat (0.25)),
|
|
244
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "mass", new Fields .SFFloat ()),
|
|
245
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "surfaceArea", new Fields .SFFloat ()),
|
|
246
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "surface", new Fields .SFNode ()),
|
|
247
247
|
]),
|
|
248
248
|
enumerable: true,
|
|
249
249
|
},
|