x_ite 8.8.7 → 8.9.1
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/README.md +3 -7
- package/build/docs/nodes.pl +434 -0
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +13 -13
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +26 -26
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +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 +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +129 -90
- 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 +24 -24
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +24 -24
- 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 +18 -18
- 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 +14 -14
- 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 +18 -18
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +9 -9
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +1320 -166
- 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 +45 -19
- package/docs/_posts/components/CADGeometry/CADFace.md +44 -18
- package/docs/_posts/components/CADGeometry/CADLayer.md +48 -19
- package/docs/_posts/components/CADGeometry/CADPart.md +54 -24
- 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 +29 -18
- 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 +30 -25
- 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 +40 -15
- package/docs/_posts/components/DIS/DISEntityTypeMapping.md +34 -25
- package/docs/_posts/components/DIS/EspduTransform.md +174 -41
- package/docs/_posts/components/DIS/ReceiverPdu.md +77 -27
- package/docs/_posts/components/DIS/SignalPdu.md +82 -28
- package/docs/_posts/components/DIS/TransmitterPdu.md +86 -36
- 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 +23 -10
- 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 +24 -9
- 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 +30 -22
- package/docs/_posts/components/Geometry3D/Cylinder.md +30 -26
- package/docs/_posts/components/Geometry3D/ElevationGrid.md +73 -29
- package/docs/_posts/components/Geometry3D/Extrusion.md +100 -48
- package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +92 -38
- 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 +82 -37
- package/docs/_posts/components/Geospatial/GeoLOD.md +66 -27
- package/docs/_posts/components/Geospatial/GeoLocation.md +64 -26
- 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 +63 -18
- package/docs/_posts/components/Geospatial/GeoTransform.md +72 -28
- package/docs/_posts/components/Geospatial/GeoViewpoint.md +79 -40
- package/docs/_posts/components/Grouping/Group.md +32 -16
- package/docs/_posts/components/Grouping/StaticGroup.md +37 -16
- package/docs/_posts/components/Grouping/Switch.md +39 -20
- package/docs/_posts/components/Grouping/Transform.md +45 -28
- package/docs/_posts/components/HAnim/HAnimDisplacer.md +38 -27
- package/docs/_posts/components/HAnim/HAnimHumanoid.md +215 -56
- package/docs/_posts/components/HAnim/HAnimJoint.md +104 -38
- package/docs/_posts/components/HAnim/HAnimMotion.md +120 -10
- package/docs/_posts/components/HAnim/HAnimSegment.md +72 -32
- package/docs/_posts/components/HAnim/HAnimSite.md +75 -32
- 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 +27 -14
- package/docs/_posts/components/Layering/LayerSet.md +19 -13
- package/docs/_posts/components/Layering/Viewport.md +31 -15
- package/docs/_posts/components/Layout/Layout.md +27 -16
- package/docs/_posts/components/Layout/LayoutGroup.md +34 -18
- package/docs/_posts/components/Layout/LayoutLayer.md +28 -15
- package/docs/_posts/components/Layout/ScreenFontStyle.md +72 -45
- package/docs/_posts/components/Layout/ScreenGroup.md +32 -16
- package/docs/_posts/components/Lighting/DirectionalLight.md +19 -11
- package/docs/_posts/components/Lighting/EnvironmentLight.md +2 -6
- package/docs/_posts/components/Lighting/PointLight.md +23 -11
- package/docs/_posts/components/Lighting/SpotLight.md +32 -19
- 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 +15 -11
- package/docs/_posts/components/NURBS/NurbsCurve2D.md +14 -10
- package/docs/_posts/components/NURBS/NurbsOrientationInterpolator.md +28 -12
- package/docs/_posts/components/NURBS/NurbsPatchSurface.md +19 -13
- package/docs/_posts/components/NURBS/NurbsPositionInterpolator.md +27 -11
- package/docs/_posts/components/NURBS/NurbsSet.md +48 -14
- package/docs/_posts/components/NURBS/NurbsSurfaceInterpolator.md +31 -11
- 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 +11 -7
- package/docs/_posts/components/NURBS/NurbsTrimmedSurface.md +26 -16
- package/docs/_posts/components/Navigation/Billboard.md +33 -17
- package/docs/_posts/components/Navigation/Collision.md +59 -22
- package/docs/_posts/components/Navigation/LOD.md +53 -23
- package/docs/_posts/components/Navigation/NavigationInfo.md +68 -25
- package/docs/_posts/components/Navigation/OrthoViewpoint.md +80 -37
- package/docs/_posts/components/Navigation/Viewpoint.md +86 -39
- package/docs/_posts/components/Navigation/ViewpointGroup.md +28 -17
- package/docs/_posts/components/Networking/Anchor.md +54 -56
- package/docs/_posts/components/Networking/Inline.md +42 -29
- package/docs/_posts/components/Networking/LoadSensor.md +41 -9
- package/docs/_posts/components/ParticleSystems/BoundedPhysicsModel.md +16 -8
- package/docs/_posts/components/ParticleSystems/ConeEmitter.md +25 -10
- package/docs/_posts/components/ParticleSystems/ExplosionEmitter.md +18 -11
- package/docs/_posts/components/ParticleSystems/ForcePhysicsModel.md +15 -8
- package/docs/_posts/components/ParticleSystems/ParticleSystem.md +92 -46
- package/docs/_posts/components/ParticleSystems/PointEmitter.md +19 -12
- package/docs/_posts/components/ParticleSystems/PolylineEmitter.md +23 -15
- package/docs/_posts/components/ParticleSystems/SurfaceEmitter.md +21 -14
- package/docs/_posts/components/ParticleSystems/VolumeEmitter.md +25 -18
- package/docs/_posts/components/ParticleSystems/WindPhysicsModel.md +11 -7
- package/docs/_posts/components/Picking/LinePickSensor.md +37 -15
- package/docs/_posts/components/Picking/PickableGroup.md +40 -22
- package/docs/_posts/components/Picking/PointPickSensor.md +29 -12
- package/docs/_posts/components/Picking/PrimitivePickSensor.md +25 -17
- package/docs/_posts/components/Picking/VolumePickSensor.md +25 -12
- package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +43 -18
- package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +40 -17
- package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +35 -13
- package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +48 -14
- package/docs/_posts/components/Rendering/ClipPlane.md +20 -15
- 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 +58 -24
- 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 +22 -10
- package/docs/_posts/components/RigidBodyPhysics/CollidableOffset.md +37 -14
- package/docs/_posts/components/RigidBodyPhysics/CollidableShape.md +34 -16
- package/docs/_posts/components/RigidBodyPhysics/CollisionCollection.md +17 -12
- package/docs/_posts/components/RigidBodyPhysics/CollisionSensor.md +21 -12
- package/docs/_posts/components/RigidBodyPhysics/CollisionSpace.md +31 -12
- package/docs/_posts/components/RigidBodyPhysics/Contact.md +19 -15
- package/docs/_posts/components/RigidBodyPhysics/DoubleAxisHingeJoint.md +33 -27
- package/docs/_posts/components/RigidBodyPhysics/MotorJoint.md +63 -11
- package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +22 -12
- package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +30 -14
- package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +26 -14
- package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +24 -12
- package/docs/_posts/components/RigidBodyPhysics/UniversalJoint.md +23 -15
- 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 +36 -30
- 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 +34 -6
- package/docs/_posts/components/Shape/Appearance.md +29 -22
- 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 +21 -14
- package/docs/_posts/components/Shape/Shape.md +35 -17
- 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 +133 -4
- package/docs/_posts/components/Sound/AudioClip.md +64 -30
- package/docs/_posts/components/Sound/AudioDestination.md +76 -4
- package/docs/_posts/components/Sound/BiquadFilter.md +143 -4
- package/docs/_posts/components/Sound/BufferAudioSource.md +165 -13
- package/docs/_posts/components/Sound/ChannelMerger.md +62 -4
- package/docs/_posts/components/Sound/ChannelSelector.md +64 -4
- package/docs/_posts/components/Sound/ChannelSplitter.md +68 -4
- package/docs/_posts/components/Sound/Convolver.md +124 -4
- package/docs/_posts/components/Sound/Delay.md +119 -4
- package/docs/_posts/components/Sound/DynamicsCompressor.md +127 -4
- package/docs/_posts/components/Sound/Gain.md +115 -4
- package/docs/_posts/components/Sound/ListenerPointSource.md +109 -4
- package/docs/_posts/components/Sound/MicrophoneSource.md +91 -4
- package/docs/_posts/components/Sound/OscillatorSource.md +95 -4
- package/docs/_posts/components/Sound/PeriodicWave.md +43 -5
- package/docs/_posts/components/Sound/Sound.md +53 -20
- package/docs/_posts/components/Sound/SpatialSound.md +120 -4
- package/docs/_posts/components/Sound/StreamAudioDestination.md +80 -4
- package/docs/_posts/components/Sound/StreamAudioSource.md +91 -4
- package/docs/_posts/components/Sound/WaveShaper.md +123 -4
- package/docs/_posts/components/Text/FontStyle.md +73 -47
- package/docs/_posts/components/Text/Text.md +48 -26
- package/docs/_posts/components/TextureProjector/TextureProjector.md +55 -6
- package/docs/_posts/components/TextureProjector/TextureProjectorParallel.md +56 -6
- package/docs/_posts/components/Texturing/ImageTexture.md +28 -20
- package/docs/_posts/components/Texturing/MovieTexture.md +69 -38
- 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 +44 -19
- 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 +25 -13
- 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 +66 -23
- package/docs/_posts/components/VolumeRendering/BlendedVolumeStyle.md +36 -15
- package/docs/_posts/components/VolumeRendering/BoundaryEnhancementVolumeStyle.md +15 -5
- package/docs/_posts/components/VolumeRendering/CartoonVolumeStyle.md +20 -17
- package/docs/_posts/components/VolumeRendering/ComposedVolumeStyle.md +15 -7
- package/docs/_posts/components/VolumeRendering/EdgeEnhancementVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/IsoSurfaceVolumeData.md +43 -21
- package/docs/_posts/components/VolumeRendering/OpacityMapVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/ProjectionVolumeStyle.md +17 -7
- package/docs/_posts/components/VolumeRendering/SegmentedVolumeData.md +50 -17
- package/docs/_posts/components/VolumeRendering/ShadedVolumeStyle.md +18 -10
- package/docs/_posts/components/VolumeRendering/SilhouetteEnhancementVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/ToneMappedVolumeStyle.md +20 -11
- package/docs/_posts/components/VolumeRendering/VolumeData.md +32 -15
- package/docs/_posts/components/X_ITE/BlendMode.md +9 -2
- package/docs/_posts/getting-started.md +4 -7
- package/docs/_posts/laboratory/x3d-file-converter.md +1 -1
- package/docs/laboratory/gltf-sample-viewer.html +52 -4
- package/package.json +2 -1
- package/src/standard/Math/Geometry/Box2.js +12 -2
- package/src/standard/Math/Geometry/Box3.js +12 -2
- package/src/x_ite/Base/X3DObjectArrayField.js +3 -2
- package/src/x_ite/Base/X3DTypedArrayField.js +3 -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/CubeMapTexturing/ComposedCubeMapTexture.js +1 -1
- package/src/x_ite/Components/DIS/DISEntityManager.js +1 -1
- package/src/x_ite/Components/Grouping/Switch.js +1 -1
- package/src/x_ite/Components/HAnim/HAnimHumanoid.js +105 -68
- package/src/x_ite/Components/HAnim/HAnimMotion.js +3 -3
- 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/Navigation/Collision.js +1 -1
- package/src/x_ite/Components/Navigation/LOD.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/ParticleSystem.js +1 -1
- package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +1 -1
- 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/Material.js +1 -1
- package/src/x_ite/Components/Shape/TwoSidedMaterial.js +1 -1
- package/src/x_ite/Components/Sound/PeriodicWave.js +1 -1
- package/src/x_ite/Components/Texturing/TextureProperties.js +1 -1
- package/src/x_ite/Fields/ArrayFields.js +9 -7
- 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/GLTF2Parser.js +316 -55
- 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/src/x_ite/Parser/SVGParser.js +1 -1
- /package/build/{bin → docs}/components.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: ExplosionEmitter
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-ParticleSystems
|
|
5
5
|
categories: [components, ParticleSystems]
|
|
6
6
|
tags: [ExplosionEmitter, ParticleSystems]
|
|
@@ -15,7 +15,7 @@ tags: [ExplosionEmitter, ParticleSystems]
|
|
|
15
15
|
|
|
16
16
|
ExplosionEmitter generates all particles from a specific point in space at the initial time enabled.
|
|
17
17
|
|
|
18
|
-
The ExplosionEmitter node belongs to the **ParticleSystems** component and its default container field is *emitter.* It is available
|
|
18
|
+
The ExplosionEmitter node belongs to the **ParticleSystems** component and its default container field is *emitter.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,7 +29,11 @@ The ExplosionEmitter node belongs to the **ParticleSystems** component and its d
|
|
|
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] **on** TRUE
|
|
35
39
|
|
|
@@ -41,7 +45,7 @@ Point from which particles emanate.
|
|
|
41
45
|
|
|
42
46
|
### SFFloat [in, out] **speed** 0 <small>[0,∞)</small>
|
|
43
47
|
|
|
44
|
-
Initial linear speed (default is m/s) imparted to all particles along their direction of movement.
|
|
48
|
+
Initial linear *speed* (default is m/s) imparted to all particles along their direction of movement.
|
|
45
49
|
|
|
46
50
|
### SFFloat [in, out] **variation** 0.25 <small>[0,∞)</small>
|
|
47
51
|
|
|
@@ -49,15 +53,17 @@ Multiplier for the randomness used to control the range of possible output value
|
|
|
49
53
|
|
|
50
54
|
#### Hint
|
|
51
55
|
|
|
52
|
-
-
|
|
56
|
+
- *variation* of zero does not allow any randomness.
|
|
53
57
|
|
|
54
58
|
### SFFloat [ ] **mass** 0 <small>[0,∞)</small>
|
|
55
59
|
|
|
56
|
-
Basic mass of each particle in mass base units (default is
|
|
60
|
+
Basic *mass* of each particle, defined in *mass* base units (default is kilograms).
|
|
57
61
|
|
|
58
|
-
####
|
|
62
|
+
#### Hints
|
|
59
63
|
|
|
60
|
-
-
|
|
64
|
+
- *mass* is needed if gravity or other force-related calculations are performed on a per-particle basis.
|
|
65
|
+
- [Kilogram](https://en.wikipedia.org/wiki/Kilogram){:target="_blank"}
|
|
66
|
+
- [X3D Architecture 4.3.6 Standard units and coordinate system](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/concepts.html#Standardunitscoordinates){:target="_blank"}
|
|
61
67
|
|
|
62
68
|
### SFFloat [ ] **surfaceArea** 0 <small>[0,∞)</small>
|
|
63
69
|
|
|
@@ -65,12 +71,13 @@ Particle surface area in area base units (default is meters squared). Surface ar
|
|
|
65
71
|
|
|
66
72
|
#### Hints
|
|
67
73
|
|
|
68
|
-
-
|
|
74
|
+
- *surfaceArea* value represents average frontal area presented to the wind.
|
|
75
|
+
- Assumes spherical model for each particle (i.e., surface area is the same regardless of direction).
|
|
69
76
|
|
|
70
77
|
## Example
|
|
71
78
|
|
|
72
79
|
<x3d-canvas src="https://create3000.github.io/media/examples/ParticleSystems/ExplosionEmitter/ExplosionEmitter.x3d" update="auto"></x3d-canvas>
|
|
73
80
|
|
|
74
|
-
##
|
|
81
|
+
## See Also
|
|
75
82
|
|
|
76
|
-
- [X3D Specification of ExplosionEmitter](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/particleSystems.html#ExplosionEmitter){:target="_blank"}
|
|
83
|
+
- [X3D Specification of ExplosionEmitter node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/particleSystems.html#ExplosionEmitter){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: ForcePhysicsModel
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-ParticleSystems
|
|
5
5
|
categories: [components, ParticleSystems]
|
|
6
6
|
tags: [ForcePhysicsModel, ParticleSystems]
|
|
@@ -15,7 +15,7 @@ tags: [ForcePhysicsModel, ParticleSystems]
|
|
|
15
15
|
|
|
16
16
|
ForcePhysicsModel applies a constant force value to the particles.
|
|
17
17
|
|
|
18
|
-
The ForcePhysicsModel node belongs to the **ParticleSystems** component and its default container field is *physics.* It is available
|
|
18
|
+
The ForcePhysicsModel node belongs to the **ParticleSystems** component and its default container field is *physics.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,7 +29,11 @@ The ForcePhysicsModel node belongs to the **ParticleSystems** component and its
|
|
|
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
|
|
|
@@ -37,13 +41,16 @@ Enables/disables node operation.
|
|
|
37
41
|
|
|
38
42
|
### SFVec3f [in, out] **force** 0 -9.8 0 <small>(∞,∞)</small>
|
|
39
43
|
|
|
40
|
-
|
|
44
|
+
*force* field indicates strength and direction of the propelling *force* on the particles (for example, default is Earth's gravity).
|
|
41
45
|
|
|
42
46
|
#### Hints
|
|
43
47
|
|
|
44
|
-
-
|
|
48
|
+
- If particles have zero mass, ForcePhysicsModel node has no effect.
|
|
49
|
+
- *force* is specified in *force* base units (usually newtons, acceleration of one kilogram at rate of one meter per second squared).
|
|
50
|
+
- [Https://en.wikipedia.org/wiki/Newton_(unit) and Kilogram](https://en.wikipedia.org/wiki/Kilogram){:target="_blank"}
|
|
51
|
+
- [X3D Architecture 4.3.6 Standard units and coordinate system](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/concepts.html#Standardunitscoordinates){:target="_blank"}
|
|
45
52
|
|
|
46
|
-
##
|
|
53
|
+
## Advisories
|
|
47
54
|
|
|
48
55
|
### Hint
|
|
49
56
|
|
|
@@ -53,6 +60,6 @@ Force field indicates strength and direction of the propelling force on the part
|
|
|
53
60
|
|
|
54
61
|
<x3d-canvas src="https://create3000.github.io/media/examples/ParticleSystems/ForcePhysicsModel/ForcePhysicsModel.x3d" update="auto"></x3d-canvas>
|
|
55
62
|
|
|
56
|
-
##
|
|
63
|
+
## See Also
|
|
57
64
|
|
|
58
|
-
- [X3D Specification of ForcePhysicsModel](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/particleSystems.html#ForcePhysicsModel){:target="_blank"}
|
|
65
|
+
- [X3D Specification of ForcePhysicsModel node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/particleSystems.html#ForcePhysicsModel){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: ParticleSystem
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-ParticleSystems
|
|
5
5
|
categories: [components, ParticleSystems]
|
|
6
6
|
tags: [ParticleSystem, ParticleSystems]
|
|
@@ -13,9 +13,9 @@ tags: [ParticleSystem, ParticleSystems]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
ParticleSystem specifies a complete particle system. It can contain Appearance for particle appearance, a geometry node if
|
|
16
|
+
ParticleSystem specifies a complete particle system. It can contain Appearance for particle appearance, a geometry node if geometryType='GEOMETRY', a color field with Color or ColorRGBA node for changing base color over each particle's lifetime, a texcoord TextureCoordinate node to control texture coordinates of provided texture(s) in the Appearance node over time, a single emitter X3DParticleEmitterNode, and an array of physics X3DParticlePhysicsModelNode nodes.
|
|
17
17
|
|
|
18
|
-
The ParticleSystem node belongs to the **ParticleSystems** component and its default container field is *children.* It is available
|
|
18
|
+
The ParticleSystem node belongs to the **ParticleSystems** 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 ParticleSystem node belongs to the **ParticleSystems** component and its def
|
|
|
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
|
|
|
@@ -48,7 +52,22 @@ Enables/disables creation of new particles, while any existing particles remain
|
|
|
48
52
|
|
|
49
53
|
### SFString [ ] **geometryType** "QUAD" <small>["LINE"|"POINT"|"QUAD"|"SPRITE"|"TRIANGLE"|"GEOMETRY"|...]</small>
|
|
50
54
|
|
|
51
|
-
|
|
55
|
+
Specifies type of geometry used to represent individual particles. Typically, a particle is calculated as point in space at which the geometry is placed. Changing the value of the geometry field or the definition of the geometry node shall be applied during current computation of the next frame to be rendered.
|
|
56
|
+
|
|
57
|
+
#### Hints
|
|
58
|
+
|
|
59
|
+
- LINE means that a line is drawn along the particle's current velocity vector, for this frame, centered about the particle's position. The length of the line is specified by the particle's height from the particleSize field value.
|
|
60
|
+
- POINT means that a point geometry is rendered at the particle's position.
|
|
61
|
+
- QUAD means that a 2D quad is rendered aligned in the local coordinate space of the particle system with the face normal pointing along the positive Z axis. Individual quads are not aligned to the user's eye position but are affected in depth by the physics model. The particle's position is at the center of the quad.
|
|
62
|
+
- SPRITE means that a point sprite that uses a 2D point position to locate a screen-aligned quad at the center of the particle's location is rendered.
|
|
63
|
+
- TRIANGLE means that a 2D quad is rendered using a pair of triangles aligned in the local coordinate space of the particle system with the face normal pointing along the positive Z axis. Individual triangles are not aligned to the user's eye position, but are affected in depth by the physics model. The particle's position is at the center of the triangle.
|
|
64
|
+
- GEOMETRY means that the geometry specified by the geometry field is rendered for each particle using the local coordinate system.
|
|
65
|
+
- [X3D for Advanced Modeling (X3D4AM) slideset](https://x3dgraphics.com/slidesets/X3dForAdvancedModeling/GeospatialComponentX3dEarth.pdf){:target="_blank"}
|
|
66
|
+
|
|
67
|
+
#### Warnings
|
|
68
|
+
|
|
69
|
+
- Do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.
|
|
70
|
+
- Requires X3D `profile='Full'` or else include `<component name='Geospatial' level='1'/>`
|
|
52
71
|
|
|
53
72
|
### SFInt32 [in, out] **maxParticles** 200 <small>[0,∞)</small>
|
|
54
73
|
|
|
@@ -56,11 +75,11 @@ Maximum number of particles to be generated at one time (subject to player limit
|
|
|
56
75
|
|
|
57
76
|
### SFFloat [in, out] **particleLifetime** 5 <small>[0,∞)</small>
|
|
58
77
|
|
|
59
|
-
TODO not properly defined in X3D
|
|
78
|
+
TODO not properly defined in X3D specification. Particle animation lifetime in base time units (default is seconds).
|
|
60
79
|
|
|
61
80
|
### SFFloat [in, out] **lifetimeVariation** 0.25 <small>[0,1]</small>
|
|
62
81
|
|
|
63
|
-
TODO not properly defined in X3D
|
|
82
|
+
TODO not properly defined in X3D specification. Multiplier for the randomness used to control the range of possible output values. The bigger the value, the more random the output and the bigger the range of initial values possible.
|
|
64
83
|
|
|
65
84
|
#### Hint
|
|
66
85
|
|
|
@@ -72,55 +91,56 @@ TODO not properly defined in X3D spedification. Multiplier for the randomness us
|
|
|
72
91
|
|
|
73
92
|
#### Hints
|
|
74
93
|
|
|
75
|
-
- Particles created before this timestamp will remain at the old size.
|
|
94
|
+
- Particles created before this timestamp will remain at the old size.
|
|
95
|
+
- His field only effects particles using LINE, QUAD, SPRITE, and TRIANGLE geometry types.
|
|
76
96
|
|
|
77
97
|
### SFNode [ ] **emitter** NULL <small>[X3DParticleEmitterNode]</small>
|
|
78
98
|
|
|
79
|
-
The emitter field specifies the type of emitter geometry and properties that the particles are given for their initial positions.
|
|
99
|
+
The *emitter* field specifies the type of *emitter* geometry and properties that the particles are given for their initial positions.
|
|
80
100
|
|
|
81
101
|
### MFNode [ ] **physics** [ ] <small>[X3DParticlePhysicsModelNode]</small>
|
|
82
102
|
|
|
83
|
-
After being created, the individual particles are then manipulated according to the physics model(s) specified in the physics field.
|
|
103
|
+
After being created, the individual particles are then manipulated according to the *physics* model(s) specified in the *physics* field.
|
|
84
104
|
|
|
85
105
|
### MFFloat [ ] **colorKey** [ ] <small>[0,∞)</small>
|
|
86
106
|
|
|
87
|
-
Array of time intervals in seconds, corresponding to particle lifetime, that are used to interpolate
|
|
107
|
+
Array of time intervals in seconds, corresponding to particle lifetime, that are used to interpolate color array values.
|
|
88
108
|
|
|
89
109
|
#### Hints
|
|
90
110
|
|
|
91
|
-
- Color values are interpolated in linear Hue Saturation Value (HSV) space, similar to ColorInterpolator node.
|
|
111
|
+
- Color values are interpolated in linear Hue Saturation Value (HSV) space, similar to ColorInterpolator node.
|
|
112
|
+
- Color values are defined as per-vertex color values.
|
|
113
|
+
- Number of *colorKey* values must match length of the per-vertex color field array values!
|
|
114
|
+
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
92
115
|
|
|
93
116
|
#### Warning
|
|
94
117
|
|
|
95
|
-
- If an Appearance and Material nodes are provided, those material properties override
|
|
96
|
-
|
|
97
|
-
#### See Also
|
|
98
|
-
|
|
99
|
-
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
118
|
+
- If an Appearance and Material nodes are provided, those material properties override color field interpolation.
|
|
100
119
|
|
|
101
120
|
### SFNode [ ] **color** NULL <small>[X3DColorNode]</small>
|
|
102
121
|
|
|
103
|
-
The
|
|
122
|
+
The *color* field contains Color or ColorRGBA nodes as a series of *color* values to be used at the given colorKey points in time.
|
|
104
123
|
|
|
105
124
|
#### Hints
|
|
106
125
|
|
|
107
|
-
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
- If an Appearance and Material nodes are provided, those material properties override colorRamp interpolation.
|
|
126
|
+
- *color* values are defined as per-vertex *color* values.
|
|
127
|
+
- Number of colorKey values must match length of the per-vertex *color* field array values!
|
|
128
|
+
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
112
129
|
|
|
113
|
-
####
|
|
130
|
+
#### Warnings
|
|
114
131
|
|
|
115
|
-
- [
|
|
132
|
+
- [Field originally named 'colorRamp' in X3Dv3.](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#fieldNameChanges){:target="_blank"}
|
|
133
|
+
- If an Appearance and Material nodes are provided, those material properties override *color* field interpolation.
|
|
116
134
|
|
|
117
135
|
### MFFloat [ ] **texCoordKey** [ ] <small>[0,∞)</small>
|
|
118
136
|
|
|
119
|
-
Array of time intervals in seconds, corresponding to particle lifetime, that are used to sequence
|
|
137
|
+
Array of time intervals in seconds, corresponding to particle lifetime, that are used to sequence texCoord array values.
|
|
120
138
|
|
|
121
139
|
#### Hints
|
|
122
140
|
|
|
123
|
-
- No interpolation is performed, texture coordinates are simply sequenced in order.
|
|
141
|
+
- No interpolation is performed, texture coordinates are simply sequenced in order.
|
|
142
|
+
- Texture-coordinate values map textures to vertices in the geometry.
|
|
143
|
+
- Number of *texCoordKey* values must match length of the per-vertex texCoord arrays!
|
|
124
144
|
|
|
125
145
|
### SFNode [ ] **texCoord** NULL <small>[TextureCoordinate]</small>
|
|
126
146
|
|
|
@@ -128,28 +148,37 @@ Texture coordinates of the provided texture(s) in the Appearance node, over time
|
|
|
128
148
|
|
|
129
149
|
#### Hints
|
|
130
150
|
|
|
131
|
-
- Texture-coordinate values map textures to vertices in the geometry.
|
|
151
|
+
- Texture-coordinate values map textures to vertices in the geometry.
|
|
152
|
+
- Number of texCoordKey values must match length of the per-vertex *texCoord* arrays!
|
|
153
|
+
|
|
154
|
+
#### Warning
|
|
155
|
+
|
|
156
|
+
- [Field originally named 'texCoordRamp' in X3Dv3.](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#fieldNameChanges){:target="_blank"}
|
|
132
157
|
|
|
133
158
|
### SFBool [out] **isActive**
|
|
134
159
|
|
|
135
160
|
*isActive* true/false events are sent when playback starts/stops.
|
|
136
161
|
|
|
162
|
+
#### Warning
|
|
163
|
+
|
|
164
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
165
|
+
|
|
137
166
|
### SFBool [in, out] **visible** TRUE
|
|
138
167
|
|
|
139
168
|
Whether or not renderable content within this node is visually displayed.
|
|
140
169
|
|
|
141
|
-
####
|
|
170
|
+
#### Hints
|
|
142
171
|
|
|
143
|
-
- The visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
144
|
-
- Content must be visible to be collidable and to be pickable.
|
|
172
|
+
- The *visible* field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
173
|
+
- Content must be *visible* to be collidable and to be pickable.
|
|
145
174
|
|
|
146
175
|
### SFBool [in, out] **castShadow** TRUE
|
|
147
176
|
|
|
148
|
-
*castShadow* defines whether this Shape casts shadows as produced by lighting nodes.
|
|
177
|
+
The *castShadow* field defines whether this Shape casts shadows as produced by lighting nodes.
|
|
149
178
|
|
|
150
|
-
####
|
|
179
|
+
#### Hints
|
|
151
180
|
|
|
152
|
-
- If the visible field is FALSE, then the Shape does not cast any shadows.
|
|
181
|
+
- If the visible field is FALSE, then the Shape does not cast any shadows, regardless of the *castShadow* value.
|
|
153
182
|
- If prior X3D3 content is loaded into an X3D4 model, then legacy Shape nodes have shadows set to true.
|
|
154
183
|
|
|
155
184
|
### SFBool [in, out] **bboxDisplay** FALSE
|
|
@@ -164,40 +193,57 @@ Whether to display bounding box for associated geometry, aligned with world coor
|
|
|
164
193
|
|
|
165
194
|
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.
|
|
166
195
|
|
|
167
|
-
####
|
|
196
|
+
#### Hints
|
|
168
197
|
|
|
169
198
|
- Can be useful for collision computations or inverse-kinematics (IK) engines.
|
|
199
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
200
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
201
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
170
202
|
|
|
171
203
|
### SFVec3f [ ] **bboxCenter** 0 0 0 <small>(-∞,∞)</small>
|
|
172
204
|
|
|
173
|
-
Bounding box center
|
|
205
|
+
Bounding box center accompanies bboxSize and provides an optional hint for bounding box position offset from origin of local coordinate system.
|
|
206
|
+
|
|
207
|
+
#### Hints
|
|
208
|
+
|
|
209
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
210
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
211
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
174
212
|
|
|
175
213
|
### SFNode [in, out] **appearance** NULL <small>[X3DAppearanceNode]</small>
|
|
176
214
|
|
|
177
|
-
The appearance field holds an Appearance node that is used for the geometry. All effects, such as material
|
|
215
|
+
The *appearance* field holds an Appearance node that is used for the geometry. All effects, such as material colors and/or multi-textures, are applied to each particle.
|
|
178
216
|
|
|
179
217
|
#### Hints
|
|
180
218
|
|
|
181
|
-
- If a texture coordinate ramp and key is supplied with this geometry, it shall be used in preference to any automatic texture coordinate generation.
|
|
219
|
+
- If a texture coordinate ramp and key is supplied with this geometry, it shall be used in preference to any automatic texture coordinate generation.
|
|
220
|
+
- If automatic texture coordinate generation is used, results shall be based on the entire volume that the particles consume, not locally applied to each particle.
|
|
182
221
|
|
|
183
222
|
### SFNode [in, out] **geometry** NULL <small>[X3DGeometryNode]</small>
|
|
184
223
|
|
|
185
|
-
|
|
224
|
+
Single contained *geometry* node provides *geometry* used for each particle when geometryType=GEOMETRY.
|
|
186
225
|
|
|
187
226
|
#### Hint
|
|
188
227
|
|
|
189
|
-
-
|
|
228
|
+
- [X3D for Advanced Modeling (X3D4AM) slideset](https://x3dgraphics.com/slidesets/X3dForAdvancedModeling/GeospatialComponentX3dEarth.pdf){:target="_blank"}
|
|
229
|
+
|
|
230
|
+
#### Warning
|
|
231
|
+
|
|
232
|
+
- Requires X3D `profile='Full'` or else include `<component name='Geospatial' level='1'/>`
|
|
190
233
|
|
|
191
|
-
##
|
|
234
|
+
## Advisories
|
|
192
235
|
|
|
193
|
-
- Always
|
|
236
|
+
- Always set bboxSize and boxCenter correctly; bboxSize and bboxCenter cannot be determined automatically, so it's up to the author to provide the correct values.
|
|
237
|
+
|
|
238
|
+
### Hints
|
|
239
|
+
|
|
240
|
+
- [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"}
|
|
241
|
+
- [Wikipedia, particle system](https://en.wikipedia.org/wiki/Particle_system){:target="_blank"}
|
|
194
242
|
|
|
195
243
|
## Example
|
|
196
244
|
|
|
197
245
|
<x3d-canvas src="https://create3000.github.io/media/examples/ParticleSystems/ParticleSystem/ParticleSystem.x3d" update="auto"></x3d-canvas>
|
|
198
246
|
|
|
199
|
-
##
|
|
247
|
+
## See Also
|
|
200
248
|
|
|
201
|
-
- [X3D Specification of ParticleSystem](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/particleSystems.html#ParticleSystem){:target="_blank"}
|
|
202
|
-
- [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"}
|
|
203
|
-
- [Wikipedia, particle system](https://en.wikipedia.org/wiki/Particle_system){:target="_blank"}
|
|
249
|
+
- [X3D Specification of ParticleSystem node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/particleSystems.html#ParticleSystem){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: PointEmitter
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-ParticleSystems
|
|
5
5
|
categories: [components, ParticleSystems]
|
|
6
6
|
tags: [PointEmitter, ParticleSystems]
|
|
@@ -15,7 +15,7 @@ tags: [PointEmitter, ParticleSystems]
|
|
|
15
15
|
|
|
16
16
|
PointEmitter generates particles from a specific point in space using the specified direction and speed.
|
|
17
17
|
|
|
18
|
-
The PointEmitter node belongs to the **ParticleSystems** component and its default container field is *emitter.* It is available
|
|
18
|
+
The PointEmitter node belongs to the **ParticleSystems** component and its default container field is *emitter.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,7 +29,11 @@ The PointEmitter node belongs to the **ParticleSystems** 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
|
+
|
|
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] **on** TRUE
|
|
35
39
|
|
|
@@ -41,11 +45,11 @@ Point from which particles emanate.
|
|
|
41
45
|
|
|
42
46
|
### SFVec3f [in, out] **direction** 0 1 0 <small>(-∞,∞)</small>
|
|
43
47
|
|
|
44
|
-
Initial direction from which particles emanate.
|
|
48
|
+
Initial *direction* from which particles emanate.
|
|
45
49
|
|
|
46
50
|
### SFFloat [in, out] **speed** 0 <small>[0,∞)</small>
|
|
47
51
|
|
|
48
|
-
Initial linear speed (default is m/s) imparted to all particles along their direction of movement.
|
|
52
|
+
Initial linear *speed* (default is m/s) imparted to all particles along their direction of movement.
|
|
49
53
|
|
|
50
54
|
### SFFloat [in, out] **variation** 0.25 <small>[0,∞)</small>
|
|
51
55
|
|
|
@@ -53,15 +57,17 @@ Multiplier for the randomness used to control the range of possible output value
|
|
|
53
57
|
|
|
54
58
|
#### Hint
|
|
55
59
|
|
|
56
|
-
-
|
|
60
|
+
- *variation* of zero does not allow any randomness.
|
|
57
61
|
|
|
58
62
|
### SFFloat [ ] **mass** 0 <small>[0,∞)</small>
|
|
59
63
|
|
|
60
|
-
Basic mass of each particle in mass base units (default is
|
|
64
|
+
Basic *mass* of each particle, defined in *mass* base units (default is kilograms).
|
|
61
65
|
|
|
62
|
-
####
|
|
66
|
+
#### Hints
|
|
63
67
|
|
|
64
|
-
-
|
|
68
|
+
- *mass* is needed if gravity or other force-related calculations are performed on a per-particle basis.
|
|
69
|
+
- [Kilogram](https://en.wikipedia.org/wiki/Kilogram){:target="_blank"}
|
|
70
|
+
- [X3D Architecture 4.3.6 Standard units and coordinate system](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/concepts.html#Standardunitscoordinates){:target="_blank"}
|
|
65
71
|
|
|
66
72
|
### SFFloat [ ] **surfaceArea** 0 <small>[0,∞)</small>
|
|
67
73
|
|
|
@@ -69,12 +75,13 @@ Particle surface area in area base units (default is meters squared). Surface ar
|
|
|
69
75
|
|
|
70
76
|
#### Hints
|
|
71
77
|
|
|
72
|
-
-
|
|
78
|
+
- *surfaceArea* value represents average frontal area presented to the wind.
|
|
79
|
+
- Assumes spherical model for each particle (i.e., surface area is the same regardless of direction).
|
|
73
80
|
|
|
74
81
|
## Example
|
|
75
82
|
|
|
76
83
|
<x3d-canvas src="https://create3000.github.io/media/examples/ParticleSystems/PointEmitter/PointEmitter.x3d" update="auto"></x3d-canvas>
|
|
77
84
|
|
|
78
|
-
##
|
|
85
|
+
## See Also
|
|
79
86
|
|
|
80
|
-
- [X3D Specification of PointEmitter](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/particleSystems.html#PointEmitter){:target="_blank"}
|
|
87
|
+
- [X3D Specification of PointEmitter node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/particleSystems.html#PointEmitter){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: PolylineEmitter
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-ParticleSystems
|
|
5
5
|
categories: [components, ParticleSystems]
|
|
6
6
|
tags: [PolylineEmitter, ParticleSystems]
|
|
@@ -15,7 +15,7 @@ tags: [PolylineEmitter, ParticleSystems]
|
|
|
15
15
|
|
|
16
16
|
PolylineEmitter emits particles along a single polyline. The coordinates for the line along which particles should be randomly generated are taken from a combination of the coord and coordIndex fields. The starting point for generating particles is randomly distributed along this line and given the initial speed and direction.
|
|
17
17
|
|
|
18
|
-
The PolylineEmitter node belongs to the **ParticleSystems** component and its default container field is *emitter.* It is available
|
|
18
|
+
The PolylineEmitter node belongs to the **ParticleSystems** component and its default container field is *emitter.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,7 +29,11 @@ The PolylineEmitter node belongs to the **ParticleSystems** 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
|
+
|
|
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] **on** TRUE
|
|
35
39
|
|
|
@@ -37,11 +41,11 @@ Enables/disables production of particles from this emitter node. If operating wh
|
|
|
37
41
|
|
|
38
42
|
### SFVec3f [in, out] **direction** 0 1 0 <small>(-∞,∞)</small>
|
|
39
43
|
|
|
40
|
-
Initial direction from which particles emanate.
|
|
44
|
+
Initial *direction* from which particles emanate.
|
|
41
45
|
|
|
42
46
|
### SFFloat [in, out] **speed** 0 <small>[0,∞)</small>
|
|
43
47
|
|
|
44
|
-
Initial linear speed (default is m/s) imparted to all particles along their direction of movement.
|
|
48
|
+
Initial linear *speed* (default is m/s) imparted to all particles along their direction of movement.
|
|
45
49
|
|
|
46
50
|
### SFFloat [in, out] **variation** 0.25 <small>[0,∞)</small>
|
|
47
51
|
|
|
@@ -49,15 +53,17 @@ Multiplier for the randomness used to control the range of possible output value
|
|
|
49
53
|
|
|
50
54
|
#### Hint
|
|
51
55
|
|
|
52
|
-
-
|
|
56
|
+
- *variation* of zero does not allow any randomness.
|
|
53
57
|
|
|
54
58
|
### SFFloat [ ] **mass** 0 <small>[0,∞)</small>
|
|
55
59
|
|
|
56
|
-
Basic mass of each particle in mass base units (default is
|
|
60
|
+
Basic *mass* of each particle, defined in *mass* base units (default is kilograms).
|
|
57
61
|
|
|
58
|
-
####
|
|
62
|
+
#### Hints
|
|
59
63
|
|
|
60
|
-
-
|
|
64
|
+
- *mass* is needed if gravity or other force-related calculations are performed on a per-particle basis.
|
|
65
|
+
- [Kilogram](https://en.wikipedia.org/wiki/Kilogram){:target="_blank"}
|
|
66
|
+
- [X3D Architecture 4.3.6 Standard units and coordinate system](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/concepts.html#Standardunitscoordinates){:target="_blank"}
|
|
61
67
|
|
|
62
68
|
### SFFloat [ ] **surfaceArea** 0 <small>[0,∞)</small>
|
|
63
69
|
|
|
@@ -65,25 +71,27 @@ Particle surface area in area base units (default is meters squared). Surface ar
|
|
|
65
71
|
|
|
66
72
|
#### Hints
|
|
67
73
|
|
|
68
|
-
-
|
|
74
|
+
- *surfaceArea* value represents average frontal area presented to the wind.
|
|
75
|
+
- Assumes spherical model for each particle (i.e., surface area is the same regardless of direction).
|
|
69
76
|
|
|
70
77
|
### MFInt32 [in, out] **coordIndex** -1 <small>[0,∞) or -1</small>
|
|
71
78
|
|
|
72
79
|
*coordIndex* indices are applied to contained Coordinate values in order to define randomly generated initial geometry of the particles.
|
|
73
80
|
|
|
74
|
-
####
|
|
81
|
+
#### Warnings
|
|
75
82
|
|
|
76
83
|
- If no coordinates are available, PolylineEmitter acts like a point source located at local origin.
|
|
84
|
+
- *coordIndex* is required in order to connect contained coordinate point values.
|
|
77
85
|
|
|
78
86
|
### SFNode [in, out] **coord** NULL <small>[X3DCoordinateNode]</small>
|
|
79
87
|
|
|
80
|
-
|
|
88
|
+
Coordinates for the line along which particles are randomly generated.
|
|
81
89
|
|
|
82
90
|
#### Warning
|
|
83
91
|
|
|
84
92
|
- If no coordinates are available, PolylineEmitter acts like a point source located at local origin.
|
|
85
93
|
|
|
86
|
-
##
|
|
94
|
+
## Advisories
|
|
87
95
|
|
|
88
96
|
### Hint
|
|
89
97
|
|
|
@@ -93,6 +101,6 @@ Particle surface area in area base units (default is meters squared). Surface ar
|
|
|
93
101
|
|
|
94
102
|
<x3d-canvas src="https://create3000.github.io/media/examples/ParticleSystems/PolylineEmitter/PolylineEmitter.x3d" update="auto"></x3d-canvas>
|
|
95
103
|
|
|
96
|
-
##
|
|
104
|
+
## See Also
|
|
97
105
|
|
|
98
|
-
- [X3D Specification of PolylineEmitter](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/particleSystems.html#PolylineEmitter){:target="_blank"}
|
|
106
|
+
- [X3D Specification of PolylineEmitter node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/particleSystems.html#PolylineEmitter){:target="_blank"}
|