x_ite 8.8.7 → 8.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Makefile +6 -0
- package/build/docs/nodes.pl +434 -0
- package/dist/assets/components/Annotation.js +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 +18 -18
- 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 +965 -96
- 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 +197 -38
- package/docs/_posts/components/HAnim/HAnimJoint.md +104 -38
- package/docs/_posts/components/HAnim/HAnimMotion.md +117 -7
- 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 +1 -0
- package/docs/_posts/laboratory/x3d-file-converter.md +1 -1
- package/package.json +1 -1
- 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/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/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 +2 -2
- package/src/x_ite/Fields/SFColor.js +1 -1
- package/src/x_ite/Fields/SFMatrixPrototypeTemplate.js +1 -1
- package/src/x_ite/Fields/SFRotation.js +3 -3
- package/src/x_ite/Fields/SFVecPrototypeTemplate.js +1 -1
- package/src/x_ite/Parser/GoldenGate.js +16 -5
- package/src/x_ite/Parser/PLYAParser.js +615 -0
- package/src/x_ite/Parser/PLYBParser.js +222 -0
- package/src/x_ite/Parser/STLAParser.js +0 -1
- /package/build/{bin → docs}/components.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: TouchSensor
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-PointingDeviceSensor
|
|
5
5
|
categories: [components, PointingDeviceSensor]
|
|
6
6
|
tags: [TouchSensor, PointingDeviceSensor]
|
|
@@ -15,7 +15,7 @@ tags: [TouchSensor, PointingDeviceSensor]
|
|
|
15
15
|
|
|
16
16
|
TouchSensor tracks location and state of the pointing device, detecting when a user points at or selects (activates) geometry.
|
|
17
17
|
|
|
18
|
-
The TouchSensor node belongs to the **PointingDeviceSensor** component and its default container field is *children.* It is available
|
|
18
|
+
The TouchSensor node belongs to the **PointingDeviceSensor** component and its default container field is *children.* It is available from X3D version 2.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -32,15 +32,20 @@ The TouchSensor node belongs to the **PointingDeviceSensor** component and its d
|
|
|
32
32
|
|
|
33
33
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
36
|
+
|
|
37
|
+
#### Hint
|
|
38
|
+
|
|
39
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
36
40
|
|
|
37
41
|
### SFString [in, out] **description** ""
|
|
38
42
|
|
|
39
|
-
Author-provided
|
|
43
|
+
Author-provided prose that describes intended purpose of this node.
|
|
40
44
|
|
|
41
45
|
#### Hints
|
|
42
46
|
|
|
43
|
-
-
|
|
47
|
+
- Include space characters since a *description* is not a DEF identifier. Write short phrases that make descriptions clear and readable.
|
|
48
|
+
- Many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as &#38; for & ampersand character, or &#34; for " quotation-mark character).
|
|
44
49
|
|
|
45
50
|
### SFBool [in, out] **enabled** TRUE
|
|
46
51
|
|
|
@@ -50,21 +55,41 @@ Enables/disables node operation.
|
|
|
50
55
|
|
|
51
56
|
When pointing device selects geometry, send event containing texture coordinates of surface at the hitPoint.
|
|
52
57
|
|
|
58
|
+
#### Warning
|
|
59
|
+
|
|
60
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
61
|
+
|
|
53
62
|
### SFVec3f [out] **hitNormal_changed**
|
|
54
63
|
|
|
55
64
|
When pointing device selects geometry, send event containing surface normal vector at the hitPoint.
|
|
56
65
|
|
|
66
|
+
#### Warning
|
|
67
|
+
|
|
68
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
69
|
+
|
|
57
70
|
### SFVec3f [out] **hitPoint_changed**
|
|
58
71
|
|
|
59
72
|
When pointing device selects geometry, send event containing 3D point on surface of underlying geometry, as measured in reference frame for TouchSensor's local coordinate system.
|
|
60
73
|
|
|
74
|
+
#### Warning
|
|
75
|
+
|
|
76
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
77
|
+
|
|
61
78
|
### SFBool [out] **isOver**
|
|
62
79
|
|
|
63
|
-
Hover over geometry by aiming the mouse (or pointing device) to generate isOver events. Sensor sends output event isOver
|
|
80
|
+
Hover over geometry by aiming the mouse (or pointing device) to generate *isOver* events. Sensor sends output event *isOver*=true event when pointing device moves over sensor's geometry, and later sends output event *isOver*=false event when pointing device moves off.
|
|
81
|
+
|
|
82
|
+
#### Warning
|
|
83
|
+
|
|
84
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
64
85
|
|
|
65
86
|
### SFBool [out] **isActive**
|
|
66
87
|
|
|
67
|
-
Select geometry by activating the pointing device (
|
|
88
|
+
Select geometry by activating the pointing device (for example, clicking the mouse) to generate *isActive* events. Output event *isActive*=true is sent when pointing device selection is activated, output event *isActive*=false is sent when pointing device is deselected.
|
|
89
|
+
|
|
90
|
+
#### Warning
|
|
91
|
+
|
|
92
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
68
93
|
|
|
69
94
|
### SFTime [out] **touchTime**
|
|
70
95
|
|
|
@@ -72,16 +97,25 @@ Time event generated when sensor is touched by pointing device, and then deselec
|
|
|
72
97
|
|
|
73
98
|
#### Hint
|
|
74
99
|
|
|
75
|
-
-
|
|
100
|
+
- *touchTime* event is generated when following three conditions are all met: (a) pointing device was pointing towards geometry when initially activated (isActive=true), (b) pointing device is currently pointing towards the geometry (isOver=true), and (c) pointing device selection is deactivated/deselected by user (isActive=false event is also generated).
|
|
76
101
|
|
|
77
|
-
|
|
102
|
+
#### Warning
|
|
78
103
|
|
|
79
|
-
|
|
104
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
105
|
+
|
|
106
|
+
## Advisories
|
|
107
|
+
|
|
108
|
+
### Hints
|
|
80
109
|
|
|
81
110
|
- This sensor detects user interactions affecting peer nodes and their child geometry.
|
|
111
|
+
- [X3D Architecture 20.2.1 Overview of pointing device sensors](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/pointingDeviceSensor.html#OverviewOfPointingDeviceSensors){:target="_blank"}
|
|
112
|
+
- [X3D Architecture 20.2.3 Activating and manipulating pointing device sensors](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/pointingDeviceSensor.html#Activatingandmanipulating){:target="_blank"}
|
|
113
|
+
- [Example scenes and authoring assets](https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter08UserInteractivity){:target="_blank"}
|
|
114
|
+
|
|
115
|
+
## Example
|
|
116
|
+
|
|
117
|
+
<x3d-canvas src="https://create3000.github.io/media/examples/PointingDeviceSensor/TouchSensor/TouchSensor.x3d" update="auto"></x3d-canvas>
|
|
82
118
|
|
|
83
|
-
##
|
|
119
|
+
## See Also
|
|
84
120
|
|
|
85
|
-
- [X3D Specification of TouchSensor](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/pointingDeviceSensor.html#TouchSensor){:target="_blank"}
|
|
86
|
-
- [See X3D Specification 20.2.1 Overview of pointing device sensors](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/pointingDeviceSensor.html#OverviewOfPointingDeviceSensors){:target="_blank"}
|
|
87
|
-
- [See X3D Specification 20.2.3 Activating and manipulating pointing device sensors](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/pointingDeviceSensor.html#Activatingandmanipulating){:target="_blank"}
|
|
121
|
+
- [X3D Specification of TouchSensor node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/pointingDeviceSensor.html#TouchSensor){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: ClipPlane
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Rendering
|
|
5
5
|
categories: [components, Rendering]
|
|
6
6
|
tags: [ClipPlane, Rendering]
|
|
@@ -15,7 +15,7 @@ tags: [ClipPlane, Rendering]
|
|
|
15
15
|
|
|
16
16
|
ClipPlane specifies a single plane equation used to clip (i.e. cull or hide) displayed geometry. The plane field specifies a four-component plane equation that describes both inside and outside half space.
|
|
17
17
|
|
|
18
|
-
The ClipPlane node belongs to the **Rendering** component and its default container field is *children.* It is available
|
|
18
|
+
The ClipPlane node belongs to the **Rendering** component and its default container field is *children.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,7 +29,11 @@ The ClipPlane node belongs to the **Rendering** component and its default contai
|
|
|
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,31 +41,32 @@ Enables/disables node operation.
|
|
|
37
41
|
|
|
38
42
|
### SFVec4f [in, out] **plane** 0 1 0 0 <small>[0,1] or (-∞,∞)</small>
|
|
39
43
|
|
|
40
|
-
If (a,b,c,d) is the plane
|
|
44
|
+
If (a,b,c,d) is the *plane*, with the first three components being a normalized vector describing the *plane*'s normal direction (and thus the fourth component d being distance from the origin), a point (x,y,z) is visible to the user, with regards to the clipping *plane*, if a*x+b*y+c*z+d is greater than 0.
|
|
41
45
|
|
|
42
|
-
####
|
|
46
|
+
#### Hints
|
|
43
47
|
|
|
44
|
-
- Negate all plane values to reverse which side of plane has visibility clipped.
|
|
48
|
+
- Negate all *plane* values to reverse which side of *plane* has visibility clipped.
|
|
49
|
+
- [*plane*-geometry equations](https://en.wikipedia.org/wiki/Plane_(geometry)#Point-normal_form_and_general_form_of_the_equation_of_a_plane){:target="_blank"}
|
|
50
|
+
- [*plane*-geometry distance to point](https://en.wikipedia.org/wiki/Plane_(geometry)#Distance_from_a_point_to_a_plane){:target="_blank"}
|
|
45
51
|
|
|
46
52
|
#### Warning
|
|
47
53
|
|
|
48
|
-
- (a, b, c) value of (0, 0, 0) is forbidden since the zero vector has ambiguous direction and is thus degenerate, not defining a plane
|
|
54
|
+
- (a, b, c) value of (0, 0, 0) is forbidden since the zero vector has ambiguous direction and is thus degenerate, not defining a *plane*.
|
|
49
55
|
|
|
50
|
-
|
|
56
|
+
## Advisories
|
|
51
57
|
|
|
52
|
-
|
|
53
|
-
#Point-normal_form_and_general_form_of_the_equation_of_a_plane) [Plane-geometry distance to point](https://en.wikipedia.org/wiki/Plane_(geometry){:target="_blank"}#Distance_from_a_point_to_a_plane)
|
|
58
|
+
### Hint
|
|
54
59
|
|
|
55
|
-
|
|
60
|
+
- ClipPlane nodes only affect peer and descendant nodes, thus a parent grouping node can limit its effect.
|
|
56
61
|
|
|
57
|
-
###
|
|
62
|
+
### Warning
|
|
58
63
|
|
|
59
|
-
-
|
|
64
|
+
- [Requires X3D `profile='Full'` or else include `<component name='Rendering' level='5'/>` Examples: X3D Example Archives, Basic, CAD, Clip Plane Example](https://www.web3d.org/x3d/content/examples/Basic/CAD/ClipPlaneExampleIndex.html){:target="_blank"}
|
|
60
65
|
|
|
61
66
|
## Example
|
|
62
67
|
|
|
63
68
|
<x3d-canvas src="https://create3000.github.io/media/examples/Rendering/ClipPlane/ClipPlane.x3d" update="auto"></x3d-canvas>
|
|
64
69
|
|
|
65
|
-
##
|
|
70
|
+
## See Also
|
|
66
71
|
|
|
67
|
-
- [X3D Specification of ClipPlane](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rendering.html#ClipPlane){:target="_blank"}
|
|
72
|
+
- [X3D Specification of ClipPlane node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rendering.html#ClipPlane){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Color
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Rendering
|
|
5
5
|
categories: [components, Rendering]
|
|
6
6
|
tags: [Color, Rendering]
|
|
@@ -13,9 +13,9 @@ tags: [Color, Rendering]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
Color node defines a set of RGB color values that apply either to a sibling Coordinate
|
|
16
|
+
Color node defines a set of RGB color values that apply either to a sibling Coordinate or CoordinateDouble node, or else to a parent ElevationGrid node. Color is only used by ElevationGrid, IndexedFaceSet, IndexedLineSet, LineSet, PointSet, Triangle* and IndexedTriangle* nodes.
|
|
17
17
|
|
|
18
|
-
The Color node belongs to the **Rendering** component and its default container field is *color.* It is available
|
|
18
|
+
The Color node belongs to the **Rendering** component and its default container field is *color.* It is available from X3D version 2.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -30,27 +30,27 @@ The Color node belongs to the **Rendering** component and its default container
|
|
|
30
30
|
|
|
31
31
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
34
|
+
|
|
35
|
+
#### Hint
|
|
36
|
+
|
|
37
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
34
38
|
|
|
35
39
|
### MFColor [in, out] **color** [ ] <small>[0,1]</small>
|
|
36
40
|
|
|
37
|
-
The color field defines an array of 3-tuple RGB colors.
|
|
41
|
+
The *color* field defines an array of 3-tuple RGB colors.
|
|
38
42
|
|
|
39
|
-
##
|
|
43
|
+
## Advisories
|
|
40
44
|
|
|
41
|
-
###
|
|
45
|
+
### Hints
|
|
42
46
|
|
|
43
47
|
- Colors are often controlled by Material instead.
|
|
48
|
+
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
44
49
|
|
|
45
50
|
## Example
|
|
46
51
|
|
|
47
52
|
<x3d-canvas src="https://create3000.github.io/media/examples/Rendering/Color/Color.x3d" update="auto"></x3d-canvas>
|
|
48
53
|
|
|
49
|
-
|
|
54
|
+
## See Also
|
|
50
55
|
|
|
51
|
-
- [/
|
|
52
|
-
|
|
53
|
-
## External Links
|
|
54
|
-
|
|
55
|
-
- [X3D Specification of Color](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rendering.html#Color){:target="_blank"}
|
|
56
|
-
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
56
|
+
- [X3D Specification of Color node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rendering.html#Color){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: ColorRGBA
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Rendering
|
|
5
5
|
categories: [components, Rendering]
|
|
6
6
|
tags: [ColorRGBA, Rendering]
|
|
@@ -13,9 +13,9 @@ tags: [ColorRGBA, Rendering]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
ColorRGBA node defines a set of RGBA color values that apply either to a sibling Coordinate
|
|
16
|
+
ColorRGBA node defines a set of RGBA color values that apply either to a sibling Coordinate or CoordinateDouble node, or else to a parent ElevationGrid node. ColorRGBA is only used by ElevationGrid, IndexedFaceSet, IndexedLineSet, LineSet, PointSet, Triangle* and IndexedTriangle* nodes.
|
|
17
17
|
|
|
18
|
-
The ColorRGBA node belongs to the **Rendering** component and its default container field is *color.* It is available
|
|
18
|
+
The ColorRGBA node belongs to the **Rendering** component and its default container field is *color.* It is available from X3D version 3.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -30,22 +30,27 @@ The ColorRGBA node belongs to the **Rendering** component and its default contai
|
|
|
30
30
|
|
|
31
31
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
34
|
+
|
|
35
|
+
#### Hint
|
|
36
|
+
|
|
37
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
34
38
|
|
|
35
39
|
### MFColorRGBA [in, out] **color** [ ] <small>[0,1]</small>
|
|
36
40
|
|
|
37
|
-
The color field defines an array of 4-tuple RGBA colors.
|
|
41
|
+
The *color* field defines an array of 4-tuple RGBA colors.
|
|
38
42
|
|
|
39
43
|
#### Warning
|
|
40
44
|
|
|
41
45
|
- ColorRGBA requires Rendering component level 3 (alpha fully supported), Rendering component level 1 (alpha optional), otherwise Full profile.
|
|
42
46
|
|
|
43
|
-
##
|
|
47
|
+
## Advisories
|
|
44
48
|
|
|
45
49
|
### Hints
|
|
46
50
|
|
|
47
51
|
- Colors are often controlled by Material instead.
|
|
48
52
|
- Alpha channel may be ignored under Interchange profile.
|
|
53
|
+
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
49
54
|
|
|
50
55
|
### Warning
|
|
51
56
|
|
|
@@ -55,7 +60,6 @@ The color field defines an array of 4-tuple RGBA colors.
|
|
|
55
60
|
|
|
56
61
|
<x3d-canvas src="https://create3000.github.io/media/examples/Rendering/ColorRGBA/ColorRGBA.x3d" update="auto"></x3d-canvas>
|
|
57
62
|
|
|
58
|
-
##
|
|
63
|
+
## See Also
|
|
59
64
|
|
|
60
|
-
- [X3D Specification of ColorRGBA](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rendering.html#ColorRGBA){:target="_blank"}
|
|
61
|
-
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
65
|
+
- [X3D Specification of ColorRGBA node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rendering.html#ColorRGBA){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Coordinate
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Rendering
|
|
5
5
|
categories: [components, Rendering]
|
|
6
6
|
tags: [Coordinate, Rendering]
|
|
@@ -13,9 +13,9 @@ tags: [Coordinate, Rendering]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
Coordinate builds geometry by defining a set of 3D coordinate triplet values. Coordinate is used by IndexedFaceSet, IndexedLineSet, LineSet, PointSet, Triangle
|
|
16
|
+
Coordinate builds geometry by defining a set of 3D coordinate (triplet) point values. Coordinate is used by IndexedFaceSet, IndexedLineSet, LineSet, PointSet, Triangle* and IndexedTriangle* nodes. Coordinate is also used by HAnimHumanoid, HAnimSegment, and various Nurbs nodes.
|
|
17
17
|
|
|
18
|
-
The Coordinate node belongs to the **Rendering** component and its default container field is *coord.* It is available
|
|
18
|
+
The Coordinate node belongs to the **Rendering** component and its default container field is *coord.* It is available from X3D version 2.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -30,16 +30,20 @@ The Coordinate node belongs to the **Rendering** component and its default conta
|
|
|
30
30
|
|
|
31
31
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
34
|
+
|
|
35
|
+
#### Hint
|
|
36
|
+
|
|
37
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
34
38
|
|
|
35
39
|
### MFVec3f [in, out] **point** [ ] <small>(-∞,∞)</small>
|
|
36
40
|
|
|
37
|
-
*point* contains a set of 3D coordinate triplet values.
|
|
41
|
+
*point* contains a set of 3D coordinate (triplet) *point* values.
|
|
38
42
|
|
|
39
43
|
## Example
|
|
40
44
|
|
|
41
45
|
<x3d-canvas src="https://create3000.github.io/media/examples/Rendering/Coordinate/Coordinate.x3d" update="auto"></x3d-canvas>
|
|
42
46
|
|
|
43
|
-
##
|
|
47
|
+
## See Also
|
|
44
48
|
|
|
45
|
-
- [X3D Specification of Coordinate](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rendering.html#Coordinate){:target="_blank"}
|
|
49
|
+
- [X3D Specification of Coordinate node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rendering.html#Coordinate){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: IndexedLineSet
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Rendering
|
|
5
5
|
categories: [components, Rendering]
|
|
6
6
|
tags: [IndexedLineSet, Rendering]
|
|
@@ -13,9 +13,9 @@ tags: [IndexedLineSet, Rendering]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
IndexedLineSet
|
|
16
|
+
IndexedLineSet defines polyline segments using index lists corresponding to vertex coordinates. IndexedLineSet is a geometry node that can contain a Coordinate or CoordinateDouble node and optionally a Color or ColorRGBA node.
|
|
17
17
|
|
|
18
|
-
The IndexedLineSet node belongs to the **Rendering** component and its default container field is *geometry.* It is available
|
|
18
|
+
The IndexedLineSet node belongs to the **Rendering** component and its default container field is *geometry.* It is available from X3D version 2.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,55 +29,77 @@ The IndexedLineSet node belongs to the **Rendering** component and its default c
|
|
|
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
|
### MFInt32 [in] **set_colorIndex** <small>[0,∞) or -1</small>
|
|
35
39
|
|
|
36
|
-
*colorIndex* values define the order in which Color
|
|
40
|
+
*colorIndex* values define the order in which Color or ColorRGBA values are applied to polygons (or vertices).
|
|
37
41
|
|
|
38
42
|
#### Hints
|
|
39
43
|
|
|
40
|
-
- If *colorIndex* array is not provided, then Color
|
|
44
|
+
- If *colorIndex* array is not provided, then Color or ColorRGBA values are indexed according to the coordIndex field.
|
|
41
45
|
- If colorPerVertex='false' then one index is provided for each polygon defined by the coordIndex array. No sentinel -1 values are included.
|
|
42
|
-
- If colorPerVertex='true' then a matching set of indices is provided, each separated by sentinel -1, that exactly corresponds to individual
|
|
46
|
+
- If colorPerVertex='true' then a matching set of indices is provided, each separated by sentinel -1, that exactly corresponds to individual values in the coordIndex array polygon definitions.
|
|
47
|
+
|
|
48
|
+
#### Warning
|
|
49
|
+
|
|
50
|
+
- It is an error to define this transient inputOnly field in an X3D file, instead only use it a destination for ROUTE events.
|
|
43
51
|
|
|
44
52
|
### MFInt32 [in] **set_coordIndex** <small>[0,∞) or -1</small>
|
|
45
53
|
|
|
46
|
-
*coordIndex* indices provide the order in which coordinates are applied to construct each
|
|
54
|
+
*coordIndex* indices provide the order in which coordinates are applied to construct each polyline. Order starts at index 0, commas are optional between sets.
|
|
47
55
|
|
|
48
56
|
#### Hint
|
|
49
57
|
|
|
50
|
-
- Sentinel value -1 is used to separate indices for each successive
|
|
58
|
+
- Sentinel value -1 is used to separate indices for each successive polyline.
|
|
59
|
+
|
|
60
|
+
#### Warning
|
|
61
|
+
|
|
62
|
+
- It is an error to define this transient inputOnly field in an X3D file, instead only use it a destination for ROUTE events.
|
|
51
63
|
|
|
52
64
|
### SFBool [ ] **colorPerVertex** TRUE
|
|
53
65
|
|
|
54
|
-
Whether Color node color values are applied to each vertex (true) or per polyline (false).
|
|
66
|
+
Whether Color node color values are applied to each point vertex (true) or per polyline (false).
|
|
55
67
|
|
|
56
|
-
####
|
|
68
|
+
#### Hint
|
|
57
69
|
|
|
58
70
|
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
59
71
|
|
|
60
72
|
### MFInt32 [ ] **colorIndex** [ ] <small>[0,∞) or -1</small>
|
|
61
73
|
|
|
62
|
-
*colorIndex* values define the order in which Color
|
|
74
|
+
*colorIndex* values define the order in which Color or ColorRGBA values are applied to polygons (or vertices).
|
|
63
75
|
|
|
64
76
|
#### Hints
|
|
65
77
|
|
|
66
|
-
- If *colorIndex* array is not provided, then Color
|
|
78
|
+
- If *colorIndex* array is not provided, then Color or ColorRGBA values are indexed according to the coordIndex field.
|
|
67
79
|
- If colorPerVertex='false' then one index is provided for each polygon defined by the coordIndex array. No sentinel -1 values are included.
|
|
68
|
-
- If colorPerVertex='true' then a matching set of indices is provided, each separated by sentinel -1, that exactly corresponds to individual
|
|
80
|
+
- If colorPerVertex='true' then a matching set of indices is provided, each separated by sentinel -1, that exactly corresponds to individual values in the coordIndex array polygon definitions.
|
|
81
|
+
- If rendering Coordinate points originally defined for an IndexedFaceSet, index values may need to repeat initial each initial vertex to close the polygons.
|
|
82
|
+
|
|
83
|
+
#### Warning
|
|
84
|
+
|
|
85
|
+
- If child Color or ColorRGBA node is not provided, then geometry is rendered using corresponding Appearance and material/texture values.
|
|
69
86
|
|
|
70
87
|
### MFInt32 [ ] **coordIndex** [ ] <small>[0,∞) or -1</small>
|
|
71
88
|
|
|
72
89
|
*coordIndex* indices provide the order in which coordinates are applied to construct each polygon face. Order starts at index 0, commas are optional between sets, use -1 to separate indices for each polyline.
|
|
73
90
|
|
|
74
|
-
####
|
|
91
|
+
#### Hints
|
|
75
92
|
|
|
76
93
|
- If rendering Coordinate points originally defined for an IndexedFaceSet, index values may need to repeat initial each initial vertex to close the polygons.
|
|
94
|
+
- Sentinel value -1 is used to separate indices for each successive polyline.
|
|
95
|
+
|
|
96
|
+
#### Warning
|
|
97
|
+
|
|
98
|
+
- *coordIndex* is required in order to connect contained coordinate point values.
|
|
77
99
|
|
|
78
100
|
### MFNode [in, out] **attrib** [ ] <small>[X3DVertexAttributeNode]</small>
|
|
79
101
|
|
|
80
|
-
|
|
102
|
+
Single contained FloatVertexAttribute node that can specify list of per-vertex attribute information for programmable shaders.
|
|
81
103
|
|
|
82
104
|
#### Hint
|
|
83
105
|
|
|
@@ -89,7 +111,7 @@ Single contained FogCoordinate node that can specify depth parameters for fog in
|
|
|
89
111
|
|
|
90
112
|
### SFNode [in, out] **color** NULL <small>[X3DColorNode]</small>
|
|
91
113
|
|
|
92
|
-
Single contained Color or ColorRGBA node that can specify color values applied to corresponding vertices according to colorIndex and colorPerVertex fields.
|
|
114
|
+
Single contained Color or ColorRGBA node that can specify *color* values applied to corresponding vertices according to colorIndex and colorPerVertex fields.
|
|
93
115
|
|
|
94
116
|
### SFNode [in, out] **normal** NULL <small>[X3DNormalNode]</small>
|
|
95
117
|
|
|
@@ -99,24 +121,36 @@ Single contained Normal node that can specify perpendicular vectors for correspo
|
|
|
99
121
|
|
|
100
122
|
- Useful for special effects. Normal vector computation by 3D graphics hardware is quite fast so adding normals to a scene is typically unnecessary.
|
|
101
123
|
|
|
124
|
+
#### Warning
|
|
125
|
+
|
|
126
|
+
- *normal* vectors increase file size, typically doubling geometry definitions.
|
|
127
|
+
|
|
102
128
|
### SFNode [in, out] **coord** NULL <small>[X3DCoordinateNode]</small>
|
|
103
129
|
|
|
104
130
|
Single contained Coordinate or CoordinateDouble node that can specify a list of vertex values.
|
|
105
131
|
|
|
106
|
-
##
|
|
132
|
+
## Advisories
|
|
107
133
|
|
|
108
134
|
### Hints
|
|
109
135
|
|
|
110
|
-
-
|
|
111
|
-
-
|
|
136
|
+
- [Polygonal chain](https://en.wikipedia.org/wiki/Polygonal_chain){:target="_blank"}
|
|
137
|
+
- Either values in a contained Color node, or else Material emissiveColor in corresponding Appearance node, are used for rendering lines and points.
|
|
138
|
+
- Adding LineProperties to the corresponding Appearance node can modify the rendering style of these lines.
|
|
139
|
+
- If rendering Coordinate points originally defined for an IndexedFaceSet, index values may need to repeat each initial vertex to close each polygon outline.
|
|
140
|
+
- Step-wise variation or linear interpolation of color values can be used as a good scientific visualization technique to map arbitrary function values to a color map.
|
|
112
141
|
- Insert a Shape node before adding geometry or Appearance.
|
|
113
|
-
-
|
|
114
|
-
- Consider including Fog to provide further depth cueing for IndexedLineSet (ILS).
|
|
142
|
+
- For advanced extensibility, authors can substitute a type-matched ProtoInstance node (with correct containerField value) for contained node content.
|
|
143
|
+
- Consider including Fog (with Fog color matching Background color) to provide further depth cueing for IndexedLineSet (ILS).
|
|
144
|
+
|
|
145
|
+
### Warnings
|
|
146
|
+
|
|
147
|
+
- Lines are not lit, are not texture-mapped, and do not participate in collision detection.
|
|
148
|
+
- Use a different color (or Material emissiveColor) than the Background color, otherwise geometry is invisible.
|
|
115
149
|
|
|
116
150
|
## Example
|
|
117
151
|
|
|
118
152
|
<x3d-canvas src="https://create3000.github.io/media/examples/Rendering/IndexedLineSet/IndexedLineSet.x3d" update="auto"></x3d-canvas>
|
|
119
153
|
|
|
120
|
-
##
|
|
154
|
+
## See Also
|
|
121
155
|
|
|
122
|
-
- [X3D Specification of IndexedLineSet](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rendering.html#IndexedLineSet){:target="_blank"}
|
|
156
|
+
- [X3D Specification of IndexedLineSet node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/rendering.html#IndexedLineSet){:target="_blank"}
|