x_ite 8.4.3 → 8.5.3
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/.vscode/settings.json +5 -1
- package/Makefile +0 -3
- package/build/bin/components.js +173 -0
- package/build/bin/tags.pl +28 -0
- package/build/bin/tests.pl +80 -2
- package/build/bin/version.pl +12 -7
- 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 +28 -29
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +13 -13
- 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 +63 -42
- 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 +37 -29
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +29 -31
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +23 -23
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +19 -19
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +24 -19
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +30 -30
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +172 -594
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +31 -47
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +367 -346
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +19 -19
- 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 +12174 -3553
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +5 -136
- package/docs/_data/nav/components-CADGeometry.yml +14 -0
- package/docs/_data/nav/components-Core.yml +16 -0
- package/docs/_data/nav/components-CubeMapTexturing.yml +8 -0
- package/docs/_data/nav/components-DIS.yml +14 -0
- package/docs/_data/nav/components-EnvironmentalEffects.yml +12 -0
- package/docs/_data/nav/components-EnvironmentalSensor.yml +8 -0
- package/docs/_data/nav/components-EventUtilities.yml +16 -0
- package/docs/_data/nav/components-Followers.yml +30 -0
- package/docs/_data/nav/components-Geometry2D.yml +18 -0
- package/docs/_data/nav/components-Geometry3D.yml +16 -0
- package/docs/_data/nav/components-Geospatial.yml +24 -0
- package/docs/_data/nav/components-Grouping.yml +10 -0
- package/docs/_data/nav/components-HAnim.yml +14 -0
- package/docs/_data/nav/components-Interpolation.yml +28 -0
- package/docs/_data/nav/components-KeyDeviceSensor.yml +6 -0
- package/docs/_data/nav/components-Layering.yml +8 -0
- package/docs/_data/nav/components-Layout.yml +12 -0
- package/docs/_data/nav/components-Lighting.yml +10 -0
- package/docs/_data/nav/components-NURBS.yml +30 -0
- package/docs/_data/nav/components-Navigation.yml +16 -0
- package/docs/_data/nav/components-Networking.yml +8 -0
- package/docs/_data/nav/components-ParticleSystems.yml +22 -0
- package/docs/_data/nav/components-Picking.yml +12 -0
- package/docs/_data/nav/components-PointingDeviceSensor.yml +10 -0
- package/docs/_data/nav/components-Rendering.yml +30 -0
- package/docs/_data/nav/components-RigidBodyPhysics.yml +30 -0
- package/docs/_data/nav/components-Scripting.yml +4 -0
- package/docs/_data/nav/components-Shaders.yml +18 -0
- package/docs/_data/nav/components-Shape.yml +22 -0
- package/docs/_data/nav/components-Sound.yml +44 -0
- package/docs/_data/nav/components-Text.yml +6 -0
- package/docs/_data/nav/components-TextureProjector.yml +6 -0
- package/docs/_data/nav/components-Texturing.yml +22 -0
- package/docs/_data/nav/components-Texturing3D.yml +18 -0
- package/docs/_data/nav/components-Time.yml +4 -0
- package/docs/_data/nav/components-VolumeRendering.yml +28 -0
- package/docs/_data/nav/components-X_ITE.yml +4 -0
- package/docs/_data/nav/main.yml +26 -0
- package/docs/_data/nav/reference.yml +18 -0
- package/docs/_data/nav/tutorials-animation-sensors-and-geometry.yml +18 -0
- package/docs/_data/nav/tutorials-basic.yml +6 -0
- package/docs/_data/nav/tutorials-optimize-your-scene.yml +6 -0
- package/docs/_data/nav/tutorials-scripts-and-prototypes.yml +12 -0
- package/docs/_data/nav/tutorials-shapes-geometry-and-appearance.yml +16 -0
- package/docs/_data/nav/tutorials-textures-lights-and-environment.yml +20 -0
- package/docs/_includes/nav.html +2 -2
- package/docs/_includes/scripts.html +2 -1
- package/docs/_posts/accessing-the-external-browser.md +1 -1
- package/docs/_posts/browser-support.md +1 -1
- package/docs/_posts/components/CADGeometry/CADAssembly.md +83 -0
- package/docs/_posts/components/CADGeometry/CADFace.md +70 -0
- package/docs/_posts/components/CADGeometry/CADLayer.md +84 -0
- package/docs/_posts/components/CADGeometry/CADPart.md +117 -0
- package/docs/_posts/components/CADGeometry/IndexedQuadSet.md +125 -0
- package/docs/_posts/components/CADGeometry/QuadSet.md +113 -0
- package/docs/_posts/components/Core/MetadataBoolean.md +90 -0
- package/docs/_posts/components/Core/MetadataDouble.md +67 -0
- package/docs/_posts/components/Core/MetadataFloat.md +67 -0
- package/docs/_posts/components/Core/MetadataInteger.md +66 -0
- package/docs/_posts/components/Core/MetadataSet.md +63 -0
- package/docs/_posts/components/Core/MetadataString.md +66 -0
- package/docs/_posts/components/Core/WorldInfo.md +54 -0
- package/docs/_posts/components/CubeMapTexturing/ComposedCubeMapTexture.md +76 -0
- package/docs/_posts/components/CubeMapTexturing/GeneratedCubeMapTexture.md +65 -0
- package/docs/_posts/components/CubeMapTexturing/ImageCubeMapTexture.md +66 -0
- package/docs/_posts/components/DIS/DISEntityManager.md +73 -0
- package/docs/_posts/components/DIS/DISEntityTypeMapping.md +88 -0
- package/docs/_posts/components/DIS/EspduTransform.md +416 -0
- package/docs/_posts/components/DIS/ReceiverPdu.md +168 -0
- package/docs/_posts/components/DIS/SignalPdu.md +168 -0
- package/docs/_posts/components/DIS/TransmitterPdu.md +232 -0
- package/docs/_posts/components/EnvironmentalEffects/Background.md +189 -0
- package/docs/_posts/components/EnvironmentalEffects/Fog.md +97 -0
- package/docs/_posts/components/EnvironmentalEffects/FogCoordinate.md +40 -0
- package/docs/_posts/components/EnvironmentalEffects/LocalFog.md +84 -0
- package/docs/_posts/components/EnvironmentalEffects/TextureBackground.md +142 -0
- package/docs/_posts/components/EnvironmentalSensor/ProximitySensor.md +90 -0
- package/docs/_posts/components/EnvironmentalSensor/TransformSensor.md +91 -0
- package/docs/_posts/components/EnvironmentalSensor/VisibilitySensor.md +73 -0
- package/docs/_posts/components/EventUtilities/BooleanFilter.md +62 -0
- package/docs/_posts/components/EventUtilities/BooleanSequencer.md +86 -0
- package/docs/_posts/components/EventUtilities/BooleanToggle.md +46 -0
- package/docs/_posts/components/EventUtilities/BooleanTrigger.md +47 -0
- package/docs/_posts/components/EventUtilities/IntegerSequencer.md +90 -0
- package/docs/_posts/components/EventUtilities/IntegerTrigger.md +51 -0
- package/docs/_posts/components/EventUtilities/TimeTrigger.md +47 -0
- package/docs/_posts/components/Followers/ColorChaser.md +77 -0
- package/docs/_posts/components/Followers/ColorDamper.md +85 -0
- package/docs/_posts/components/Followers/CoordinateChaser.md +76 -0
- package/docs/_posts/components/Followers/CoordinateDamper.md +80 -0
- package/docs/_posts/components/Followers/OrientationChaser.md +72 -0
- package/docs/_posts/components/Followers/OrientationDamper.md +80 -0
- package/docs/_posts/components/Followers/PositionChaser.md +72 -0
- package/docs/_posts/components/Followers/PositionChaser2D.md +72 -0
- package/docs/_posts/components/Followers/PositionDamper.md +80 -0
- package/docs/_posts/components/Followers/PositionDamper2D.md +80 -0
- package/docs/_posts/components/Followers/ScalarChaser.md +76 -0
- package/docs/_posts/components/Followers/ScalarDamper.md +80 -0
- package/docs/_posts/components/Followers/TexCoordChaser2D.md +72 -0
- package/docs/_posts/components/Followers/TexCoordDamper2D.md +80 -0
- package/docs/_posts/components/Geometry2D/Arc2D.md +71 -0
- package/docs/_posts/components/Geometry2D/ArcClose2D.md +91 -0
- package/docs/_posts/components/Geometry2D/Circle2D.md +55 -0
- package/docs/_posts/components/Geometry2D/Disk2D.md +75 -0
- package/docs/_posts/components/Geometry2D/Polyline2D.md +54 -0
- package/docs/_posts/components/Geometry2D/Polypoint2D.md +54 -0
- package/docs/_posts/components/Geometry2D/Rectangle2D.md +66 -0
- package/docs/_posts/components/Geometry2D/TriangleSet2D.md +66 -0
- package/docs/_posts/components/Geometry3D/Box.md +66 -0
- package/docs/_posts/components/Geometry3D/Cone.md +90 -0
- package/docs/_posts/components/Geometry3D/Cylinder.md +98 -0
- package/docs/_posts/components/Geometry3D/ElevationGrid.md +162 -0
- package/docs/_posts/components/Geometry3D/Extrusion.md +170 -0
- package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +208 -0
- package/docs/_posts/components/Geometry3D/Sphere.md +66 -0
- package/docs/_posts/components/Geospatial/GeoCoordinate.md +65 -0
- package/docs/_posts/components/Geospatial/GeoElevationGrid.md +180 -0
- package/docs/_posts/components/Geospatial/GeoLOD.md +128 -0
- package/docs/_posts/components/Geospatial/GeoLocation.md +93 -0
- package/docs/_posts/components/Geospatial/GeoMetadata.md +75 -0
- package/docs/_posts/components/Geospatial/GeoOrigin.md +69 -0
- package/docs/_posts/components/Geospatial/GeoPositionInterpolator.md +95 -0
- package/docs/_posts/components/Geospatial/GeoProximitySensor.md +109 -0
- package/docs/_posts/components/Geospatial/GeoTouchSensor.md +108 -0
- package/docs/_posts/components/Geospatial/GeoTransform.md +121 -0
- package/docs/_posts/components/Geospatial/GeoViewpoint.md +126 -0
- package/docs/_posts/components/Grouping/Group.md +75 -0
- package/docs/_posts/components/Grouping/StaticGroup.md +65 -0
- package/docs/_posts/components/Grouping/Switch.md +89 -0
- package/docs/_posts/components/Grouping/Transform.md +126 -0
- package/docs/_posts/components/HAnim/HAnimDisplacer.md +89 -0
- package/docs/_posts/components/HAnim/HAnimHumanoid.md +136 -0
- package/docs/_posts/components/HAnim/HAnimJoint.md +165 -0
- package/docs/_posts/components/HAnim/HAnimMotion.md +68 -0
- package/docs/_posts/components/HAnim/HAnimSegment.md +107 -0
- package/docs/_posts/components/HAnim/HAnimSite.md +108 -0
- package/docs/_posts/components/Interpolation/ColorInterpolator.md +73 -0
- package/docs/_posts/components/Interpolation/CoordinateInterpolator.md +76 -0
- package/docs/_posts/components/Interpolation/CoordinateInterpolator2D.md +73 -0
- package/docs/_posts/components/Interpolation/EaseInEaseOut.md +67 -0
- package/docs/_posts/components/Interpolation/NormalInterpolator.md +68 -0
- package/docs/_posts/components/Interpolation/OrientationInterpolator.md +72 -0
- package/docs/_posts/components/Interpolation/PositionInterpolator.md +72 -0
- package/docs/_posts/components/Interpolation/PositionInterpolator2D.md +77 -0
- package/docs/_posts/components/Interpolation/ScalarInterpolator.md +76 -0
- package/docs/_posts/components/Interpolation/SplinePositionInterpolator.md +93 -0
- package/docs/_posts/components/Interpolation/SplinePositionInterpolator2D.md +93 -0
- package/docs/_posts/components/Interpolation/SplineScalarInterpolator.md +106 -0
- package/docs/_posts/components/Interpolation/SquadOrientationInterpolator.md +78 -0
- package/docs/_posts/components/KeyDeviceSensor/KeySensor.md +78 -0
- package/docs/_posts/components/KeyDeviceSensor/StringSensor.md +70 -0
- package/docs/_posts/components/Layering/Layer.md +67 -0
- package/docs/_posts/components/Layering/LayerSet.md +78 -0
- package/docs/_posts/components/Layering/Viewport.md +80 -0
- package/docs/_posts/components/Layout/Layout.md +107 -0
- package/docs/_posts/components/Layout/LayoutGroup.md +85 -0
- package/docs/_posts/components/Layout/LayoutLayer.md +74 -0
- package/docs/_posts/components/Layout/ScreenFontStyle.md +137 -0
- package/docs/_posts/components/Layout/ScreenGroup.md +71 -0
- package/docs/_posts/components/Lighting/DirectionalLight.md +100 -0
- package/docs/_posts/components/Lighting/EnvironmentLight.md +91 -0
- package/docs/_posts/components/Lighting/PointLight.md +103 -0
- package/docs/_posts/components/Lighting/SpotLight.md +132 -0
- package/docs/_posts/components/NURBS/Contour2D.md +57 -0
- package/docs/_posts/components/NURBS/ContourPolyline2D.md +46 -0
- package/docs/_posts/components/NURBS/CoordinateDouble.md +47 -0
- package/docs/_posts/components/NURBS/NurbsCurve.md +71 -0
- package/docs/_posts/components/NURBS/NurbsCurve2D.md +66 -0
- package/docs/_posts/components/NURBS/NurbsOrientationInterpolator.md +70 -0
- package/docs/_posts/components/NURBS/NurbsPatchSurface.md +106 -0
- package/docs/_posts/components/NURBS/NurbsPositionInterpolator.md +70 -0
- package/docs/_posts/components/NURBS/NurbsSet.md +66 -0
- package/docs/_posts/components/NURBS/NurbsSurfaceInterpolator.md +90 -0
- package/docs/_posts/components/NURBS/NurbsSweptSurface.md +69 -0
- package/docs/_posts/components/NURBS/NurbsSwungSurface.md +65 -0
- package/docs/_posts/components/NURBS/NurbsTextureCoordinate.md +77 -0
- package/docs/_posts/components/NURBS/NurbsTrimmedSurface.md +114 -0
- package/docs/_posts/components/Navigation/Billboard.md +88 -0
- package/docs/_posts/components/Navigation/Collision.md +102 -0
- package/docs/_posts/components/Navigation/LOD.md +99 -0
- package/docs/_posts/components/Navigation/NavigationInfo.md +122 -0
- package/docs/_posts/components/Navigation/OrthoViewpoint.md +117 -0
- package/docs/_posts/components/Navigation/Viewpoint.md +117 -0
- package/docs/_posts/components/Navigation/ViewpointGroup.md +80 -0
- package/docs/_posts/components/Networking/Anchor.md +111 -0
- package/docs/_posts/components/Networking/Inline.md +115 -0
- package/docs/_posts/components/Networking/LoadSensor.md +91 -0
- package/docs/_posts/components/ParticleSystems/BoundedPhysicsModel.md +54 -0
- package/docs/_posts/components/ParticleSystems/ConeEmitter.md +76 -0
- package/docs/_posts/components/ParticleSystems/ExplosionEmitter.md +72 -0
- package/docs/_posts/components/ParticleSystems/ForcePhysicsModel.md +58 -0
- package/docs/_posts/components/ParticleSystems/ParticleSystem.md +177 -0
- package/docs/_posts/components/ParticleSystems/PointEmitter.md +76 -0
- package/docs/_posts/components/ParticleSystems/PolylineEmitter.md +94 -0
- package/docs/_posts/components/ParticleSystems/SurfaceEmitter.md +90 -0
- package/docs/_posts/components/ParticleSystems/VolumeEmitter.md +90 -0
- package/docs/_posts/components/ParticleSystems/WindPhysicsModel.md +68 -0
- package/docs/_posts/components/Picking/LinePickSensor.md +125 -0
- package/docs/_posts/components/Picking/PickableGroup.md +93 -0
- package/docs/_posts/components/Picking/PointPickSensor.md +112 -0
- package/docs/_posts/components/Picking/PrimitivePickSensor.md +114 -0
- package/docs/_posts/components/Picking/VolumePickSensor.md +107 -0
- package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +122 -0
- package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +114 -0
- package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +89 -0
- package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +87 -0
- package/docs/_posts/components/Rendering/ClipPlane.md +67 -0
- package/docs/_posts/components/Rendering/Color.md +56 -0
- package/docs/_posts/components/Rendering/ColorRGBA.md +61 -0
- package/docs/_posts/components/Rendering/Coordinate.md +45 -0
- package/docs/_posts/components/Rendering/IndexedLineSet.md +128 -0
- package/docs/_posts/components/Rendering/IndexedTriangleFanSet.md +128 -0
- package/docs/_posts/components/Rendering/IndexedTriangleSet.md +128 -0
- package/docs/_posts/components/Rendering/IndexedTriangleStripSet.md +116 -0
- package/docs/_posts/components/Rendering/LineSet.md +85 -0
- package/docs/_posts/components/Rendering/Normal.md +41 -0
- package/docs/_posts/components/Rendering/PointSet.md +76 -0
- package/docs/_posts/components/Rendering/TriangleFanSet.md +112 -0
- package/docs/_posts/components/Rendering/TriangleSet.md +108 -0
- package/docs/_posts/components/Rendering/TriangleStripSet.md +116 -0
- package/docs/_posts/components/RigidBodyPhysics/BallJoint.md +78 -0
- package/docs/_posts/components/RigidBodyPhysics/CollidableOffset.md +75 -0
- package/docs/_posts/components/RigidBodyPhysics/CollidableShape.md +83 -0
- package/docs/_posts/components/RigidBodyPhysics/CollisionCollection.md +90 -0
- package/docs/_posts/components/RigidBodyPhysics/CollisionSensor.md +65 -0
- package/docs/_posts/components/RigidBodyPhysics/CollisionSpace.md +70 -0
- package/docs/_posts/components/RigidBodyPhysics/Contact.md +117 -0
- package/docs/_posts/components/RigidBodyPhysics/DoubleAxisHingeJoint.md +162 -0
- package/docs/_posts/components/RigidBodyPhysics/MotorJoint.md +183 -0
- package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +175 -0
- package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +120 -0
- package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +108 -0
- package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +106 -0
- package/docs/_posts/components/RigidBodyPhysics/UniversalJoint.md +119 -0
- package/docs/_posts/components/Scripting/Script.md +81 -0
- package/docs/_posts/components/Shaders/ComposedShader.md +81 -0
- package/docs/_posts/components/Shaders/FloatVertexAttribute.md +65 -0
- package/docs/_posts/components/Shaders/Matrix3VertexAttribute.md +53 -0
- package/docs/_posts/components/Shaders/Matrix4VertexAttribute.md +53 -0
- package/docs/_posts/components/Shaders/PackagedShader.md +77 -0
- package/docs/_posts/components/Shaders/ProgramShader.md +71 -0
- package/docs/_posts/components/Shaders/ShaderPart.md +76 -0
- package/docs/_posts/components/Shaders/ShaderProgram.md +68 -0
- package/docs/_posts/components/Shape/AcousticProperties.md +52 -0
- package/docs/_posts/components/Shape/Appearance.md +123 -0
- package/docs/_posts/components/Shape/FillProperties.md +67 -0
- package/docs/_posts/components/Shape/LineProperties.md +63 -0
- package/docs/_posts/components/Shape/Material.md +217 -0
- package/docs/_posts/components/Shape/PhysicalMaterial.md +173 -0
- package/docs/_posts/components/Shape/PointProperties.md +84 -0
- package/docs/_posts/components/Shape/Shape.md +63 -0
- package/docs/_posts/components/Shape/TwoSidedMaterial.md +149 -0
- package/docs/_posts/components/Shape/UnlitMaterial.md +115 -0
- package/docs/_posts/components/Sound/Analyser.md +72 -0
- package/docs/_posts/components/Sound/AudioClip.md +139 -0
- package/docs/_posts/components/Sound/AudioDestination.md +52 -0
- package/docs/_posts/components/Sound/BiquadFilter.md +70 -0
- package/docs/_posts/components/Sound/BufferAudioSource.md +86 -0
- package/docs/_posts/components/Sound/ChannelMerger.md +46 -0
- package/docs/_posts/components/Sound/ChannelSelector.md +48 -0
- package/docs/_posts/components/Sound/ChannelSplitter.md +48 -0
- package/docs/_posts/components/Sound/Convolver.md +66 -0
- package/docs/_posts/components/Sound/Delay.md +66 -0
- package/docs/_posts/components/Sound/DynamicsCompressor.md +74 -0
- package/docs/_posts/components/Sound/Gain.md +62 -0
- package/docs/_posts/components/Sound/ListenerPointSource.md +62 -0
- package/docs/_posts/components/Sound/MicrophoneSource.md +54 -0
- package/docs/_posts/components/Sound/OscillatorSource.md +58 -0
- package/docs/_posts/components/Sound/PeriodicWave.md +42 -0
- package/docs/_posts/components/Sound/Sound.md +92 -0
- package/docs/_posts/components/Sound/SpatialSound.md +68 -0
- package/docs/_posts/components/Sound/StreamAudioDestination.md +52 -0
- package/docs/_posts/components/Sound/StreamAudioSource.md +54 -0
- package/docs/_posts/components/Sound/WaveShaper.md +66 -0
- package/docs/_posts/components/Text/FontStyle.md +145 -0
- package/docs/_posts/components/Text/Text.md +102 -0
- package/docs/_posts/components/TextureProjector/TextureProjector.md +52 -0
- package/docs/_posts/components/TextureProjector/TextureProjectorParallel.md +52 -0
- package/docs/_posts/components/Texturing/ImageTexture.md +134 -0
- package/docs/_posts/components/Texturing/MovieTexture.md +221 -0
- package/docs/_posts/components/Texturing/MultiTexture.md +100 -0
- package/docs/_posts/components/Texturing/MultiTextureCoordinate.md +47 -0
- package/docs/_posts/components/Texturing/MultiTextureTransform.md +47 -0
- package/docs/_posts/components/Texturing/PixelTexture.md +80 -0
- package/docs/_posts/components/Texturing/TextureCoordinate.md +52 -0
- package/docs/_posts/components/Texturing/TextureCoordinateGenerator.md +64 -0
- package/docs/_posts/components/Texturing/TextureProperties.md +137 -0
- package/docs/_posts/components/Texturing/TextureTransform.md +73 -0
- package/docs/_posts/components/Texturing3D/ComposedTexture3D.md +76 -0
- package/docs/_posts/components/Texturing3D/ImageTexture3D.md +132 -0
- package/docs/_posts/components/Texturing3D/ImageTextureAtlas.md +131 -0
- package/docs/_posts/components/Texturing3D/PixelTexture3D.md +75 -0
- package/docs/_posts/components/Texturing3D/TextureCoordinate3D.md +53 -0
- package/docs/_posts/components/Texturing3D/TextureCoordinate4D.md +52 -0
- package/docs/_posts/components/Texturing3D/TextureTransform3D.md +69 -0
- package/docs/_posts/components/Texturing3D/TextureTransformMatrix3D.md +57 -0
- package/docs/_posts/components/Time/TimeSensor.md +136 -0
- package/docs/_posts/components/VolumeRendering/BlendedVolumeStyle.md +92 -0
- package/docs/_posts/components/VolumeRendering/BoundaryEnhancementVolumeStyle.md +53 -0
- package/docs/_posts/components/VolumeRendering/CartoonVolumeStyle.md +83 -0
- package/docs/_posts/components/VolumeRendering/ComposedVolumeStyle.md +51 -0
- package/docs/_posts/components/VolumeRendering/EdgeEnhancementVolumeStyle.md +67 -0
- package/docs/_posts/components/VolumeRendering/IsoSurfaceVolumeData.md +99 -0
- package/docs/_posts/components/VolumeRendering/OpacityMapVolumeStyle.md +51 -0
- package/docs/_posts/components/VolumeRendering/ProjectionVolumeStyle.md +48 -0
- package/docs/_posts/components/VolumeRendering/SegmentedVolumeData.md +80 -0
- package/docs/_posts/components/VolumeRendering/ShadedVolumeStyle.md +75 -0
- package/docs/_posts/components/VolumeRendering/SilhouetteEnhancementVolumeStyle.md +63 -0
- package/docs/_posts/components/VolumeRendering/ToneMappedVolumeStyle.md +71 -0
- package/docs/_posts/components/VolumeRendering/VolumeData.md +71 -0
- package/docs/_posts/components/X_ITE/BlendMode.md +94 -0
- package/docs/_posts/custom-shaders.md +9 -4
- package/docs/_posts/dom-integration.md +1 -6
- package/docs/_posts/features.md +2 -2
- package/docs/_posts/getting-started.md +100 -57
- package/docs/_posts/glossary.md +1 -1
- package/docs/_posts/how-to-configure-your-web-server.md +1 -1
- package/docs/_posts/reference/browser-services.md +78 -18
- package/docs/_posts/reference/constants-services.md +1 -1
- package/docs/_posts/reference/ecmascript-object-and-function-definitions.md +1 -1
- package/docs/_posts/reference/field-services-and-objects.md +8 -8
- package/docs/_posts/reference/prototype-services.md +7 -7
- package/docs/_posts/reference/route-services.md +1 -1
- package/docs/_posts/reference/scene-services.md +5 -5
- package/docs/_posts/reference/script-node-authoring-interface.md +1 -1
- package/docs/_posts/report-a-bug.md +1 -1
- package/docs/_posts/setup-a-localhost-server.md +5 -1
- package/docs/_posts/supported-nodes.md +239 -238
- package/docs/_posts/tutorials/adding-backgrounds.md +3 -3
- package/docs/_posts/tutorials/adding-fog.md +2 -2
- package/docs/_posts/tutorials/adding-sound.md +19 -19
- package/docs/_posts/tutorials/animating-transforms.md +17 -17
- package/docs/_posts/tutorials/basic-nodes.md +30 -30
- package/docs/_posts/tutorials/building-a-x3d-world.md +3 -3
- package/docs/_posts/tutorials/building-elevation-grids.md +7 -7
- package/docs/_posts/tutorials/building-extruded-shapes.md +7 -7
- package/docs/_posts/tutorials/building-primitive-shapes.md +13 -13
- package/docs/_posts/tutorials/building-shapes-out-of-points-lines-and-faces.md +21 -21
- package/docs/_posts/tutorials/controlling-appearance-with-materials.md +7 -7
- package/docs/_posts/tutorials/controlling-color-on-coordinate-based-geometry.md +11 -11
- package/docs/_posts/tutorials/controlling-detail.md +4 -4
- package/docs/_posts/tutorials/controlling-how-textures-are-mapped.md +7 -7
- package/docs/_posts/tutorials/controlling-navigation.md +3 -3
- package/docs/_posts/tutorials/controlling-shading-on-coordinate-based-geometry.md +13 -13
- package/docs/_posts/tutorials/controlling-the-viewpoint.md +3 -3
- package/docs/_posts/tutorials/creating-new-node-types.md +4 -4
- package/docs/_posts/tutorials/grouping-nodes.md +13 -13
- package/docs/_posts/tutorials/hello-world.md +1 -1
- package/docs/_posts/tutorials/improving-performance.md +1 -1
- package/docs/_posts/tutorials/increasing-rendering-speed.md +1 -1
- package/docs/_posts/tutorials/introducing-animation.md +10 -10
- package/docs/_posts/tutorials/introducing-script-use.md +3 -3
- package/docs/_posts/tutorials/introducing-x3d.md +1 -1
- package/docs/_posts/tutorials/lighting-your-world.md +4 -4
- package/docs/_posts/tutorials/mapping-textures.md +7 -7
- package/docs/_posts/tutorials/naming-nodes.md +1 -1
- package/docs/_posts/tutorials/overview.md +1 -1
- package/docs/_posts/tutorials/providing-information-about-your-world.md +2 -2
- package/docs/_posts/tutorials/sensing-the-viewer.md +15 -15
- package/docs/_posts/tutorials/sensing-viewer-actions.md +10 -10
- package/docs/_posts/tutorials/transforming-shapes.md +4 -4
- package/docs/_posts/tutorials/writing-program-scripts-with-ecmascript.md +5 -5
- package/docs/_posts/what's-new.md +40 -2
- package/docs/_tabs/components.md +383 -0
- package/docs/_tabs/imprint.md +1 -1
- package/docs/_tabs/laboratory.md +38 -6
- package/docs/_tabs/playground.html +22 -66
- package/docs/_tabs/reference.md +2 -1
- package/docs/_tabs/tags.md +1 -1
- package/docs/_tabs/tutorials.md +1 -1
- package/docs/assets/X3D/Michroma-Regular.ttf +0 -0
- package/docs/assets/X3D/peakpx.jpg +0 -0
- package/docs/assets/X3D/teaser.x3d +55 -0
- package/docs/assets/css/style.scss +120 -11
- package/docs/assets/img/laboratory/blend-mode.png +0 -0
- package/docs/assets/img/laboratory/dicom-nrrd.png +0 -0
- package/docs/assets/img/laboratory/earthquake.png +0 -0
- package/docs/assets/img/laboratory/gltf.png +0 -0
- package/docs/assets/img/laboratory/l-system.png +0 -0
- package/docs/assets/js/autoupdate.js +25 -0
- package/docs/laboratory/gltf-sample-viewer.html +318 -0
- package/docs/laboratory/x3d-visual-blend-mode-editor.html +1 -0
- package/package.json +9 -2
- package/src/assets/components/Texturing3D.js +5 -3
- package/src/assets/shaders/Types.glsl.js +5 -5
- package/src/assets/shaders/webgl1/PBR.fs.js +1 -1
- package/src/assets/shaders/webgl1/include/Colors.glsl.js +5 -7
- package/src/assets/shaders/webgl1/include/Fragment.glsl.js +4 -0
- package/src/assets/shaders/webgl1/include/Hatch.glsl.js +1 -1
- package/src/assets/shaders/webgl1/include/Texture.glsl.js +3 -3
- package/src/assets/shaders/webgl2/include/Colors.glsl.js +5 -7
- package/src/assets/shaders/webgl2/include/Hatch.glsl.js +1 -1
- package/src/assets/shaders/webgl2/include/Particle.glsl.js +2 -2
- package/src/assets/shaders/webgl2/include/Texture.glsl.js +2 -2
- package/src/bookmarks.js +12 -8
- package/src/examples.js +3 -0
- package/src/lib/jquery.js +20 -0
- package/src/lib/libgif/libgif.js +1004 -0
- package/src/lib/libtess.js +1 -0
- package/src/lib/nurbs/extras/sample.js +5 -7
- package/src/standard/Math/Algorithms/Bezier.js +175 -33
- package/src/standard/Math/Geometry/Box2.js +15 -55
- package/src/standard/Math/Geometry/Box3.js +19 -66
- package/src/standard/Math/Geometry/Triangle3.js +14 -79
- package/src/standard/Math/Numbers/Color3.js +4 -0
- package/src/standard/Math/Numbers/Color4.js +4 -0
- package/src/standard/Math/Numbers/Matrix3.js +11 -3
- package/src/standard/Math/Numbers/Matrix4.js +9 -6
- package/src/standard/Math/Numbers/Rotation4.js +72 -65
- package/src/tests.js +3 -0
- package/src/x_ite/Base/X3DArrayField.js +0 -2
- package/src/x_ite/Base/X3DInfoArray.js +2 -2
- package/src/x_ite/Base/X3DObjectArrayField.js +19 -0
- package/src/x_ite/Base/X3DTypedArrayField.js +149 -0
- package/src/x_ite/Browser/Core/BrowserOptions.js +108 -64
- package/src/x_ite/Browser/Core/Context.js +1 -1
- package/src/x_ite/Browser/Core/ContextMenu.js +2 -2
- package/src/x_ite/Browser/Core/Notification.js +1 -1
- package/src/x_ite/Browser/Core/RenderingProperties.js +4 -0
- package/src/x_ite/Browser/Core/X3DCoreContext.js +99 -54
- package/src/x_ite/Browser/Navigation/ExamineViewer.js +4 -14
- package/src/x_ite/Browser/Navigation/LookAtViewer.js +3 -13
- package/src/x_ite/Browser/Navigation/PlaneViewer.js +3 -12
- package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +25 -22
- package/src/x_ite/Browser/Navigation/X3DViewer.js +12 -3
- package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +2 -2
- package/src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js +19 -15
- package/src/x_ite/Browser/Rendering/X3DRenderingContext.js +30 -10
- package/src/x_ite/Browser/Shaders/X3DShadersContext.js +1 -1
- package/src/x_ite/Browser/Shape/X3DShapeContext.js +30 -3
- package/src/x_ite/Browser/Text/PolygonText.js +137 -134
- package/src/x_ite/Browser/Texturing/GifMedia.js +113 -0
- package/src/x_ite/Browser/Texturing3D/DICOMParser.js +1 -6
- package/src/x_ite/Browser/Texturing3D/NRRDParser.js +81 -310
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Browser/X3DBrowser.js +162 -122
- package/src/x_ite/Browser/X3DBrowserContext.js +7 -5
- package/src/x_ite/Components/Core/WorldInfo.js +3 -3
- package/src/x_ite/Components/Core/X3DNode.js +7 -7
- package/src/x_ite/Components/Core/X3DPrototypeInstance.js +1 -1
- package/src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js +2 -3
- package/src/x_ite/Components/Geometry3D/Extrusion.js +27 -23
- package/src/x_ite/Components/Geometry3D/IndexedFaceSet.js +10 -19
- package/src/x_ite/Components/Grouping/X3DBoundedObject.js +1 -3
- package/src/x_ite/Components/HAnim/HAnimHumanoid.js +39 -15
- package/src/x_ite/Components/HAnim/HAnimJoint.js +6 -9
- package/src/x_ite/Components/Layering/X3DLayerNode.js +21 -2
- package/src/x_ite/Components/Layout/Layout.js +4 -2
- package/src/x_ite/Components/Layout/ScreenFontStyle.js +6 -0
- package/src/x_ite/Components/Lighting/DirectionalLight.js +4 -11
- package/src/x_ite/Components/Lighting/EnvironmentLight.js +1 -1
- package/src/x_ite/Components/Lighting/PointLight.js +4 -11
- package/src/x_ite/Components/Lighting/SpotLight.js +4 -11
- package/src/x_ite/Components/Lighting/X3DLightNode.js +7 -9
- package/src/x_ite/Components/Navigation/OrthoViewpoint.js +2 -2
- package/src/x_ite/Components/Navigation/X3DViewpointNode.js +14 -6
- package/src/x_ite/Components/Networking/Inline.js +48 -59
- package/src/x_ite/Components/Networking/X3DUrlObject.js +1 -1
- package/src/x_ite/Components/PointingDeviceSensor/CylinderSensor.js +2 -2
- package/src/x_ite/Components/Rendering/X3DLineGeometryNode.js +7 -13
- package/src/x_ite/Components/Rendering/X3DPointGeometryNode.js +4 -2
- package/src/x_ite/Components/RigidBodyPhysics/RigidBody.js +4 -2
- package/src/x_ite/Components/Scripting/Script.js +2 -2
- package/src/x_ite/Components/Shaders/ShaderPart.js +1 -1
- package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +1 -3
- package/src/x_ite/Components/Shape/Appearance.js +27 -1
- package/src/x_ite/Components/Shape/FillProperties.js +1 -0
- package/src/x_ite/Components/Shape/LineProperties.js +15 -9
- package/src/x_ite/Components/Shape/Material.js +33 -22
- package/src/x_ite/Components/Shape/PhysicalMaterial.js +22 -15
- package/src/x_ite/Components/Shape/PointProperties.js +23 -7
- package/src/x_ite/Components/Shape/UnlitMaterial.js +3 -2
- package/src/x_ite/Components/Shape/X3DOneSidedMaterialNode.js +25 -19
- package/src/x_ite/Components/Sound/AudioClip.js +5 -5
- package/src/x_ite/Components/Sound/X3DSoundSourceNode.js +26 -34
- package/src/x_ite/Components/Text/X3DFontStyleNode.js +1 -1
- package/src/x_ite/Components/TextureProjector/TextureProjector.js +4 -12
- package/src/x_ite/Components/TextureProjector/TextureProjectorParallel.js +6 -14
- package/src/x_ite/Components/TextureProjector/X3DTextureProjectorNode.js +7 -7
- package/src/x_ite/Components/Texturing/ImageTexture.js +15 -10
- package/src/x_ite/Components/Texturing/MovieTexture.js +51 -11
- package/src/x_ite/Components/Texturing3D/ImageTexture3D.js +2 -2
- package/src/x_ite/Components/Texturing3D/ImageTextureAtlas.js +230 -0
- package/src/x_ite/Components/Time/X3DTimeDependentNode.js +12 -10
- package/src/x_ite/Execution/BindableList.js +35 -37
- package/src/x_ite/Execution/BindableStack.js +25 -7
- package/src/x_ite/Execution/X3DScene.js +2 -2
- package/src/x_ite/Execution/X3DWorld.js +1 -1
- package/src/x_ite/Fields/SFRotation.js +2 -1
- package/src/x_ite/Fields/SFString.js +1 -1
- package/src/x_ite/InputOutput/FileLoader.js +105 -236
- package/src/x_ite/InputOutput/Generator.js +12 -8
- package/src/x_ite/Parser/Expressions.js +85 -0
- package/src/x_ite/Parser/GLB2Parser.js +147 -0
- package/src/x_ite/Parser/GLTF2Parser.js +2221 -0
- package/src/x_ite/Parser/GoldenGate.js +64 -13
- package/src/x_ite/Parser/JSONParser.js +7 -36
- package/src/x_ite/Parser/OBJParser.js +1076 -0
- package/src/x_ite/Parser/STLAParser.js +376 -0
- package/src/x_ite/Parser/STLBParser.js +156 -0
- package/src/x_ite/Parser/SVGParser.js +2476 -0
- package/src/x_ite/Parser/VRMLParser.js +127 -183
- package/src/x_ite/Parser/X3DOptimizer.js +191 -0
- package/src/x_ite/Parser/X3DParser.js +34 -0
- package/src/x_ite/Parser/XMLParser.js +11 -109
- package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +2 -2
- package/src/x_ite/Prototype/X3DProtoDeclaration.js +3 -3
- package/src/x_ite/Rendering/DependentRenderer.js +1 -1
- package/src/x_ite/Rendering/MultiSampleFrameBuffer.js +150 -0
- package/src/x_ite/Rendering/TextureBuffer.js +3 -5
- package/src/x_ite/Rendering/X3DRenderObject.js +2 -7
- package/src/x_ite/X3D.js +1 -0
- package/src/x_ite/X3DCanvas.js +10 -0
- package/src/x_ite.html +39 -17
- package/webpack.config.js +1 -0
- package/x_ite.min.html +38 -17
- package/src/standard/Networking/BinaryTransport.js +0 -116
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: SignalPdu
|
|
3
|
+
date: 2022-01-07
|
|
4
|
+
nav: components-DIS
|
|
5
|
+
categories: [components, DIS]
|
|
6
|
+
tags: [SignalPdu, DIS]
|
|
7
|
+
---
|
|
8
|
+
<style>
|
|
9
|
+
.post h3 {
|
|
10
|
+
word-spacing: 0.2em;
|
|
11
|
+
}
|
|
12
|
+
</style>
|
|
13
|
+
|
|
14
|
+
## Overview
|
|
15
|
+
|
|
16
|
+
SignalPdu is a networked Protocol Data Unit (PDU) information node that communicates the transmission of voice, audio or other data modeled in a simulation.
|
|
17
|
+
|
|
18
|
+
The SignalPdu node belongs to the **DIS** component and its default container field is *children.* It is available since X3D version 3.0 or later.
|
|
19
|
+
|
|
20
|
+
## Hierarchy
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
+ X3DNode
|
|
24
|
+
+ X3DChildNode
|
|
25
|
+
+ X3DSensorNode
|
|
26
|
+
+ X3DNetworkSensorNode
|
|
27
|
+
+ SignalPdu (X3DBoundedObject)*
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
<small>\* Derived from multiple interfaces.</small>
|
|
31
|
+
|
|
32
|
+
## Fields
|
|
33
|
+
|
|
34
|
+
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
35
|
+
|
|
36
|
+
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
|
|
37
|
+
|
|
38
|
+
### SFVec3f [ ] **bboxSize** -1 -1 -1
|
|
39
|
+
|
|
40
|
+
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.
|
|
41
|
+
|
|
42
|
+
#### Hint
|
|
43
|
+
|
|
44
|
+
- Can be useful for collision computations or inverse-kinematics (IK) engines.
|
|
45
|
+
|
|
46
|
+
### SFVec3f [ ] **bboxCenter** 0 0 0
|
|
47
|
+
|
|
48
|
+
Bounding box center: optional hint for position offset from origin of local coordinate system.
|
|
49
|
+
|
|
50
|
+
### SFBool [in, out] **enabled** TRUE
|
|
51
|
+
|
|
52
|
+
Enables/disables the sensor node.
|
|
53
|
+
|
|
54
|
+
### SFBool [out] **isActive**
|
|
55
|
+
|
|
56
|
+
Have we had a network update recently?.
|
|
57
|
+
|
|
58
|
+
### SFString [in, out] **address** "localhost"
|
|
59
|
+
|
|
60
|
+
Multicast network address, or else "localhost" example: 224.2.181.145.
|
|
61
|
+
|
|
62
|
+
### SFInt32 [in, out] **applicationID** 1 <small>[0,65535]</small>
|
|
63
|
+
|
|
64
|
+
Each simulation application that can respond to simulation management PDUs needs to have a unique applicationID.
|
|
65
|
+
|
|
66
|
+
### MFInt32 [in, out] **data** [ ] <small>[0,255]</small>
|
|
67
|
+
|
|
68
|
+
Holds audio or digital data conveyed by the radio transmission. Interpretation of the field depends on values of encodingScheme and tdlType fields.
|
|
69
|
+
|
|
70
|
+
### SFInt32 [in, out] **dataLength** <small>[0,65535]</small>
|
|
71
|
+
|
|
72
|
+
Number of bits of digital voice audio or digital data being sent in the Signal PDU. If the Encoding Class is database index, then dataLength field is set to 96.
|
|
73
|
+
|
|
74
|
+
### SFInt32 [in, out] **encodingScheme** <small>[0,65535]</small>
|
|
75
|
+
|
|
76
|
+
Designates both Encoding Class and Encoding Type. Encoding Class enumerated value (2 most significant bits): 0 = Encoded Voice; 1 = Raw Binary Data; 2 = Application-Specific Data; 3 = Database Index. Encoding Type enumerated value (14 least significant bits): 1 = 8-bit mu-law; 2 = CVSD per MIL-STD-188-113; 3 = ADPCM per CCITT G.721; 4 = 16-bit linear PCM; 5 = 8-bit linear PCM; 6 = Vector Quantization.
|
|
77
|
+
|
|
78
|
+
### SFInt32 [in, out] **entityID** <small>[0,65535]</small>
|
|
79
|
+
|
|
80
|
+
*entityID* unique ID for entity within that application.
|
|
81
|
+
|
|
82
|
+
### SFString [in, out] **multicastRelayHost** ""
|
|
83
|
+
|
|
84
|
+
Fallback server address if multicast not available locally. For example: track.nps.edu.
|
|
85
|
+
|
|
86
|
+
### SFInt32 [in, out] **multicastRelayPort**
|
|
87
|
+
|
|
88
|
+
Fallback server port if multicast not available locally. For example: 8010.
|
|
89
|
+
|
|
90
|
+
### SFString [in, out] **networkMode** "standAlone" <small>["standAlone"|"networkReader"|"networkWriter"]</small>
|
|
91
|
+
|
|
92
|
+
Whether this entity is ignoring the network, sending DIS packets to the network, or receiving DIS packets from the network. (1) standAlone: ignore network but still respond to events in local scene. (2) networkReader: listen to network and read PDU packets at readInterval, act as remotely linked copy of entity. (3) networkWriter: send PDU packets to network at writeInterval, act as master entity. Default value "standAlone" ensures that DIS network activation within a scene as networkReader or networkWriter is intentional.
|
|
93
|
+
|
|
94
|
+
#### Warnings
|
|
95
|
+
|
|
96
|
+
- Do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values. Network activity may have associated security issues.
|
|
97
|
+
|
|
98
|
+
### SFInt32 [in, out] **port**
|
|
99
|
+
|
|
100
|
+
Multicast network port, for example: 62040.
|
|
101
|
+
|
|
102
|
+
### SFInt32 [in, out] **radioID**
|
|
103
|
+
|
|
104
|
+
Identifies a particular radio within a given entity.
|
|
105
|
+
|
|
106
|
+
### SFFloat [in, out] **readInterval** 0.1
|
|
107
|
+
|
|
108
|
+
Seconds between read updates, 0 means no reading.
|
|
109
|
+
|
|
110
|
+
### SFBool [in, out] **rtpHeaderExpected** FALSE
|
|
111
|
+
|
|
112
|
+
Whether RTP headers are prepended to DIS PDUs.
|
|
113
|
+
|
|
114
|
+
### SFInt32 [in, out] **sampleRate**
|
|
115
|
+
|
|
116
|
+
*sampleRate* gives either (1) sample rate in samples per second if Encoding Class is encoded audio, or (2) data rate in bits per second for data transmissions. If Encoding Class is database index, sampleRate is set to zero.
|
|
117
|
+
|
|
118
|
+
### SFInt32 [in, out] **samples**
|
|
119
|
+
|
|
120
|
+
Number of samples in the PDU if the Encoding Class is encoded voice, otherwise the field is set to zero.
|
|
121
|
+
|
|
122
|
+
### SFInt32 [in, out] **siteID**
|
|
123
|
+
|
|
124
|
+
Simulation/exercise siteID of the participating LAN or organization.
|
|
125
|
+
|
|
126
|
+
### SFInt32 [in, out] **tdlType**
|
|
127
|
+
|
|
128
|
+
Tactical Data Link (TDL) type as an enumerated value when the Encoding Class is voice, raw binary, application-specific, or database index representation of a TDL message.
|
|
129
|
+
|
|
130
|
+
### SFInt32 [in, out] **whichGeometry** 1
|
|
131
|
+
|
|
132
|
+
Select geometry to render: -1 for no geometry, 0 for text trace, 1 for default geometry, (optional) higher values to render different states.
|
|
133
|
+
|
|
134
|
+
### SFFloat [in, out] **writeInterval** 1
|
|
135
|
+
|
|
136
|
+
Seconds between write updates, 0 means no writing (sending).
|
|
137
|
+
|
|
138
|
+
### SFBool [out] **isNetworkReader**
|
|
139
|
+
|
|
140
|
+
Whether networkMode="remote" (listen to network as copy of remote entity)
|
|
141
|
+
|
|
142
|
+
### SFBool [out] **isNetworkWriter**
|
|
143
|
+
|
|
144
|
+
Whether networkMode="master" (output to network as master entity at writeInterval)
|
|
145
|
+
|
|
146
|
+
### SFBool [out] **isRtpHeaderHeard**
|
|
147
|
+
|
|
148
|
+
Whether incoming DIS packets have an RTP header prepended.
|
|
149
|
+
|
|
150
|
+
### SFBool [out] **isStandAlone**
|
|
151
|
+
|
|
152
|
+
Whether networkMode="local" (ignore network but still respond to local events)
|
|
153
|
+
|
|
154
|
+
### SFTime [out] **timestamp**
|
|
155
|
+
|
|
156
|
+
DIS timestamp in X3D units (seconds since 1 January 1970).
|
|
157
|
+
|
|
158
|
+
## Description
|
|
159
|
+
|
|
160
|
+
### Hints
|
|
161
|
+
|
|
162
|
+
- SignalPdu packets use the IEEE Distributed Interactive Simulation (DIS) protocol.
|
|
163
|
+
- Include `<component name='DIS' level='1'/>`
|
|
164
|
+
|
|
165
|
+
## External Links
|
|
166
|
+
|
|
167
|
+
- [X3D Specification of SignalPdu](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/dis.html#SignalPdu){:target="_blank"}
|
|
168
|
+
- [Savage Developers Guide on DIS](https://savage.nps.edu/Savage/developers.html#DIS){:target="_blank"}
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: TransmitterPdu
|
|
3
|
+
date: 2022-01-07
|
|
4
|
+
nav: components-DIS
|
|
5
|
+
categories: [components, DIS]
|
|
6
|
+
tags: [TransmitterPdu, DIS]
|
|
7
|
+
---
|
|
8
|
+
<style>
|
|
9
|
+
.post h3 {
|
|
10
|
+
word-spacing: 0.2em;
|
|
11
|
+
}
|
|
12
|
+
</style>
|
|
13
|
+
|
|
14
|
+
## Overview
|
|
15
|
+
|
|
16
|
+
TransmitterPdu is a networked Protocol Data Unit (PDU) information node that provides detailed information about a radio transmitter modeled in a simulation.
|
|
17
|
+
|
|
18
|
+
The TransmitterPdu node belongs to the **DIS** component and its default container field is *children.* It is available since X3D version 3.0 or later.
|
|
19
|
+
|
|
20
|
+
## Hierarchy
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
+ X3DNode
|
|
24
|
+
+ X3DChildNode
|
|
25
|
+
+ X3DSensorNode
|
|
26
|
+
+ X3DNetworkSensorNode
|
|
27
|
+
+ TransmitterPdu (X3DBoundedObject)*
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
<small>\* Derived from multiple interfaces.</small>
|
|
31
|
+
|
|
32
|
+
## Fields
|
|
33
|
+
|
|
34
|
+
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
35
|
+
|
|
36
|
+
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
|
|
37
|
+
|
|
38
|
+
### SFVec3f [ ] **bboxSize** -1 -1 -1
|
|
39
|
+
|
|
40
|
+
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.
|
|
41
|
+
|
|
42
|
+
#### Hint
|
|
43
|
+
|
|
44
|
+
- Can be useful for collision computations or inverse-kinematics (IK) engines.
|
|
45
|
+
|
|
46
|
+
### SFVec3f [ ] **bboxCenter** 0 0 0
|
|
47
|
+
|
|
48
|
+
Bounding box center: optional hint for position offset from origin of local coordinate system.
|
|
49
|
+
|
|
50
|
+
### SFBool [in, out] **enabled** TRUE
|
|
51
|
+
|
|
52
|
+
Enables/disables the sensor node.
|
|
53
|
+
|
|
54
|
+
### SFBool [out] **isActive**
|
|
55
|
+
|
|
56
|
+
Have we had a network update recently?.
|
|
57
|
+
|
|
58
|
+
### SFString [in, out] **address** "localhost"
|
|
59
|
+
|
|
60
|
+
Multicast network address, or else "localhost" example: 224.2.181.145.
|
|
61
|
+
|
|
62
|
+
### SFVec3f [in, out] **antennaLocation** 0 0 0 <small>(-∞,∞)</small>
|
|
63
|
+
|
|
64
|
+
World coordinates for antenna location.
|
|
65
|
+
|
|
66
|
+
### SFInt32 [in, out] **antennaPatternLength** <small>[0,65535]</small>
|
|
67
|
+
|
|
68
|
+
Input/Output field antennaPatternLength.
|
|
69
|
+
|
|
70
|
+
### SFInt32 [in, out] **antennaPatternType** <small>[0,65535]</small>
|
|
71
|
+
|
|
72
|
+
Antenna shape pattern: 0 for omnidirectional, 1 for beam, 2 for spherical harmonic (deprecated), or optional higher value
|
|
73
|
+
|
|
74
|
+
### SFInt32 [in, out] **applicationID** 1 <small>[0,65535]</small>
|
|
75
|
+
|
|
76
|
+
Each simulation application that can respond to simulation management PDUs needs to have a unique applicationID.
|
|
77
|
+
|
|
78
|
+
### SFInt32 [in, out] **cryptoKeyID** <small>[0,65535]</small>
|
|
79
|
+
|
|
80
|
+
Nonzero value corresponding to the simulated cryptographic key. Enumerations value 0 indicates plain (unencrypted) communications.
|
|
81
|
+
|
|
82
|
+
### SFInt32 [in, out] **cryptoSystem** <small>[0,65535]</small>
|
|
83
|
+
|
|
84
|
+
Indicates type of crypto system being used, even if the encryption equipment is not keyed. Value 0 for No Encryption Device, higher enumerations values correspond to other specific equipment..
|
|
85
|
+
|
|
86
|
+
### SFInt32 [in, out] **entityID** <small>[0,65535]</small>
|
|
87
|
+
|
|
88
|
+
*entityID* unique ID for entity within that application.
|
|
89
|
+
|
|
90
|
+
### SFInt32 [in, out] **frequency**
|
|
91
|
+
|
|
92
|
+
Transmission frequency in Hz. If the radio is in frequency hopping mode, this field may be set to the center of the frequency hopping band currently in use, or to some other appropriate value.
|
|
93
|
+
|
|
94
|
+
### SFInt32 [in, out] **inputSource** <small>[0,255]</small>
|
|
95
|
+
|
|
96
|
+
Source of transmission input. Enumerations value 0 for Other, 1 for Pilot, 2 for Copilot, 3 for First Officer, 4 for Driver, 5 for Loader, 6 for Gunner, 7 for Commander, 8 for Digital Data Device, 9 for Intercom, 10 for Audio Jammer, 11 for Data Jammer, 12 for GPS Jammer, 13 for GPS Meaconer (masking beacon).
|
|
97
|
+
|
|
98
|
+
### SFInt32 [in, out] **lengthOfModulationParameters** <small>[0,255]</small>
|
|
99
|
+
|
|
100
|
+
Input/Output field lengthOfModulationParameters.
|
|
101
|
+
|
|
102
|
+
### SFInt32 [in, out] **modulationTypeDetail** <small>[0,65535]</small>
|
|
103
|
+
|
|
104
|
+
Enumeration containing detailed information depending on the major modulation type.
|
|
105
|
+
|
|
106
|
+
### SFInt32 [in, out] **modulationTypeMajor** <small>[0,65535]</small>
|
|
107
|
+
|
|
108
|
+
Enumeration containing major classification of the modulation type. Enumerations value 0 for No Statement, 1 for Amplitude, 2 for Amplitude and Angle, 3 for Angle, 4 for Combination, 5 for Pulse, 6 for Unmodulated, 7 for Carrier Phase Shift Modulation (CPSM).
|
|
109
|
+
|
|
110
|
+
### SFInt32 [in, out] **modulationTypeSpreadSpectrum** <small>[0,65535]</small>
|
|
111
|
+
|
|
112
|
+
Indicates the spread spectrum technique or combination of spread spectrum techniques in use.
|
|
113
|
+
|
|
114
|
+
### SFInt32 [in, out] **modulationTypeSystem** <small>[0,65535]</small>
|
|
115
|
+
|
|
116
|
+
Specifies radio system associated with this Transmitter PDU and used to interpret other fields whose values depend on a specific radio system.
|
|
117
|
+
|
|
118
|
+
### SFString [in, out] **multicastRelayHost** ""
|
|
119
|
+
|
|
120
|
+
Fallback server address if multicast not available locally. For example: track.nps.edu.
|
|
121
|
+
|
|
122
|
+
### SFInt32 [in, out] **multicastRelayPort**
|
|
123
|
+
|
|
124
|
+
Fallback server port if multicast not available locally. For example: 8010.
|
|
125
|
+
|
|
126
|
+
### SFString [in, out] **networkMode** "standAlone" <small>["standAlone"|"networkReader"|"networkWriter"]</small>
|
|
127
|
+
|
|
128
|
+
Whether this entity is ignoring the network, sending DIS packets to the network, or receiving DIS packets from the network. (1) standAlone: ignore network but still respond to events in local scene. (2) networkReader: listen to network and read PDU packets at readInterval, act as remotely linked copy of entity. (3) networkWriter: send PDU packets to network at writeInterval, act as master entity. Default value "standAlone" ensures that DIS network activation within a scene as networkReader or networkWriter is intentional.
|
|
129
|
+
|
|
130
|
+
#### Warnings
|
|
131
|
+
|
|
132
|
+
- Do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values. Network activity may have associated security issues.
|
|
133
|
+
|
|
134
|
+
### SFInt32 [in, out] **port**
|
|
135
|
+
|
|
136
|
+
Multicast network port, for example: 62040.
|
|
137
|
+
|
|
138
|
+
### SFFloat [in, out] **power**
|
|
139
|
+
|
|
140
|
+
*power* that radio would be capable of outputting if on and transmitting, independent of actual transmit state of the radio.
|
|
141
|
+
|
|
142
|
+
### SFInt32 [in, out] **radioEntityTypeCategory**
|
|
143
|
+
|
|
144
|
+
Enumeration containing EntityType of transmitter radio. Enumerations value: 0 for Other, 1 for Generic Radio or Simple Intercom, 2 for HAVE QUICK, 3 for HAVE QUICK II, 4 for HAVE QUICK IIA, 5 for SINCGARS, 6 for CCTT SINCGARS, 7 for EPLRS (Enhanced Position Location Reporting System), 8 for JTIDS/MIDS, 9 for Link 11, 10 for Link 11B, 11 for L-Band SATCOM, 12 for Enhanced SINCGARS 7.3, 13 for Navigation Aid.
|
|
145
|
+
|
|
146
|
+
### SFInt32 [in, out] **radioEntityTypeCountry**
|
|
147
|
+
|
|
148
|
+
Enumerations value for country to which the design of the entity or its design specification is attributed.
|
|
149
|
+
|
|
150
|
+
### SFInt32 [in, out] **radioEntityTypeDomain**
|
|
151
|
+
|
|
152
|
+
Enumerations value for domain in which the entity operates: LAND, AIR, SURFACE, SUBSURFACE, SPACE or OTHER.
|
|
153
|
+
|
|
154
|
+
### SFInt32 [in, out] **radioEntityTypeKind**
|
|
155
|
+
|
|
156
|
+
Enumerations value for whether entity is a PLATFORM, MUNITION, LIFE_FORM, ENVIRONMENTAL, CULTURAL_FEATURE, SUPPLY, RADIO, EXPENDABLE, SENSOR_EMITTER or OTHER.
|
|
157
|
+
|
|
158
|
+
### SFInt32 [in, out] **radioEntityTypeNomenclature**
|
|
159
|
+
|
|
160
|
+
Enumerations value indicating nomenclature (name) for a particular emitter. See DIS enumerations reference for value/name pairs.
|
|
161
|
+
|
|
162
|
+
### SFInt32 [in, out] **radioEntityTypeNomenclatureVersion**
|
|
163
|
+
|
|
164
|
+
Named equipment version number.
|
|
165
|
+
|
|
166
|
+
### SFInt32 [in, out] **radioID**
|
|
167
|
+
|
|
168
|
+
Identifies a particular radio within a given entity.
|
|
169
|
+
|
|
170
|
+
### SFFloat [in, out] **readInterval** 0.1
|
|
171
|
+
|
|
172
|
+
Seconds between read updates, 0 means no reading.
|
|
173
|
+
|
|
174
|
+
### SFVec3f [in, out] **relativeAntennaLocation** 0 0 0
|
|
175
|
+
|
|
176
|
+
Relative coordinates for antenna location.
|
|
177
|
+
|
|
178
|
+
### SFBool [in, out] **rtpHeaderExpected** FALSE
|
|
179
|
+
|
|
180
|
+
Whether RTP headers are prepended to DIS PDUs.
|
|
181
|
+
|
|
182
|
+
### SFInt32 [in, out] **siteID**
|
|
183
|
+
|
|
184
|
+
Simulation/exercise siteID of the participating LAN or organization.
|
|
185
|
+
|
|
186
|
+
### SFFloat [in, out] **transmitFrequencyBandwidth**
|
|
187
|
+
|
|
188
|
+
Bandwidth of the particular transmitter measured between the half-power (-3 dB) points (this value represents total bandwidth, not the deviation from the center frequency).
|
|
189
|
+
|
|
190
|
+
### SFInt32 [in, out] **transmitState**
|
|
191
|
+
|
|
192
|
+
Specify radio transmission state where enumerations value 0 is for off, value 1 for powered but not transmitting, or value 1 is for powered and transmitting,
|
|
193
|
+
|
|
194
|
+
### SFInt32 [in, out] **whichGeometry** 1
|
|
195
|
+
|
|
196
|
+
Select geometry to render: -1 for no geometry, 0 for text trace, 1 for default geometry, (optional) higher values to render different states.
|
|
197
|
+
|
|
198
|
+
### SFFloat [in, out] **writeInterval** 1
|
|
199
|
+
|
|
200
|
+
Seconds between write updates, 0 means no writing (sending).
|
|
201
|
+
|
|
202
|
+
### SFBool [out] **isNetworkReader**
|
|
203
|
+
|
|
204
|
+
Whether networkMode="remote" (listen to network as copy of remote entity)
|
|
205
|
+
|
|
206
|
+
### SFBool [out] **isNetworkWriter**
|
|
207
|
+
|
|
208
|
+
Whether networkMode="master" (output to network as master entity at writeInterval)
|
|
209
|
+
|
|
210
|
+
### SFBool [out] **isRtpHeaderHeard**
|
|
211
|
+
|
|
212
|
+
Whether incoming DIS packets have an RTP header prepended.
|
|
213
|
+
|
|
214
|
+
### SFBool [out] **isStandAlone**
|
|
215
|
+
|
|
216
|
+
Whether networkMode="local" (ignore network but still respond to local events)
|
|
217
|
+
|
|
218
|
+
### SFTime [out] **timestamp**
|
|
219
|
+
|
|
220
|
+
DIS timestamp in X3D units (seconds since 1 January 1970).
|
|
221
|
+
|
|
222
|
+
## Description
|
|
223
|
+
|
|
224
|
+
### Hints
|
|
225
|
+
|
|
226
|
+
- TransmitterPdu packets use the IEEE Distributed Interactive Simulation (DIS) protocol.
|
|
227
|
+
- Include `<component name='DIS' level='1'/>`
|
|
228
|
+
|
|
229
|
+
## External Links
|
|
230
|
+
|
|
231
|
+
- [X3D Specification of TransmitterPdu](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/dis.html#TransmitterPdu){:target="_blank"}
|
|
232
|
+
- [Savage Developers Guide on DIS](https://savage.nps.edu/Savage/developers.html#DIS){:target="_blank"}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Background
|
|
3
|
+
date: 2022-01-07
|
|
4
|
+
nav: components-EnvironmentalEffects
|
|
5
|
+
categories: [components, EnvironmentalEffects]
|
|
6
|
+
tags: [Background, EnvironmentalEffects]
|
|
7
|
+
---
|
|
8
|
+
<style>
|
|
9
|
+
.post h3 {
|
|
10
|
+
word-spacing: 0.2em;
|
|
11
|
+
}
|
|
12
|
+
</style>
|
|
13
|
+
|
|
14
|
+
## Overview
|
|
15
|
+
|
|
16
|
+
Background simulates ground and sky, using vertical arrays of wraparound color values, Background can also provide backdrop textures on all six sides.
|
|
17
|
+
|
|
18
|
+
The Background node belongs to the **EnvironmentalEffects** component and its default container field is *children.* It is available since X3D version 3.0 or later.
|
|
19
|
+
|
|
20
|
+
## Hierarchy
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
+ X3DNode
|
|
24
|
+
+ X3DChildNode
|
|
25
|
+
+ X3DBindableNode
|
|
26
|
+
+ X3DBackgroundNode
|
|
27
|
+
+ Background
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Fields
|
|
31
|
+
|
|
32
|
+
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
33
|
+
|
|
34
|
+
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
|
|
35
|
+
|
|
36
|
+
### SFBool [in] **set_bind**
|
|
37
|
+
|
|
38
|
+
Input event set_bind=true makes this node active, input event set_bind=false makes this node inactive. Thus setting set_bind true/false will pop/push (enable/disable) this node.
|
|
39
|
+
|
|
40
|
+
### MFString [in, out] **frontUrl** [ ] <small>[URI]</small>
|
|
41
|
+
|
|
42
|
+
Image background panorama between ground/sky backdrop and scene's geometry.
|
|
43
|
+
|
|
44
|
+
#### Hints
|
|
45
|
+
|
|
46
|
+
- MFString arrays can have multiple values, so separate each individual string by quote marks "https://www.web3d.org" "https://www.web3d.org/about" "etc." XML encoding for quotation mark " is &quot; (which is called a character entity). Can replace embedded blank(s) in url queries with %20 for each blank character. Interchange profile hint: this field may be ignored, applying the default value regardless.
|
|
47
|
+
|
|
48
|
+
#### Warning
|
|
49
|
+
|
|
50
|
+
- Strictly match directory and filename capitalization for http links! This is important for portability. Some operating systems are forgiving of capitalization mismatches, but http/https and other operating systems are not.
|
|
51
|
+
|
|
52
|
+
### MFString [in, out] **backUrl** [ ] <small>[URI]</small>
|
|
53
|
+
|
|
54
|
+
Image background panorama between ground/sky backdrop and scene's geometry.
|
|
55
|
+
|
|
56
|
+
#### Hints
|
|
57
|
+
|
|
58
|
+
- MFString arrays can have multiple values, so separate each individual string by quote marks "https://www.web3d.org" "https://www.web3d.org/about" "etc." XML encoding for quotation mark " is &quot; (which is called a character entity). Can replace embedded blank(s) in url queries with %20 for each blank character. Interchange profile hint: this field may be ignored, applying the default value regardless.
|
|
59
|
+
|
|
60
|
+
#### Warning
|
|
61
|
+
|
|
62
|
+
- Strictly match directory and filename capitalization for http links! This is important for portability. Some operating systems are forgiving of capitalization mismatches, but http/https and other operating systems are not.
|
|
63
|
+
|
|
64
|
+
### MFString [in, out] **leftUrl** [ ] <small>[URI]</small>
|
|
65
|
+
|
|
66
|
+
Image background panorama between ground/sky backdrop and scene's geometry.
|
|
67
|
+
|
|
68
|
+
#### Hints
|
|
69
|
+
|
|
70
|
+
- MFString arrays can have multiple values, so separate each individual string by quote marks "https://www.web3d.org" "https://www.web3d.org/about" "etc." XML encoding for quotation mark " is &quot; (which is called a character entity). Can replace embedded blank(s) in url queries with %20 for each blank character. Interchange profile hint: this field may be ignored, applying the default value regardless.
|
|
71
|
+
|
|
72
|
+
#### Warning
|
|
73
|
+
|
|
74
|
+
- Strictly match directory and filename capitalization for http links! This is important for portability. Some operating systems are forgiving of capitalization mismatches, but http/https and other operating systems are not.
|
|
75
|
+
|
|
76
|
+
### MFString [in, out] **rightUrl** [ ] <small>[URI]</small>
|
|
77
|
+
|
|
78
|
+
Image background panorama between ground/sky backdrop and scene's geometry.
|
|
79
|
+
|
|
80
|
+
#### Hints
|
|
81
|
+
|
|
82
|
+
- MFString arrays can have multiple values, so separate each individual string by quote marks "https://www.web3d.org" "https://www.web3d.org/about" "etc." XML encoding for quotation mark " is &quot; (which is called a character entity). Can replace embedded blank(s) in url queries with %20 for each blank character. Interchange profile hint: this field may be ignored, applying the default value regardless.
|
|
83
|
+
|
|
84
|
+
#### Warning
|
|
85
|
+
|
|
86
|
+
- Strictly match directory and filename capitalization for http links! This is important for portability. Some operating systems are forgiving of capitalization mismatches, but http/https and other operating systems are not.
|
|
87
|
+
|
|
88
|
+
### MFString [in, out] **topUrl** [ ] <small>[URI]</small>
|
|
89
|
+
|
|
90
|
+
Image background panorama between ground/sky backdrop and scene's geometry.
|
|
91
|
+
|
|
92
|
+
#### Hints
|
|
93
|
+
|
|
94
|
+
- MFString arrays can have multiple values, so separate each individual string by quote marks "https://www.web3d.org" "https://www.web3d.org/about" "etc." XML encoding for quotation mark " is &quot; (which is called a character entity). Can replace embedded blank(s) in url queries with %20 for each blank character. Interchange profile hint: this field may be ignored, applying the default value regardless.
|
|
95
|
+
|
|
96
|
+
#### Warning
|
|
97
|
+
|
|
98
|
+
- Strictly match directory and filename capitalization for http links! This is important for portability. Some operating systems are forgiving of capitalization mismatches, but http/https and other operating systems are not.
|
|
99
|
+
|
|
100
|
+
### MFString [in, out] **bottomUrl** [ ] <small>[URI]</small>
|
|
101
|
+
|
|
102
|
+
Image background panorama between ground/sky backdrop and scene's geometry.
|
|
103
|
+
|
|
104
|
+
#### Hints
|
|
105
|
+
|
|
106
|
+
- MFString arrays can have multiple values, so separate each individual string by quote marks "https://www.web3d.org" "https://www.web3d.org/about" "etc." XML encoding for quotation mark " is &quot; (which is called a character entity). Can replace embedded blank(s) in url queries with %20 for each blank character. Interchange profile hint: this field may be ignored, applying the default value regardless.
|
|
107
|
+
|
|
108
|
+
#### Warning
|
|
109
|
+
|
|
110
|
+
- Strictly match directory and filename capitalization for http links! This is important for portability. Some operating systems are forgiving of capitalization mismatches, but http/https and other operating systems are not.
|
|
111
|
+
|
|
112
|
+
### MFFloat [in, out] **skyAngle** [ ] <small>[0,π]</small>
|
|
113
|
+
|
|
114
|
+
The angle array values increase from 0.0 zenith (straight up) to π/2=1.570796 (horizon) to π=3.14159 (nadir).
|
|
115
|
+
|
|
116
|
+
#### Warnings
|
|
117
|
+
|
|
118
|
+
- You must have one more skyColor value than skyAngle values. Colors at skyAngle=0 are ignored. Interchange profile hint: this field may be ignored, applying the default value regardless.
|
|
119
|
+
|
|
120
|
+
### MFColor [in, out] **skyColor** 0 0 0 <small>[0,1]</small>
|
|
121
|
+
|
|
122
|
+
Color of the sky at various angles on the sky sphere. First value is color of sky at 0.0 radians representing the zenith (straight up).
|
|
123
|
+
|
|
124
|
+
#### Hint
|
|
125
|
+
|
|
126
|
+
- Setting the same color at two consecutive angles produces a solid color band.
|
|
127
|
+
|
|
128
|
+
#### Warning
|
|
129
|
+
|
|
130
|
+
- You must have one more skyColor value than skyAngle values. Interchange profile hint: only one color might be rendered, others can be ignored.
|
|
131
|
+
|
|
132
|
+
#### See Also
|
|
133
|
+
|
|
134
|
+
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
135
|
+
|
|
136
|
+
### MFFloat [in, out] **groundAngle** [ ] <small>[0,π/2]</small>
|
|
137
|
+
|
|
138
|
+
The angle array values increase from 0.0 nadir (straight down) to π/2=1.570796 (horizon).
|
|
139
|
+
|
|
140
|
+
#### Warnings
|
|
141
|
+
|
|
142
|
+
- You must have one more groundColor value than groundAngle values. Colors at groundAngle=0 are ignored. Interchange profile hint: this field may be ignored, applying the default value regardless.
|
|
143
|
+
|
|
144
|
+
### MFColor [in, out] **groundColor** [ ] <small>[0,1]</small>
|
|
145
|
+
|
|
146
|
+
Color of the ground at the various angles on the ground partial sphere. First value is color of ground at 0.0 radians representing the nadir (straight down).
|
|
147
|
+
|
|
148
|
+
#### Hint
|
|
149
|
+
|
|
150
|
+
- Setting the same color at two consecutive angles produces a solid color band.
|
|
151
|
+
|
|
152
|
+
#### Warning
|
|
153
|
+
|
|
154
|
+
- You must have one more groundColor value than groundAngle values. Interchange profile hint: this field may be ignored, applying the default value regardless.
|
|
155
|
+
|
|
156
|
+
#### See Also
|
|
157
|
+
|
|
158
|
+
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
159
|
+
|
|
160
|
+
### SFFloat [in, out] **transparency** 0 <small>[0,1]</small>
|
|
161
|
+
|
|
162
|
+
How "clear" the background is, allows underlying page to show through: 1.0 is completely transparent, 0.0 is completely opaque. Interchange profile hint: transparency < .5 opaque, transparency > .5 transparent.
|
|
163
|
+
|
|
164
|
+
### SFBool [out] **isBound**
|
|
165
|
+
|
|
166
|
+
Event true sent when node becomes active, event false sent when unbound by another node.
|
|
167
|
+
|
|
168
|
+
### SFTime [out] **bindTime**
|
|
169
|
+
|
|
170
|
+
Event sent when node becomes active/inactive.
|
|
171
|
+
|
|
172
|
+
## Description
|
|
173
|
+
|
|
174
|
+
### Hint
|
|
175
|
+
|
|
176
|
+
- NavigationInfo, Background, TextureBackground, Fog, OrthoViewpoint and Viewpoint are bindable nodes, meaning that no more than one of each node type can be active at a given time.
|
|
177
|
+
|
|
178
|
+
### Warning
|
|
179
|
+
|
|
180
|
+
- Results are undefined if a bindable node (Viewpoint, OrthoViewpoint, NavigationInfo, Fog, Background, TextureBackground) is a contained child of LOD or Switch.
|
|
181
|
+
|
|
182
|
+
## Example
|
|
183
|
+
|
|
184
|
+
<x3d-canvas src="https://create3000.github.io/media/examples/EnvironmentalEffects/Background/Background.x3d"></x3d-canvas>
|
|
185
|
+
|
|
186
|
+
## External Links
|
|
187
|
+
|
|
188
|
+
- [X3D Specification of Background](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/environmentalEffects.html#Background){:target="_blank"}
|
|
189
|
+
- [X3D Example Archives, Basic, Universal Media Panoramas](https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaPanoramas){:target="_blank"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Fog
|
|
3
|
+
date: 2022-01-07
|
|
4
|
+
nav: components-EnvironmentalEffects
|
|
5
|
+
categories: [components, EnvironmentalEffects]
|
|
6
|
+
tags: [Fog, EnvironmentalEffects]
|
|
7
|
+
---
|
|
8
|
+
<style>
|
|
9
|
+
.post h3 {
|
|
10
|
+
word-spacing: 0.2em;
|
|
11
|
+
}
|
|
12
|
+
</style>
|
|
13
|
+
|
|
14
|
+
## Overview
|
|
15
|
+
|
|
16
|
+
Fog simulates atmospheric effects by blending distant objects with fog color.
|
|
17
|
+
|
|
18
|
+
The Fog node belongs to the **EnvironmentalEffects** component and its default container field is *children.* It is available since X3D version 3.0 or later.
|
|
19
|
+
|
|
20
|
+
## Hierarchy
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
+ X3DNode
|
|
24
|
+
+ X3DChildNode
|
|
25
|
+
+ X3DBindableNode
|
|
26
|
+
+ Fog (X3DFogObject)*
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
<small>\* Derived from multiple interfaces.</small>
|
|
30
|
+
|
|
31
|
+
## Fields
|
|
32
|
+
|
|
33
|
+
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
34
|
+
|
|
35
|
+
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
|
|
36
|
+
|
|
37
|
+
### SFBool [in] **set_bind**
|
|
38
|
+
|
|
39
|
+
Setting set_bind true makes this node active setting set_bind false makes this node inactive. Thus setting set_bind true/false will pop/push (enable/disable) this node.
|
|
40
|
+
|
|
41
|
+
### SFString [in, out] **fogType** "LINEAR" <small>["LINEAR"|"EXPONENTIAL"]</small>
|
|
42
|
+
|
|
43
|
+
Specifies algorithm for rate of increasing Fog, either LINEAR or EXPONENTIAL.
|
|
44
|
+
|
|
45
|
+
#### Hint
|
|
46
|
+
|
|
47
|
+
- EXPONENTIAL is more natural but also more computationally expensive.
|
|
48
|
+
|
|
49
|
+
#### Warning
|
|
50
|
+
|
|
51
|
+
- Do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.
|
|
52
|
+
|
|
53
|
+
### SFColor [in, out] **color** 1 1 1 <small>[0,1]</small>
|
|
54
|
+
|
|
55
|
+
Fog color.
|
|
56
|
+
|
|
57
|
+
#### Hint
|
|
58
|
+
|
|
59
|
+
- Match Background color to make objects fade away.
|
|
60
|
+
|
|
61
|
+
#### See Also
|
|
62
|
+
|
|
63
|
+
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
64
|
+
|
|
65
|
+
### SFFloat [in, out] **visibilityRange** 0 <small>[0,∞)</small>
|
|
66
|
+
|
|
67
|
+
Distance in meters where objects are totally obscured by the fog, using local coordinate system.
|
|
68
|
+
|
|
69
|
+
#### Hint
|
|
70
|
+
|
|
71
|
+
- VisibilityRange 0 disables Fog.
|
|
72
|
+
|
|
73
|
+
### SFBool [out] **isBound**
|
|
74
|
+
|
|
75
|
+
Event true sent when node becomes active, event false sent when unbound by another node.
|
|
76
|
+
|
|
77
|
+
### SFTime [out] **bindTime**
|
|
78
|
+
|
|
79
|
+
Event sent when node becomes active/inactive.
|
|
80
|
+
|
|
81
|
+
## Description
|
|
82
|
+
|
|
83
|
+
### Hint
|
|
84
|
+
|
|
85
|
+
- NavigationInfo, Background, TextureBackground, Fog, OrthoViewpoint and Viewpoint are bindable nodes, meaning that no more than one of each node type can be active at a given time.
|
|
86
|
+
|
|
87
|
+
### Warning
|
|
88
|
+
|
|
89
|
+
- Results are undefined if a bindable node (Viewpoint, OrthoViewpoint, NavigationInfo, Fog, Background, TextureBackground) is a contained child of LOD or Switch.
|
|
90
|
+
|
|
91
|
+
## Example
|
|
92
|
+
|
|
93
|
+
<x3d-canvas src="https://create3000.github.io/media/examples/EnvironmentalEffects/Fog/Fog.x3d"></x3d-canvas>
|
|
94
|
+
|
|
95
|
+
## External Links
|
|
96
|
+
|
|
97
|
+
- [X3D Specification of Fog](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/environmentalEffects.html#Fog){:target="_blank"}
|