x_ite 8.8.7 → 8.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Makefile +6 -0
- package/README.md +3 -7
- package/build/docs/nodes.pl +434 -0
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +13 -13
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +26 -26
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +14 -14
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +19 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +129 -90
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +27 -27
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +24 -24
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +24 -24
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +18 -18
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +37 -37
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +24 -24
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +14 -14
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +30 -30
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +18 -18
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +9 -9
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +1320 -166
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +2 -2
- package/docs/_posts/components/CADGeometry/CADAssembly.md +45 -19
- package/docs/_posts/components/CADGeometry/CADFace.md +44 -18
- package/docs/_posts/components/CADGeometry/CADLayer.md +48 -19
- package/docs/_posts/components/CADGeometry/CADPart.md +54 -24
- package/docs/_posts/components/CADGeometry/IndexedQuadSet.md +55 -26
- package/docs/_posts/components/CADGeometry/QuadSet.md +52 -20
- package/docs/_posts/components/Core/MetadataBoolean.md +29 -18
- package/docs/_posts/components/Core/MetadataDouble.md +31 -16
- package/docs/_posts/components/Core/MetadataFloat.md +31 -16
- package/docs/_posts/components/Core/MetadataInteger.md +31 -16
- package/docs/_posts/components/Core/MetadataSet.md +30 -15
- package/docs/_posts/components/Core/MetadataString.md +31 -16
- package/docs/_posts/components/Core/WorldInfo.md +21 -10
- package/docs/_posts/components/CubeMapTexturing/ComposedCubeMapTexture.md +30 -25
- package/docs/_posts/components/CubeMapTexturing/GeneratedCubeMapTexture.md +19 -10
- package/docs/_posts/components/CubeMapTexturing/ImageCubeMapTexture.md +22 -18
- package/docs/_posts/components/DIS/DISEntityManager.md +40 -15
- package/docs/_posts/components/DIS/DISEntityTypeMapping.md +34 -25
- package/docs/_posts/components/DIS/EspduTransform.md +174 -41
- package/docs/_posts/components/DIS/ReceiverPdu.md +77 -27
- package/docs/_posts/components/DIS/SignalPdu.md +82 -28
- package/docs/_posts/components/DIS/TransmitterPdu.md +86 -36
- package/docs/_posts/components/EnvironmentalEffects/Background.md +80 -39
- package/docs/_posts/components/EnvironmentalEffects/Fog.md +39 -18
- package/docs/_posts/components/EnvironmentalEffects/FogCoordinate.md +10 -6
- package/docs/_posts/components/EnvironmentalEffects/LocalFog.md +21 -14
- package/docs/_posts/components/EnvironmentalEffects/TextureBackground.md +83 -31
- package/docs/_posts/components/EnvironmentalSensor/ProximitySensor.md +36 -8
- package/docs/_posts/components/EnvironmentalSensor/TransformSensor.md +31 -7
- package/docs/_posts/components/EnvironmentalSensor/VisibilitySensor.md +23 -7
- package/docs/_posts/components/EventUtilities/BooleanFilter.md +23 -10
- package/docs/_posts/components/EventUtilities/BooleanSequencer.md +46 -17
- package/docs/_posts/components/EventUtilities/BooleanToggle.md +29 -8
- package/docs/_posts/components/EventUtilities/BooleanTrigger.md +24 -7
- package/docs/_posts/components/EventUtilities/IntegerSequencer.md +46 -17
- package/docs/_posts/components/EventUtilities/IntegerTrigger.md +34 -9
- package/docs/_posts/components/EventUtilities/TimeTrigger.md +30 -9
- package/docs/_posts/components/Followers/ColorChaser.md +35 -11
- package/docs/_posts/components/Followers/ColorDamper.md +32 -12
- package/docs/_posts/components/Followers/CoordinateChaser.md +33 -9
- package/docs/_posts/components/Followers/CoordinateDamper.md +30 -10
- package/docs/_posts/components/Followers/OrientationChaser.md +34 -10
- package/docs/_posts/components/Followers/OrientationDamper.md +31 -11
- package/docs/_posts/components/Followers/PositionChaser.md +33 -9
- package/docs/_posts/components/Followers/PositionChaser2D.md +33 -9
- package/docs/_posts/components/Followers/PositionDamper.md +30 -10
- package/docs/_posts/components/Followers/PositionDamper2D.md +30 -10
- package/docs/_posts/components/Followers/ScalarChaser.md +33 -9
- package/docs/_posts/components/Followers/ScalarDamper.md +30 -10
- package/docs/_posts/components/Followers/TexCoordChaser2D.md +33 -9
- package/docs/_posts/components/Followers/TexCoordDamper2D.md +30 -10
- package/docs/_posts/components/Geometry2D/Arc2D.md +39 -14
- package/docs/_posts/components/Geometry2D/ArcClose2D.md +43 -19
- package/docs/_posts/components/Geometry2D/Circle2D.md +21 -10
- package/docs/_posts/components/Geometry2D/Disk2D.md +32 -14
- package/docs/_posts/components/Geometry2D/Polyline2D.md +24 -9
- package/docs/_posts/components/Geometry2D/Polypoint2D.md +16 -8
- package/docs/_posts/components/Geometry2D/Rectangle2D.md +23 -12
- package/docs/_posts/components/Geometry2D/TriangleSet2D.md +23 -12
- package/docs/_posts/components/Geometry3D/Box.md +26 -13
- package/docs/_posts/components/Geometry3D/Cone.md +30 -22
- package/docs/_posts/components/Geometry3D/Cylinder.md +30 -26
- package/docs/_posts/components/Geometry3D/ElevationGrid.md +73 -29
- package/docs/_posts/components/Geometry3D/Extrusion.md +100 -48
- package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +92 -38
- package/docs/_posts/components/Geometry3D/Sphere.md +25 -13
- package/docs/_posts/components/Geospatial/GeoCoordinate.md +30 -14
- package/docs/_posts/components/Geospatial/GeoElevationGrid.md +82 -37
- package/docs/_posts/components/Geospatial/GeoLOD.md +66 -27
- package/docs/_posts/components/Geospatial/GeoLocation.md +64 -26
- package/docs/_posts/components/Geospatial/GeoMetadata.md +28 -22
- package/docs/_posts/components/Geospatial/GeoOrigin.md +34 -19
- package/docs/_posts/components/Geospatial/GeoPositionInterpolator.md +64 -18
- package/docs/_posts/components/Geospatial/GeoProximitySensor.md +67 -18
- package/docs/_posts/components/Geospatial/GeoTouchSensor.md +63 -18
- package/docs/_posts/components/Geospatial/GeoTransform.md +72 -28
- package/docs/_posts/components/Geospatial/GeoViewpoint.md +79 -40
- package/docs/_posts/components/Grouping/Group.md +32 -16
- package/docs/_posts/components/Grouping/StaticGroup.md +37 -16
- package/docs/_posts/components/Grouping/Switch.md +39 -20
- package/docs/_posts/components/Grouping/Transform.md +45 -28
- package/docs/_posts/components/HAnim/HAnimDisplacer.md +38 -27
- package/docs/_posts/components/HAnim/HAnimHumanoid.md +215 -56
- package/docs/_posts/components/HAnim/HAnimJoint.md +104 -38
- package/docs/_posts/components/HAnim/HAnimMotion.md +120 -10
- package/docs/_posts/components/HAnim/HAnimSegment.md +72 -32
- package/docs/_posts/components/HAnim/HAnimSite.md +75 -32
- package/docs/_posts/components/Interpolation/ColorInterpolator.md +41 -11
- package/docs/_posts/components/Interpolation/CoordinateInterpolator.md +39 -13
- package/docs/_posts/components/Interpolation/CoordinateInterpolator2D.md +43 -14
- package/docs/_posts/components/Interpolation/EaseInEaseOut.md +36 -12
- package/docs/_posts/components/Interpolation/NormalInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/OrientationInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/PositionInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/PositionInterpolator2D.md +43 -14
- package/docs/_posts/components/Interpolation/ScalarInterpolator.md +39 -13
- package/docs/_posts/components/Interpolation/SplinePositionInterpolator.md +41 -16
- package/docs/_posts/components/Interpolation/SplinePositionInterpolator2D.md +41 -16
- package/docs/_posts/components/Interpolation/SplineScalarInterpolator.md +40 -24
- package/docs/_posts/components/Interpolation/SquadOrientationInterpolator.md +35 -11
- package/docs/_posts/components/KeyDeviceSensor/KeySensor.md +51 -9
- package/docs/_posts/components/KeyDeviceSensor/StringSensor.md +31 -9
- package/docs/_posts/components/Layering/Layer.md +27 -14
- package/docs/_posts/components/Layering/LayerSet.md +19 -13
- package/docs/_posts/components/Layering/Viewport.md +31 -15
- package/docs/_posts/components/Layout/Layout.md +27 -16
- package/docs/_posts/components/Layout/LayoutGroup.md +34 -18
- package/docs/_posts/components/Layout/LayoutLayer.md +28 -15
- package/docs/_posts/components/Layout/ScreenFontStyle.md +72 -45
- package/docs/_posts/components/Layout/ScreenGroup.md +32 -16
- package/docs/_posts/components/Lighting/DirectionalLight.md +19 -11
- package/docs/_posts/components/Lighting/EnvironmentLight.md +2 -6
- package/docs/_posts/components/Lighting/PointLight.md +23 -11
- package/docs/_posts/components/Lighting/SpotLight.md +32 -19
- package/docs/_posts/components/NURBS/Contour2D.md +17 -9
- package/docs/_posts/components/NURBS/ContourPolyline2D.md +10 -6
- package/docs/_posts/components/NURBS/CoordinateDouble.md +13 -9
- package/docs/_posts/components/NURBS/NurbsCurve.md +15 -11
- package/docs/_posts/components/NURBS/NurbsCurve2D.md +14 -10
- package/docs/_posts/components/NURBS/NurbsOrientationInterpolator.md +28 -12
- package/docs/_posts/components/NURBS/NurbsPatchSurface.md +19 -13
- package/docs/_posts/components/NURBS/NurbsPositionInterpolator.md +27 -11
- package/docs/_posts/components/NURBS/NurbsSet.md +48 -14
- package/docs/_posts/components/NURBS/NurbsSurfaceInterpolator.md +31 -11
- package/docs/_posts/components/NURBS/NurbsSweptSurface.md +31 -14
- package/docs/_posts/components/NURBS/NurbsSwungSurface.md +25 -14
- package/docs/_posts/components/NURBS/NurbsTextureCoordinate.md +11 -7
- package/docs/_posts/components/NURBS/NurbsTrimmedSurface.md +26 -16
- package/docs/_posts/components/Navigation/Billboard.md +33 -17
- package/docs/_posts/components/Navigation/Collision.md +59 -22
- package/docs/_posts/components/Navigation/LOD.md +53 -23
- package/docs/_posts/components/Navigation/NavigationInfo.md +68 -25
- package/docs/_posts/components/Navigation/OrthoViewpoint.md +80 -37
- package/docs/_posts/components/Navigation/Viewpoint.md +86 -39
- package/docs/_posts/components/Navigation/ViewpointGroup.md +28 -17
- package/docs/_posts/components/Networking/Anchor.md +54 -56
- package/docs/_posts/components/Networking/Inline.md +42 -29
- package/docs/_posts/components/Networking/LoadSensor.md +41 -9
- package/docs/_posts/components/ParticleSystems/BoundedPhysicsModel.md +16 -8
- package/docs/_posts/components/ParticleSystems/ConeEmitter.md +25 -10
- package/docs/_posts/components/ParticleSystems/ExplosionEmitter.md +18 -11
- package/docs/_posts/components/ParticleSystems/ForcePhysicsModel.md +15 -8
- package/docs/_posts/components/ParticleSystems/ParticleSystem.md +92 -46
- package/docs/_posts/components/ParticleSystems/PointEmitter.md +19 -12
- package/docs/_posts/components/ParticleSystems/PolylineEmitter.md +23 -15
- package/docs/_posts/components/ParticleSystems/SurfaceEmitter.md +21 -14
- package/docs/_posts/components/ParticleSystems/VolumeEmitter.md +25 -18
- package/docs/_posts/components/ParticleSystems/WindPhysicsModel.md +11 -7
- package/docs/_posts/components/Picking/LinePickSensor.md +37 -15
- package/docs/_posts/components/Picking/PickableGroup.md +40 -22
- package/docs/_posts/components/Picking/PointPickSensor.md +29 -12
- package/docs/_posts/components/Picking/PrimitivePickSensor.md +25 -17
- package/docs/_posts/components/Picking/VolumePickSensor.md +25 -12
- package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +43 -18
- package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +40 -17
- package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +35 -13
- package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +48 -14
- package/docs/_posts/components/Rendering/ClipPlane.md +20 -15
- package/docs/_posts/components/Rendering/Color.md +14 -14
- package/docs/_posts/components/Rendering/ColorRGBA.md +13 -9
- package/docs/_posts/components/Rendering/Coordinate.md +11 -7
- package/docs/_posts/components/Rendering/IndexedLineSet.md +58 -24
- package/docs/_posts/components/Rendering/IndexedTriangleFanSet.md +44 -23
- package/docs/_posts/components/Rendering/IndexedTriangleSet.md +45 -24
- package/docs/_posts/components/Rendering/IndexedTriangleStripSet.md +45 -20
- package/docs/_posts/components/Rendering/LineSet.md +26 -14
- package/docs/_posts/components/Rendering/Normal.md +28 -6
- package/docs/_posts/components/Rendering/PointSet.md +24 -11
- package/docs/_posts/components/Rendering/TriangleFanSet.md +44 -19
- package/docs/_posts/components/Rendering/TriangleSet.md +44 -19
- package/docs/_posts/components/Rendering/TriangleStripSet.md +45 -20
- package/docs/_posts/components/RigidBodyPhysics/BallJoint.md +22 -10
- package/docs/_posts/components/RigidBodyPhysics/CollidableOffset.md +37 -14
- package/docs/_posts/components/RigidBodyPhysics/CollidableShape.md +34 -16
- package/docs/_posts/components/RigidBodyPhysics/CollisionCollection.md +17 -12
- package/docs/_posts/components/RigidBodyPhysics/CollisionSensor.md +21 -12
- package/docs/_posts/components/RigidBodyPhysics/CollisionSpace.md +31 -12
- package/docs/_posts/components/RigidBodyPhysics/Contact.md +19 -15
- package/docs/_posts/components/RigidBodyPhysics/DoubleAxisHingeJoint.md +33 -27
- package/docs/_posts/components/RigidBodyPhysics/MotorJoint.md +63 -11
- package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +22 -12
- package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +30 -14
- package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +26 -14
- package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +24 -12
- package/docs/_posts/components/RigidBodyPhysics/UniversalJoint.md +23 -15
- package/docs/_posts/components/Scripting/Script.md +43 -27
- package/docs/_posts/components/Shaders/ComposedShader.md +30 -17
- package/docs/_posts/components/Shaders/FloatVertexAttribute.md +18 -9
- package/docs/_posts/components/Shaders/Matrix3VertexAttribute.md +17 -8
- package/docs/_posts/components/Shaders/Matrix4VertexAttribute.md +17 -8
- package/docs/_posts/components/Shaders/PackagedShader.md +36 -30
- package/docs/_posts/components/Shaders/ProgramShader.md +35 -15
- package/docs/_posts/components/Shaders/ShaderPart.md +27 -18
- package/docs/_posts/components/Shaders/ShaderProgram.md +28 -17
- package/docs/_posts/components/Shape/AcousticProperties.md +34 -6
- package/docs/_posts/components/Shape/Appearance.md +29 -22
- package/docs/_posts/components/Shape/FillProperties.md +19 -12
- package/docs/_posts/components/Shape/LineProperties.md +18 -10
- package/docs/_posts/components/Shape/Material.md +64 -38
- package/docs/_posts/components/Shape/PhysicalMaterial.md +49 -25
- package/docs/_posts/components/Shape/PointProperties.md +21 -14
- package/docs/_posts/components/Shape/Shape.md +35 -17
- package/docs/_posts/components/Shape/TwoSidedMaterial.md +35 -36
- package/docs/_posts/components/Shape/UnlitMaterial.md +29 -17
- package/docs/_posts/components/Sound/Analyser.md +133 -4
- package/docs/_posts/components/Sound/AudioClip.md +64 -30
- package/docs/_posts/components/Sound/AudioDestination.md +76 -4
- package/docs/_posts/components/Sound/BiquadFilter.md +143 -4
- package/docs/_posts/components/Sound/BufferAudioSource.md +165 -13
- package/docs/_posts/components/Sound/ChannelMerger.md +62 -4
- package/docs/_posts/components/Sound/ChannelSelector.md +64 -4
- package/docs/_posts/components/Sound/ChannelSplitter.md +68 -4
- package/docs/_posts/components/Sound/Convolver.md +124 -4
- package/docs/_posts/components/Sound/Delay.md +119 -4
- package/docs/_posts/components/Sound/DynamicsCompressor.md +127 -4
- package/docs/_posts/components/Sound/Gain.md +115 -4
- package/docs/_posts/components/Sound/ListenerPointSource.md +109 -4
- package/docs/_posts/components/Sound/MicrophoneSource.md +91 -4
- package/docs/_posts/components/Sound/OscillatorSource.md +95 -4
- package/docs/_posts/components/Sound/PeriodicWave.md +43 -5
- package/docs/_posts/components/Sound/Sound.md +53 -20
- package/docs/_posts/components/Sound/SpatialSound.md +120 -4
- package/docs/_posts/components/Sound/StreamAudioDestination.md +80 -4
- package/docs/_posts/components/Sound/StreamAudioSource.md +91 -4
- package/docs/_posts/components/Sound/WaveShaper.md +123 -4
- package/docs/_posts/components/Text/FontStyle.md +73 -47
- package/docs/_posts/components/Text/Text.md +48 -26
- package/docs/_posts/components/TextureProjector/TextureProjector.md +55 -6
- package/docs/_posts/components/TextureProjector/TextureProjectorParallel.md +56 -6
- package/docs/_posts/components/Texturing/ImageTexture.md +28 -20
- package/docs/_posts/components/Texturing/MovieTexture.md +69 -38
- package/docs/_posts/components/Texturing/MultiTexture.md +47 -19
- package/docs/_posts/components/Texturing/MultiTextureCoordinate.md +27 -10
- package/docs/_posts/components/Texturing/MultiTextureTransform.md +32 -10
- package/docs/_posts/components/Texturing/PixelTexture.md +34 -14
- package/docs/_posts/components/Texturing/TextureCoordinate.md +20 -10
- package/docs/_posts/components/Texturing/TextureCoordinateGenerator.md +22 -12
- package/docs/_posts/components/Texturing/TextureProperties.md +44 -19
- package/docs/_posts/components/Texturing/TextureTransform.md +17 -8
- package/docs/_posts/components/Texturing3D/ComposedTexture3D.md +21 -13
- package/docs/_posts/components/Texturing3D/ImageTexture3D.md +32 -23
- package/docs/_posts/components/Texturing3D/ImageTextureAtlas.md +22 -16
- package/docs/_posts/components/Texturing3D/PixelTexture3D.md +25 -13
- package/docs/_posts/components/Texturing3D/TextureCoordinate3D.md +22 -10
- package/docs/_posts/components/Texturing3D/TextureCoordinate4D.md +21 -9
- package/docs/_posts/components/Texturing3D/TextureTransform3D.md +17 -8
- package/docs/_posts/components/Texturing3D/TextureTransformMatrix3D.md +20 -10
- package/docs/_posts/components/Time/TimeSensor.md +66 -23
- package/docs/_posts/components/VolumeRendering/BlendedVolumeStyle.md +36 -15
- package/docs/_posts/components/VolumeRendering/BoundaryEnhancementVolumeStyle.md +15 -5
- package/docs/_posts/components/VolumeRendering/CartoonVolumeStyle.md +20 -17
- package/docs/_posts/components/VolumeRendering/ComposedVolumeStyle.md +15 -7
- package/docs/_posts/components/VolumeRendering/EdgeEnhancementVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/IsoSurfaceVolumeData.md +43 -21
- package/docs/_posts/components/VolumeRendering/OpacityMapVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/ProjectionVolumeStyle.md +17 -7
- package/docs/_posts/components/VolumeRendering/SegmentedVolumeData.md +50 -17
- package/docs/_posts/components/VolumeRendering/ShadedVolumeStyle.md +18 -10
- package/docs/_posts/components/VolumeRendering/SilhouetteEnhancementVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/ToneMappedVolumeStyle.md +20 -11
- package/docs/_posts/components/VolumeRendering/VolumeData.md +32 -15
- package/docs/_posts/components/X_ITE/BlendMode.md +9 -2
- package/docs/_posts/getting-started.md +4 -7
- package/docs/_posts/laboratory/x3d-file-converter.md +1 -1
- package/docs/laboratory/gltf-sample-viewer.html +52 -4
- package/package.json +2 -1
- package/src/standard/Math/Geometry/Box2.js +12 -2
- package/src/standard/Math/Geometry/Box3.js +12 -2
- package/src/x_ite/Base/X3DObjectArrayField.js +3 -2
- package/src/x_ite/Base/X3DTypedArrayField.js +3 -2
- package/src/x_ite/Browser/Core/X3DCoreContext.js +10 -3
- package/src/x_ite/Browser/DOMIntegration.js +13 -8
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +1 -1
- package/src/x_ite/Components/DIS/DISEntityManager.js +1 -1
- package/src/x_ite/Components/Grouping/Switch.js +1 -1
- package/src/x_ite/Components/HAnim/HAnimHumanoid.js +105 -68
- package/src/x_ite/Components/HAnim/HAnimMotion.js +3 -3
- package/src/x_ite/Components/Layering/X3DLayerNode.js +1 -1
- package/src/x_ite/Components/Lighting/DirectionalLight.js +1 -1
- package/src/x_ite/Components/Navigation/Collision.js +1 -1
- package/src/x_ite/Components/Navigation/LOD.js +1 -1
- package/src/x_ite/Components/Navigation/X3DViewpointNode.js +1 -1
- package/src/x_ite/Components/Networking/LoadSensor.js +1 -1
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +1 -1
- package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +1 -1
- package/src/x_ite/Components/Shape/AcousticProperties.js +1 -1
- package/src/x_ite/Components/Shape/Appearance.js +1 -1
- package/src/x_ite/Components/Shape/Material.js +1 -1
- package/src/x_ite/Components/Shape/TwoSidedMaterial.js +1 -1
- package/src/x_ite/Components/Sound/PeriodicWave.js +1 -1
- package/src/x_ite/Components/Texturing/TextureProperties.js +1 -1
- package/src/x_ite/Fields/ArrayFields.js +9 -7
- package/src/x_ite/Fields/SFColor.js +1 -1
- package/src/x_ite/Fields/SFMatrixPrototypeTemplate.js +1 -1
- package/src/x_ite/Fields/SFRotation.js +3 -3
- package/src/x_ite/Fields/SFVecPrototypeTemplate.js +1 -1
- package/src/x_ite/Parser/GLTF2Parser.js +316 -55
- package/src/x_ite/Parser/GoldenGate.js +16 -5
- package/src/x_ite/Parser/PLYAParser.js +615 -0
- package/src/x_ite/Parser/PLYBParser.js +222 -0
- package/src/x_ite/Parser/STLAParser.js +0 -1
- package/src/x_ite/Parser/SVGParser.js +1 -1
- /package/build/{bin → docs}/components.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: ArcClose2D
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Geometry2D
|
|
5
5
|
categories: [components, Geometry2D]
|
|
6
6
|
tags: [ArcClose2D, Geometry2D]
|
|
@@ -13,9 +13,9 @@ tags: [ArcClose2D, Geometry2D]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
ArcClose2D is a geometry node that defines a linear circular arc, closed by PIE or CHORD line segments, with center (0,0) in X-Y plane, with angles measured starting at positive x-axis and sweeping towards positive y-axis.
|
|
16
|
+
ArcClose2D is a polygonal geometry node that defines a linear circular arc, closed by PIE or CHORD line segments, with center (0,0) in X-Y plane, with angles measured starting at positive x-axis and sweeping towards positive y-axis.
|
|
17
17
|
|
|
18
|
-
The ArcClose2D node belongs to the **Geometry2D** component and its default container field is *geometry.* It is available
|
|
18
|
+
The ArcClose2D node belongs to the **Geometry2D** component and its default container field is *geometry.* It is available from X3D version 3.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,7 +29,11 @@ The ArcClose2D node belongs to the **Geometry2D** component and its default cont
|
|
|
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
|
### SFString [ ] **closureType** "PIE" <small>["PIE"|"CHORD"]</small>
|
|
35
39
|
|
|
@@ -41,51 +45,71 @@ Defines whether pair of line segments connect to center (PIE), or single line-se
|
|
|
41
45
|
|
|
42
46
|
### SFFloat [ ] **startAngle** 0 <small>[-2π,2π]</small>
|
|
43
47
|
|
|
44
|
-
Arc extends from startAngle counterclockwise to endAngle, in radians.
|
|
48
|
+
Arc extends from *startAngle* counterclockwise to endAngle, in radians.
|
|
49
|
+
|
|
50
|
+
#### Hints
|
|
51
|
+
|
|
52
|
+
- For size animation, modify the scale of a parent/ancestor Transform node instead.
|
|
53
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
45
54
|
|
|
46
55
|
#### Warning
|
|
47
56
|
|
|
48
|
-
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, for
|
|
57
|
+
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, avoiding the need for potentially expensive tessellation at run time.
|
|
49
58
|
|
|
50
59
|
### SFFloat [ ] **endAngle** π/2 <small>[-2π,2π]</small>
|
|
51
60
|
|
|
52
|
-
Arc extends from startAngle counterclockwise to endAngle
|
|
61
|
+
Arc extends from startAngle counterclockwise to *endAngle*, in radians.
|
|
62
|
+
|
|
63
|
+
#### Hints
|
|
64
|
+
|
|
65
|
+
- For size animation, modify the scale of a parent/ancestor Transform node instead.
|
|
66
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
53
67
|
|
|
54
68
|
#### Warning
|
|
55
69
|
|
|
56
|
-
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, for
|
|
70
|
+
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, avoiding the need for potentially expensive tessellation at run time.
|
|
57
71
|
|
|
58
72
|
### SFFloat [ ] **radius** 1 <small>(0,∞)</small>
|
|
59
73
|
|
|
60
|
-
Circle radius
|
|
74
|
+
Circle *radius*, of which the arc is a portion.
|
|
75
|
+
|
|
76
|
+
#### Hint
|
|
77
|
+
|
|
78
|
+
- For size animation, modify the scale of a parent/ancestor Transform node instead.
|
|
61
79
|
|
|
62
80
|
#### Warning
|
|
63
81
|
|
|
64
|
-
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, for
|
|
82
|
+
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, avoiding the need for potentially expensive tessellation at run time.
|
|
65
83
|
|
|
66
84
|
### SFBool [ ] **solid** FALSE
|
|
67
85
|
|
|
68
|
-
Setting solid true means draw only one side of polygons (backface culling on), setting solid false means draw both sides of polygons (backface culling off).
|
|
86
|
+
Setting *solid* true means draw only one side of polygons (backface culling on), setting *solid* false means draw both sides of polygons (backface culling off).
|
|
69
87
|
|
|
70
|
-
####
|
|
88
|
+
#### Hints
|
|
71
89
|
|
|
72
|
-
-
|
|
90
|
+
- Mnemonic "this geometry is *solid* like a brick" (you don't render the inside of a brick).
|
|
91
|
+
- If in doubt, use *solid*='false' for maximum visibility.
|
|
92
|
+
- (X3D version 4.0 draft) accessType relaxed to inputOutput in order to support animation and visualization.
|
|
73
93
|
|
|
74
94
|
#### Warnings
|
|
75
95
|
|
|
76
|
-
- Default value true can completely hide geometry if viewed from wrong side!
|
|
96
|
+
- Default value true can completely hide geometry if viewed from wrong side!
|
|
97
|
+
- *solid* false not supported in VRML97.
|
|
77
98
|
|
|
78
|
-
##
|
|
99
|
+
## Advisories
|
|
79
100
|
|
|
80
|
-
###
|
|
101
|
+
### Hint
|
|
81
102
|
|
|
82
103
|
- Insert a Shape node before adding geometry or Appearance.
|
|
83
|
-
|
|
104
|
+
|
|
105
|
+
### Warning
|
|
106
|
+
|
|
107
|
+
- [Requires X3D `profile='Full'` or else include `<component name='Geometry2D' level='2'/>` Examples: X3D Example Archives, X3D for Web Authors, Chapter 10 Geometry 2D](https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter10Geometry2D){:target="_blank"}
|
|
84
108
|
|
|
85
109
|
## Example
|
|
86
110
|
|
|
87
111
|
<x3d-canvas src="https://create3000.github.io/media/examples/Geometry2D/ArcClose2D/ArcClose2D.x3d" update="auto"></x3d-canvas>
|
|
88
112
|
|
|
89
|
-
##
|
|
113
|
+
## See Also
|
|
90
114
|
|
|
91
|
-
- [X3D Specification of ArcClose2D](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geometry2D.html#ArcClose2D){:target="_blank"}
|
|
115
|
+
- [X3D Specification of ArcClose2D node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geometry2D.html#ArcClose2D){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Circle2D
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Geometry2D
|
|
5
5
|
categories: [components, Geometry2D]
|
|
6
6
|
tags: [Circle2D, Geometry2D]
|
|
@@ -15,7 +15,7 @@ tags: [Circle2D, Geometry2D]
|
|
|
15
15
|
|
|
16
16
|
Circle2D is a geometry node that defines a linear X-Y circle with center (0,0) in X-Y plane.
|
|
17
17
|
|
|
18
|
-
The Circle2D node belongs to the **Geometry2D** component and its default container field is *geometry.* It is available
|
|
18
|
+
The Circle2D node belongs to the **Geometry2D** component and its default container field is *geometry.* It is available from X3D version 3.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,27 +29,38 @@ The Circle2D node belongs to the **Geometry2D** 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
|
### SFFloat [ ] **radius** 1 <small>(0,∞)</small>
|
|
35
39
|
|
|
36
|
-
Circle radius
|
|
40
|
+
Circle *radius*.
|
|
41
|
+
|
|
42
|
+
#### Hint
|
|
43
|
+
|
|
44
|
+
- For size animation, modify the scale of a parent/ancestor Transform node instead.
|
|
37
45
|
|
|
38
46
|
#### Warning
|
|
39
47
|
|
|
40
|
-
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, for
|
|
48
|
+
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, avoiding the need for potentially expensive tessellation at run time.
|
|
41
49
|
|
|
42
|
-
##
|
|
50
|
+
## Advisories
|
|
43
51
|
|
|
44
|
-
###
|
|
52
|
+
### Hint
|
|
45
53
|
|
|
46
54
|
- Insert a Shape node before adding geometry or Appearance.
|
|
47
|
-
|
|
55
|
+
|
|
56
|
+
### Warning
|
|
57
|
+
|
|
58
|
+
- [Requires X3D `profile='Full'` or else include `<component name='Geometry2D' level='2'/>` Examples: X3D Example Archives, X3D for Web Authors, Chapter 10 Geometry 2D](https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter10Geometry2D){:target="_blank"}
|
|
48
59
|
|
|
49
60
|
## Example
|
|
50
61
|
|
|
51
62
|
<x3d-canvas src="https://create3000.github.io/media/examples/Geometry2D/Circle2D/Circle2D.x3d" update="auto"></x3d-canvas>
|
|
52
63
|
|
|
53
|
-
##
|
|
64
|
+
## See Also
|
|
54
65
|
|
|
55
|
-
- [X3D Specification of Circle2D](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geometry2D.html#Circle2D){:target="_blank"}
|
|
66
|
+
- [X3D Specification of Circle2D node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geometry2D.html#Circle2D){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Disk2D
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Geometry2D
|
|
5
5
|
categories: [components, Geometry2D]
|
|
6
6
|
tags: [Disk2D, Geometry2D]
|
|
@@ -15,7 +15,7 @@ tags: [Disk2D, Geometry2D]
|
|
|
15
15
|
|
|
16
16
|
Disk2D is a geometry node that defines a filled (or partially filled) planar circle with center (0,0).
|
|
17
17
|
|
|
18
|
-
The Disk2D node belongs to the **Geometry2D** component and its default container field is *geometry.* It is available
|
|
18
|
+
The Disk2D node belongs to the **Geometry2D** component and its default container field is *geometry.* It is available from X3D version 3.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,47 +29,65 @@ The Disk2D node belongs to the **Geometry2D** component and its default containe
|
|
|
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
|
### SFFloat [ ] **innerRadius** 0 <small>[0,∞)</small>
|
|
35
39
|
|
|
36
40
|
Inner circle radius, greater than or equal to 0.
|
|
37
41
|
|
|
42
|
+
#### Hint
|
|
43
|
+
|
|
44
|
+
- For size animation, modify the scale of a parent/ancestor Transform node instead.
|
|
45
|
+
|
|
38
46
|
#### Warning
|
|
39
47
|
|
|
40
|
-
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, for
|
|
48
|
+
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, avoiding the need for potentially expensive tessellation at run time.
|
|
41
49
|
|
|
42
50
|
### SFFloat [ ] **outerRadius** 1 <small>(0,∞)</small>
|
|
43
51
|
|
|
44
52
|
Outer radius of circle, greater than or equal to inner radius.
|
|
45
53
|
|
|
54
|
+
#### Hint
|
|
55
|
+
|
|
56
|
+
- For size animation, modify the scale of a parent/ancestor Transform node instead.
|
|
57
|
+
|
|
46
58
|
#### Warning
|
|
47
59
|
|
|
48
|
-
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, for
|
|
60
|
+
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, avoiding the need for potentially expensive tessellation at run time.
|
|
49
61
|
|
|
50
62
|
### SFBool [ ] **solid** FALSE
|
|
51
63
|
|
|
52
|
-
Setting solid true means draw only one side of polygons (backface culling on), setting solid false means draw both sides of polygons (backface culling off).
|
|
64
|
+
Setting *solid* true means draw only one side of polygons (backface culling on), setting *solid* false means draw both sides of polygons (backface culling off).
|
|
53
65
|
|
|
54
|
-
####
|
|
66
|
+
#### Hints
|
|
55
67
|
|
|
56
|
-
-
|
|
68
|
+
- Mnemonic "this geometry is *solid* like a brick" (you don't render the inside of a brick).
|
|
69
|
+
- If in doubt, use *solid*='false' for maximum visibility.
|
|
70
|
+
- (X3D version 4.0 draft) accessType relaxed to inputOutput in order to support animation and visualization.
|
|
57
71
|
|
|
58
72
|
#### Warnings
|
|
59
73
|
|
|
60
|
-
- Default value true can completely hide geometry if viewed from wrong side!
|
|
74
|
+
- Default value true can completely hide geometry if viewed from wrong side!
|
|
75
|
+
- *solid* false not supported in VRML97.
|
|
61
76
|
|
|
62
|
-
##
|
|
77
|
+
## Advisories
|
|
63
78
|
|
|
64
|
-
###
|
|
79
|
+
### Hint
|
|
65
80
|
|
|
66
81
|
- Insert a Shape node before adding geometry or Appearance.
|
|
67
|
-
|
|
82
|
+
|
|
83
|
+
### Warning
|
|
84
|
+
|
|
85
|
+
- [Requires X3D `profile='Full'` or else include `<component name='Geometry2D' level='2'/>` Examples: X3D Example Archives, X3D for Web Authors, Chapter 10 Geometry 2D](https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter10Geometry2D){:target="_blank"}
|
|
68
86
|
|
|
69
87
|
## Example
|
|
70
88
|
|
|
71
89
|
<x3d-canvas src="https://create3000.github.io/media/examples/Geometry2D/Disk2D/Disk2D.x3d" update="auto"></x3d-canvas>
|
|
72
90
|
|
|
73
|
-
##
|
|
91
|
+
## See Also
|
|
74
92
|
|
|
75
|
-
- [X3D Specification of Disk2D](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geometry2D.html#Disk2D){:target="_blank"}
|
|
93
|
+
- [X3D Specification of Disk2D node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geometry2D.html#Disk2D){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Polyline2D
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Geometry2D
|
|
5
5
|
categories: [components, Geometry2D]
|
|
6
6
|
tags: [Polyline2D, Geometry2D]
|
|
@@ -15,7 +15,7 @@ tags: [Polyline2D, Geometry2D]
|
|
|
15
15
|
|
|
16
16
|
Polyline2D is a geometry node that defines a connected set of vertices in a contiguous set of line segments in X-Y plane.
|
|
17
17
|
|
|
18
|
-
The Polyline2D node belongs to the **Geometry2D** component and its default container field is *geometry.* It is available
|
|
18
|
+
The Polyline2D node belongs to the **Geometry2D** component and its default container field is *geometry.* It is available from X3D version 3.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,26 +29,41 @@ The Polyline2D node belongs to the **Geometry2D** component and its default cont
|
|
|
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
|
### MFVec2f [ ] **lineSegments** [ ] <small>(-∞,∞)</small>
|
|
35
39
|
|
|
36
40
|
Coordinates of vertices connected into contiguous Polyline2D.
|
|
37
41
|
|
|
42
|
+
#### Hint
|
|
43
|
+
|
|
44
|
+
- For size animation, modify the scale of a parent/ancestor Transform node instead.
|
|
45
|
+
|
|
38
46
|
#### Warning
|
|
39
47
|
|
|
40
|
-
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, for
|
|
48
|
+
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, avoiding the need for potentially expensive tessellation at run time.
|
|
49
|
+
|
|
50
|
+
## Advisories
|
|
51
|
+
|
|
52
|
+
### Hints
|
|
41
53
|
|
|
42
|
-
|
|
54
|
+
- Material emissiveColor in corresponding Appearance is used for rendering lines.
|
|
55
|
+
- Adding LineProperties to the corresponding Appearance node can modify the rendering style of these lines.
|
|
56
|
+
- [Insert a Shape node before adding geometry or Appearance. Examples: X3D Example Archives, X3D for Web Authors, Chapter 10 Geometry 2D](https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter10Geometry2D){:target="_blank"}
|
|
43
57
|
|
|
44
|
-
###
|
|
58
|
+
### Warnings
|
|
45
59
|
|
|
46
|
-
-
|
|
60
|
+
- Lines are not lit, are not texture-mapped, and do not participate in collision detection.
|
|
61
|
+
- Use a different Material emissiveColor than the Background color, otherwise geometry is invisible.
|
|
47
62
|
|
|
48
63
|
## Example
|
|
49
64
|
|
|
50
65
|
<x3d-canvas src="https://create3000.github.io/media/examples/Geometry2D/Polyline2D/Polyline2D.x3d" update="auto"></x3d-canvas>
|
|
51
66
|
|
|
52
|
-
##
|
|
67
|
+
## See Also
|
|
53
68
|
|
|
54
|
-
- [X3D Specification of Polyline2D](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geometry2D.html#Polyline2D){:target="_blank"}
|
|
69
|
+
- [X3D Specification of Polyline2D node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geometry2D.html#Polyline2D){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Polypoint2D
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Geometry2D
|
|
5
5
|
categories: [components, Geometry2D]
|
|
6
6
|
tags: [Polypoint2D, Geometry2D]
|
|
@@ -15,7 +15,7 @@ tags: [Polypoint2D, Geometry2D]
|
|
|
15
15
|
|
|
16
16
|
Polypoint2D is a geometry node that defines a set of 2D points in X-Y plane.
|
|
17
17
|
|
|
18
|
-
The Polypoint2D node belongs to the **Geometry2D** component and its default container field is *geometry.* It is available
|
|
18
|
+
The Polypoint2D node belongs to the **Geometry2D** component and its default container field is *geometry.* It is available from X3D version 3.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,26 +29,34 @@ The Polypoint2D node belongs to the **Geometry2D** component and its default con
|
|
|
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
|
### MFVec2f [in, out] **point** [ ] <small>(-∞,∞)</small>
|
|
35
39
|
|
|
36
40
|
2D coordinates of vertices.
|
|
37
41
|
|
|
42
|
+
#### Hint
|
|
43
|
+
|
|
44
|
+
- For size animation, modify the scale of a parent/ancestor Transform node instead.
|
|
45
|
+
|
|
38
46
|
#### Warning
|
|
39
47
|
|
|
40
|
-
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, for
|
|
48
|
+
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, avoiding the need for potentially expensive tessellation at run time.
|
|
41
49
|
|
|
42
|
-
##
|
|
50
|
+
## Advisories
|
|
43
51
|
|
|
44
52
|
### Hint
|
|
45
53
|
|
|
46
|
-
- Insert a Shape node before adding geometry or Appearance.
|
|
54
|
+
- [Insert a Shape node before adding geometry or Appearance. Examples: X3D Example Archives, X3D for Web Authors, Chapter 10 Geometry 2D](https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter10Geometry2D){:target="_blank"}
|
|
47
55
|
|
|
48
56
|
## Example
|
|
49
57
|
|
|
50
58
|
<x3d-canvas src="https://create3000.github.io/media/examples/Geometry2D/Polypoint2D/Polypoint2D.x3d" update="auto"></x3d-canvas>
|
|
51
59
|
|
|
52
|
-
##
|
|
60
|
+
## See Also
|
|
53
61
|
|
|
54
|
-
- [X3D Specification of Polypoint2D](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geometry2D.html#Polypoint2D){:target="_blank"}
|
|
62
|
+
- [X3D Specification of Polypoint2D node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geometry2D.html#Polypoint2D){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Rectangle2D
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Geometry2D
|
|
5
5
|
categories: [components, Geometry2D]
|
|
6
6
|
tags: [Rectangle2D, Geometry2D]
|
|
@@ -15,7 +15,7 @@ tags: [Rectangle2D, Geometry2D]
|
|
|
15
15
|
|
|
16
16
|
Rectangle2D is a geometry node that defines a 2D rectangle in X-Y plane.
|
|
17
17
|
|
|
18
|
-
The Rectangle2D node belongs to the **Geometry2D** component and its default container field is *geometry.* It is available
|
|
18
|
+
The Rectangle2D node belongs to the **Geometry2D** component and its default container field is *geometry.* It is available from X3D version 3.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,38 +29,49 @@ The Rectangle2D node belongs to the **Geometry2D** component and its default con
|
|
|
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
|
### SFVec2f [ ] **size** 2 2 <small>(0,∞)</small>
|
|
35
39
|
|
|
36
40
|
2D dimensions of Rectangle2D.
|
|
37
41
|
|
|
42
|
+
#### Hint
|
|
43
|
+
|
|
44
|
+
- For *size* animation, modify the scale of a parent/ancestor Transform node instead.
|
|
45
|
+
|
|
38
46
|
#### Warning
|
|
39
47
|
|
|
40
|
-
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, for
|
|
48
|
+
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, avoiding the need for potentially expensive tessellation at run time.
|
|
41
49
|
|
|
42
50
|
### SFBool [ ] **solid** FALSE
|
|
43
51
|
|
|
44
|
-
Setting solid true means draw only one side of polygons (backface culling on), setting solid false means draw both sides of polygons (backface culling off).
|
|
52
|
+
Setting *solid* true means draw only one side of polygons (backface culling on), setting *solid* false means draw both sides of polygons (backface culling off).
|
|
45
53
|
|
|
46
|
-
####
|
|
54
|
+
#### Hints
|
|
47
55
|
|
|
48
|
-
-
|
|
56
|
+
- Mnemonic "this geometry is *solid* like a brick" (you don't render the inside of a brick).
|
|
57
|
+
- If in doubt, use *solid*='false' for maximum visibility.
|
|
58
|
+
- (X3D version 4.0 draft) accessType relaxed to inputOutput in order to support animation and visualization.
|
|
49
59
|
|
|
50
60
|
#### Warnings
|
|
51
61
|
|
|
52
|
-
- Default value true can completely hide geometry if viewed from wrong side!
|
|
62
|
+
- Default value true can completely hide geometry if viewed from wrong side!
|
|
63
|
+
- *solid* false not supported in VRML97.
|
|
53
64
|
|
|
54
|
-
##
|
|
65
|
+
## Advisories
|
|
55
66
|
|
|
56
67
|
### Hint
|
|
57
68
|
|
|
58
|
-
- Insert a Shape node before adding geometry or Appearance.
|
|
69
|
+
- [Insert a Shape node before adding geometry or Appearance. Examples: X3D Example Archives, X3D for Web Authors, Chapter 10 Geometry 2D](https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter10Geometry2D){:target="_blank"}
|
|
59
70
|
|
|
60
71
|
## Example
|
|
61
72
|
|
|
62
73
|
<x3d-canvas src="https://create3000.github.io/media/examples/Geometry2D/Rectangle2D/Rectangle2D.x3d" update="auto"></x3d-canvas>
|
|
63
74
|
|
|
64
|
-
##
|
|
75
|
+
## See Also
|
|
65
76
|
|
|
66
|
-
- [X3D Specification of Rectangle2D](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geometry2D.html#Rectangle2D){:target="_blank"}
|
|
77
|
+
- [X3D Specification of Rectangle2D node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geometry2D.html#Rectangle2D){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: TriangleSet2D
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Geometry2D
|
|
5
5
|
categories: [components, Geometry2D]
|
|
6
6
|
tags: [TriangleSet2D, Geometry2D]
|
|
@@ -15,7 +15,7 @@ tags: [TriangleSet2D, Geometry2D]
|
|
|
15
15
|
|
|
16
16
|
TriangleSet2D is a geometry node that defines a set of filled 2D triangles in X-Y plane.
|
|
17
17
|
|
|
18
|
-
The TriangleSet2D node belongs to the **Geometry2D** component and its default container field is *geometry.* It is available
|
|
18
|
+
The TriangleSet2D node belongs to the **Geometry2D** component and its default container field is *geometry.* It is available from X3D version 3.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,29 +29,40 @@ The TriangleSet2D node belongs to the **Geometry2D** 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
|
### MFVec2f [in, out] **vertices** [ ] <small>(-∞,∞)</small>
|
|
35
39
|
|
|
36
|
-
2D coordinates of TriangleSet2D vertices
|
|
40
|
+
2D coordinates of TriangleSet2D *vertices*.
|
|
41
|
+
|
|
42
|
+
#### Hint
|
|
43
|
+
|
|
44
|
+
- For size animation, modify the scale of a parent/ancestor Transform node instead.
|
|
37
45
|
|
|
38
46
|
#### Warning
|
|
39
47
|
|
|
40
|
-
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, for
|
|
48
|
+
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, avoiding the need for potentially expensive tessellation at run time.
|
|
41
49
|
|
|
42
50
|
### SFBool [ ] **solid** FALSE
|
|
43
51
|
|
|
44
|
-
Setting solid true means draw only one side of polygons (backface culling on), setting solid false means draw both sides of polygons (backface culling off).
|
|
52
|
+
Setting *solid* true means draw only one side of polygons (backface culling on), setting *solid* false means draw both sides of polygons (backface culling off).
|
|
45
53
|
|
|
46
|
-
####
|
|
54
|
+
#### Hints
|
|
47
55
|
|
|
48
|
-
-
|
|
56
|
+
- Mnemonic "this geometry is *solid* like a brick" (you don't render the inside of a brick).
|
|
57
|
+
- If in doubt, use *solid*='false' for maximum visibility.
|
|
58
|
+
- (X3D version 4.0 draft) accessType relaxed to inputOutput in order to support animation and visualization.
|
|
49
59
|
|
|
50
60
|
#### Warnings
|
|
51
61
|
|
|
52
|
-
- Default value true can completely hide geometry if viewed from wrong side!
|
|
62
|
+
- Default value true can completely hide geometry if viewed from wrong side!
|
|
63
|
+
- *solid* false not supported in VRML97.
|
|
53
64
|
|
|
54
|
-
##
|
|
65
|
+
## Advisories
|
|
55
66
|
|
|
56
67
|
### Hint
|
|
57
68
|
|
|
@@ -61,6 +72,6 @@ Setting solid true means draw only one side of polygons (backface culling on), s
|
|
|
61
72
|
|
|
62
73
|
<x3d-canvas src="https://create3000.github.io/media/examples/Geometry2D/TriangleSet2D/TriangleSet2D.x3d" update="auto"></x3d-canvas>
|
|
63
74
|
|
|
64
|
-
##
|
|
75
|
+
## See Also
|
|
65
76
|
|
|
66
|
-
- [X3D Specification of TriangleSet2D](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geometry2D.html#TriangleSet2D){:target="_blank"}
|
|
77
|
+
- [X3D Specification of TriangleSet2D node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geometry2D.html#TriangleSet2D){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Box
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Geometry3D
|
|
5
5
|
categories: [components, Geometry3D]
|
|
6
6
|
tags: [Box, Geometry3D]
|
|
@@ -13,9 +13,9 @@ tags: [Box, Geometry3D]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
Box is a geometry node.
|
|
16
|
+
Box is a geometry node specifying a rectangular cuboid.
|
|
17
17
|
|
|
18
|
-
The Box node belongs to the **Geometry3D** component and its default container field is *geometry.* It is available
|
|
18
|
+
The Box node belongs to the **Geometry3D** 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,38 +29,51 @@ The Box node belongs to the **Geometry3D** component and its default container f
|
|
|
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
|
### SFVec3f [ ] **size** 2 2 2 <small>(0,∞)</small>
|
|
35
39
|
|
|
36
40
|
*size* x y z in meters.
|
|
37
41
|
|
|
42
|
+
#### Hint
|
|
43
|
+
|
|
44
|
+
- For *size* animation, modify the scale of a parent/ancestor Transform node instead.
|
|
45
|
+
|
|
38
46
|
#### Warning
|
|
39
47
|
|
|
40
|
-
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, for
|
|
48
|
+
- Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, avoiding the need for potentially expensive tessellation at run time.
|
|
41
49
|
|
|
42
50
|
### SFBool [ ] **solid** TRUE
|
|
43
51
|
|
|
44
|
-
Setting solid true means draw only one side of polygons (backface culling on), setting solid false means draw both sides of polygons (backface culling off).
|
|
52
|
+
Setting *solid* true means draw only one side of polygons (backface culling on), setting *solid* false means draw both sides of polygons (backface culling off).
|
|
45
53
|
|
|
46
|
-
####
|
|
54
|
+
#### Hints
|
|
47
55
|
|
|
48
|
-
-
|
|
56
|
+
- Mnemonic "this geometry is *solid* like a brick" (you don't render the inside of a brick).
|
|
57
|
+
- If in doubt, use *solid*='false' for maximum visibility.
|
|
58
|
+
- (X3D version 4.0 draft) accessType relaxed to inputOutput in order to support animation and visualization.
|
|
49
59
|
|
|
50
60
|
#### Warnings
|
|
51
61
|
|
|
52
|
-
- Default value true can completely hide geometry if viewed from wrong side!
|
|
62
|
+
- Default value true can completely hide geometry if viewed from wrong side!
|
|
63
|
+
- *solid* false not supported in VRML97.
|
|
53
64
|
|
|
54
|
-
##
|
|
65
|
+
## Advisories
|
|
55
66
|
|
|
56
|
-
###
|
|
67
|
+
### Hints
|
|
57
68
|
|
|
69
|
+
- [Cuboid](https://en.wikipedia.org/wiki/Cuboid){:target="_blank"}
|
|
70
|
+
- [Parallelepiped](https://en.wikipedia.org/wiki/Parallelepiped){:target="_blank"}
|
|
58
71
|
- Insert a Shape node before adding geometry or Appearance.
|
|
59
72
|
|
|
60
73
|
## Example
|
|
61
74
|
|
|
62
75
|
<x3d-canvas src="https://create3000.github.io/media/examples/Geometry3D/Box/Box.x3d" update="auto"></x3d-canvas>
|
|
63
76
|
|
|
64
|
-
##
|
|
77
|
+
## See Also
|
|
65
78
|
|
|
66
|
-
- [X3D Specification of Box](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geometry3D.html#Box){:target="_blank"}
|
|
79
|
+
- [X3D Specification of Box node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geometry3D.html#Box){:target="_blank"}
|