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: BallJoint
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-RigidBodyPhysics
|
|
5
5
|
categories: [components, RigidBodyPhysics]
|
|
6
6
|
tags: [BallJoint, RigidBodyPhysics]
|
|
@@ -15,7 +15,7 @@ tags: [BallJoint, RigidBodyPhysics]
|
|
|
15
15
|
|
|
16
16
|
BallJoint represents an unconstrained joint between two bodies that pivot about a common anchor point. Contains two RigidBody nodes (containerField values body1, body2).
|
|
17
17
|
|
|
18
|
-
The BallJoint node belongs to the **RigidBodyPhysics** component and its default container field is *joints.* It is available
|
|
18
|
+
The BallJoint 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 BallJoint node belongs to the **RigidBodyPhysics** component and its default
|
|
|
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
|
|
|
@@ -45,7 +49,11 @@ Metadata are not part of the X3D world and not interpreted by the X3D browser, b
|
|
|
45
49
|
|
|
46
50
|
#### Hint
|
|
47
51
|
|
|
48
|
-
- Can detect separation if body1AnchorPoint
|
|
52
|
+
- Can detect separation if *body1AnchorPoint*!=body2AnchorPoint.
|
|
53
|
+
|
|
54
|
+
#### Warning
|
|
55
|
+
|
|
56
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
49
57
|
|
|
50
58
|
### SFVec3f [out] **body2AnchorPoint**
|
|
51
59
|
|
|
@@ -53,17 +61,21 @@ Metadata are not part of the X3D world and not interpreted by the X3D browser, b
|
|
|
53
61
|
|
|
54
62
|
#### Hint
|
|
55
63
|
|
|
56
|
-
- Can detect separation if body1AnchorPoint
|
|
64
|
+
- Can detect separation if body1AnchorPoint!=*body2AnchorPoint*.
|
|
65
|
+
|
|
66
|
+
#### Warning
|
|
67
|
+
|
|
68
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
57
69
|
|
|
58
70
|
### SFNode [in, out] **body1** NULL <small>[RigidBody]</small>
|
|
59
71
|
|
|
60
|
-
|
|
72
|
+
The *body1* and body2 fields indicate the two RigidBody nodes connected by this joint.
|
|
61
73
|
|
|
62
74
|
### SFNode [in, out] **body2** NULL <small>[RigidBody]</small>
|
|
63
75
|
|
|
64
|
-
|
|
76
|
+
The body1 and *body2* fields indicate the two RigidBody nodes connected by this joint.
|
|
65
77
|
|
|
66
|
-
##
|
|
78
|
+
## Advisories
|
|
67
79
|
|
|
68
80
|
### Hint
|
|
69
81
|
|
|
@@ -73,6 +85,6 @@ Input/Output field body2.
|
|
|
73
85
|
|
|
74
86
|
<x3d-canvas src="https://create3000.github.io/media/examples/RigidBodyPhysics/BallJoint/BallJoint.x3d" update="auto"></x3d-canvas>
|
|
75
87
|
|
|
76
|
-
##
|
|
88
|
+
## See Also
|
|
77
89
|
|
|
78
|
-
- [X3D Specification of BallJoint](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#BallJoint){:target="_blank"}
|
|
90
|
+
- [X3D Specification of BallJoint node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#BallJoint){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: CollidableOffset
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-RigidBodyPhysics
|
|
5
5
|
categories: [components, RigidBodyPhysics]
|
|
6
6
|
tags: [CollidableOffset, RigidBodyPhysics]
|
|
@@ -13,9 +13,9 @@ tags: [CollidableOffset, RigidBodyPhysics]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
CollidableOffset repositions geometry relative to center of owning body. Contains a single CollidableShape or CollidableOffset node (containerField='collidable')
|
|
16
|
+
CollidableOffset repositions geometry relative to center of owning body. Contains a single CollidableShape or CollidableOffset node (`containerField='collidable').`
|
|
17
17
|
|
|
18
|
-
The CollidableOffset node belongs to the **RigidBodyPhysics** component and its default container field is *children.* It is available
|
|
18
|
+
The CollidableOffset 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
|
|
|
@@ -32,7 +32,11 @@ The CollidableOffset node belongs to the **RigidBodyPhysics** component and its
|
|
|
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
|
### SFBool [in, out] **enabled** TRUE
|
|
38
42
|
|
|
@@ -44,7 +48,7 @@ Position (x, y, z in meters) of children relative to local coordinate system.
|
|
|
44
48
|
|
|
45
49
|
#### Hint
|
|
46
50
|
|
|
47
|
-
- The order of operation is first apply the center offset, then scaleOrientation and scale, then rotation, then restore the center offset, then translation
|
|
51
|
+
- The order of operation is first apply the center offset, then scaleOrientation and scale, then rotation, then restore the center offset, then *translation*.
|
|
48
52
|
|
|
49
53
|
### SFRotation [in, out] **rotation** 0 0 1 0 <small>[0,1]</small>
|
|
50
54
|
|
|
@@ -52,18 +56,18 @@ Orientation (axis, angle in radians) of children relative to local coordinate sy
|
|
|
52
56
|
|
|
53
57
|
#### Hint
|
|
54
58
|
|
|
55
|
-
- The order of operation is first apply the center offset, then scaleOrientation and scale, then rotation
|
|
59
|
+
- The order of operation is first apply the center offset, then scaleOrientation and scale, then *rotation*, then restore the center offset, then translation.
|
|
56
60
|
|
|
57
|
-
### SFBool [
|
|
61
|
+
### SFBool [in, out] **visible** TRUE
|
|
58
62
|
|
|
59
63
|
Whether or not renderable content within this node is visually displayed.
|
|
60
64
|
|
|
61
|
-
####
|
|
65
|
+
#### Hints
|
|
62
66
|
|
|
63
|
-
- The visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
64
|
-
- Content must be visible to be collidable and to be pickable.
|
|
67
|
+
- The *visible* field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
68
|
+
- Content must be *visible* to be collidable and to be pickable.
|
|
65
69
|
|
|
66
|
-
### SFBool [ ] **bboxDisplay** FALSE
|
|
70
|
+
### SFBool [in, out] **bboxDisplay** FALSE
|
|
67
71
|
|
|
68
72
|
Whether to display bounding box for associated geometry, aligned with world coordinates.
|
|
69
73
|
|
|
@@ -71,22 +75,41 @@ Whether to display bounding box for associated geometry, aligned with world coor
|
|
|
71
75
|
|
|
72
76
|
- The bounding box is displayed regardless of whether contained content is visible.
|
|
73
77
|
|
|
74
|
-
### SFVec3f [ ] **bboxSize** -1 -1 -1 <small>[0,∞) or
|
|
78
|
+
### SFVec3f [ ] **bboxSize** -1 -1 -1 <small>[0,∞) or −1 −1 −1</small>
|
|
75
79
|
|
|
76
80
|
Bounding box size is usually omitted, and can easily be calculated automatically by an X3D player at scene-loading time with minimal computational cost. Bounding box size can also be defined as an optional authoring hint that suggests an optimization or constraint.
|
|
77
81
|
|
|
78
|
-
####
|
|
82
|
+
#### Hints
|
|
79
83
|
|
|
80
84
|
- Can be useful for collision computations or inverse-kinematics (IK) engines.
|
|
85
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
86
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
87
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
81
88
|
|
|
82
89
|
### SFVec3f [ ] **bboxCenter** 0 0 0 <small>(-∞,∞)</small>
|
|
83
90
|
|
|
84
|
-
Bounding box center
|
|
91
|
+
Bounding box center accompanies bboxSize and provides an optional hint for bounding box position offset from origin of local coordinate system.
|
|
92
|
+
|
|
93
|
+
#### Hints
|
|
94
|
+
|
|
95
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
96
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
97
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
85
98
|
|
|
86
99
|
### SFNode [ ] **collidable** NULL <small>[X3DNBodyCollidableNode]</small>
|
|
87
100
|
|
|
88
|
-
|
|
101
|
+
The *collidable* field holds a reference to a single nested item of a *collidable* scene graph.
|
|
102
|
+
|
|
103
|
+
#### Warning
|
|
104
|
+
|
|
105
|
+
- If there are multiple transformation paths to this reference, the results are undefined.
|
|
106
|
+
|
|
107
|
+
## Advisories
|
|
108
|
+
|
|
109
|
+
### Hint
|
|
110
|
+
|
|
111
|
+
- Content must be visible to be collidable and to be pickable.
|
|
89
112
|
|
|
90
|
-
##
|
|
113
|
+
## See Also
|
|
91
114
|
|
|
92
|
-
- [X3D Specification of CollidableOffset](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#CollidableOffset){:target="_blank"}
|
|
115
|
+
- [X3D Specification of CollidableOffset node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#CollidableOffset){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: CollidableShape
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-RigidBodyPhysics
|
|
5
5
|
categories: [components, RigidBodyPhysics]
|
|
6
6
|
tags: [CollidableShape, RigidBodyPhysics]
|
|
@@ -13,9 +13,9 @@ tags: [CollidableShape, RigidBodyPhysics]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
CollidableShape connects the collision detection system, the rigid body model, and the renderable scene graph. Contains a single Shape node (containerField='shape') for animating collidable geometry.
|
|
16
|
+
CollidableShape connects the collision detection system, the rigid body model, and the renderable scene graph. Contains a single Shape node (`containerField='shape')` for animating collidable geometry.
|
|
17
17
|
|
|
18
|
-
The CollidableShape node belongs to the **RigidBodyPhysics** component and its default container field is *children.* It is available
|
|
18
|
+
The CollidableShape 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
|
|
|
@@ -30,7 +30,11 @@ The CollidableShape node belongs to the **RigidBodyPhysics** component and its d
|
|
|
30
30
|
|
|
31
31
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
34
|
+
|
|
35
|
+
#### Hint
|
|
36
|
+
|
|
37
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
34
38
|
|
|
35
39
|
### SFBool [in, out] **enabled** TRUE
|
|
36
40
|
|
|
@@ -42,7 +46,7 @@ Position (x, y, z in meters) of children relative to local coordinate system.
|
|
|
42
46
|
|
|
43
47
|
#### Hint
|
|
44
48
|
|
|
45
|
-
- The order of operation is first apply the center offset, then scaleOrientation and scale, then rotation, then restore the center offset, then translation
|
|
49
|
+
- The order of operation is first apply the center offset, then scaleOrientation and scale, then rotation, then restore the center offset, then *translation*.
|
|
46
50
|
|
|
47
51
|
### SFRotation [in, out] **rotation** 0 0 1 0 <small>[0,1]</small>
|
|
48
52
|
|
|
@@ -50,18 +54,18 @@ Orientation (axis, angle in radians) of children relative to local coordinate sy
|
|
|
50
54
|
|
|
51
55
|
#### Hint
|
|
52
56
|
|
|
53
|
-
- The order of operation is first apply the center offset, then scaleOrientation and scale, then rotation
|
|
57
|
+
- The order of operation is first apply the center offset, then scaleOrientation and scale, then *rotation*, then restore the center offset, then translation.
|
|
54
58
|
|
|
55
|
-
### SFBool [
|
|
59
|
+
### SFBool [in, out] **visible** TRUE
|
|
56
60
|
|
|
57
61
|
Whether or not renderable content within this node is visually displayed.
|
|
58
62
|
|
|
59
|
-
####
|
|
63
|
+
#### Hints
|
|
60
64
|
|
|
61
|
-
- The visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
62
|
-
- Content must be visible to be collidable and to be pickable.
|
|
65
|
+
- The *visible* field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
66
|
+
- Content must be *visible* to be collidable and to be pickable.
|
|
63
67
|
|
|
64
|
-
### SFBool [ ] **bboxDisplay** FALSE
|
|
68
|
+
### SFBool [in, out] **bboxDisplay** FALSE
|
|
65
69
|
|
|
66
70
|
Whether to display bounding box for associated geometry, aligned with world coordinates.
|
|
67
71
|
|
|
@@ -69,32 +73,46 @@ Whether to display bounding box for associated geometry, aligned with world coor
|
|
|
69
73
|
|
|
70
74
|
- The bounding box is displayed regardless of whether contained content is visible.
|
|
71
75
|
|
|
72
|
-
### SFVec3f [ ] **bboxSize** -1 -1 -1 <small>[0,∞) or
|
|
76
|
+
### SFVec3f [ ] **bboxSize** -1 -1 -1 <small>[0,∞) or −1 −1 −1</small>
|
|
73
77
|
|
|
74
78
|
Bounding box size is usually omitted, and can easily be calculated automatically by an X3D player at scene-loading time with minimal computational cost. Bounding box size can also be defined as an optional authoring hint that suggests an optimization or constraint.
|
|
75
79
|
|
|
76
|
-
####
|
|
80
|
+
#### Hints
|
|
77
81
|
|
|
78
82
|
- Can be useful for collision computations or inverse-kinematics (IK) engines.
|
|
83
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
84
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
85
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
79
86
|
|
|
80
87
|
### SFVec3f [ ] **bboxCenter** 0 0 0 <small>(-∞,∞)</small>
|
|
81
88
|
|
|
82
|
-
Bounding box center
|
|
89
|
+
Bounding box center accompanies bboxSize and provides an optional hint for bounding box position offset from origin of local coordinate system.
|
|
90
|
+
|
|
91
|
+
#### Hints
|
|
92
|
+
|
|
93
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
94
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
95
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
83
96
|
|
|
84
97
|
### SFNode [ ] **shape** NULL <small>[Shape]</small>
|
|
85
98
|
|
|
86
|
-
|
|
99
|
+
The *shape* field provides a geometry proxy for specifying which geometry best represents the collidable object.
|
|
100
|
+
|
|
101
|
+
## Advisories
|
|
87
102
|
|
|
88
|
-
|
|
103
|
+
### Hint
|
|
104
|
+
|
|
105
|
+
- Content must be visible to be collidable and to be pickable.
|
|
89
106
|
|
|
90
|
-
###
|
|
107
|
+
### Warnings
|
|
91
108
|
|
|
92
109
|
- Avoid changing Shape geometry at run time to prevent performance problems.
|
|
110
|
+
- Apply `containerField='shape'` to single Shape child node, not `containerField='children'` default.
|
|
93
111
|
|
|
94
112
|
## Example
|
|
95
113
|
|
|
96
114
|
<x3d-canvas src="https://create3000.github.io/media/examples/RigidBodyPhysics/CollidableShape/CollidableShape.x3d" update="auto"></x3d-canvas>
|
|
97
115
|
|
|
98
|
-
##
|
|
116
|
+
## See Also
|
|
99
117
|
|
|
100
|
-
- [X3D Specification of CollidableShape](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#CollidableShape){:target="_blank"}
|
|
118
|
+
- [X3D Specification of CollidableShape node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#CollidableShape){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: CollisionCollection
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-RigidBodyPhysics
|
|
5
5
|
categories: [components, RigidBodyPhysics]
|
|
6
6
|
tags: [CollisionCollection, RigidBodyPhysics]
|
|
@@ -15,7 +15,7 @@ tags: [CollisionCollection, RigidBodyPhysics]
|
|
|
15
15
|
|
|
16
16
|
CollisionCollection holds a collection of objects that can be managed as a single entity for resolution of inter-object collisions.
|
|
17
17
|
|
|
18
|
-
The CollisionCollection node belongs to the **RigidBodyPhysics** component and its default container field is *collider.* It is available
|
|
18
|
+
The CollisionCollection node belongs to the **RigidBodyPhysics** component and its default container field is *collider.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -27,9 +27,13 @@ The CollisionCollection node belongs to the **RigidBodyPhysics** component and i
|
|
|
27
27
|
|
|
28
28
|
## Fields
|
|
29
29
|
|
|
30
|
-
### SFNode [in, out] **metadata** NULL
|
|
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
|
|
|
@@ -37,54 +41,55 @@ Enables/disables node operation.
|
|
|
37
41
|
|
|
38
42
|
### MFString [in, out] **appliedParameters** "BOUNCE"
|
|
39
43
|
|
|
40
|
-
Default global parameters for collision outputs of rigid body physics system. Contact node can override parent CollisionCollection node. Selectable values for array: "BOUNCE" "USER_FRICTION" "
|
|
44
|
+
Default global parameters for collision outputs of rigid body physics system. Contact node can override parent CollisionCollection node. Selectable values for array: "BOUNCE" "USER_FRICTION" "FRICTION_COEFFICIENT_2" "ERROR_REDUCTION" "CONSTANT_FORCE" "SPEED_1" "SPEED_2" "SLIP_1" "SLIP_2".
|
|
41
45
|
|
|
42
46
|
#### Hint
|
|
43
47
|
|
|
44
|
-
- BOUNCE: bounce value is used; USER_FRICTION: apply user-supplied value;
|
|
48
|
+
- BOUNCE: bounce value is used; USER_FRICTION: apply user-supplied value; FRICTION_COEFFICIENT_2: apply frictionCoefficients values; ERROR_REDUCTION: apply softnessErrorCorrection value; CONSTANT_FORCE: apply softnessConstantForceMix value; SPEED_1: apply first component of surfaceSpeed array; SPEED_2: apply second component of surfaceSpeed array; SLIP_1: apply first component of slipFactors array; SLIP_2: apply second component of slipFactors array.
|
|
45
49
|
|
|
46
50
|
### SFFloat [in, out] **bounce** 0 <small>[0,1]</small>
|
|
47
51
|
|
|
48
|
-
*bounce* indicates bounciness (0 = no bounce at all, 1 = maximum bounce).
|
|
52
|
+
*bounce* indicates bounciness (0 = no *bounce* at all, 1 = maximum *bounce*).
|
|
49
53
|
|
|
50
|
-
### SFFloat [in, out] **minBounceSpeed** 0.1
|
|
54
|
+
### SFFloat [in, out] **minBounceSpeed** 0.1 <small>[0,∞)</small>
|
|
51
55
|
|
|
52
56
|
*minBounceSpeed* m/s needed to bounce.
|
|
53
57
|
|
|
54
|
-
### SFVec2f [in, out] **frictionCoefficients** 0 0
|
|
58
|
+
### SFVec2f [in, out] **frictionCoefficients** 0 0 <small>[0,∞)</small>
|
|
55
59
|
|
|
56
60
|
*frictionCoefficients* used for computing surface drag.
|
|
57
61
|
|
|
58
|
-
### SFVec2f [in, out] **surfaceSpeed** 0 0
|
|
62
|
+
### SFVec2f [in, out] **surfaceSpeed** 0 0 <small>(-∞,∞)</small>
|
|
59
63
|
|
|
60
64
|
*surfaceSpeed* defines speed vectors for computing surface drag, if contact surfaces move independently of bodies.
|
|
61
65
|
|
|
62
|
-
### SFVec2f [in, out] **slipFactors** 0 0
|
|
66
|
+
### SFVec2f [in, out] **slipFactors** 0 0 <small>(-∞,∞)</small>
|
|
63
67
|
|
|
64
68
|
*slipFactors* used for computing surface drag.
|
|
65
69
|
|
|
66
|
-
### SFFloat [in, out] **softnessConstantForceMix** 0.0001
|
|
70
|
+
### SFFloat [in, out] **softnessConstantForceMix** 0.0001 <small>[0,1]</small>
|
|
67
71
|
|
|
68
72
|
*softnessConstantForceMix* value applies a constant force value to make colliding surfaces appear to be somewhat soft.
|
|
69
73
|
|
|
70
|
-
### SFFloat [in, out] **softnessErrorCorrection** 0.8
|
|
74
|
+
### SFFloat [in, out] **softnessErrorCorrection** 0.8 <small>[0,1]</small>
|
|
71
75
|
|
|
72
76
|
*softnessErrorCorrection* indicates fraction of collision error fixed in a set of evaluations (0 = no error correction, 1 = all errors corrected in single step).
|
|
73
77
|
|
|
74
78
|
### MFNode [in, out] **collidables** [ ] <small>[X3DNBodyCollisionSpaceNode,X3DNBodyCollidableNode]</small>
|
|
75
79
|
|
|
76
|
-
|
|
80
|
+
CollisionCollection node holds a collection of objects in the *collidables* field that can be managed as a single entity for resolution of inter-object collisions with other groups of collidable objects. A group consists of both collidable objects as well as spaces that may be collided against each other.
|
|
77
81
|
|
|
78
|
-
##
|
|
82
|
+
## Advisories
|
|
79
83
|
|
|
80
|
-
###
|
|
84
|
+
### Hints
|
|
81
85
|
|
|
82
|
-
- Contains an array of CollisionSpace, CollidableShape or CollidableOffset nodes (containerField='collidables')
|
|
86
|
+
- Contains an array of CollisionSpace, CollidableShape or CollidableOffset nodes (`containerField='collidables').`
|
|
87
|
+
- Content must be visible to be collidable and to be pickable.
|
|
83
88
|
|
|
84
89
|
## Example
|
|
85
90
|
|
|
86
91
|
<x3d-canvas src="https://create3000.github.io/media/examples/RigidBodyPhysics/CollisionCollection/CollisionCollection.x3d" update="auto"></x3d-canvas>
|
|
87
92
|
|
|
88
|
-
##
|
|
93
|
+
## See Also
|
|
89
94
|
|
|
90
|
-
- [X3D Specification of CollisionCollection](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#CollisionCollection){:target="_blank"}
|
|
95
|
+
- [X3D Specification of CollisionCollection node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#CollisionCollection){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: CollisionSensor
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-RigidBodyPhysics
|
|
5
5
|
categories: [components, RigidBodyPhysics]
|
|
6
6
|
tags: [CollisionSensor, RigidBodyPhysics]
|
|
@@ -15,7 +15,7 @@ tags: [CollisionSensor, RigidBodyPhysics]
|
|
|
15
15
|
|
|
16
16
|
CollisionSensor generates collision-detection events.
|
|
17
17
|
|
|
18
|
-
The CollisionSensor node belongs to the **RigidBodyPhysics** component and its default container field is *children.* It is available
|
|
18
|
+
The CollisionSensor 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
|
|
|
@@ -30,7 +30,11 @@ The CollisionSensor node belongs to the **RigidBodyPhysics** component and its d
|
|
|
30
30
|
|
|
31
31
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
34
|
+
|
|
35
|
+
#### Hint
|
|
36
|
+
|
|
37
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
34
38
|
|
|
35
39
|
### SFBool [in, out] **enabled** TRUE
|
|
36
40
|
|
|
@@ -40,26 +44,31 @@ Enables/disables node operation.
|
|
|
40
44
|
|
|
41
45
|
*isActive* true/false events are sent when sensing starts/stops.
|
|
42
46
|
|
|
47
|
+
#### Warning
|
|
48
|
+
|
|
49
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
50
|
+
|
|
43
51
|
### MFNode [out] **intersections** <small>[X3DNBodyCollidableNode]</small>
|
|
44
52
|
|
|
45
|
-
Output field intersections
|
|
53
|
+
Output field *intersections*.
|
|
46
54
|
|
|
47
55
|
### MFNode [out] **contacts** <small>[Contact]</small>
|
|
48
56
|
|
|
49
|
-
Output field contacts
|
|
57
|
+
Output field *contacts*.
|
|
50
58
|
|
|
51
59
|
### SFNode [in, out] **collider** NULL <small>[CollisionCollection]</small>
|
|
52
60
|
|
|
53
|
-
|
|
61
|
+
The *collider* field specifies a CollisionCollection node that holds a collidables field of nodes and spaces that are to be included in collision-detection computations.
|
|
54
62
|
|
|
55
|
-
##
|
|
63
|
+
## Advisories
|
|
56
64
|
|
|
57
65
|
### Hints
|
|
58
66
|
|
|
59
|
-
- Contains CollisionCollection node (containerField='collider')
|
|
60
|
-
- CollisionSensor also has output events: CollidableOffset and CollidableShape nodes (containerField='intersections')
|
|
67
|
+
- Contains CollisionCollection node (`containerField='collider').`
|
|
68
|
+
- CollisionSensor also has output events: CollidableOffset and CollidableShape nodes (`containerField='intersections'),` Contact nodes (`containerField='contacts').`
|
|
69
|
+
- [Event timing details are explained in X3D Specification 4.4.8.3 Execution model](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/concepts.html#ExecutionModel){:target="_blank"}
|
|
70
|
+
- Content must be visible to be collidable and to be pickable.
|
|
61
71
|
|
|
62
|
-
##
|
|
72
|
+
## See Also
|
|
63
73
|
|
|
64
|
-
- [X3D Specification of CollisionSensor](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#CollisionSensor){:target="_blank"}
|
|
65
|
-
- [Event timing details are explained in 4.4.8.3 Execution model](https://www.web3d.org/files/specifications/19775-1/V3.3/Part01/concepts.html#ExecutionModel){:target="_blank"}
|
|
74
|
+
- [X3D Specification of CollisionSensor node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#CollisionSensor){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: CollisionSpace
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-RigidBodyPhysics
|
|
5
5
|
categories: [components, RigidBodyPhysics]
|
|
6
6
|
tags: [CollisionSpace, RigidBodyPhysics]
|
|
@@ -13,9 +13,9 @@ tags: [CollisionSpace, RigidBodyPhysics]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
CollisionSpace holds collection of objects considered together for resolution of inter-object collisions. Contains multiple CollidableShape, CollidableOffset, or CollisionSpace nodes (containerField='collidables')
|
|
16
|
+
CollisionSpace holds collection of objects considered together for resolution of inter-object collisions. Contains multiple CollidableShape, CollidableOffset, or CollisionSpace nodes (`containerField='collidables').`
|
|
17
17
|
|
|
18
|
-
The CollisionSpace node belongs to the **RigidBodyPhysics** component and its default container field is *children.* It is available
|
|
18
|
+
The CollisionSpace 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,9 +29,13 @@ The CollisionSpace node belongs to the **RigidBodyPhysics** component and its de
|
|
|
29
29
|
|
|
30
30
|
## Fields
|
|
31
31
|
|
|
32
|
-
### SFNode [in, out] **metadata** NULL
|
|
32
|
+
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
35
|
+
|
|
36
|
+
#### Hint
|
|
37
|
+
|
|
38
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
35
39
|
|
|
36
40
|
### SFBool [in, out] **enabled** TRUE
|
|
37
41
|
|
|
@@ -49,16 +53,16 @@ Enables/disables node operation.
|
|
|
49
53
|
|
|
50
54
|
- Using geometry is more accurate but slower.
|
|
51
55
|
|
|
52
|
-
### SFBool [
|
|
56
|
+
### SFBool [in, out] **visible** TRUE
|
|
53
57
|
|
|
54
58
|
Whether or not renderable content within this node is visually displayed.
|
|
55
59
|
|
|
56
|
-
####
|
|
60
|
+
#### Hints
|
|
57
61
|
|
|
58
|
-
- The visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
59
|
-
- Content must be visible to be collidable and to be pickable.
|
|
62
|
+
- The *visible* field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
63
|
+
- Content must be *visible* to be collidable and to be pickable.
|
|
60
64
|
|
|
61
|
-
### SFBool [ ] **bboxDisplay** FALSE
|
|
65
|
+
### SFBool [in, out] **bboxDisplay** FALSE
|
|
62
66
|
|
|
63
67
|
Whether to display bounding box for associated geometry, aligned with world coordinates.
|
|
64
68
|
|
|
@@ -66,22 +70,37 @@ Whether to display bounding box for associated geometry, aligned with world coor
|
|
|
66
70
|
|
|
67
71
|
- The bounding box is displayed regardless of whether contained content is visible.
|
|
68
72
|
|
|
69
|
-
### SFVec3f [ ] **bboxSize** -1 -1 -1
|
|
73
|
+
### SFVec3f [ ] **bboxSize** -1 -1 -1 <small>[0,∞) or −1 −1 −1</small>
|
|
70
74
|
|
|
71
75
|
Bounding box size is usually omitted, and can easily be calculated automatically by an X3D player at scene-loading time with minimal computational cost. Bounding box size can also be defined as an optional authoring hint that suggests an optimization or constraint.
|
|
72
76
|
|
|
73
|
-
####
|
|
77
|
+
#### Hints
|
|
74
78
|
|
|
75
79
|
- Can be useful for collision computations or inverse-kinematics (IK) engines.
|
|
80
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
81
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
82
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
76
83
|
|
|
77
|
-
### SFVec3f [ ] **bboxCenter** 0 0 0
|
|
84
|
+
### SFVec3f [ ] **bboxCenter** 0 0 0 <small>(-∞,∞)</small>
|
|
78
85
|
|
|
79
|
-
Bounding box center
|
|
86
|
+
Bounding box center accompanies bboxSize and provides an optional hint for bounding box position offset from origin of local coordinate system.
|
|
87
|
+
|
|
88
|
+
#### Hints
|
|
89
|
+
|
|
90
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
91
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
92
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
80
93
|
|
|
81
94
|
### MFNode [in, out] **collidables** [ ] <small>[X3DNBodyCollisionSpaceNode,X3DNBodyCollidableNode]</small>
|
|
82
95
|
|
|
83
|
-
|
|
96
|
+
Collection of collidable objects as well as nested CollisionSpace collections
|
|
97
|
+
|
|
98
|
+
## Advisories
|
|
99
|
+
|
|
100
|
+
### Hint
|
|
101
|
+
|
|
102
|
+
- Content must be visible to be collidable and to be pickable.
|
|
84
103
|
|
|
85
|
-
##
|
|
104
|
+
## See Also
|
|
86
105
|
|
|
87
|
-
- [X3D Specification of CollisionSpace](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#CollisionSpace){:target="_blank"}
|
|
106
|
+
- [X3D Specification of CollisionSpace node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rigidBodyPhysics.html#CollisionSpace){:target="_blank"}
|