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: Anchor
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Networking
|
|
5
5
|
categories: [components, Networking]
|
|
6
6
|
tags: [Anchor, Networking]
|
|
@@ -13,9 +13,9 @@ tags: [Anchor, Networking]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
Anchor is a Grouping node that can contain most nodes. When the user selects any of the geometry contained by the Anchor node,
|
|
16
|
+
Anchor is a Grouping node that can contain most nodes. When the user selects any of the geometry contained by the Anchor node, the browser either jumps to another viewpoint (similar to HTML bookmark) or else loads content (such as X3D, an image or HTML) specified by the url field. Newly loaded content completely replaces current content, if the value of parameter field indicates using the same window.
|
|
17
17
|
|
|
18
|
-
The Anchor node belongs to the **Networking** component and its default container field is *children.* It is available
|
|
18
|
+
The Anchor node belongs to the **Networking** component and its default container field is *children.* It is available from X3D version 2.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -32,82 +32,69 @@ The Anchor node belongs to the **Networking** component and its default containe
|
|
|
32
32
|
|
|
33
33
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
36
|
+
|
|
37
|
+
#### Hint
|
|
38
|
+
|
|
39
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
36
40
|
|
|
37
41
|
### SFString [in, out] **description** ""
|
|
38
42
|
|
|
39
|
-
Author-provided
|
|
43
|
+
Author-provided prose that describes intended purpose of the url asset.
|
|
40
44
|
|
|
41
45
|
#### Hint
|
|
42
46
|
|
|
43
|
-
- Many XML tools substitute XML character references automatically if needed (such as &#38; for & ampersand, or &#34; for " quotation
|
|
47
|
+
- Many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as &#38; for & ampersand character, or &#34; for " quotation-mark character).
|
|
44
48
|
|
|
45
49
|
### SFBool [in, out] **load** TRUE
|
|
46
50
|
|
|
47
|
-
*load
|
|
48
|
-
|
|
49
|
-
#### Hints
|
|
50
|
-
|
|
51
|
-
- Allows author to design when ImageTextureAtlas loading occurs via user interaction, event chains or scripting.
|
|
52
|
-
- Use a separate LoadSensor node to detect when loading is complete.
|
|
51
|
+
The *load* field has no effect, Anchor operation is only triggered by user selection.
|
|
53
52
|
|
|
54
53
|
### MFString [in, out] **url** [ ] <small>[URI]</small>
|
|
55
54
|
|
|
56
|
-
Address of replacement world or #ViewpointDEFName, activated by
|
|
55
|
+
Address of replacement world, or #ViewpointDEFName within the current scene, or alternate Web resource, activated by the user selecting Shape geometry within the Anchor children nodes.
|
|
57
56
|
|
|
58
57
|
#### Hints
|
|
59
58
|
|
|
60
|
-
- Jump to a world's internal viewpoint by appending viewpoint name (
|
|
59
|
+
- Jump to a world's internal viewpoint by appending viewpoint name (for example, #ViewpointName, someOtherCoolWorld.x3d#GrandTour).
|
|
60
|
+
- Jump to a local viewpoint by only using viewpoint name (for example, #GrandTour).
|
|
61
|
+
- Binding a different Viewpoint triggers an isBound event that can initiate other user-arrival reactions via event chains to interpolators or scripts.
|
|
62
|
+
- MFString arrays can have multiple values, so separate each individual string by quote marks "https://www.web3d.org" "https://www.web3d.org/about" "etc."
|
|
63
|
+
- Alternative XML encoding for quotation mark " is &quot; (which is an example of a character entity).
|
|
64
|
+
- Can replace embedded blank(s) in *url* queries with %20 for each blank character.
|
|
65
|
+
- Pop up a new window with *url* value as follows: "JavaScript:window.open('somePage.html','popup','width=240,height=240');location.href='HelloWorld.x3d'"
|
|
66
|
+
- [X3D Scene Authoring Hints, urls](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#urls){:target="_blank"}
|
|
61
67
|
|
|
62
68
|
#### Warning
|
|
63
69
|
|
|
64
|
-
- Strictly match directory and filename capitalization for http links! This is important for portability. Some operating systems are forgiving of capitalization mismatches, but http/https and
|
|
65
|
-
|
|
66
|
-
#### See Also
|
|
67
|
-
|
|
68
|
-
- [X3D Scene Authoring Hints, urls](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#urls){:target="_blank"}
|
|
70
|
+
- Strictly match directory and filename capitalization for http links! This is important for portability. Some operating systems are forgiving of capitalization mismatches, but http/https *url* addresses and paths in Unix-based operating systems are all case sensitive and intolerant of uppercase/lowercase mismatches.
|
|
69
71
|
|
|
70
72
|
### MFString [in, out] **parameter** [ ]
|
|
71
73
|
|
|
72
|
-
If provided, parameter tells the X3D player where to to redirect the loaded url.
|
|
74
|
+
If provided, *parameter* tells the X3D player where to to redirect the loaded url.
|
|
73
75
|
|
|
74
76
|
#### Hints
|
|
75
77
|
|
|
76
|
-
- Set parameter value as target
|
|
78
|
+
- Set *parameter* value as target=_blank to load the target url into a new browser frame.
|
|
79
|
+
- Set *parameter* value as target=frame_name to load target url into another browser frame.
|
|
80
|
+
- MFString arrays can have multiple values, so separate each individual string by quote marks. "https://www.web3d.org" "https://www.web3d.org/about" "etc." Interchange profile hint: this field may be ignored, applying the default value regardless.
|
|
77
81
|
|
|
78
82
|
### SFTime [in, out] **autoRefresh** 0 <small>[0,∞)</small>
|
|
79
83
|
|
|
80
|
-
*autoRefresh*
|
|
81
|
-
|
|
82
|
-
#### Hints
|
|
83
|
-
|
|
84
|
-
- If preceding file loading fails or load field is false, no refresh is performed.
|
|
85
|
-
- Repeated refresh attempts to reload currently loaded entry of url list. If that fails, the browser retries other entries in the url list.
|
|
86
|
-
|
|
87
|
-
#### Warning
|
|
88
|
-
|
|
89
|
-
- Automatically reloading content has security considerations and needs to be considered carefully.
|
|
84
|
+
The [*autoRefresh* field has no effect, Anchor operation is only triggered by user selection.
|
|
90
85
|
|
|
91
86
|
### SFTime [in, out] **autoRefreshTimeLimit** 3600 <small>[0,∞)</small>
|
|
92
87
|
|
|
93
|
-
*autoRefreshTimeLimit*
|
|
94
|
-
|
|
95
|
-
#### Hint
|
|
96
|
-
|
|
97
|
-
- Automatic refresh is different than query and response timeouts performed by a networking library while sequentially attempting to retrieve addressed content from a url list.
|
|
98
|
-
|
|
99
|
-
#### Warning
|
|
100
|
-
|
|
101
|
-
- Automatically reloading content has security considerations and needs to be considered carefully.
|
|
88
|
+
The [*autoRefreshTimeLimit* field has no effect, Anchor operation is only triggered by user selection.
|
|
102
89
|
|
|
103
90
|
### SFBool [in, out] **visible** TRUE
|
|
104
91
|
|
|
105
92
|
Whether or not renderable content within this node is visually displayed.
|
|
106
93
|
|
|
107
|
-
####
|
|
94
|
+
#### Hints
|
|
108
95
|
|
|
109
|
-
- The visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
110
|
-
- Content must be visible to be collidable and to be pickable.
|
|
96
|
+
- The *visible* field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
97
|
+
- Content must be *visible* to be collidable and to be pickable.
|
|
111
98
|
|
|
112
99
|
### SFBool [in, out] **bboxDisplay** FALSE
|
|
113
100
|
|
|
@@ -121,42 +108,53 @@ Whether to display bounding box for associated geometry, aligned with world coor
|
|
|
121
108
|
|
|
122
109
|
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.
|
|
123
110
|
|
|
124
|
-
####
|
|
111
|
+
#### Hints
|
|
125
112
|
|
|
126
113
|
- Can be useful for collision computations or inverse-kinematics (IK) engines.
|
|
114
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
115
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
116
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
127
117
|
|
|
128
118
|
### SFVec3f [ ] **bboxCenter** 0 0 0 <small>(-∞,∞)</small>
|
|
129
119
|
|
|
130
|
-
Bounding box center
|
|
120
|
+
Bounding box center accompanies bboxSize and provides an optional hint for bounding box position offset from origin of local coordinate system.
|
|
121
|
+
|
|
122
|
+
#### Hints
|
|
123
|
+
|
|
124
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
125
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
126
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
131
127
|
|
|
132
128
|
### MFNode [in] **addChildren**
|
|
133
129
|
|
|
134
|
-
Input field addChildren
|
|
130
|
+
Input field *addChildren*.
|
|
135
131
|
|
|
136
132
|
### MFNode [in] **removeChildren**
|
|
137
133
|
|
|
138
|
-
Input field removeChildren
|
|
134
|
+
Input field *removeChildren*.
|
|
139
135
|
|
|
140
136
|
### MFNode [in, out] **children** [ ] <small>[X3DChildNode]</small>
|
|
141
137
|
|
|
142
|
-
Grouping nodes contain
|
|
138
|
+
Grouping nodes contain an ordered list of *children* nodes.
|
|
143
139
|
|
|
144
|
-
####
|
|
140
|
+
#### Hints
|
|
145
141
|
|
|
146
|
-
- Each grouping node defines a coordinate space for its children
|
|
142
|
+
- 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.
|
|
143
|
+
- InputOnly MFNode addChildren field can append new X3DChildNode nodes via a ROUTE connection, duplicate input nodes (i.e. matching DEF, USE values) are ignored.
|
|
144
|
+
- InputOnly MFNode removeChildren field can remove nodes from the *children* list, unrecognized input nodes (i.e. nonmatching DEF, USE values) are ignored.
|
|
145
|
+
- [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"}
|
|
147
146
|
|
|
148
|
-
##
|
|
147
|
+
## Advisories
|
|
149
148
|
|
|
150
|
-
###
|
|
149
|
+
### Hints
|
|
151
150
|
|
|
152
151
|
- Insert a Shape node before adding geometry or Appearance.
|
|
152
|
+
- [When parent node is LoadSensor, apply `containerField='children'` (X3Dv4) or `containerField='watchList'` (X3Dv3).](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#fieldNameChanges){:target="_blank"}
|
|
153
153
|
|
|
154
154
|
## Example
|
|
155
155
|
|
|
156
156
|
<x3d-canvas src="https://create3000.github.io/media/examples/Networking/Anchor/Anchor.x3d" update="auto"></x3d-canvas>
|
|
157
157
|
|
|
158
|
-
##
|
|
158
|
+
## See Also
|
|
159
159
|
|
|
160
|
-
- [X3D Specification of Anchor](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/networking.html#Anchor){:target="_blank"}
|
|
161
|
-
- [See X3D Specification 20.2.1 Overview of pointing device sensors](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/pointingDeviceSensor.html#OverviewOfPointingDeviceSensors){:target="_blank"}
|
|
162
|
-
- [See X3D Specification 20.2.3 Activating and manipulating pointing device sensors](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/pointingDeviceSensor.html#Activatingandmanipulating){:target="_blank"}
|
|
160
|
+
- [X3D Specification of Anchor node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/networking.html#Anchor){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Inline
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Networking
|
|
5
5
|
categories: [components, Networking]
|
|
6
6
|
tags: [Inline, Networking]
|
|
@@ -13,9 +13,9 @@ tags: [Inline, Networking]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
Inline
|
|
16
|
+
Inline can load another X3D or VRML model into the current scene via url. Inline is an X3DBoundedObject node that has bounding-box dimensions.
|
|
17
17
|
|
|
18
|
-
The Inline node belongs to the **Networking** component and its default container field is *children.* It is available
|
|
18
|
+
The Inline node belongs to the **Networking** 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
|
|
|
@@ -31,7 +31,11 @@ The Inline node belongs to the **Networking** component and its default containe
|
|
|
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
|
### SFString [in, out] **description** ""
|
|
37
41
|
|
|
@@ -39,44 +43,42 @@ Author-provided prose that describes intended purpose of the url asset.
|
|
|
39
43
|
|
|
40
44
|
#### Hint
|
|
41
45
|
|
|
42
|
-
- 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).
|
|
46
|
+
- 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).
|
|
43
47
|
|
|
44
48
|
### SFBool [in, out] **global** FALSE
|
|
45
49
|
|
|
46
|
-
The global field controls potential external scoping effects of lights found within an Inline scene. Global lights illuminate all objects within their volume of lighting influence. Scoped lights only illuminate objects within the same transformation hierarchy.
|
|
50
|
+
The *global* field controls potential external scoping effects of lights found within an Inline scene. Global lights illuminate all objects within their volume of lighting influence. Scoped lights only illuminate objects within the same transformation hierarchy.
|
|
47
51
|
|
|
48
52
|
#### Hint
|
|
49
53
|
|
|
50
|
-
- [X3D Architecture, 17.2.1.2 Scoping of lights](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/lighting.html#ScopingOfLights)
|
|
54
|
+
- [X3D Architecture, 17.2.1.2 Scoping of lights](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/lighting.html#ScopingOfLights){:target="_blank"}
|
|
51
55
|
|
|
52
56
|
### SFBool [in, out] **load** TRUE
|
|
53
57
|
|
|
54
|
-
*load*=true means load immediately, load
|
|
58
|
+
*load*=true means *load* immediately, *load*=false means defer loading or else unload a previously loaded scene.
|
|
55
59
|
|
|
56
60
|
#### Hints
|
|
57
61
|
|
|
58
62
|
- Allows author to design when Inline loading occurs via user interaction, event chains or scripting.
|
|
59
63
|
- Use a separate LoadSensor node to detect when loading is complete.
|
|
60
64
|
|
|
61
|
-
#### Hint
|
|
62
|
-
|
|
63
|
-
- Use LoadSensor to detect when loading is complete.
|
|
64
|
-
|
|
65
65
|
### MFString [in, out] **url** [ ] <small>[URI]</small>
|
|
66
66
|
|
|
67
|
-
Address of X3D world to load
|
|
67
|
+
Address of X3D world to load Inline with current scene, retrieved either from local system or an online address. Browser support for X3D model support can include allowed file formats for XML .x3d, ClassicVRML .x3dv, X3D Binary .x3db, X3D JSON .json, and Virtual Reality Modeling Language (VRML97) .wrl.
|
|
68
68
|
|
|
69
69
|
#### Hints
|
|
70
70
|
|
|
71
|
-
-
|
|
71
|
+
- [(X3D version 4.0 draft) support includes .gltf and .glb](https://www.khronos.org/gltf){:target="_blank"} https://en.wikipedia.org/wiki/glTF
|
|
72
|
+
- [Future work planned for PLY form](https://en.wikipedia.org/wiki/PLY_(file_format)){:target="_blank"}
|
|
73
|
+
- [Future work planned for STL form](https://en.wikipedia.org/wiki/STL_(file_format)){:target="_blank"}
|
|
74
|
+
- MFString arrays can have multiple values, so separate each individual string by quote marks "https://www.web3d.org" "https://www.web3d.org/about" "etc."
|
|
75
|
+
- Alternative XML encoding for quotation mark " is &quot; (which is an example of a character entity).
|
|
76
|
+
- Can replace embedded blank(s) in *url* queries with %20 for each blank character.
|
|
77
|
+
- [X3D Scene Authoring Hints, urls](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#urls){:target="_blank"}
|
|
72
78
|
|
|
73
79
|
#### Warning
|
|
74
80
|
|
|
75
|
-
- Strictly match directory and filename capitalization for http links! This is important for portability. Some operating systems are forgiving of capitalization mismatches, but http/https and
|
|
76
|
-
|
|
77
|
-
#### See Also
|
|
78
|
-
|
|
79
|
-
- [X3D Scene Authoring Hints, urls](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#urls){:target="_blank"}
|
|
81
|
+
- Strictly match directory and filename capitalization for http links! This is important for portability. Some operating systems are forgiving of capitalization mismatches, but http/https *url* addresses and paths in Unix-based operating systems are all case sensitive and intolerant of uppercase/lowercase mismatches.
|
|
80
82
|
|
|
81
83
|
### SFTime [in, out] **autoRefresh** 0 <small>[0,∞)</small>
|
|
82
84
|
|
|
@@ -107,10 +109,10 @@ Address of X3D world to load into current scene.
|
|
|
107
109
|
|
|
108
110
|
Whether or not renderable content within this node is visually displayed.
|
|
109
111
|
|
|
110
|
-
####
|
|
112
|
+
#### Hints
|
|
111
113
|
|
|
112
|
-
- The visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
113
|
-
- Content must be visible to be collidable and to be pickable.
|
|
114
|
+
- The *visible* field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
115
|
+
- Content must be *visible* to be collidable and to be pickable.
|
|
114
116
|
|
|
115
117
|
### SFBool [in, out] **bboxDisplay** FALSE
|
|
116
118
|
|
|
@@ -124,25 +126,36 @@ Whether to display bounding box for associated geometry, aligned with world coor
|
|
|
124
126
|
|
|
125
127
|
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.
|
|
126
128
|
|
|
127
|
-
####
|
|
129
|
+
#### Hints
|
|
128
130
|
|
|
129
131
|
- Can be useful for collision computations or inverse-kinematics (IK) engines.
|
|
132
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
133
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
134
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
130
135
|
|
|
131
136
|
### SFVec3f [ ] **bboxCenter** 0 0 0 <small>(-∞,∞)</small>
|
|
132
137
|
|
|
133
|
-
Bounding box center
|
|
138
|
+
Bounding box center accompanies bboxSize and provides an optional hint for bounding box position offset from origin of local coordinate system.
|
|
134
139
|
|
|
135
|
-
|
|
140
|
+
#### Hints
|
|
136
141
|
|
|
137
|
-
|
|
142
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
143
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
144
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
138
145
|
|
|
146
|
+
## Advisories
|
|
147
|
+
|
|
148
|
+
### Hints
|
|
149
|
+
|
|
150
|
+
- [(X3D version 4.0 draft) support includes .gltf and .glb](https://www.khronos.org/gltf){:target="_blank"} https://en.wikipedia.org/wiki/glTF
|
|
139
151
|
- You cannot ROUTE values into an Inline scene, use IMPORT/EXPORT (or ExternProtoDeclare and ProtoInstance) instead.
|
|
152
|
+
- [X3D Scene Authoring Hints, Inlines and Prototypes](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#InlinesPrototypes){:target="_blank"}
|
|
153
|
+
- [When parent node is LoadSensor, apply `containerField='children'` (X3Dv4) or `containerField='watchList'` (X3Dv3).](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#fieldNameChanges){:target="_blank"}
|
|
140
154
|
|
|
141
155
|
## Example
|
|
142
156
|
|
|
143
157
|
<x3d-canvas src="https://create3000.github.io/media/examples/Networking/Inline/Inline.x3d" update="auto"></x3d-canvas>
|
|
144
158
|
|
|
145
|
-
##
|
|
159
|
+
## See Also
|
|
146
160
|
|
|
147
|
-
- [X3D Specification of Inline](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/networking.html#Inline){:target="_blank"}
|
|
148
|
-
- [X3D Scene Authoring Hints, Inlines and Prototypes](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#InlinesPrototypes){:target="_blank"}
|
|
161
|
+
- [X3D Specification of Inline node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/networking.html#Inline){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: LoadSensor
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Networking
|
|
5
5
|
categories: [components, Networking]
|
|
6
6
|
tags: [LoadSensor, Networking]
|
|
@@ -15,7 +15,7 @@ tags: [LoadSensor, Networking]
|
|
|
15
15
|
|
|
16
16
|
LoadSensor generates events as watchList child nodes are either loaded or fail to load. Changing watchlist child nodes restarts the LoadSensor.
|
|
17
17
|
|
|
18
|
-
The LoadSensor node belongs to the **Networking** component and its default container field is *children.* It is available
|
|
18
|
+
The LoadSensor node belongs to the **Networking** 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,7 +31,11 @@ The LoadSensor node belongs to the **Networking** component and its default cont
|
|
|
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] **enabled** TRUE
|
|
37
41
|
|
|
@@ -45,6 +49,10 @@ Time in seconds of maximum load duration prior to declaring failure. Default val
|
|
|
45
49
|
|
|
46
50
|
*isActive* true/false events are sent when sensing starts/stops.
|
|
47
51
|
|
|
52
|
+
#### Warning
|
|
53
|
+
|
|
54
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
55
|
+
|
|
48
56
|
### SFBool [out] **isLoaded**
|
|
49
57
|
|
|
50
58
|
Notify when all watchList child nodes are loaded, or at least one has failed. Sends true on successfully loading all watchList child nodes. Sends false on timeOut of any watchList child nodes, failure of any watchList child nodes to load, or no local copies available and no network present.
|
|
@@ -53,6 +61,10 @@ Notify when all watchList child nodes are loaded, or at least one has failed. Se
|
|
|
53
61
|
|
|
54
62
|
- Use multiple LoadSensor nodes to track multiple loading nodes individually.
|
|
55
63
|
|
|
64
|
+
#### Warning
|
|
65
|
+
|
|
66
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
67
|
+
|
|
56
68
|
### SFFloat [out] **progress**
|
|
57
69
|
|
|
58
70
|
Sends 0.0 on start and 1.0 on completion. Intermediate values are browser dependent and always increasing (may indicate fraction of bytes, fraction of expected time or another metric).
|
|
@@ -61,31 +73,51 @@ Sends 0.0 on start and 1.0 on completion. Intermediate values are browser depend
|
|
|
61
73
|
|
|
62
74
|
- Only 0 and 1 events are guaranteed.
|
|
63
75
|
|
|
76
|
+
#### Warning
|
|
77
|
+
|
|
78
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
79
|
+
|
|
64
80
|
### SFTime [out] **loadTime**
|
|
65
81
|
|
|
66
82
|
Time of successful load complete, not sent on failure.
|
|
67
83
|
|
|
84
|
+
#### Warning
|
|
85
|
+
|
|
86
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
87
|
+
|
|
68
88
|
### MFNode [in, out] **children** [ ] <small>[X3DUrlObject]</small>
|
|
69
89
|
|
|
70
|
-
|
|
90
|
+
The *children* field monitors one or more USE nodes that contain a valid url field.
|
|
91
|
+
|
|
92
|
+
#### Hints
|
|
93
|
+
|
|
94
|
+
- If watchList contains multiple USE nodes, output events are only generated when all *children* have loaded successfully or at least one node has failed.
|
|
95
|
+
- If individual load status information is desired for different nodes, multiple LoadSensor nodes may be used, each with a single watchList element.
|
|
96
|
+
- Anchor nodes can be monitored for binding a target Viewpoint, loading a new scene, or loading a new scene in a new window.
|
|
97
|
+
|
|
98
|
+
#### Warning
|
|
99
|
+
|
|
100
|
+
- [Field originally named 'watchList' in X3Dv3.](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#fieldNameChanges){:target="_blank"}
|
|
71
101
|
|
|
72
|
-
##
|
|
102
|
+
## Advisories
|
|
73
103
|
|
|
74
104
|
### Hints
|
|
75
105
|
|
|
76
106
|
- Use multiple LoadSensor nodes to track multiple loading nodes individually.
|
|
77
|
-
- Background is not sensed due to multiple-image ambiguity.
|
|
107
|
+
- Background node is not sensed by LoadSensor due to node typing and multiple-image ambiguity, alternatively utilize TextureBackground node with multiple ImageTexture nodes each referenced inside LoadSensor.
|
|
78
108
|
- Use Inline 'load' field to prompt or defer loading.
|
|
109
|
+
- [Example scenes and authoring assets](https://x3dgraphics.com/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound){:target="_blank"}
|
|
79
110
|
|
|
80
111
|
### Warnings
|
|
81
112
|
|
|
82
|
-
-
|
|
113
|
+
- Children (watchList) child nodes are not rendered, so normally USE copies of other nodes to sense load status.
|
|
83
114
|
- New X3D node, not supported in VRML97.
|
|
115
|
+
- ['children' field originally named 'watchList' in X3Dv3.](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#fieldNameChanges){:target="_blank"}
|
|
84
116
|
|
|
85
117
|
## Example
|
|
86
118
|
|
|
87
119
|
<x3d-canvas src="https://create3000.github.io/media/examples/Networking/LoadSensor/LoadSensor.x3d" update="auto"></x3d-canvas>
|
|
88
120
|
|
|
89
|
-
##
|
|
121
|
+
## See Also
|
|
90
122
|
|
|
91
|
-
- [X3D Specification of LoadSensor](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/networking.html#LoadSensor){:target="_blank"}
|
|
123
|
+
- [X3D Specification of LoadSensor node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/networking.html#LoadSensor){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: BoundedPhysicsModel
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-ParticleSystems
|
|
5
5
|
categories: [components, ParticleSystems]
|
|
6
6
|
tags: [BoundedPhysicsModel, ParticleSystems]
|
|
@@ -15,7 +15,7 @@ tags: [BoundedPhysicsModel, ParticleSystems]
|
|
|
15
15
|
|
|
16
16
|
BoundedPhysicsModel provides user-defined geometrical boundaries for particle motion. A child geometry node specifies boundaries that constrain the location of the particles.
|
|
17
17
|
|
|
18
|
-
The BoundedPhysicsModel node belongs to the **ParticleSystems** component and its default container field is *physics.* It is available
|
|
18
|
+
The BoundedPhysicsModel node belongs to the **ParticleSystems** component and its default container field is *physics.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,7 +29,11 @@ The BoundedPhysicsModel node belongs to the **ParticleSystems** component and it
|
|
|
29
29
|
|
|
30
30
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
33
|
+
|
|
34
|
+
#### Hint
|
|
35
|
+
|
|
36
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
33
37
|
|
|
34
38
|
### SFBool [in, out] **enabled** TRUE
|
|
35
39
|
|
|
@@ -37,18 +41,22 @@ Enables/disables node operation.
|
|
|
37
41
|
|
|
38
42
|
### SFNode [in, out] **geometry** NULL <small>[X3DGeometryNode]</small>
|
|
39
43
|
|
|
40
|
-
|
|
44
|
+
Single contained *geometry* node provides the *geometry* used for each particle when the parent ParticleSystem node has geometryType=GEOMETRY.
|
|
41
45
|
|
|
42
46
|
#### Hint
|
|
43
47
|
|
|
44
|
-
-
|
|
48
|
+
- [X3D for Advanced Modeling (X3D4AM) slideset](https://x3dgraphics.com/slidesets/X3dForAdvancedModeling/GeospatialComponentX3dEarth.pdf){:target="_blank"}
|
|
49
|
+
|
|
50
|
+
#### Warning
|
|
51
|
+
|
|
52
|
+
- Requires X3D `profile='Full'` or else include `<component name='Geospatial' level='1'/>`
|
|
45
53
|
|
|
46
|
-
##
|
|
54
|
+
## Advisories
|
|
47
55
|
|
|
48
56
|
### Hint
|
|
49
57
|
|
|
50
58
|
- When a particle touches the boundary surface, it is reflected by the geometry (either inside or outside).
|
|
51
59
|
|
|
52
|
-
##
|
|
60
|
+
## See Also
|
|
53
61
|
|
|
54
|
-
- [X3D Specification of BoundedPhysicsModel](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/particleSystems.html#BoundedPhysicsModel){:target="_blank"}
|
|
62
|
+
- [X3D Specification of BoundedPhysicsModel node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/particleSystems.html#BoundedPhysicsModel){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: ConeEmitter
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-ParticleSystems
|
|
5
5
|
categories: [components, ParticleSystems]
|
|
6
6
|
tags: [ConeEmitter, ParticleSystems]
|
|
@@ -15,7 +15,7 @@ tags: [ConeEmitter, ParticleSystems]
|
|
|
15
15
|
|
|
16
16
|
ConeEmitter generates all available particles from a specific point in space. Particles are emitted from the single point specified by the position field emanating in a direction randomly distributed within the cone specified by the angle and direction fields.
|
|
17
17
|
|
|
18
|
-
The ConeEmitter node belongs to the **ParticleSystems** component and its default container field is *emitter.* It is available
|
|
18
|
+
The ConeEmitter node belongs to the **ParticleSystems** component and its default container field is *emitter.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,7 +29,11 @@ The ConeEmitter node belongs to the **ParticleSystems** component and its defaul
|
|
|
29
29
|
|
|
30
30
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
33
|
+
|
|
34
|
+
#### Hint
|
|
35
|
+
|
|
36
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
33
37
|
|
|
34
38
|
### SFBool [in, out] **on** TRUE
|
|
35
39
|
|
|
@@ -41,15 +45,19 @@ Point from which particles emanate.
|
|
|
41
45
|
|
|
42
46
|
### SFVec3f [in, out] **direction** 0 1 0 <small>(-∞,∞)</small>
|
|
43
47
|
|
|
44
|
-
Initial direction from which particles emanate.
|
|
48
|
+
Initial *direction* from which particles emanate.
|
|
45
49
|
|
|
46
50
|
### SFFloat [in, out] **angle** π/4 <small>[0,π]</small>
|
|
47
51
|
|
|
48
52
|
Cone boundary for random distribution of particles about initial direction.
|
|
49
53
|
|
|
54
|
+
#### Hint
|
|
55
|
+
|
|
56
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
57
|
+
|
|
50
58
|
### SFFloat [in, out] **speed** 0 <small>[0,∞)</small>
|
|
51
59
|
|
|
52
|
-
Initial linear speed (default is m/s) imparted to all particles along their direction of movement.
|
|
60
|
+
Initial linear *speed* (default is m/s) imparted to all particles along their direction of movement.
|
|
53
61
|
|
|
54
62
|
### SFFloat [in, out] **variation** 0.25 <small>[0,∞)</small>
|
|
55
63
|
|
|
@@ -57,11 +65,17 @@ Multiplier for the randomness used to control the range of possible output value
|
|
|
57
65
|
|
|
58
66
|
#### Hint
|
|
59
67
|
|
|
60
|
-
-
|
|
68
|
+
- *variation* of zero does not allow any randomness.
|
|
61
69
|
|
|
62
70
|
### SFFloat [ ] **mass** 0 <small>[0,∞)</small>
|
|
63
71
|
|
|
64
|
-
|
|
72
|
+
Basic *mass* of each particle, defined in *mass* base units (default is kilograms).
|
|
73
|
+
|
|
74
|
+
#### Hints
|
|
75
|
+
|
|
76
|
+
- *mass* is needed if gravity or other force-related calculations are performed on a per-particle basis.
|
|
77
|
+
- [Kilogram](https://en.wikipedia.org/wiki/Kilogram){:target="_blank"}
|
|
78
|
+
- [X3D Architecture 4.3.6 Standard units and coordinate system](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/concepts.html#Standardunitscoordinates){:target="_blank"}
|
|
65
79
|
|
|
66
80
|
### SFFloat [ ] **surfaceArea** 0 <small>[0,∞)</small>
|
|
67
81
|
|
|
@@ -69,12 +83,13 @@ Particle surface area in area base units (default is meters squared). Surface ar
|
|
|
69
83
|
|
|
70
84
|
#### Hints
|
|
71
85
|
|
|
72
|
-
-
|
|
86
|
+
- *surfaceArea* value represents average frontal area presented to the wind.
|
|
87
|
+
- Assumes spherical model for each particle (i.e., surface area is the same regardless of direction).
|
|
73
88
|
|
|
74
89
|
## Example
|
|
75
90
|
|
|
76
91
|
<x3d-canvas src="https://create3000.github.io/media/examples/ParticleSystems/ConeEmitter/ConeEmitter.x3d" update="auto"></x3d-canvas>
|
|
77
92
|
|
|
78
|
-
##
|
|
93
|
+
## See Also
|
|
79
94
|
|
|
80
|
-
- [X3D Specification of ConeEmitter](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/particleSystems.html#ConeEmitter){:target="_blank"}
|
|
95
|
+
- [X3D Specification of ConeEmitter node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/particleSystems.html#ConeEmitter){:target="_blank"}
|