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: GeoViewpoint
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Geospatial
|
|
5
5
|
categories: [components, Geospatial]
|
|
6
6
|
tags: [GeoViewpoint, Geospatial]
|
|
@@ -15,7 +15,7 @@ tags: [GeoViewpoint, Geospatial]
|
|
|
15
15
|
|
|
16
16
|
GeoViewpoint specifies viewpoints using geographic coordinates. GeoViewpoint can contain a GeoOrigin node. Since GeoViewpoint must navigate smoothly inside a curved geographic coordinate system, it includes both Viewpoint and NavigationInfo attributes.
|
|
17
17
|
|
|
18
|
-
The GeoViewpoint node belongs to the **Geospatial** component and its default container field is *children.* It is available
|
|
18
|
+
The GeoViewpoint node belongs to the **Geospatial** component and its default container field is *children.* It is available from X3D version 3.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -31,41 +31,58 @@ The GeoViewpoint node belongs to the **Geospatial** component and its default co
|
|
|
31
31
|
|
|
32
32
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
35
|
+
|
|
36
|
+
#### Hint
|
|
37
|
+
|
|
38
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
35
39
|
|
|
36
40
|
### SFNode [ ] **geoOrigin** NULL <small>[GeoOrigin] (deprecated)</small>
|
|
37
41
|
|
|
38
|
-
|
|
42
|
+
Single contained GeoOrigin node that can specify a local coordinate frame for extended precision.
|
|
39
43
|
|
|
40
|
-
|
|
44
|
+
#### Hint
|
|
41
45
|
|
|
42
|
-
|
|
46
|
+
- [X3D Architecture 25.2.5 Dealing with high-precision coordinates](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/geospatial.html#high-precisioncoords){:target="_blank"}
|
|
43
47
|
|
|
44
48
|
#### Warning
|
|
45
49
|
|
|
46
|
-
-
|
|
50
|
+
- XML validation requires placement as first child node following contained metadata nodes (if any).
|
|
51
|
+
|
|
52
|
+
### MFString [ ] **geoSystem** [ "GD", "WE" ]
|
|
53
|
+
|
|
54
|
+
Identifies spatial reference frame: Geodetic (GD), Geocentric (GC), Universal Transverse Mercator (UTM). Supported values: "GD" "UTM" or "GC" followed by additional quoted string parameters as appropriate for the type.
|
|
47
55
|
|
|
48
|
-
####
|
|
56
|
+
#### Hints
|
|
49
57
|
|
|
50
|
-
- [
|
|
51
|
-
- [
|
|
58
|
+
- [X3D Architecture 25.2.2 Spatial reference frames](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/geospatial.html#Spatialreferenceframes){:target="_blank"}
|
|
59
|
+
- [X3D Architecture 25.2.4 Specifying geospatial coordinates](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/geospatial.html#Specifyinggeospatialcoords){:target="_blank"}
|
|
52
60
|
- [UTM is Universal Transverse Mercator coordinate system](https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system){:target="_blank"}
|
|
53
61
|
|
|
62
|
+
#### Warning
|
|
63
|
+
|
|
64
|
+
- Deprecated values are GDC (replaced by GD) and GCC (replaced by GC).
|
|
65
|
+
|
|
54
66
|
### SFBool [in] **set_bind**
|
|
55
67
|
|
|
56
|
-
*set_bind* true makes this node active, set_bind false makes this node inactive.
|
|
68
|
+
*set_bind* true makes this node active, *set_bind* false makes this node inactive.
|
|
69
|
+
|
|
70
|
+
#### Warning
|
|
71
|
+
|
|
72
|
+
- It is an error to define this transient inputOnly field in an X3D file, instead only use it a destination for ROUTE events.
|
|
57
73
|
|
|
58
74
|
### SFString [in, out] **description** ""
|
|
59
75
|
|
|
60
|
-
Author-provided
|
|
76
|
+
Author-provided prose that describes intended purpose of this node.
|
|
61
77
|
|
|
62
78
|
#### Hints
|
|
63
79
|
|
|
64
|
-
-
|
|
80
|
+
- Include space characters since a *description* is not a DEF identifier. Write short phrases that make descriptions clear and readable.
|
|
81
|
+
- 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).
|
|
65
82
|
|
|
66
83
|
### SFVec3d [in, out] **position** 0 0 100000 <small>(-∞,∞)</small>
|
|
67
84
|
|
|
68
|
-
*position* relative to local georeferenced coordinate system, in proper format
|
|
85
|
+
*position* relative to local georeferenced coordinate system, in proper format.
|
|
69
86
|
|
|
70
87
|
### SFRotation [in, out] **orientation** 0 0 1 0 <small>(-∞,∞) or -1 1</small>
|
|
71
88
|
|
|
@@ -73,7 +90,11 @@ Rotation of Viewpoint, relative to default -Z axis direction in local coordinate
|
|
|
73
90
|
|
|
74
91
|
#### Hint
|
|
75
92
|
|
|
76
|
-
- This is orientation
|
|
93
|
+
- This is *orientation* _change_ from default direction (0 0 -1) +Y axis is the up vector for the local area (the normal to the tangent plane on the ellipsoid), -Z points towards the north pole, and +X is east 1 0 0 -1.570796 always looks down.
|
|
94
|
+
|
|
95
|
+
#### Warning
|
|
96
|
+
|
|
97
|
+
- For VR/AR/MAR users wearing a head-mounted display (HMD), animating this field may induce motion sickness.
|
|
77
98
|
|
|
78
99
|
### SFVec3d [in, out] **centerOfRotation** 0 0 0 <small>(-∞,∞)</small>
|
|
79
100
|
|
|
@@ -81,35 +102,35 @@ Rotation of Viewpoint, relative to default -Z axis direction in local coordinate
|
|
|
81
102
|
|
|
82
103
|
### SFFloat [in, out] **fieldOfView** π/4 <small>(0,π)</small>
|
|
83
104
|
|
|
84
|
-
Preferred minimum viewing angle from this viewpoint in radians. Small field of view roughly corresponds to a telephoto lens, large field of view roughly corresponds to a wide-angle lens.
|
|
105
|
+
Preferred minimum viewing angle from this viewpoint in radians, providing minimum height or minimum width (whichever is smaller). Small field of view roughly corresponds to a telephoto lens, large field of view roughly corresponds to a wide-angle lens.
|
|
85
106
|
|
|
86
107
|
### SFFloat [in, out] **nearDistance** -1 <small>-1 or (0,∞)</small>
|
|
87
108
|
|
|
88
|
-
nearDistance defines minimum clipping plane distance necessary for object display.
|
|
109
|
+
*nearDistance* defines minimum clipping plane distance necessary for object display.
|
|
89
110
|
|
|
90
111
|
#### Hints
|
|
91
112
|
|
|
92
|
-
-
|
|
93
|
-
-
|
|
113
|
+
- Overrides bound NavigationInfo avatarSize value, if any.
|
|
114
|
+
- Default value -1 means no effect on currently defined view frustum boundaries.
|
|
94
115
|
- [Aliasing](https://en.wikipedia.org/wiki/Aliasing){:target="_blank"} and [Clipping](https://en.wikipedia.org/wiki/Clipping_(computer_graphics)){:target="_blank"}
|
|
95
116
|
|
|
96
|
-
####
|
|
117
|
+
#### Warning
|
|
97
118
|
|
|
98
|
-
- nearDistance must be less than farDistance.
|
|
119
|
+
- *nearDistance* must be less than farDistance.
|
|
99
120
|
|
|
100
121
|
### SFFloat [in, out] **farDistance** -1 <small>-1 or (0,∞)</small>
|
|
101
122
|
|
|
102
|
-
farDistance defines maximum clipping plane distance allowed for object display.
|
|
123
|
+
*farDistance* defines maximum clipping plane distance allowed for object display.
|
|
103
124
|
|
|
104
125
|
#### Hints
|
|
105
126
|
|
|
106
|
-
-
|
|
107
|
-
-
|
|
127
|
+
- Overrides bound NavigationInfo visibilityLimit value, if any.
|
|
128
|
+
- Default value -1 means no effect on currently defined view frustum boundaries.
|
|
108
129
|
- [Aliasing](https://en.wikipedia.org/wiki/Aliasing){:target="_blank"} and [Clipping](https://en.wikipedia.org/wiki/Clipping_(computer_graphics)){:target="_blank"}
|
|
109
130
|
|
|
110
|
-
####
|
|
131
|
+
#### Warning
|
|
111
132
|
|
|
112
|
-
-
|
|
133
|
+
- NearDistance must be less than *farDistance*.
|
|
113
134
|
|
|
114
135
|
### SFBool [in, out] **viewAll** FALSE
|
|
115
136
|
|
|
@@ -117,12 +138,12 @@ Viewpoint is automatically adjusted to view all visible geometry. Typically cent
|
|
|
117
138
|
|
|
118
139
|
#### Hints
|
|
119
140
|
|
|
120
|
-
-
|
|
121
|
-
-
|
|
141
|
+
- No collision detection or proximity sensing occurs when zooming.
|
|
142
|
+
- When the value of the *viewAll* field is changed from TRUE to FALSE, no change in the current view occurs.
|
|
122
143
|
|
|
123
144
|
#### Warning
|
|
124
145
|
|
|
125
|
-
-
|
|
146
|
+
- If needed, near and far clipping planes shall be adjusted to allow viewing the entire scene.
|
|
126
147
|
|
|
127
148
|
### SFBool [in, out] **jump** TRUE
|
|
128
149
|
|
|
@@ -130,7 +151,7 @@ Whether to transition instantly by jumping, or else smoothly animate to this Vie
|
|
|
130
151
|
|
|
131
152
|
### SFBool [in, out] **retainUserOffsets** FALSE
|
|
132
153
|
|
|
133
|
-
|
|
154
|
+
Retain (true) or reset to zero (false) any prior user navigation offsets from defined viewpoint position, orientation.
|
|
134
155
|
|
|
135
156
|
### SFFloat [ ] **speedFactor** 1 <small>[0,∞)</small>
|
|
136
157
|
|
|
@@ -138,38 +159,56 @@ Input/Output field retainUserOffsets.
|
|
|
138
159
|
|
|
139
160
|
#### Hint
|
|
140
161
|
|
|
141
|
-
-
|
|
162
|
+
- *speedFactor* is a relative value and not an absolute speed as defined by NavigationInfo.
|
|
142
163
|
|
|
143
164
|
### SFBool [out] **isBound**
|
|
144
165
|
|
|
145
|
-
|
|
166
|
+
Output event true gets sent when node becomes bound and activated, otherwise output event false gets sent when node becomes unbound and deactivated.
|
|
167
|
+
|
|
168
|
+
#### Warning
|
|
169
|
+
|
|
170
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
146
171
|
|
|
147
172
|
### SFTime [out] **bindTime**
|
|
148
173
|
|
|
149
|
-
Event sent when node becomes active/inactive.
|
|
174
|
+
Event sent reporting timestamp when node becomes active/inactive.
|
|
175
|
+
|
|
176
|
+
#### Warning
|
|
177
|
+
|
|
178
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
150
179
|
|
|
151
180
|
### SFNode [in, out] **navigationInfo** NULL <small>[NavigationInfo]</small>
|
|
152
181
|
|
|
153
|
-
The navigationInfo field defines a dedicated NavigationInfo node for this X3DViewpointNode. The specified NavigationInfo node receives a set_bind TRUE event at the time when the parent node is bound and receives a set_bind FALSE at the time when the parent node is unbound.
|
|
182
|
+
The *navigationInfo* field defines a dedicated NavigationInfo node for this X3DViewpointNode. The specified NavigationInfo node receives a set_bind TRUE event at the time when the parent node is bound and receives a set_bind FALSE at the time when the parent node is unbound.
|
|
154
183
|
|
|
155
184
|
#### Hint
|
|
156
185
|
|
|
157
186
|
- Allows simple integration of custom navigation associated with each Viewpoint according to user needs at that location.
|
|
158
187
|
|
|
159
|
-
##
|
|
188
|
+
## Advisories
|
|
160
189
|
|
|
161
|
-
###
|
|
190
|
+
### Hints
|
|
162
191
|
|
|
192
|
+
- Alternatively can use GeoLocation or GeoTransform as parent of a Viewpoint node to orient geospatial views.
|
|
163
193
|
- Include `<component name='Geospatial' level='1'/>`
|
|
194
|
+
- When a GeoViewpoint node is bound, it also overrides the currently bound NavigationInfo node in the scene and controls user navigation for smoother geospatial interaction.
|
|
195
|
+
- Background, Fog, GeoViewpoint, NavigationInfo, OrthoViewpoint, TextureBackground and Viewpoint are bindable nodes, meaning that no more than one of each node type can be active at a given time.
|
|
196
|
+
- GeoViewpoint OrthoViewpoint and Viewpoint share the same binding stack, so no more than one of these nodes can be bound and active at a given time.
|
|
197
|
+
- Regardless of viewpoint jump value at bind time, the relative viewing transformation between user's view and defined position/orientation is stored for later use when un-jumping (returning to the viewpoint when subsequent viewpoint is unbound).
|
|
198
|
+
- Customizable design pattern for dedicated Viewpoint/NavigationInfo pair: \<Viewpoint DEF='SpecialView'/\> \<NavigationInfo DEF='SpecialNav'/\> \<ROUTE fromNode='SpecialView' fromField='isBound' toNode='SpecialNav' toField='set_bind'/\>
|
|
199
|
+
- [X3D Scene Authoring Hints, Viewpoints](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Viewpoints){:target="_blank"}
|
|
164
200
|
|
|
165
|
-
###
|
|
201
|
+
### Warnings
|
|
166
202
|
|
|
167
|
-
-
|
|
203
|
+
- Results are undefined if a bindable node (Background, Fog, NavigationInfo, OrthoViewpoint, TextureBackground, Viewpoint) is a contained descendant node of either LOD or Switch. Avoid this authoring pattern.
|
|
204
|
+
- Do not include GeoViewpoint OrthoViewpoint or Viewpoint as a child of LOD or Switch, instead use ViewpointGroup as parent to constrain location proximity where the viewpoint is available to user.
|
|
205
|
+
- GeoViewpoint navType and headlight fields were removed as part of X3D version 3.3, authors can instead use a NavigationInfo node for those fields in prior X3D versions 3.0, 3.1 or 3.2. Upgrading such legacy scenes to version 3.3 or greater is preferred and recommended.
|
|
206
|
+
- Avoid having GeoLocation or GeoTransform as a parent or ancestor node of GeoViewpoint, since multiple geospatial transformations then occur with unpredictable results.
|
|
168
207
|
|
|
169
208
|
## Example
|
|
170
209
|
|
|
171
210
|
<x3d-canvas src="https://create3000.github.io/media/examples/Geospatial/GeoViewpoint/GeoViewpoint.x3d" update="auto"></x3d-canvas>
|
|
172
211
|
|
|
173
|
-
##
|
|
212
|
+
## See Also
|
|
174
213
|
|
|
175
|
-
- [X3D Specification of GeoViewpoint](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geospatial.html#GeoViewpoint){:target="_blank"}
|
|
214
|
+
- [X3D Specification of GeoViewpoint node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/geospatial.html#GeoViewpoint){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Group
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Grouping
|
|
5
5
|
categories: [components, Grouping]
|
|
6
6
|
tags: [Group, Grouping]
|
|
@@ -15,7 +15,7 @@ tags: [Group, Grouping]
|
|
|
15
15
|
|
|
16
16
|
Group is a Grouping node that can contain most nodes.
|
|
17
17
|
|
|
18
|
-
The Group node belongs to the **Grouping** component and its default container field is *children.* It is available
|
|
18
|
+
The Group node belongs to the **Grouping** 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
|
|
|
@@ -30,16 +30,20 @@ The Group node belongs to the **Grouping** component and its default container f
|
|
|
30
30
|
|
|
31
31
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
34
|
+
|
|
35
|
+
#### Hint
|
|
36
|
+
|
|
37
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
34
38
|
|
|
35
39
|
### SFBool [in, out] **visible** TRUE
|
|
36
40
|
|
|
37
41
|
Whether or not renderable content within this node is visually displayed.
|
|
38
42
|
|
|
39
|
-
####
|
|
43
|
+
#### Hints
|
|
40
44
|
|
|
41
|
-
- The visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
42
|
-
- Content must be visible to be collidable and to be pickable.
|
|
45
|
+
- The *visible* field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
46
|
+
- Content must be *visible* to be collidable and to be pickable.
|
|
43
47
|
|
|
44
48
|
### SFBool [in, out] **bboxDisplay** FALSE
|
|
45
49
|
|
|
@@ -53,31 +57,43 @@ Whether to display bounding box for associated geometry, aligned with world coor
|
|
|
53
57
|
|
|
54
58
|
Bounding box size is usually omitted, and can easily be calculated automatically by an X3D player at scene-loading time with minimal computational cost. Bounding box size can also be defined as an optional authoring hint that suggests an optimization or constraint.
|
|
55
59
|
|
|
56
|
-
####
|
|
60
|
+
#### Hints
|
|
57
61
|
|
|
58
62
|
- Can be useful for collision computations or inverse-kinematics (IK) engines.
|
|
63
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
64
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
65
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
59
66
|
|
|
60
67
|
### SFVec3f [ ] **bboxCenter** 0 0 0 <small>(-∞,∞)</small>
|
|
61
68
|
|
|
62
|
-
Bounding box center
|
|
69
|
+
Bounding box center accompanies bboxSize and provides an optional hint for bounding box position offset from origin of local coordinate system.
|
|
70
|
+
|
|
71
|
+
#### Hints
|
|
72
|
+
|
|
73
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
74
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
75
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
63
76
|
|
|
64
77
|
### MFNode [in] **addChildren**
|
|
65
78
|
|
|
66
|
-
Input field addChildren
|
|
79
|
+
Input field *addChildren*.
|
|
67
80
|
|
|
68
81
|
### MFNode [in] **removeChildren**
|
|
69
82
|
|
|
70
|
-
Input field removeChildren
|
|
83
|
+
Input field *removeChildren*.
|
|
71
84
|
|
|
72
85
|
### MFNode [in, out] **children** [ ] <small>[X3DChildNode]</small>
|
|
73
86
|
|
|
74
|
-
Grouping nodes contain
|
|
87
|
+
Grouping nodes contain an ordered list of *children* nodes.
|
|
75
88
|
|
|
76
|
-
####
|
|
89
|
+
#### Hints
|
|
77
90
|
|
|
78
|
-
- Each grouping node defines a coordinate space for its children
|
|
91
|
+
- Each grouping node defines a coordinate space for its *children*, relative to the coordinate space of its parent node. Thus transformations accumulate down the scene graph hierarchy.
|
|
92
|
+
- InputOnly MFNode addChildren field can append new X3DChildNode nodes via a ROUTE connection, duplicate input nodes (i.e. matching DEF, USE values) are ignored.
|
|
93
|
+
- InputOnly MFNode removeChildren field can remove nodes from the *children* list, unrecognized input nodes (i.e. nonmatching DEF, USE values) are ignored.
|
|
94
|
+
- [X3D Architecture 10.2.1 Grouping and *children* node types](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#GroupingAndChildrenNodes){:target="_blank"}
|
|
79
95
|
|
|
80
|
-
##
|
|
96
|
+
## Advisories
|
|
81
97
|
|
|
82
98
|
### Hint
|
|
83
99
|
|
|
@@ -87,6 +103,6 @@ Grouping nodes contain a list of children nodes.
|
|
|
87
103
|
|
|
88
104
|
<x3d-canvas src="https://create3000.github.io/media/examples/Grouping/Group/Group.x3d" update="auto"></x3d-canvas>
|
|
89
105
|
|
|
90
|
-
##
|
|
106
|
+
## See Also
|
|
91
107
|
|
|
92
|
-
- [X3D Specification of Group](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/grouping.html#Group){:target="_blank"}
|
|
108
|
+
- [X3D Specification of Group node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/grouping.html#Group){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: StaticGroup
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Grouping
|
|
5
5
|
categories: [components, Grouping]
|
|
6
6
|
tags: [StaticGroup, Grouping]
|
|
@@ -15,7 +15,7 @@ tags: [StaticGroup, Grouping]
|
|
|
15
15
|
|
|
16
16
|
StaticGroup is a Grouping node that can contain most nodes. StaticGroup children are guaranteed to not change, send events, receive events, or include re-USE-able content. This allows browser optimizations of contained-node content.
|
|
17
17
|
|
|
18
|
-
The StaticGroup node belongs to the **Grouping** component and its default container field is *children.* It is available
|
|
18
|
+
The StaticGroup node belongs to the **Grouping** component and its default container field is *children.* It is available from X3D version 3.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -31,16 +31,20 @@ The StaticGroup node belongs to the **Grouping** component and its default conta
|
|
|
31
31
|
|
|
32
32
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
35
|
+
|
|
36
|
+
#### Hint
|
|
37
|
+
|
|
38
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
35
39
|
|
|
36
40
|
### SFBool [in, out] **visible** TRUE
|
|
37
41
|
|
|
38
42
|
Whether or not renderable content within this node is visually displayed.
|
|
39
43
|
|
|
40
|
-
####
|
|
44
|
+
#### Hints
|
|
41
45
|
|
|
42
|
-
- The visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
43
|
-
- Content must be visible to be collidable and to be pickable.
|
|
46
|
+
- The *visible* field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
47
|
+
- Content must be *visible* to be collidable and to be pickable.
|
|
44
48
|
|
|
45
49
|
### SFBool [in, out] **bboxDisplay** FALSE
|
|
46
50
|
|
|
@@ -54,29 +58,46 @@ Whether to display bounding box for associated geometry, aligned with world coor
|
|
|
54
58
|
|
|
55
59
|
Bounding box size is usually omitted, and can easily be calculated automatically by an X3D player at scene-loading time with minimal computational cost. Bounding box size can also be defined as an optional authoring hint that suggests an optimization or constraint.
|
|
56
60
|
|
|
57
|
-
####
|
|
61
|
+
#### Hints
|
|
58
62
|
|
|
59
63
|
- Can be useful for collision computations or inverse-kinematics (IK) engines.
|
|
64
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
65
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
66
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
60
67
|
|
|
61
68
|
### SFVec3f [ ] **bboxCenter** 0 0 0 <small>(-∞,∞)</small>
|
|
62
69
|
|
|
63
|
-
Bounding box center
|
|
70
|
+
Bounding box center accompanies bboxSize and provides an optional hint for bounding box position offset from origin of local coordinate system.
|
|
71
|
+
|
|
72
|
+
#### Hints
|
|
73
|
+
|
|
74
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
75
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
76
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
64
77
|
|
|
65
78
|
### MFNode [ ] **children** [ ] <small>[X3DChildNode]</small>
|
|
66
79
|
|
|
67
|
-
Grouping nodes contain
|
|
80
|
+
Grouping nodes contain an ordered list of *children* nodes.
|
|
68
81
|
|
|
69
|
-
####
|
|
82
|
+
#### Hints
|
|
83
|
+
|
|
84
|
+
- Each grouping node defines a coordinate space for its *children*, relative to the coordinate space of its parent node. Thus transformations accumulate down the scene graph hierarchy.
|
|
85
|
+
- InputOnly MFNode addChildren field can append new X3DChildNode nodes via a ROUTE connection, duplicate input nodes (i.e. matching DEF, USE values) are ignored.
|
|
70
86
|
|
|
71
|
-
|
|
87
|
+
#### Warning
|
|
72
88
|
|
|
73
|
-
|
|
89
|
+
- StaticGroup does not support inputOnly MFNode fields addChildren or removeChildren.
|
|
74
90
|
|
|
75
|
-
|
|
91
|
+
## Advisories
|
|
92
|
+
|
|
93
|
+
### Hint
|
|
76
94
|
|
|
77
95
|
- Insert a Shape node before adding geometry or Appearance.
|
|
78
|
-
- Include `<component name='Grouping' level='3'/>`
|
|
79
96
|
|
|
80
|
-
|
|
97
|
+
### Warning
|
|
98
|
+
|
|
99
|
+
- Requires X3D `profile='Full'` or else include `<component name='Grouping' level='3'/>`
|
|
100
|
+
|
|
101
|
+
## See Also
|
|
81
102
|
|
|
82
|
-
- [X3D Specification of StaticGroup](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/grouping.html#StaticGroup){:target="_blank"}
|
|
103
|
+
- [X3D Specification of StaticGroup node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/grouping.html#StaticGroup){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Switch
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Grouping
|
|
5
5
|
categories: [components, Grouping]
|
|
6
6
|
tags: [Switch, Grouping]
|
|
@@ -13,9 +13,9 @@ tags: [Switch, Grouping]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
Switch is a Grouping node that only renders one (or zero) child at a time. Switch can contain most nodes. (Contained nodes are now called 'children' rather than 'choice', for consistent naming among all GroupingNodeType nodes.) All child choices continue to receive
|
|
16
|
+
Switch is a Grouping node that only renders one (or zero) child at a time. Switch can contain most nodes. (Contained nodes are now called 'children' rather than 'choice', for consistent naming among all GroupingNodeType nodes.) All child choices continue to receive and send events regardless of whichChoice is active.
|
|
17
17
|
|
|
18
|
-
The Switch node belongs to the **Grouping** component and its default container field is *children.* It is available
|
|
18
|
+
The Switch node belongs to the **Grouping** 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
|
|
|
@@ -30,7 +30,11 @@ The Switch node belongs to the **Grouping** 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
|
### SFInt32 [in, out] **whichChoice** -1 <small>[-1,∞)</small>
|
|
36
40
|
|
|
@@ -38,16 +42,16 @@ Index of active child choice, counting from 0.
|
|
|
38
42
|
|
|
39
43
|
#### Warning
|
|
40
44
|
|
|
41
|
-
- Default whichChoice
|
|
45
|
+
- Default value *whichChoice*= -1 means no selection (and no rendering), *whichChoice*=0 means initial child, *whichChoice*=1 means second child, etc.
|
|
42
46
|
|
|
43
47
|
### SFBool [in, out] **visible** TRUE
|
|
44
48
|
|
|
45
49
|
Whether or not renderable content within this node is visually displayed.
|
|
46
50
|
|
|
47
|
-
####
|
|
51
|
+
#### Hints
|
|
48
52
|
|
|
49
|
-
- The visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
50
|
-
- Content must be visible to be collidable and to be pickable.
|
|
53
|
+
- The *visible* field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
54
|
+
- Content must be *visible* to be collidable and to be pickable.
|
|
51
55
|
|
|
52
56
|
### SFBool [in, out] **bboxDisplay** FALSE
|
|
53
57
|
|
|
@@ -61,46 +65,61 @@ Whether to display bounding box for associated geometry, aligned with world coor
|
|
|
61
65
|
|
|
62
66
|
Bounding box size is usually omitted, and can easily be calculated automatically by an X3D player at scene-loading time with minimal computational cost. Bounding box size can also be defined as an optional authoring hint that suggests an optimization or constraint.
|
|
63
67
|
|
|
64
|
-
####
|
|
68
|
+
#### Hints
|
|
65
69
|
|
|
66
70
|
- Can be useful for collision computations or inverse-kinematics (IK) engines.
|
|
71
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
72
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
73
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
67
74
|
|
|
68
75
|
### SFVec3f [ ] **bboxCenter** 0 0 0 <small>(-∞,∞)</small>
|
|
69
76
|
|
|
70
|
-
Bounding box center
|
|
77
|
+
Bounding box center accompanies bboxSize and provides an optional hint for bounding box position offset from origin of local coordinate system.
|
|
78
|
+
|
|
79
|
+
#### Hints
|
|
80
|
+
|
|
81
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
82
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
83
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
71
84
|
|
|
72
85
|
### MFNode [in] **addChildren**
|
|
73
86
|
|
|
74
|
-
Input field addChildren
|
|
87
|
+
Input field *addChildren*.
|
|
75
88
|
|
|
76
89
|
### MFNode [in] **removeChildren**
|
|
77
90
|
|
|
78
|
-
Input field removeChildren
|
|
91
|
+
Input field *removeChildren*.
|
|
79
92
|
|
|
80
93
|
### MFNode [in, out] **children** [ ] <small>[X3DChildNode]</small>
|
|
81
94
|
|
|
82
|
-
Grouping nodes contain
|
|
95
|
+
Grouping nodes contain an ordered list of *children* nodes.
|
|
83
96
|
|
|
84
|
-
####
|
|
97
|
+
#### Hints
|
|
85
98
|
|
|
86
|
-
- Each grouping node defines a coordinate space for its children
|
|
99
|
+
- Each grouping node defines a coordinate space for its *children*, relative to the coordinate space of its parent node. Thus transformations accumulate down the scene graph hierarchy.
|
|
100
|
+
- InputOnly MFNode addChildren field can append new X3DChildNode nodes via a ROUTE connection, duplicate input nodes (i.e. matching DEF, USE values) are ignored.
|
|
101
|
+
- InputOnly MFNode removeChildren field can remove nodes from the *children* list, unrecognized input nodes (i.e. nonmatching DEF, USE values) are ignored.
|
|
102
|
+
- [X3D Architecture 10.2.1 Grouping and *children* node types](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#GroupingAndChildrenNodes){:target="_blank"}
|
|
87
103
|
|
|
88
|
-
##
|
|
104
|
+
## Advisories
|
|
89
105
|
|
|
90
106
|
### Hints
|
|
91
107
|
|
|
92
108
|
- Insert a Shape node before adding geometry or Appearance.
|
|
93
109
|
- Authors can temporarily hide test geometry under an unselected child of a Switch. This is a good alternative to "commenting out" nodes.
|
|
110
|
+
- GeoViewpoint OrthoViewpoint and Viewpoint share the same binding stack, so no more than one of these nodes can be bound and active at a given time.
|
|
111
|
+
- Contained nodes must have type X3DChildNode, such as Group or Transform or Shape.
|
|
94
112
|
|
|
95
113
|
### Warnings
|
|
96
114
|
|
|
97
|
-
- Do not include
|
|
98
|
-
- Results are undefined if a bindable node (
|
|
115
|
+
- Do not include GeoViewpoint OrthoViewpoint or Viewpoint as a child of LOD or Switch, instead use ViewpointGroup as parent to constrain location proximity where the viewpoint is available to user.
|
|
116
|
+
- Results are undefined if a bindable node (Background, Fog, NavigationInfo, OrthoViewpoint, TextureBackground, Viewpoint) is a contained descendant node of either LOD or Switch. Avoid this authoring pattern.
|
|
117
|
+
- Switch is not allowed as parent of Appearance, Material, Color, Coordinate, Normal or Texture nodes.
|
|
99
118
|
|
|
100
119
|
## Example
|
|
101
120
|
|
|
102
121
|
<x3d-canvas src="https://create3000.github.io/media/examples/Grouping/Switch/Switch.x3d" update="auto"></x3d-canvas>
|
|
103
122
|
|
|
104
|
-
##
|
|
123
|
+
## See Also
|
|
105
124
|
|
|
106
|
-
- [X3D Specification of Switch](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/grouping.html#Switch){:target="_blank"}
|
|
125
|
+
- [X3D Specification of Switch node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/grouping.html#Switch){:target="_blank"}
|