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: RigidBodyCollection
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-RigidBodyPhysics
|
|
5
5
|
categories: [components, RigidBodyPhysics]
|
|
6
6
|
tags: [RigidBodyCollection, RigidBodyPhysics]
|
|
@@ -15,7 +15,7 @@ tags: [RigidBodyCollection, RigidBodyPhysics]
|
|
|
15
15
|
|
|
16
16
|
RigidBodyCollection represents a system of bodies that interact within a single physics model.
|
|
17
17
|
|
|
18
|
-
The RigidBodyCollection node belongs to the **RigidBodyPhysics** component and its default container field is *children.* It is available
|
|
18
|
+
The RigidBodyCollection node belongs to the **RigidBodyPhysics** component and its default container field is *children.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,43 +29,52 @@ The RigidBodyCollection node belongs to the **RigidBodyPhysics** component and i
|
|
|
29
29
|
|
|
30
30
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
33
|
+
|
|
34
|
+
#### Hint
|
|
35
|
+
|
|
36
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
33
37
|
|
|
34
38
|
### SFBool [in, out] **enabled** TRUE
|
|
35
39
|
|
|
36
40
|
Enables/disables node operation.
|
|
37
41
|
|
|
38
|
-
### MFNode [in] **set_contacts** <
|
|
42
|
+
### MFNode [in] **set_contacts** <small class="red">not supported</small>
|
|
43
|
+
|
|
44
|
+
*set_contacts* input field for Contact nodes provides per-frame information about *contacts* between bodies.
|
|
45
|
+
|
|
46
|
+
#### Warning
|
|
39
47
|
|
|
40
|
-
|
|
48
|
+
- It is an error to define this transient inputOnly field in an X3D file, instead only use it a destination for ROUTE events.
|
|
41
49
|
|
|
42
|
-
### SFVec3f [in, out] **gravity** 0 -9.8 0
|
|
50
|
+
### SFVec3f [in, out] **gravity** 0 -9.8 0 <small>(-∞,∞)</small>
|
|
43
51
|
|
|
44
|
-
*gravity* indicates direction and strength of local gravity vector for this collection of bodies (units m/sec^2).
|
|
52
|
+
*gravity* indicates direction and strength of local *gravity* vector for this collection of bodies (units m/sec^2).
|
|
45
53
|
|
|
46
54
|
### SFBool [in, out] **preferAccuracy** FALSE
|
|
47
55
|
|
|
48
56
|
*preferAccuracy* provides hint for performance preference: higher accuracy or faster computational speed.
|
|
49
57
|
|
|
50
|
-
### SFFloat [in, out] **errorCorrection** 0.8 <small>[0,1] <
|
|
58
|
+
### SFFloat [in, out] **errorCorrection** 0.8 <small>[0,1]</small> <small class="red">not supported</small>
|
|
51
59
|
|
|
52
60
|
*errorCorrection* describes how quickly intersection errors due to floating-point inaccuracies are resolved (0=no correction, 1=all corrected in single step).
|
|
53
61
|
|
|
54
62
|
### SFInt32 [in, out] **iterations** 10 <small>[0,∞)</small>
|
|
55
63
|
|
|
56
|
-
*iterations* controls number of iterations performed over collectioned joints and bodies during each evaluation.
|
|
64
|
+
*iterations* controls number of *iterations* performed over collectioned joints and bodies during each evaluation.
|
|
57
65
|
|
|
58
|
-
### SFFloat [in, out] **constantForceMix** 0.0001 <small>[0,∞) <
|
|
66
|
+
### SFFloat [in, out] **constantForceMix** 0.0001 <small>[0,∞)</small> <small class="red">not supported</small>
|
|
59
67
|
|
|
60
68
|
*constantForceMix* modifies damping calculations by violating normal constraints while applying small, constant forces in those calculations.
|
|
61
69
|
|
|
62
70
|
#### Hints
|
|
63
71
|
|
|
64
|
-
- This allows joints and bodies to be a fraction springy, and helps to eliminate numerical instability.
|
|
72
|
+
- This allows joints and bodies to be a fraction springy, and helps to eliminate numerical instability.
|
|
73
|
+
- Spring-driven or spongy connections can be emulated by combined use of errorCorrection and *constantForceMix*.
|
|
65
74
|
|
|
66
|
-
### SFFloat [in, out] **maxCorrectionSpeed** -1 <small>[0,∞) or -1 <
|
|
75
|
+
### SFFloat [in, out] **maxCorrectionSpeed** -1 <small>[0,∞) or -1</small> <small class="red">not supported</small>
|
|
67
76
|
|
|
68
|
-
Or -1, maxCorrectionSpeed .
|
|
77
|
+
Or -1, *maxCorrectionSpeed* .
|
|
69
78
|
|
|
70
79
|
### SFFloat [in, out] **contactSurfaceThickness** 0 <small>[0,∞)</small>
|
|
71
80
|
|
|
@@ -75,13 +84,14 @@ Or -1, maxCorrectionSpeed .
|
|
|
75
84
|
|
|
76
85
|
*autoDisable* toggles operation of disableAngularSpeed, disableLinearSpeed, disableTime.
|
|
77
86
|
|
|
78
|
-
### SFFloat [in, out] **disableTime** 0 <small>[0,∞) <
|
|
87
|
+
### SFFloat [in, out] **disableTime** 0 <small>[0,∞)</small> <small class="red">not supported</small>
|
|
79
88
|
|
|
80
89
|
*disableTime* defines interval when body becomes at rest and not part of rigid body calculations, reducing numeric instabilities.
|
|
81
90
|
|
|
82
|
-
####
|
|
91
|
+
#### Hints
|
|
83
92
|
|
|
84
93
|
- Only activated if autoDisable='true'
|
|
94
|
+
- *disableTime* is an SFTime duration interval, not an absolute clock time.
|
|
85
95
|
|
|
86
96
|
### SFFloat [in, out] **disableLinearSpeed** 0 <small>[0,∞)</small>
|
|
87
97
|
|
|
@@ -101,20 +111,26 @@ Or -1, maxCorrectionSpeed .
|
|
|
101
111
|
|
|
102
112
|
### SFNode [ ] **collider** NULL <small>[CollisionCollection]</small>
|
|
103
113
|
|
|
104
|
-
|
|
114
|
+
The *collider* field associates a collision collection with this rigid body collection allowing seamless updates and integration without the need to use the X3D event model.
|
|
105
115
|
|
|
106
116
|
### MFNode [in, out] **bodies** [ ] <small>[RigidBody]</small>
|
|
107
117
|
|
|
108
|
-
|
|
118
|
+
Collection of top-level nodes that comprise a set of *bodies* evaluated as a single set of interactions.
|
|
109
119
|
|
|
110
120
|
### MFNode [in, out] **joints** [ ] <small>[X3DRigidJointNode]</small>
|
|
111
121
|
|
|
112
|
-
|
|
122
|
+
The *joints* field is used to register all *joints* between bodies contained in this collection.
|
|
123
|
+
|
|
124
|
+
#### Warnings
|
|
125
|
+
|
|
126
|
+
- If a joint is connected between bodies in two different collections, the result is implementation-dependent.
|
|
127
|
+
- If a joint instance is registered with more than one collection, the results are implementation dependent.
|
|
128
|
+
- Joints not registered with any collection are not evaluated.
|
|
113
129
|
|
|
114
130
|
## Example
|
|
115
131
|
|
|
116
132
|
<x3d-canvas src="https://create3000.github.io/media/examples/RigidBodyPhysics/RigidBodyCollection/RigidBodyCollection.x3d" update="auto"></x3d-canvas>
|
|
117
133
|
|
|
118
|
-
##
|
|
134
|
+
## See Also
|
|
119
135
|
|
|
120
|
-
- [X3D Specification of RigidBodyCollection](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#RigidBodyCollection){:target="_blank"}
|
|
136
|
+
- [X3D Specification of RigidBodyCollection node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#RigidBodyCollection){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: SingleAxisHingeJoint
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-RigidBodyPhysics
|
|
5
5
|
categories: [components, RigidBodyPhysics]
|
|
6
6
|
tags: [SingleAxisHingeJoint, RigidBodyPhysics]
|
|
@@ -15,7 +15,7 @@ tags: [SingleAxisHingeJoint, RigidBodyPhysics]
|
|
|
15
15
|
|
|
16
16
|
SingleAxisHingeJoint has single axis about which to rotate, similar to a traditional door hinge. Contains two RigidBody nodes (containerField values body1, body2).
|
|
17
17
|
|
|
18
|
-
The SingleAxisHingeJoint node belongs to the **RigidBodyPhysics** component and its default container field is *joints.* It is available
|
|
18
|
+
The SingleAxisHingeJoint node belongs to the **RigidBodyPhysics** component and its default container field is *joints.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,41 +29,51 @@ The SingleAxisHingeJoint node belongs to the **RigidBodyPhysics** component and
|
|
|
29
29
|
|
|
30
30
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
#### Hint
|
|
35
|
+
|
|
36
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
37
|
+
|
|
38
|
+
### MFString [in, out] **forceOutput** "NONE" <small>["ALL", "NONE", ...]</small>
|
|
35
39
|
|
|
36
40
|
*forceOutput* controls which output fields are generated for the next frame. Values are ALL, NONE, or exact names of output fields updated at start of next frame.
|
|
37
41
|
|
|
38
|
-
### SFVec3f [in, out] **anchorPoint** 0 0 0
|
|
42
|
+
### SFVec3f [in, out] **anchorPoint** 0 0 0 <small>(-∞,∞)</small>
|
|
39
43
|
|
|
40
44
|
*anchorPoint* is joint center, specified in world coordinates.
|
|
41
45
|
|
|
42
|
-
### SFVec3f [in, out] **axis** 0 0 0
|
|
46
|
+
### SFVec3f [in, out] **axis** 0 0 0 <small>(-∞,∞)</small>
|
|
43
47
|
|
|
44
48
|
*axis* defines vector of joint connection between body1 and body2.
|
|
45
49
|
|
|
46
|
-
### SFFloat [in, out] **minAngle** [-π,π)
|
|
50
|
+
### SFFloat [in, out] **minAngle** -π <small>[-π,π)</small> <small class="red">not supported</small>
|
|
47
51
|
|
|
48
52
|
*minAngle* is minimum rotation angle for hinge.
|
|
49
53
|
|
|
50
|
-
|
|
54
|
+
#### Hint
|
|
55
|
+
|
|
56
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
57
|
+
|
|
58
|
+
### SFFloat [in, out] **maxAngle** π <small>[-π,π)</small> <small class="red">not supported</small>
|
|
51
59
|
|
|
52
60
|
*maxAngle* is maximum rotation angle for hinge.
|
|
53
61
|
|
|
54
|
-
|
|
55
|
-
|
|
62
|
+
#### Hint
|
|
63
|
+
|
|
64
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
65
|
+
|
|
66
|
+
### SFFloat [in, out] **stopBounce** 0 <small>[0,1]</small> <small class="red">not supported</small>
|
|
56
67
|
|
|
57
|
-
|
|
68
|
+
*stopBounce* is velocity factor for bounce back once stop point is reached.
|
|
58
69
|
|
|
59
70
|
#### Hint
|
|
60
71
|
|
|
61
72
|
- 0 means no bounce, 1 means return velocity matches.
|
|
62
73
|
|
|
63
|
-
### SFFloat [in, out] **stopErrorCorrection** 0.8 <small>[0,1] <
|
|
64
|
-
</small>
|
|
74
|
+
### SFFloat [in, out] **stopErrorCorrection** 0.8 <small>[0,1]</small> <small class="red">not supported</small>
|
|
65
75
|
|
|
66
|
-
|
|
76
|
+
*stopErrorCorrection* is fraction of error correction performed during time step once stop point is reached.
|
|
67
77
|
|
|
68
78
|
#### Hint
|
|
69
79
|
|
|
@@ -71,29 +81,29 @@ StopErrorCorrection is fraction of error correction performed during time step o
|
|
|
71
81
|
|
|
72
82
|
### SFVec3f [out] **body1AnchorPoint**
|
|
73
83
|
|
|
74
|
-
Output field body1AnchorPoint
|
|
84
|
+
Output field *body1AnchorPoint*.
|
|
75
85
|
|
|
76
86
|
### SFVec3f [out] **body2AnchorPoint**
|
|
77
87
|
|
|
78
|
-
Output field body2AnchorPoint
|
|
88
|
+
Output field *body2AnchorPoint*.
|
|
79
89
|
|
|
80
90
|
### SFFloat [out] **angle**
|
|
81
91
|
|
|
82
|
-
Output field angle
|
|
92
|
+
Output field *angle*.
|
|
83
93
|
|
|
84
94
|
### SFFloat [out] **angleRate**
|
|
85
95
|
|
|
86
|
-
Output field angleRate
|
|
96
|
+
Output field *angleRate*.
|
|
87
97
|
|
|
88
98
|
### SFNode [in, out] **body1** NULL <small>[RigidBody]</small>
|
|
89
99
|
|
|
90
|
-
|
|
100
|
+
The *body1* and body2 fields indicate the two RigidBody nodes connected by this joint.
|
|
91
101
|
|
|
92
102
|
### SFNode [in, out] **body2** NULL <small>[RigidBody]</small>
|
|
93
103
|
|
|
94
|
-
|
|
104
|
+
The body1 and *body2* fields indicate the two RigidBody nodes connected by this joint.
|
|
95
105
|
|
|
96
|
-
##
|
|
106
|
+
## Advisories
|
|
97
107
|
|
|
98
108
|
### Hint
|
|
99
109
|
|
|
@@ -103,6 +113,6 @@ Input/Output field body2.
|
|
|
103
113
|
|
|
104
114
|
<x3d-canvas src="https://create3000.github.io/media/examples/RigidBodyPhysics/SingleAxisHingeJoint/SingleAxisHingeJoint.x3d" update="auto"></x3d-canvas>
|
|
105
115
|
|
|
106
|
-
##
|
|
116
|
+
## See Also
|
|
107
117
|
|
|
108
|
-
- [X3D Specification of SingleAxisHingeJoint](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#SingleAxisHingeJoint){:target="_blank"}
|
|
118
|
+
- [X3D Specification of SingleAxisHingeJoint node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#SingleAxisHingeJoint){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: SliderJoint
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-RigidBodyPhysics
|
|
5
5
|
categories: [components, RigidBodyPhysics]
|
|
6
6
|
tags: [SliderJoint, RigidBodyPhysics]
|
|
@@ -15,7 +15,7 @@ tags: [SliderJoint, RigidBodyPhysics]
|
|
|
15
15
|
|
|
16
16
|
SliderJoint constrains all movement between body1 and body2 along a single axis. Contains two RigidBody nodes (containerField values body1, body2).
|
|
17
17
|
|
|
18
|
-
The SliderJoint node belongs to the **RigidBodyPhysics** component and its default container field is *joints.* It is available
|
|
18
|
+
The SliderJoint node belongs to the **RigidBodyPhysics** component and its default container field is *joints.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,13 +29,17 @@ The SliderJoint node belongs to the **RigidBodyPhysics** component and its defau
|
|
|
29
29
|
|
|
30
30
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
#### Hint
|
|
35
|
+
|
|
36
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
37
|
+
|
|
38
|
+
### MFString [in, out] **forceOutput** "NONE" <small>["ALL", "NONE", ...]</small>
|
|
35
39
|
|
|
36
40
|
*forceOutput* controls which output fields are generated for the next frame. Values are ALL, NONE, or exact names of output fields updated at start of next frame.
|
|
37
41
|
|
|
38
|
-
### SFVec3f [in, out] **axis** 0 1 0
|
|
42
|
+
### SFVec3f [in, out] **axis** 0 1 0 <small>(-∞,∞)</small>
|
|
39
43
|
|
|
40
44
|
*axis* is normalized vector specifying direction of motion.
|
|
41
45
|
|
|
@@ -45,7 +49,7 @@ Metadata are not part of the X3D world and not interpreted by the X3D browser, b
|
|
|
45
49
|
|
|
46
50
|
#### Hint
|
|
47
51
|
|
|
48
|
-
- If (minSeparation is less than maxSeparation) then no stop is effective.
|
|
52
|
+
- If (*minSeparation* is less than maxSeparation) then no stop is effective.
|
|
49
53
|
|
|
50
54
|
### SFFloat [in, out] **maxSeparation** 1 <small>[0,∞)</small>
|
|
51
55
|
|
|
@@ -53,13 +57,13 @@ Metadata are not part of the X3D world and not interpreted by the X3D browser, b
|
|
|
53
57
|
|
|
54
58
|
#### Hint
|
|
55
59
|
|
|
56
|
-
- If (minSeparation is less than maxSeparation) then no stop is effective.
|
|
60
|
+
- If (minSeparation is less than *maxSeparation*) then no stop is effective.
|
|
57
61
|
|
|
58
|
-
###
|
|
62
|
+
### SFFloat [in, out] **sliderForce** 0 <small>[-∞,∞)</small> <small class="red">not supported</small>
|
|
59
63
|
|
|
60
|
-
|
|
64
|
+
*sliderForce* value is used to apply a force (specified in force base units) along the axis of the slider in equal and opposite directions to the two bodies. A positive value applies a force such that the two bodies accelerate away from each other, while a negative value applies a force such that the two bodies accelerate toward each other.
|
|
61
65
|
|
|
62
|
-
### SFFloat [in, out] **stopBounce** 0 <small>[0,1] <
|
|
66
|
+
### SFFloat [in, out] **stopBounce** 0 <small>[0,1]</small> <small class="red">not supported</small>
|
|
63
67
|
|
|
64
68
|
*stopBounce* is velocity factor for bounce back once stop point is reached.
|
|
65
69
|
|
|
@@ -67,7 +71,7 @@ Input/Output field sliderForce.
|
|
|
67
71
|
|
|
68
72
|
- 0 means no bounce, 1 means return velocity matches.
|
|
69
73
|
|
|
70
|
-
### SFFloat [in, out] **stopErrorCorrection** 1 <small>[0,1] <
|
|
74
|
+
### SFFloat [in, out] **stopErrorCorrection** 1 <small>[0,1]</small> <small class="red">not supported</small>
|
|
71
75
|
|
|
72
76
|
*stopErrorCorrection* is fraction of error correction performed during time step once stop point is reached.
|
|
73
77
|
|
|
@@ -75,23 +79,31 @@ Input/Output field sliderForce.
|
|
|
75
79
|
|
|
76
80
|
- 0 means no error correction, 1 means all error corrected in single step.
|
|
77
81
|
|
|
78
|
-
### SFFloat [out] **separation** <
|
|
82
|
+
### SFFloat [out] **separation** <small class="red">not supported</small>
|
|
83
|
+
|
|
84
|
+
*separation* indicates final *separation* distance between the two bodies.
|
|
79
85
|
|
|
80
|
-
|
|
86
|
+
#### Warning
|
|
81
87
|
|
|
82
|
-
|
|
88
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
89
|
+
|
|
90
|
+
### SFFloat [out] **separationRate** <small class="red">not supported</small>
|
|
83
91
|
|
|
84
92
|
*separationRate* indicates change in separation distance over time between the two bodies.
|
|
85
93
|
|
|
94
|
+
#### Warning
|
|
95
|
+
|
|
96
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
97
|
+
|
|
86
98
|
### SFNode [in, out] **body1** NULL <small>[RigidBody]</small>
|
|
87
99
|
|
|
88
|
-
|
|
100
|
+
The *body1* and body2 fields indicate the two RigidBody nodes connected by this joint.
|
|
89
101
|
|
|
90
102
|
### SFNode [in, out] **body2** NULL <small>[RigidBody]</small>
|
|
91
103
|
|
|
92
|
-
|
|
104
|
+
The body1 and *body2* fields indicate the two RigidBody nodes connected by this joint.
|
|
93
105
|
|
|
94
|
-
##
|
|
106
|
+
## Advisories
|
|
95
107
|
|
|
96
108
|
### Hint
|
|
97
109
|
|
|
@@ -101,6 +113,6 @@ Input/Output field body2.
|
|
|
101
113
|
|
|
102
114
|
<x3d-canvas src="https://create3000.github.io/media/examples/RigidBodyPhysics/SliderJoint/SliderJoint.x3d" update="auto"></x3d-canvas>
|
|
103
115
|
|
|
104
|
-
##
|
|
116
|
+
## See Also
|
|
105
117
|
|
|
106
|
-
- [X3D Specification of SliderJoint](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#SliderJoint){:target="_blank"}
|
|
118
|
+
- [X3D Specification of SliderJoint node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#SliderJoint){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: UniversalJoint
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-RigidBodyPhysics
|
|
5
5
|
categories: [components, RigidBodyPhysics]
|
|
6
6
|
tags: [UniversalJoint, RigidBodyPhysics]
|
|
@@ -15,7 +15,7 @@ tags: [UniversalJoint, RigidBodyPhysics]
|
|
|
15
15
|
|
|
16
16
|
UniversalJoint is like a BallJoint that constrains an extra degree of rotational freedom. Contains two RigidBody nodes (containerField values body1, body2).
|
|
17
17
|
|
|
18
|
-
The UniversalJoint node belongs to the **RigidBodyPhysics** component and its default container field is *joints.* It is available
|
|
18
|
+
The UniversalJoint node belongs to the **RigidBodyPhysics** component and its default container field is *joints.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,35 +29,43 @@ The UniversalJoint node belongs to the **RigidBodyPhysics** component and its de
|
|
|
29
29
|
|
|
30
30
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
#### Hint
|
|
35
|
+
|
|
36
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
37
|
+
|
|
38
|
+
### MFString [in, out] **forceOutput** "NONE" <small>["ALL", "NONE", ...]</small>
|
|
35
39
|
|
|
36
40
|
*forceOutput* controls which output fields are generated for the next frame. Values are ALL, NONE, or exact names of output fields updated at start of next frame.
|
|
37
41
|
|
|
38
|
-
### SFVec3f [in, out] **anchorPoint** 0 0 0
|
|
42
|
+
### SFVec3f [in, out] **anchorPoint** 0 0 0 <small>(-∞,∞)</small>
|
|
39
43
|
|
|
40
44
|
*anchorPoint* is joint center, specified in world coordinates.
|
|
41
45
|
|
|
42
|
-
### SFVec3f [in, out] **axis1** 0 0 0
|
|
46
|
+
### SFVec3f [in, out] **axis1** 0 0 0 <small>(-∞,∞)</small>
|
|
43
47
|
|
|
44
48
|
*axis1* defines axis vector of joint connection to body1.
|
|
45
49
|
|
|
46
50
|
#### Hint
|
|
47
51
|
|
|
48
|
-
- 0 0 0 means motor disabled.
|
|
52
|
+
- 0 0 0 means motor disabled about this axis.
|
|
49
53
|
|
|
50
|
-
### SFVec3f [in, out] **axis2** 0 0 0
|
|
54
|
+
### SFVec3f [in, out] **axis2** 0 0 0 <small>(-∞,∞)</small>
|
|
51
55
|
|
|
52
56
|
*axis2* defines axis vector of joint connection to body2.
|
|
53
57
|
|
|
54
58
|
#### Hint
|
|
55
59
|
|
|
56
|
-
- 0 0 0 means motor disabled.
|
|
60
|
+
- 0 0 0 means motor disabled about this axis.
|
|
57
61
|
|
|
58
62
|
### SFFloat [in, out] **stop1Bounce** 0 <small>[0,1]</small>
|
|
59
63
|
|
|
60
|
-
|
|
64
|
+
*stop1Bounce* is velocity factor for bounce back once stop point is reached.
|
|
65
|
+
|
|
66
|
+
#### Hint
|
|
67
|
+
|
|
68
|
+
- 0 means no bounce, 1 means return velocity matches.
|
|
61
69
|
|
|
62
70
|
### SFFloat [in, out] **stop2Bounce** 0 <small>[0,1]</small>
|
|
63
71
|
|
|
@@ -83,37 +91,37 @@ Input/Output field stop1Bounce.
|
|
|
83
91
|
|
|
84
92
|
- 0 means no error correction, 1 means all error corrected in single step.
|
|
85
93
|
|
|
86
|
-
### SFVec3f [out] **
|
|
94
|
+
### SFVec3f [out] **body1Axis**
|
|
87
95
|
|
|
88
|
-
Output field
|
|
96
|
+
Output field *body1Axis*.
|
|
89
97
|
|
|
90
|
-
### SFVec3f [out] **
|
|
98
|
+
### SFVec3f [out] **body2Axis**
|
|
91
99
|
|
|
92
|
-
Output field
|
|
100
|
+
Output field *body2Axis*.
|
|
93
101
|
|
|
94
|
-
### SFVec3f [out] **
|
|
102
|
+
### SFVec3f [out] **body1AnchorPoint**
|
|
95
103
|
|
|
96
|
-
Output field
|
|
104
|
+
Output field *body1AnchorPoint*.
|
|
97
105
|
|
|
98
|
-
### SFVec3f [out] **
|
|
106
|
+
### SFVec3f [out] **body2AnchorPoint**
|
|
99
107
|
|
|
100
|
-
Output field
|
|
108
|
+
Output field *body2AnchorPoint*.
|
|
101
109
|
|
|
102
110
|
### SFNode [in, out] **body1** NULL <small>[RigidBody]</small>
|
|
103
111
|
|
|
104
|
-
|
|
112
|
+
The *body1* and body2 fields indicate the two RigidBody nodes connected by this joint.
|
|
105
113
|
|
|
106
114
|
### SFNode [in, out] **body2** NULL <small>[RigidBody]</small>
|
|
107
115
|
|
|
108
|
-
|
|
116
|
+
The body1 and *body2* fields indicate the two RigidBody nodes connected by this joint.
|
|
109
117
|
|
|
110
|
-
##
|
|
118
|
+
## Advisories
|
|
111
119
|
|
|
112
120
|
### Hints
|
|
113
121
|
|
|
114
122
|
- Useful in combination with BallJoint.
|
|
115
123
|
- RigidBodyPhysics component, level 2.
|
|
116
124
|
|
|
117
|
-
##
|
|
125
|
+
## See Also
|
|
118
126
|
|
|
119
|
-
- [X3D Specification of UniversalJoint](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#UniversalJoint){:target="_blank"}
|
|
127
|
+
- [X3D Specification of UniversalJoint node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#UniversalJoint){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Script
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Scripting
|
|
5
5
|
categories: [components, Scripting]
|
|
6
6
|
tags: [Script, Scripting]
|
|
@@ -13,9 +13,9 @@ tags: [Script, Scripting]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
Script
|
|
16
|
+
Script contains author-programmed event behaviors for a scene. Define the script input-output event interface by including \<field/\> elements. Scripting code is embedded in a child CDATA node or (deprecated) in the url field. Optionally supported programming languages are ECMAScript (JavaScript) and Java (via url to a myNode.class file).
|
|
17
17
|
|
|
18
|
-
The Script node belongs to the **Scripting** component and its default container field is *children.* It is available
|
|
18
|
+
The Script node belongs to the **Scripting** component and its default container field is *children.* It is available from X3D version 2.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -32,7 +32,11 @@ The Script node belongs to the **Scripting** component and its default container
|
|
|
32
32
|
|
|
33
33
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
36
|
+
|
|
37
|
+
#### Hint
|
|
38
|
+
|
|
39
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
36
40
|
|
|
37
41
|
### SFString [in, out] **description** ""
|
|
38
42
|
|
|
@@ -40,34 +44,38 @@ Author-provided prose that describes intended purpose of the url asset.
|
|
|
40
44
|
|
|
41
45
|
#### Hint
|
|
42
46
|
|
|
43
|
-
- Many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as &#38; for & ampersand character, or &#34; for " quotation-mark character).
|
|
47
|
+
- Many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as &#38; for & ampersand character, or &#34; for " quotation-mark character).
|
|
44
48
|
|
|
45
49
|
### SFBool [in, out] **load** TRUE
|
|
46
50
|
|
|
47
|
-
*load*=true means load immediately, load
|
|
51
|
+
*load*=true means *load* immediately, *load*=false means defer loading or else unload a previously loaded scene.
|
|
48
52
|
|
|
49
53
|
#### Hints
|
|
50
54
|
|
|
51
|
-
- Allows author to design when
|
|
55
|
+
- Allows author to design when Inline loading occurs via user interaction, event chains or scripting.
|
|
52
56
|
- Use a separate LoadSensor node to detect when loading is complete.
|
|
53
57
|
|
|
54
58
|
### MFString [in, out] **url** [ ] <small>[URI]</small>
|
|
55
59
|
|
|
56
|
-
|
|
60
|
+
List of address links for runnable script files.
|
|
57
61
|
|
|
58
|
-
####
|
|
62
|
+
#### Hints
|
|
59
63
|
|
|
60
|
-
-
|
|
64
|
+
- Embedded ecmascript: source can also be contained in the sourceCode pseudo-field without escape characters, equivalent to last entry in the *url* list, when using other API codebases and file encodings.
|
|
65
|
+
- Browsers are not required to support any particular scripting language, but ECMAScript (JavaScript) is widely supported.
|
|
66
|
+
- Equivalent script code written in multiple programming languages can be provided for portability, the first runnable version is chosen at run time.
|
|
67
|
+
- [X3D Scene Authoring Hints, Scripts](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Scripts){:target="_blank"}
|
|
68
|
+
- If both *url* field and CDATA section are provided simultaneously, the *url* field is processed first. This approach allows utilization of update modifications or live queries in external scripts, while still providing reliable script source as a fallback alternative within the model itself.
|
|
69
|
+
- [X3D XML Encoding, 4.3.13 Encapsulating Script node code](https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/concepts.html#EncapsulatingScriptNodeCode){:target="_blank"}
|
|
70
|
+
- MFString arrays can have multiple values, so separate each individual string by quote marks "https://www.web3d.org" "https://www.web3d.org/about" "etc."
|
|
71
|
+
- Alternative XML encoding for quotation mark " is &quot; (which is an example of a character entity).
|
|
72
|
+
- Can replace embedded blank(s) in *url* queries with %20 for each blank character.
|
|
73
|
+
- [X3D Scene Authoring Hints, urls](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#urls){:target="_blank"}
|
|
61
74
|
|
|
62
75
|
#### Warnings
|
|
63
76
|
|
|
64
|
-
-
|
|
65
|
-
|
|
66
|
-
#### See Also
|
|
67
|
-
|
|
68
|
-
- [ECMAScript is the ISO standard version of JavaScript.](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#JavaScript){:target="_blank"}
|
|
69
|
-
- [VrmlScript was a subset of JavaScript originally proposed for use with VRML 97.](https://www.bitmanagement.com/developer/spec/vrmlscript/vrmlscript.html){:target="_blank"}
|
|
70
|
-
- [X3D Scene Authoring Hints, urls](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#urls){:target="_blank"}
|
|
77
|
+
- Source code can be placed in *url* attribute but may be unparsable due to escaping of special characters and elimination of line breaks (causing comments to nullify follow-on code). Use contained CDATA section instead for embedding source code.
|
|
78
|
+
- Strictly match directory and filename capitalization for http links! This is important for portability. Some operating systems are forgiving of capitalization mismatches, but http/https *url* addresses and paths in Unix-based operating systems are all case sensitive and intolerant of uppercase/lowercase mismatches.
|
|
71
79
|
|
|
72
80
|
### SFTime [in, out] **autoRefresh** 0 <small>[0,∞)</small>
|
|
73
81
|
|
|
@@ -96,28 +104,36 @@ Points to a script file url. Also (as deprecated alternative to CDATA block) can
|
|
|
96
104
|
|
|
97
105
|
### SFBool [ ] **directOutput** FALSE
|
|
98
106
|
|
|
99
|
-
Set directOutput true if Script has field reference(s) of type SFNode/MFNode, and also uses direct access to modify attributes of a referenced node in the Scene.
|
|
107
|
+
Set *directOutput* true if Script has field reference(s) of type SFNode/MFNode, and also uses direct access to modify attributes of a referenced node in the Scene.
|
|
100
108
|
|
|
101
109
|
#### Hints
|
|
102
110
|
|
|
103
|
-
- Set directOutput true if Script dynamically establishes or breaks ROUTEs.
|
|
111
|
+
- Set *directOutput* true if Script dynamically establishes or breaks ROUTEs.
|
|
112
|
+
- *directOutput* is a browser hint to avoid overoptimizing referenced nodes, since a Script might directly change attribute values in referenced SFNode/MFNode fields, without a ROUTE connecting output events.
|
|
113
|
+
- *directOutput* false means Script cannot modify referenced nodes or change ROUTEs.
|
|
104
114
|
|
|
105
115
|
### SFBool [ ] **mustEvaluate** FALSE
|
|
106
116
|
|
|
107
|
-
If mustEvaluate false, then
|
|
117
|
+
If *mustEvaluate* false, then the X3D player may delay sending input events to Script until output events are needed. If *mustEvaluate* true, then Script must receive input events immediately without any event-aggregation delays.
|
|
108
118
|
|
|
109
119
|
#### Hint
|
|
110
120
|
|
|
111
|
-
- Set mustEvaluate true when sending/receiving values via the network.
|
|
121
|
+
- Set *mustEvaluate* true when sending/receiving values via the network.
|
|
112
122
|
|
|
113
|
-
##
|
|
123
|
+
## Advisories
|
|
114
124
|
|
|
115
125
|
### Hints
|
|
116
126
|
|
|
117
|
-
- Insert
|
|
118
|
-
- CDATA
|
|
127
|
+
- Insert an XML Character Data (CDATA) block within the Script node to contain source code embedded within an X3D scene, avoiding the need for escape characters.
|
|
128
|
+
- A contained XML Character Data (CDATA) block for source code protects whitespace, line breaks, and literal characters (such as & for ampersand character, \< for less-than-sign character, and \> for greater-than-sign character) from unintended escape-character modifications by XML parsers.
|
|
129
|
+
- [X3D Scene Authoring Hints, Scripts](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Scripts){:target="_blank"}
|
|
130
|
+
- [Apply `containerField='watchList'` when parent node is LoadSensor.ECMAScript-262 specification](http://www.ecma-international.org/publications/standards/Ecma-262.htm){:target="_blank"}
|
|
131
|
+
- Embedded ecmascript: source can also be contained in the sourceCode pseudo-field without escape characters, equivalent to last entry in the url list, when using other API codebases and file encodings.
|
|
119
132
|
|
|
120
|
-
|
|
133
|
+
### Warning
|
|
121
134
|
|
|
122
|
-
-
|
|
123
|
-
|
|
135
|
+
- Strict order is required for contained constructs: first field declarations (if any), then IS/connect statements (if any), and finally CDATA source-code block.
|
|
136
|
+
|
|
137
|
+
## See Also
|
|
138
|
+
|
|
139
|
+
- [X3D Specification of Script node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/scripting.html#Script){:target="_blank"}
|