x_ite 8.8.7 → 8.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Makefile +6 -0
- package/build/docs/nodes.pl +434 -0
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +13 -13
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +26 -26
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +14 -14
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +19 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +18 -18
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +27 -27
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +24 -24
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +24 -24
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +18 -18
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +37 -37
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +24 -24
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +14 -14
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +30 -30
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +18 -18
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +9 -9
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +965 -96
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +2 -2
- package/docs/_posts/components/CADGeometry/CADAssembly.md +45 -19
- package/docs/_posts/components/CADGeometry/CADFace.md +44 -18
- package/docs/_posts/components/CADGeometry/CADLayer.md +48 -19
- package/docs/_posts/components/CADGeometry/CADPart.md +54 -24
- package/docs/_posts/components/CADGeometry/IndexedQuadSet.md +55 -26
- package/docs/_posts/components/CADGeometry/QuadSet.md +52 -20
- package/docs/_posts/components/Core/MetadataBoolean.md +29 -18
- package/docs/_posts/components/Core/MetadataDouble.md +31 -16
- package/docs/_posts/components/Core/MetadataFloat.md +31 -16
- package/docs/_posts/components/Core/MetadataInteger.md +31 -16
- package/docs/_posts/components/Core/MetadataSet.md +30 -15
- package/docs/_posts/components/Core/MetadataString.md +31 -16
- package/docs/_posts/components/Core/WorldInfo.md +21 -10
- package/docs/_posts/components/CubeMapTexturing/ComposedCubeMapTexture.md +30 -25
- package/docs/_posts/components/CubeMapTexturing/GeneratedCubeMapTexture.md +19 -10
- package/docs/_posts/components/CubeMapTexturing/ImageCubeMapTexture.md +22 -18
- package/docs/_posts/components/DIS/DISEntityManager.md +40 -15
- package/docs/_posts/components/DIS/DISEntityTypeMapping.md +34 -25
- package/docs/_posts/components/DIS/EspduTransform.md +174 -41
- package/docs/_posts/components/DIS/ReceiverPdu.md +77 -27
- package/docs/_posts/components/DIS/SignalPdu.md +82 -28
- package/docs/_posts/components/DIS/TransmitterPdu.md +86 -36
- package/docs/_posts/components/EnvironmentalEffects/Background.md +80 -39
- package/docs/_posts/components/EnvironmentalEffects/Fog.md +39 -18
- package/docs/_posts/components/EnvironmentalEffects/FogCoordinate.md +10 -6
- package/docs/_posts/components/EnvironmentalEffects/LocalFog.md +21 -14
- package/docs/_posts/components/EnvironmentalEffects/TextureBackground.md +83 -31
- package/docs/_posts/components/EnvironmentalSensor/ProximitySensor.md +36 -8
- package/docs/_posts/components/EnvironmentalSensor/TransformSensor.md +31 -7
- package/docs/_posts/components/EnvironmentalSensor/VisibilitySensor.md +23 -7
- package/docs/_posts/components/EventUtilities/BooleanFilter.md +23 -10
- package/docs/_posts/components/EventUtilities/BooleanSequencer.md +46 -17
- package/docs/_posts/components/EventUtilities/BooleanToggle.md +29 -8
- package/docs/_posts/components/EventUtilities/BooleanTrigger.md +24 -7
- package/docs/_posts/components/EventUtilities/IntegerSequencer.md +46 -17
- package/docs/_posts/components/EventUtilities/IntegerTrigger.md +34 -9
- package/docs/_posts/components/EventUtilities/TimeTrigger.md +30 -9
- package/docs/_posts/components/Followers/ColorChaser.md +35 -11
- package/docs/_posts/components/Followers/ColorDamper.md +32 -12
- package/docs/_posts/components/Followers/CoordinateChaser.md +33 -9
- package/docs/_posts/components/Followers/CoordinateDamper.md +30 -10
- package/docs/_posts/components/Followers/OrientationChaser.md +34 -10
- package/docs/_posts/components/Followers/OrientationDamper.md +31 -11
- package/docs/_posts/components/Followers/PositionChaser.md +33 -9
- package/docs/_posts/components/Followers/PositionChaser2D.md +33 -9
- package/docs/_posts/components/Followers/PositionDamper.md +30 -10
- package/docs/_posts/components/Followers/PositionDamper2D.md +30 -10
- package/docs/_posts/components/Followers/ScalarChaser.md +33 -9
- package/docs/_posts/components/Followers/ScalarDamper.md +30 -10
- package/docs/_posts/components/Followers/TexCoordChaser2D.md +33 -9
- package/docs/_posts/components/Followers/TexCoordDamper2D.md +30 -10
- package/docs/_posts/components/Geometry2D/Arc2D.md +39 -14
- package/docs/_posts/components/Geometry2D/ArcClose2D.md +43 -19
- package/docs/_posts/components/Geometry2D/Circle2D.md +21 -10
- package/docs/_posts/components/Geometry2D/Disk2D.md +32 -14
- package/docs/_posts/components/Geometry2D/Polyline2D.md +24 -9
- package/docs/_posts/components/Geometry2D/Polypoint2D.md +16 -8
- package/docs/_posts/components/Geometry2D/Rectangle2D.md +23 -12
- package/docs/_posts/components/Geometry2D/TriangleSet2D.md +23 -12
- package/docs/_posts/components/Geometry3D/Box.md +26 -13
- package/docs/_posts/components/Geometry3D/Cone.md +30 -22
- package/docs/_posts/components/Geometry3D/Cylinder.md +30 -26
- package/docs/_posts/components/Geometry3D/ElevationGrid.md +73 -29
- package/docs/_posts/components/Geometry3D/Extrusion.md +100 -48
- package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +92 -38
- package/docs/_posts/components/Geometry3D/Sphere.md +25 -13
- package/docs/_posts/components/Geospatial/GeoCoordinate.md +30 -14
- package/docs/_posts/components/Geospatial/GeoElevationGrid.md +82 -37
- package/docs/_posts/components/Geospatial/GeoLOD.md +66 -27
- package/docs/_posts/components/Geospatial/GeoLocation.md +64 -26
- package/docs/_posts/components/Geospatial/GeoMetadata.md +28 -22
- package/docs/_posts/components/Geospatial/GeoOrigin.md +34 -19
- package/docs/_posts/components/Geospatial/GeoPositionInterpolator.md +64 -18
- package/docs/_posts/components/Geospatial/GeoProximitySensor.md +67 -18
- package/docs/_posts/components/Geospatial/GeoTouchSensor.md +63 -18
- package/docs/_posts/components/Geospatial/GeoTransform.md +72 -28
- package/docs/_posts/components/Geospatial/GeoViewpoint.md +79 -40
- package/docs/_posts/components/Grouping/Group.md +32 -16
- package/docs/_posts/components/Grouping/StaticGroup.md +37 -16
- package/docs/_posts/components/Grouping/Switch.md +39 -20
- package/docs/_posts/components/Grouping/Transform.md +45 -28
- package/docs/_posts/components/HAnim/HAnimDisplacer.md +38 -27
- package/docs/_posts/components/HAnim/HAnimHumanoid.md +197 -38
- package/docs/_posts/components/HAnim/HAnimJoint.md +104 -38
- package/docs/_posts/components/HAnim/HAnimMotion.md +117 -7
- package/docs/_posts/components/HAnim/HAnimSegment.md +72 -32
- package/docs/_posts/components/HAnim/HAnimSite.md +75 -32
- package/docs/_posts/components/Interpolation/ColorInterpolator.md +41 -11
- package/docs/_posts/components/Interpolation/CoordinateInterpolator.md +39 -13
- package/docs/_posts/components/Interpolation/CoordinateInterpolator2D.md +43 -14
- package/docs/_posts/components/Interpolation/EaseInEaseOut.md +36 -12
- package/docs/_posts/components/Interpolation/NormalInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/OrientationInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/PositionInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/PositionInterpolator2D.md +43 -14
- package/docs/_posts/components/Interpolation/ScalarInterpolator.md +39 -13
- package/docs/_posts/components/Interpolation/SplinePositionInterpolator.md +41 -16
- package/docs/_posts/components/Interpolation/SplinePositionInterpolator2D.md +41 -16
- package/docs/_posts/components/Interpolation/SplineScalarInterpolator.md +40 -24
- package/docs/_posts/components/Interpolation/SquadOrientationInterpolator.md +35 -11
- package/docs/_posts/components/KeyDeviceSensor/KeySensor.md +51 -9
- package/docs/_posts/components/KeyDeviceSensor/StringSensor.md +31 -9
- package/docs/_posts/components/Layering/Layer.md +27 -14
- package/docs/_posts/components/Layering/LayerSet.md +19 -13
- package/docs/_posts/components/Layering/Viewport.md +31 -15
- package/docs/_posts/components/Layout/Layout.md +27 -16
- package/docs/_posts/components/Layout/LayoutGroup.md +34 -18
- package/docs/_posts/components/Layout/LayoutLayer.md +28 -15
- package/docs/_posts/components/Layout/ScreenFontStyle.md +72 -45
- package/docs/_posts/components/Layout/ScreenGroup.md +32 -16
- package/docs/_posts/components/Lighting/DirectionalLight.md +19 -11
- package/docs/_posts/components/Lighting/EnvironmentLight.md +2 -6
- package/docs/_posts/components/Lighting/PointLight.md +23 -11
- package/docs/_posts/components/Lighting/SpotLight.md +32 -19
- package/docs/_posts/components/NURBS/Contour2D.md +17 -9
- package/docs/_posts/components/NURBS/ContourPolyline2D.md +10 -6
- package/docs/_posts/components/NURBS/CoordinateDouble.md +13 -9
- package/docs/_posts/components/NURBS/NurbsCurve.md +15 -11
- package/docs/_posts/components/NURBS/NurbsCurve2D.md +14 -10
- package/docs/_posts/components/NURBS/NurbsOrientationInterpolator.md +28 -12
- package/docs/_posts/components/NURBS/NurbsPatchSurface.md +19 -13
- package/docs/_posts/components/NURBS/NurbsPositionInterpolator.md +27 -11
- package/docs/_posts/components/NURBS/NurbsSet.md +48 -14
- package/docs/_posts/components/NURBS/NurbsSurfaceInterpolator.md +31 -11
- package/docs/_posts/components/NURBS/NurbsSweptSurface.md +31 -14
- package/docs/_posts/components/NURBS/NurbsSwungSurface.md +25 -14
- package/docs/_posts/components/NURBS/NurbsTextureCoordinate.md +11 -7
- package/docs/_posts/components/NURBS/NurbsTrimmedSurface.md +26 -16
- package/docs/_posts/components/Navigation/Billboard.md +33 -17
- package/docs/_posts/components/Navigation/Collision.md +59 -22
- package/docs/_posts/components/Navigation/LOD.md +53 -23
- package/docs/_posts/components/Navigation/NavigationInfo.md +68 -25
- package/docs/_posts/components/Navigation/OrthoViewpoint.md +80 -37
- package/docs/_posts/components/Navigation/Viewpoint.md +86 -39
- package/docs/_posts/components/Navigation/ViewpointGroup.md +28 -17
- package/docs/_posts/components/Networking/Anchor.md +54 -56
- package/docs/_posts/components/Networking/Inline.md +42 -29
- package/docs/_posts/components/Networking/LoadSensor.md +41 -9
- package/docs/_posts/components/ParticleSystems/BoundedPhysicsModel.md +16 -8
- package/docs/_posts/components/ParticleSystems/ConeEmitter.md +25 -10
- package/docs/_posts/components/ParticleSystems/ExplosionEmitter.md +18 -11
- package/docs/_posts/components/ParticleSystems/ForcePhysicsModel.md +15 -8
- package/docs/_posts/components/ParticleSystems/ParticleSystem.md +92 -46
- package/docs/_posts/components/ParticleSystems/PointEmitter.md +19 -12
- package/docs/_posts/components/ParticleSystems/PolylineEmitter.md +23 -15
- package/docs/_posts/components/ParticleSystems/SurfaceEmitter.md +21 -14
- package/docs/_posts/components/ParticleSystems/VolumeEmitter.md +25 -18
- package/docs/_posts/components/ParticleSystems/WindPhysicsModel.md +11 -7
- package/docs/_posts/components/Picking/LinePickSensor.md +37 -15
- package/docs/_posts/components/Picking/PickableGroup.md +40 -22
- package/docs/_posts/components/Picking/PointPickSensor.md +29 -12
- package/docs/_posts/components/Picking/PrimitivePickSensor.md +25 -17
- package/docs/_posts/components/Picking/VolumePickSensor.md +25 -12
- package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +43 -18
- package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +40 -17
- package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +35 -13
- package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +48 -14
- package/docs/_posts/components/Rendering/ClipPlane.md +20 -15
- package/docs/_posts/components/Rendering/Color.md +14 -14
- package/docs/_posts/components/Rendering/ColorRGBA.md +13 -9
- package/docs/_posts/components/Rendering/Coordinate.md +11 -7
- package/docs/_posts/components/Rendering/IndexedLineSet.md +58 -24
- package/docs/_posts/components/Rendering/IndexedTriangleFanSet.md +44 -23
- package/docs/_posts/components/Rendering/IndexedTriangleSet.md +45 -24
- package/docs/_posts/components/Rendering/IndexedTriangleStripSet.md +45 -20
- package/docs/_posts/components/Rendering/LineSet.md +26 -14
- package/docs/_posts/components/Rendering/Normal.md +28 -6
- package/docs/_posts/components/Rendering/PointSet.md +24 -11
- package/docs/_posts/components/Rendering/TriangleFanSet.md +44 -19
- package/docs/_posts/components/Rendering/TriangleSet.md +44 -19
- package/docs/_posts/components/Rendering/TriangleStripSet.md +45 -20
- package/docs/_posts/components/RigidBodyPhysics/BallJoint.md +22 -10
- package/docs/_posts/components/RigidBodyPhysics/CollidableOffset.md +37 -14
- package/docs/_posts/components/RigidBodyPhysics/CollidableShape.md +34 -16
- package/docs/_posts/components/RigidBodyPhysics/CollisionCollection.md +17 -12
- package/docs/_posts/components/RigidBodyPhysics/CollisionSensor.md +21 -12
- package/docs/_posts/components/RigidBodyPhysics/CollisionSpace.md +31 -12
- package/docs/_posts/components/RigidBodyPhysics/Contact.md +19 -15
- package/docs/_posts/components/RigidBodyPhysics/DoubleAxisHingeJoint.md +33 -27
- package/docs/_posts/components/RigidBodyPhysics/MotorJoint.md +63 -11
- package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +22 -12
- package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +30 -14
- package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +26 -14
- package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +24 -12
- package/docs/_posts/components/RigidBodyPhysics/UniversalJoint.md +23 -15
- package/docs/_posts/components/Scripting/Script.md +43 -27
- package/docs/_posts/components/Shaders/ComposedShader.md +30 -17
- package/docs/_posts/components/Shaders/FloatVertexAttribute.md +18 -9
- package/docs/_posts/components/Shaders/Matrix3VertexAttribute.md +17 -8
- package/docs/_posts/components/Shaders/Matrix4VertexAttribute.md +17 -8
- package/docs/_posts/components/Shaders/PackagedShader.md +36 -30
- package/docs/_posts/components/Shaders/ProgramShader.md +35 -15
- package/docs/_posts/components/Shaders/ShaderPart.md +27 -18
- package/docs/_posts/components/Shaders/ShaderProgram.md +28 -17
- package/docs/_posts/components/Shape/AcousticProperties.md +34 -6
- package/docs/_posts/components/Shape/Appearance.md +29 -22
- package/docs/_posts/components/Shape/FillProperties.md +19 -12
- package/docs/_posts/components/Shape/LineProperties.md +18 -10
- package/docs/_posts/components/Shape/Material.md +64 -38
- package/docs/_posts/components/Shape/PhysicalMaterial.md +49 -25
- package/docs/_posts/components/Shape/PointProperties.md +21 -14
- package/docs/_posts/components/Shape/Shape.md +35 -17
- package/docs/_posts/components/Shape/TwoSidedMaterial.md +35 -36
- package/docs/_posts/components/Shape/UnlitMaterial.md +29 -17
- package/docs/_posts/components/Sound/Analyser.md +133 -4
- package/docs/_posts/components/Sound/AudioClip.md +64 -30
- package/docs/_posts/components/Sound/AudioDestination.md +76 -4
- package/docs/_posts/components/Sound/BiquadFilter.md +143 -4
- package/docs/_posts/components/Sound/BufferAudioSource.md +165 -13
- package/docs/_posts/components/Sound/ChannelMerger.md +62 -4
- package/docs/_posts/components/Sound/ChannelSelector.md +64 -4
- package/docs/_posts/components/Sound/ChannelSplitter.md +68 -4
- package/docs/_posts/components/Sound/Convolver.md +124 -4
- package/docs/_posts/components/Sound/Delay.md +119 -4
- package/docs/_posts/components/Sound/DynamicsCompressor.md +127 -4
- package/docs/_posts/components/Sound/Gain.md +115 -4
- package/docs/_posts/components/Sound/ListenerPointSource.md +109 -4
- package/docs/_posts/components/Sound/MicrophoneSource.md +91 -4
- package/docs/_posts/components/Sound/OscillatorSource.md +95 -4
- package/docs/_posts/components/Sound/PeriodicWave.md +43 -5
- package/docs/_posts/components/Sound/Sound.md +53 -20
- package/docs/_posts/components/Sound/SpatialSound.md +120 -4
- package/docs/_posts/components/Sound/StreamAudioDestination.md +80 -4
- package/docs/_posts/components/Sound/StreamAudioSource.md +91 -4
- package/docs/_posts/components/Sound/WaveShaper.md +123 -4
- package/docs/_posts/components/Text/FontStyle.md +73 -47
- package/docs/_posts/components/Text/Text.md +48 -26
- package/docs/_posts/components/TextureProjector/TextureProjector.md +55 -6
- package/docs/_posts/components/TextureProjector/TextureProjectorParallel.md +56 -6
- package/docs/_posts/components/Texturing/ImageTexture.md +28 -20
- package/docs/_posts/components/Texturing/MovieTexture.md +69 -38
- package/docs/_posts/components/Texturing/MultiTexture.md +47 -19
- package/docs/_posts/components/Texturing/MultiTextureCoordinate.md +27 -10
- package/docs/_posts/components/Texturing/MultiTextureTransform.md +32 -10
- package/docs/_posts/components/Texturing/PixelTexture.md +34 -14
- package/docs/_posts/components/Texturing/TextureCoordinate.md +20 -10
- package/docs/_posts/components/Texturing/TextureCoordinateGenerator.md +22 -12
- package/docs/_posts/components/Texturing/TextureProperties.md +44 -19
- package/docs/_posts/components/Texturing/TextureTransform.md +17 -8
- package/docs/_posts/components/Texturing3D/ComposedTexture3D.md +21 -13
- package/docs/_posts/components/Texturing3D/ImageTexture3D.md +32 -23
- package/docs/_posts/components/Texturing3D/ImageTextureAtlas.md +22 -16
- package/docs/_posts/components/Texturing3D/PixelTexture3D.md +25 -13
- package/docs/_posts/components/Texturing3D/TextureCoordinate3D.md +22 -10
- package/docs/_posts/components/Texturing3D/TextureCoordinate4D.md +21 -9
- package/docs/_posts/components/Texturing3D/TextureTransform3D.md +17 -8
- package/docs/_posts/components/Texturing3D/TextureTransformMatrix3D.md +20 -10
- package/docs/_posts/components/Time/TimeSensor.md +66 -23
- package/docs/_posts/components/VolumeRendering/BlendedVolumeStyle.md +36 -15
- package/docs/_posts/components/VolumeRendering/BoundaryEnhancementVolumeStyle.md +15 -5
- package/docs/_posts/components/VolumeRendering/CartoonVolumeStyle.md +20 -17
- package/docs/_posts/components/VolumeRendering/ComposedVolumeStyle.md +15 -7
- package/docs/_posts/components/VolumeRendering/EdgeEnhancementVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/IsoSurfaceVolumeData.md +43 -21
- package/docs/_posts/components/VolumeRendering/OpacityMapVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/ProjectionVolumeStyle.md +17 -7
- package/docs/_posts/components/VolumeRendering/SegmentedVolumeData.md +50 -17
- package/docs/_posts/components/VolumeRendering/ShadedVolumeStyle.md +18 -10
- package/docs/_posts/components/VolumeRendering/SilhouetteEnhancementVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/ToneMappedVolumeStyle.md +20 -11
- package/docs/_posts/components/VolumeRendering/VolumeData.md +32 -15
- package/docs/_posts/components/X_ITE/BlendMode.md +9 -2
- package/docs/_posts/getting-started.md +1 -0
- package/docs/_posts/laboratory/x3d-file-converter.md +1 -1
- package/package.json +1 -1
- package/src/x_ite/Browser/Core/X3DCoreContext.js +10 -3
- package/src/x_ite/Browser/DOMIntegration.js +13 -8
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +1 -1
- package/src/x_ite/Components/DIS/DISEntityManager.js +1 -1
- package/src/x_ite/Components/Grouping/Switch.js +1 -1
- package/src/x_ite/Components/Layering/X3DLayerNode.js +1 -1
- package/src/x_ite/Components/Lighting/DirectionalLight.js +1 -1
- package/src/x_ite/Components/Navigation/Collision.js +1 -1
- package/src/x_ite/Components/Navigation/LOD.js +1 -1
- package/src/x_ite/Components/Navigation/X3DViewpointNode.js +1 -1
- package/src/x_ite/Components/Networking/LoadSensor.js +1 -1
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +1 -1
- package/src/x_ite/Components/Shape/AcousticProperties.js +1 -1
- package/src/x_ite/Components/Shape/Appearance.js +1 -1
- package/src/x_ite/Components/Shape/Material.js +1 -1
- package/src/x_ite/Components/Shape/TwoSidedMaterial.js +1 -1
- package/src/x_ite/Components/Sound/PeriodicWave.js +1 -1
- package/src/x_ite/Components/Texturing/TextureProperties.js +1 -1
- package/src/x_ite/Fields/ArrayFields.js +2 -2
- package/src/x_ite/Fields/SFColor.js +1 -1
- package/src/x_ite/Fields/SFMatrixPrototypeTemplate.js +1 -1
- package/src/x_ite/Fields/SFRotation.js +3 -3
- package/src/x_ite/Fields/SFVecPrototypeTemplate.js +1 -1
- package/src/x_ite/Parser/GoldenGate.js +16 -5
- package/src/x_ite/Parser/PLYAParser.js +615 -0
- package/src/x_ite/Parser/PLYBParser.js +222 -0
- package/src/x_ite/Parser/STLAParser.js +0 -1
- /package/build/{bin → docs}/components.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: ScreenFontStyle
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Layout
|
|
5
5
|
categories: [components, Layout]
|
|
6
6
|
tags: [ScreenFontStyle, Layout]
|
|
@@ -15,7 +15,7 @@ tags: [ScreenFontStyle, Layout]
|
|
|
15
15
|
|
|
16
16
|
ScreenFontStyle is an X3DFontStyleNode defines the size, family, justification, and other styles used within a screen layout. ScreenFontStyle renders text so that it appears identical to typical 2D applications by specifying pointSize in points (as in 2D document layout) rather than size in meters. Each glyph of text is rendered as a quadrilateral with a texture applied.
|
|
17
17
|
|
|
18
|
-
The ScreenFontStyle node belongs to the **Layout** component and its default container field is *fontStyle.* It is available
|
|
18
|
+
The ScreenFontStyle node belongs to the **Layout** component and its default container field is *fontStyle.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,109 +29,136 @@ The ScreenFontStyle node belongs to the **Layout** component and its default con
|
|
|
29
29
|
|
|
30
30
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
#### Hint
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
### SFString [in, out] **language** ""
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
Language codes consist of a primary code and a (possibly empty) series of subcodes. [ *language*-code = primary-code ( "-" subcode )* ] Two-letter primary codes are reserved for *language* abbreviations. Two-letter primary codes include en (English), fr (French), de (German), it (Italian), nl (Dutch), el (Greek), es (Spanish), pt (Portuguese), ar (Arabic), he (Hebrew), ru (Russian), zh (Chinese), ja (Japanese), hi (Hindi), ur (Urdu), and sa (Sanskrit). Any two-letter subcode is understood to be a country code.
|
|
41
41
|
|
|
42
|
-
####
|
|
42
|
+
#### Hints
|
|
43
43
|
|
|
44
|
-
- [See ISO639.2 Codes for the Representation of Names of Languages](
|
|
44
|
+
- [See ISO639.2 Codes for the Representation of Names of Languages](http://www.loc.gov/standards/iso639-2/php/code_list.php){:target="_blank"}
|
|
45
45
|
- [See RFC3066 Tags for the Identification of Languages](https://tools.ietf.org/html/rfc3066){:target="_blank"}
|
|
46
46
|
- [See ISO3166 or](http://xml.coverpages.org/languageIdentifiers.html){:target="_blank"}
|
|
47
|
-
- [Relates to Internationalization (i18n)](
|
|
47
|
+
- [Relates to Internationalization (i18n)](http://www.w3.org/standards/webdesign/i18n){:target="_blank"}
|
|
48
|
+
- (X3D version 4.0 draft) accessType relaxed to inputOutput in order to support animation and user accessibility.
|
|
49
|
+
|
|
50
|
+
#### Warning
|
|
51
|
+
|
|
52
|
+
- Do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.
|
|
48
53
|
|
|
49
54
|
### MFString [in, out] **family** "SERIF" <small>String or [URI]</small>
|
|
50
55
|
|
|
51
|
-
Array of quoted font family names
|
|
56
|
+
Array of quoted font *family* names in preference order, browsers use the first supported *family*.
|
|
52
57
|
|
|
53
58
|
#### Hints
|
|
54
59
|
|
|
55
|
-
- Example family array might be "Times" "SERIF"
|
|
60
|
+
- Example *family* array might be "Times" "SERIF"
|
|
61
|
+
- Values with guaranteed support include "SERIF" "SANS" "TYPEWRITER".
|
|
62
|
+
- SERIF and SANS are variable-width fonts (for example, Times Roman and Arial).
|
|
63
|
+
- TYPEWRITER is a fixed-width font (for example, Courier).
|
|
64
|
+
- MFString arrays can have multiple values, so "separate each individual string" "by using quote marks".
|
|
65
|
+
- [See 15.2.2.2 Font *family* and style](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/text.html#Fontfamilyandstyle){:target="_blank"} for details.
|
|
66
|
+
- [Relates to Internationalization (i18n)](http://www.w3.org/standards/webdesign/i18n){:target="_blank"}
|
|
67
|
+
- (X3D version 4.0 draft) accessType relaxed to inputOutput in order to support animation and user accessibility.
|
|
56
68
|
|
|
57
69
|
#### Warning
|
|
58
70
|
|
|
59
|
-
- Font family support often varies.
|
|
60
|
-
|
|
61
|
-
#### See Also
|
|
62
|
-
|
|
63
|
-
- [Relates to Internationalization (i18n)](https://www.w3.org/standards/webdesign/i18n){:target="_blank"}
|
|
71
|
+
- Font *family* support often varies.
|
|
64
72
|
|
|
65
73
|
### SFString [in, out] **style** "PLAIN" <small>["PLAIN"|"BOLD"|"ITALIC"|"BOLDITALIC"|""]</small>
|
|
66
74
|
|
|
67
|
-
Pick one of four values for text style.
|
|
75
|
+
Pick one of four values for text *style* (PLAIN or BOLD or ITALIC or BOLDITALIC).
|
|
68
76
|
|
|
69
|
-
####
|
|
77
|
+
#### Hints
|
|
70
78
|
|
|
71
|
-
- See
|
|
79
|
+
- [See 15.2.2.2 Font family and *style*](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/text.html#Fontfamilyandstyle){:target="_blank"} for details.
|
|
80
|
+
- Overlapping functionality with CSS *style* attribute provides a "best of both worlds" approach. The *style* attribute provides an inline block of CSS source for element styling, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets.
|
|
81
|
+
- [X3D Architecture Annex L, HTML authoring guidelines, CSS considerations](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/htmlGuidelines.html#CSS){:target="_blank"}
|
|
82
|
+
- [W3C Cascading Style Sheets](https://www.w3.org/Style/CSS){:target="_blank"}
|
|
83
|
+
- [CSS Snapshot](https://www.w3.org/TR/css-2018){:target="_blank"}
|
|
84
|
+
- Https://www.w3.org/TR/css-*style*-attr
|
|
85
|
+
- [Wikibooks, XML - Managing Data Exchange/XSLT and Style Sheets](https://en.wikibooks.org/wiki/XML_-_Managing_Data_Exchange/XSLT_and_Style_Sheets){:target="_blank"}
|
|
72
86
|
|
|
73
|
-
####
|
|
87
|
+
#### Warnings
|
|
74
88
|
|
|
89
|
+
- Overloaded name for CSS *style* attribute.
|
|
75
90
|
- Do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.
|
|
76
91
|
|
|
77
92
|
### SFFloat [in, out] **pointSize** 12 <small>(0,∞)</small>
|
|
78
93
|
|
|
79
|
-
*pointSize* field specifies the size of text in points. Nominal height (in local coordinate system) of text glyphs
|
|
94
|
+
*pointSize* field specifies the size of text in points. Nominal height (in local coordinate system) of text glyphs, also sets default spacing between adjacent lines of text.
|
|
80
95
|
|
|
81
|
-
####
|
|
96
|
+
#### Hints
|
|
82
97
|
|
|
83
|
-
-
|
|
98
|
+
- *pointSize* replaces the size field of the FontStyle node.
|
|
99
|
+
- (X3D version 4.0 draft) accessType relaxed to inputOutput in order to support animation and user accessibility.
|
|
84
100
|
|
|
85
101
|
### SFFloat [in, out] **spacing** 1 <small>[0,∞)</small>
|
|
86
102
|
|
|
87
|
-
Adjustment factor for line spacing between adjacent lines of text.
|
|
103
|
+
Adjustment factor for line *spacing* between adjacent lines of text.
|
|
88
104
|
|
|
89
|
-
|
|
105
|
+
#### Hint
|
|
90
106
|
|
|
91
|
-
|
|
107
|
+
- (X3D version 4.0 draft) accessType relaxed to inputOutput in order to support animation and user accessibility.
|
|
92
108
|
|
|
93
|
-
|
|
109
|
+
### SFBool [in, out] **horizontal** TRUE
|
|
94
110
|
|
|
95
|
-
|
|
111
|
+
Whether text direction is *horizontal* (true) or vertical (false).
|
|
96
112
|
|
|
97
|
-
####
|
|
113
|
+
#### Hints
|
|
98
114
|
|
|
99
|
-
- [
|
|
115
|
+
- [See 15.2.2.3 Direction and justification](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/text.html#Directionandjustification){:target="_blank"} for details.
|
|
116
|
+
- [Relates to Internationalization (i18n)](http://www.w3.org/standards/webdesign/i18n){:target="_blank"}
|
|
117
|
+
- (X3D version 4.0 draft) accessType relaxed to inputOutput in order to support animation and user accessibility.
|
|
100
118
|
|
|
101
119
|
### SFBool [in, out] **leftToRight** TRUE
|
|
102
120
|
|
|
103
|
-
|
|
121
|
+
Whether text direction is left-to-right (true) or right-to-left (false).
|
|
104
122
|
|
|
105
|
-
|
|
123
|
+
#### Hints
|
|
106
124
|
|
|
107
|
-
|
|
125
|
+
- [See 15.2.2.3 Direction and justification](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/text.html#Directionandjustification){:target="_blank"} for details.
|
|
126
|
+
- [Relates to Internationalization (i18n)](http://www.w3.org/standards/webdesign/i18n){:target="_blank"}
|
|
127
|
+
- (X3D version 4.0 draft) accessType relaxed to inputOutput in order to support animation and user accessibility.
|
|
108
128
|
|
|
109
|
-
|
|
129
|
+
### SFBool [in, out] **topToBottom** TRUE
|
|
110
130
|
|
|
111
|
-
|
|
131
|
+
Whether text direction is top-to-bottom (true) or bottom-to-top (false).
|
|
112
132
|
|
|
113
|
-
####
|
|
133
|
+
#### Hints
|
|
114
134
|
|
|
115
|
-
- [
|
|
135
|
+
- [See 15.2.2.3 Direction and justification](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/text.html#Directionandjustification){:target="_blank"} for details.
|
|
136
|
+
- [Relates to Internationalization (i18n)](http://www.w3.org/standards/webdesign/i18n){:target="_blank"}
|
|
137
|
+
- (X3D version 4.0 draft) accessType relaxed to inputOutput in order to support animation and user accessibility.
|
|
116
138
|
|
|
117
139
|
### MFString [in, out] **justify** "BEGIN" <small>["BEGIN", "END", "FIRST", "MIDDLE", ""]</small>
|
|
118
140
|
|
|
119
|
-
The justify field determines alignment of
|
|
141
|
+
The *justify* field determines horizontal and vertical alignment of text layout, relative to the origin of the object coordinate system.
|
|
120
142
|
|
|
121
143
|
#### Hints
|
|
122
144
|
|
|
123
|
-
- Preferred value is usually justify
|
|
145
|
+
- Preferred value is usually *justify*=' "MIDDLE" "MIDDLE" ' for centered justification horizontally and vertically.
|
|
146
|
+
- MFString arrays can have multiple values, so "separate each individual string" "by using quote marks".
|
|
147
|
+
- [See 15.2.2.3 Direction and justification](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/text.html#Directionandjustification){:target="_blank"} for details.
|
|
148
|
+
- (X3D version 4.0 draft) accessType relaxed to inputOutput in order to support animation and user accessibility.
|
|
124
149
|
|
|
125
150
|
#### Warnings
|
|
126
151
|
|
|
127
|
-
- Exactly two string values are provided for major and minor axis alignment.
|
|
152
|
+
- Exactly two string values are provided for major and minor axis alignment.
|
|
153
|
+
- Do not use illegal values such as LEFT RIGHT TOP BOTTOM or CENTER.
|
|
128
154
|
|
|
129
|
-
##
|
|
155
|
+
## Advisories
|
|
130
156
|
|
|
131
|
-
###
|
|
157
|
+
### Hints
|
|
132
158
|
|
|
133
159
|
- First add a Text node as a parent.
|
|
160
|
+
- [Wikipedia](https://en.wikipedia.org/wiki/Font){:target="_blank"}
|
|
134
161
|
|
|
135
|
-
##
|
|
162
|
+
## See Also
|
|
136
163
|
|
|
137
|
-
- [X3D Specification of ScreenFontStyle](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/layout.html#ScreenFontStyle){:target="_blank"}
|
|
164
|
+
- [X3D Specification of ScreenFontStyle node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/layout.html#ScreenFontStyle){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: ScreenGroup
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Layout
|
|
5
5
|
categories: [components, Layout]
|
|
6
6
|
tags: [ScreenGroup, Layout]
|
|
@@ -15,7 +15,7 @@ tags: [ScreenGroup, Layout]
|
|
|
15
15
|
|
|
16
16
|
ScreenGroup is a Grouping node that can contain most nodes. ScreenGroup modifies the screen scale in such a way that one unit is equal to one pixel in both the horizontal and vertical directions.
|
|
17
17
|
|
|
18
|
-
The ScreenGroup node belongs to the **Layout** component and its default container field is *children.* It is available
|
|
18
|
+
The ScreenGroup node belongs to the **Layout** component and its default container field is *children.* It is available from X3D version 3.2 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -30,16 +30,20 @@ The ScreenGroup node belongs to the **Layout** component and its default contain
|
|
|
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,36 +57,48 @@ 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
|
|
|
84
100
|
- Insert a Shape node before adding geometry or Appearance.
|
|
85
101
|
|
|
86
|
-
##
|
|
102
|
+
## See Also
|
|
87
103
|
|
|
88
|
-
- [X3D Specification of ScreenGroup](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/layout.html#ScreenGroup){:target="_blank"}
|
|
104
|
+
- [X3D Specification of ScreenGroup node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/layout.html#ScreenGroup){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: DirectionalLight
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Lighting
|
|
5
5
|
categories: [components, Lighting]
|
|
6
6
|
tags: [DirectionalLight, Lighting]
|
|
@@ -13,9 +13,9 @@ tags: [DirectionalLight, Lighting]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
DirectionalLight
|
|
16
|
+
DirectionalLight defines parallel light rays that illuminate geometric shapes. Lighting illuminates all geometry except lines and points. By default, light scope only illuminates peer geometry and children nodes within the scene graph hierarchy. No source location is needed since rays are parallel from an infinitely distant source. DirectionalLight nodes do not attenuate with distance. Lights have no visible shape themselves and lighting effects continue through any intermediate geometry.
|
|
17
17
|
|
|
18
|
-
The DirectionalLight node belongs to the **Lighting** component and its default container field is *children.* It is available
|
|
18
|
+
The DirectionalLight node belongs to the **Lighting** 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,11 +30,19 @@ The DirectionalLight node belongs to the **Lighting** component and its default
|
|
|
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] **global** FALSE
|
|
36
40
|
|
|
37
|
-
|
|
41
|
+
Global lights illuminate all objects within their volume of lighting influence. Scoped lights only illuminate objects within the same transformation hierarchy.
|
|
42
|
+
|
|
43
|
+
#### Warning
|
|
44
|
+
|
|
45
|
+
- DirectionalLight default *global*=false to limit scope and avoid inadvertently illuminating every object in a large scene. PointLight and SpotLight default *global*=true since their effects are each limited by maximum radius value.
|
|
38
46
|
|
|
39
47
|
### SFBool [in, out] **on** TRUE
|
|
40
48
|
|
|
@@ -44,7 +52,7 @@ Enables/disables this light source.
|
|
|
44
52
|
|
|
45
53
|
*color* of light, applied to colors of objects.
|
|
46
54
|
|
|
47
|
-
####
|
|
55
|
+
#### Hint
|
|
48
56
|
|
|
49
57
|
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
50
58
|
|
|
@@ -62,7 +70,7 @@ Orientation vector of light relative to local coordinate system.
|
|
|
62
70
|
|
|
63
71
|
#### Hint
|
|
64
72
|
|
|
65
|
-
- Animate direction to simulate time-of-day sunlight effects.
|
|
73
|
+
- Animate *direction* to simulate time-of-day sunlight effects.
|
|
66
74
|
|
|
67
75
|
### SFBool [in, out] **shadows** FALSE
|
|
68
76
|
|
|
@@ -84,17 +92,17 @@ The shadowBias value controls the visibility of *shadow acne*.
|
|
|
84
92
|
|
|
85
93
|
Size of the shadow map in pixels, must be power of two.
|
|
86
94
|
|
|
87
|
-
##
|
|
95
|
+
## Advisories
|
|
88
96
|
|
|
89
97
|
### Hints
|
|
90
98
|
|
|
91
99
|
- Animate direction to simulate time-of-day sunlight effects.
|
|
92
|
-
-
|
|
100
|
+
- The bound NavigationInfo controls whether headlight is enabled on/off. Interchange profile hint: light might not be scoped by parent Group or Transform.
|
|
93
101
|
|
|
94
102
|
## Example
|
|
95
103
|
|
|
96
104
|
<x3d-canvas src="https://create3000.github.io/media/examples/Lighting/DirectionalLight/DirectionalLight.x3d" update="auto"></x3d-canvas>
|
|
97
105
|
|
|
98
|
-
##
|
|
106
|
+
## See Also
|
|
99
107
|
|
|
100
|
-
- [X3D Specification of DirectionalLight](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/lighting.html#DirectionalLight){:target="_blank"}
|
|
108
|
+
- [X3D Specification of DirectionalLight node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/lighting.html#DirectionalLight){:target="_blank"}
|
|
@@ -46,10 +46,6 @@ Enables/disables this light source.
|
|
|
46
46
|
|
|
47
47
|
*color* of light, applied to colors of objects.
|
|
48
48
|
|
|
49
|
-
#### See Also
|
|
50
|
-
|
|
51
|
-
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
52
|
-
|
|
53
49
|
### SFFloat [in, out] **intensity** 1 <small>[0,∞)</small>
|
|
54
50
|
|
|
55
51
|
Brightness of direct emission from the light.
|
|
@@ -86,6 +82,6 @@ The shadowBias value controls the visibility of *shadow acne*.
|
|
|
86
82
|
|
|
87
83
|
Size of the shadow map in pixels, must be power of two.
|
|
88
84
|
|
|
89
|
-
##
|
|
85
|
+
## See Also
|
|
90
86
|
|
|
91
|
-
- [X3D Specification of EnvironmentLight](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/lighting.html#EnvironmentLight){:target="_blank"}
|
|
87
|
+
- [X3D Specification of EnvironmentLight node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/lighting.html#EnvironmentLight){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: PointLight
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Lighting
|
|
5
5
|
categories: [components, Lighting]
|
|
6
6
|
tags: [PointLight, Lighting]
|
|
@@ -13,9 +13,9 @@ tags: [PointLight, Lighting]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
PointLight is a single light source that illuminates outwards in all directions.
|
|
16
|
+
PointLight is a single light source that illuminates outwards in all directions. Lighting illuminates all geometry except lines and points. By default, light scope only illuminates peer geometry and children nodes within the scene graph hierarchy. Lights have no visible shape themselves and lighting effects continue through any intermediate geometry.
|
|
17
17
|
|
|
18
|
-
The PointLight node belongs to the **Lighting** component and its default container field is *children.* It is available
|
|
18
|
+
The PointLight node belongs to the **Lighting** 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,11 +30,19 @@ The PointLight node belongs to the **Lighting** component and its default contai
|
|
|
30
30
|
|
|
31
31
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
34
|
+
|
|
35
|
+
#### Hint
|
|
36
|
+
|
|
37
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
34
38
|
|
|
35
39
|
### SFBool [in, out] **global** TRUE
|
|
36
40
|
|
|
37
|
-
|
|
41
|
+
Global lights illuminate all objects within their volume of lighting influence. Scoped lights only illuminate objects within the same transformation hierarchy.
|
|
42
|
+
|
|
43
|
+
#### Warning
|
|
44
|
+
|
|
45
|
+
- DirectionalLight default *global*=false to limit scope and avoid inadvertently illuminating every object in a large scene. PointLight and SpotLight default *global*=true since their effects are each limited by maximum radius value.
|
|
38
46
|
|
|
39
47
|
### SFBool [in, out] **on** TRUE
|
|
40
48
|
|
|
@@ -44,7 +52,7 @@ Enables/disables this light source.
|
|
|
44
52
|
|
|
45
53
|
*color* of light, applied to colors of objects.
|
|
46
54
|
|
|
47
|
-
####
|
|
55
|
+
#### Hint
|
|
48
56
|
|
|
49
57
|
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
50
58
|
|
|
@@ -58,7 +66,11 @@ Brightness of ambient (nondirectional background) emission from the light.
|
|
|
58
66
|
|
|
59
67
|
### SFVec3f [in, out] **attenuation** 1 0 0 <small>[0,∞)</small>
|
|
60
68
|
|
|
61
|
-
Constant, linear-distance and squared-distance dropoff factors.
|
|
69
|
+
Constant, linear-distance and squared-distance dropoff factors as radial distance increases from the source.
|
|
70
|
+
|
|
71
|
+
#### Hint
|
|
72
|
+
|
|
73
|
+
- *attenuation* = 1/max(*attenuation*[0] + *attenuation*[1] ⨯ r + *attenuation*[2] ⨯ r2 , 1)
|
|
62
74
|
|
|
63
75
|
### SFVec3f [in, out] **location** 0 0 0 <small>(-∞,∞)</small>
|
|
64
76
|
|
|
@@ -88,16 +100,16 @@ The shadowBias value controls the visibility of *shadow acne*.
|
|
|
88
100
|
|
|
89
101
|
Size of the shadow map in pixels, must be power of two.
|
|
90
102
|
|
|
91
|
-
##
|
|
103
|
+
## Advisories
|
|
92
104
|
|
|
93
105
|
### Hint
|
|
94
106
|
|
|
95
|
-
-
|
|
107
|
+
- The bound NavigationInfo controls whether headlight is enabled on/off.
|
|
96
108
|
|
|
97
109
|
## Example
|
|
98
110
|
|
|
99
111
|
<x3d-canvas src="https://create3000.github.io/media/examples/Lighting/PointLight/PointLight.x3d" update="auto"></x3d-canvas>
|
|
100
112
|
|
|
101
|
-
##
|
|
113
|
+
## See Also
|
|
102
114
|
|
|
103
|
-
- [X3D Specification of PointLight](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/lighting.html#PointLight){:target="_blank"}
|
|
115
|
+
- [X3D Specification of PointLight node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/lighting.html#PointLight){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: SpotLight
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Lighting
|
|
5
5
|
categories: [components, Lighting]
|
|
6
6
|
tags: [SpotLight, Lighting]
|
|
@@ -13,9 +13,9 @@ tags: [SpotLight, Lighting]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
SpotLight is a light source that illuminates geometry within a conical beam.
|
|
16
|
+
SpotLight is a light source that illuminates geometry within a conical beam. Lighting illuminates all geometry except lines and points. By default, light scope only illuminates peer geometry and children nodes within the scene graph hierarchy. Lights have no visible shape themselves and lighting effects continue through any intermediate geometry.
|
|
17
17
|
|
|
18
|
-
The SpotLight node belongs to the **Lighting** component and its default container field is *children.* It is available
|
|
18
|
+
The SpotLight node belongs to the **Lighting** 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,11 +30,19 @@ The SpotLight node belongs to the **Lighting** component and its default contain
|
|
|
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] **global** TRUE
|
|
36
40
|
|
|
37
|
-
|
|
41
|
+
Global lights illuminate all objects within their volume of lighting influence. Scoped lights only illuminate objects within the same transformation hierarchy.
|
|
42
|
+
|
|
43
|
+
#### Warning
|
|
44
|
+
|
|
45
|
+
- DirectionalLight default *global*=false to limit scope and avoid inadvertently illuminating every object in a large scene. PointLight and SpotLight default *global*=true since their effects are each limited by maximum radius value.
|
|
38
46
|
|
|
39
47
|
### SFBool [in, out] **on** TRUE
|
|
40
48
|
|
|
@@ -44,7 +52,7 @@ Enables/disables this light source.
|
|
|
44
52
|
|
|
45
53
|
*color* of light, applied to colors of objects.
|
|
46
54
|
|
|
47
|
-
####
|
|
55
|
+
#### Hint
|
|
48
56
|
|
|
49
57
|
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
50
58
|
|
|
@@ -58,7 +66,11 @@ Brightness of ambient (nondirectional background) emission from the light.
|
|
|
58
66
|
|
|
59
67
|
### SFVec3f [in, out] **attenuation** 1 0 0 <small>[0,∞)</small>
|
|
60
68
|
|
|
61
|
-
Constant, linear-distance and squared-distance dropoff factors.
|
|
69
|
+
Constant, linear-distance and squared-distance dropoff factors as radial distance increases from the source.
|
|
70
|
+
|
|
71
|
+
#### Hint
|
|
72
|
+
|
|
73
|
+
- *attenuation* = 1/max(*attenuation*[0] + *attenuation*[1] ⨯ r + *attenuation*[2] ⨯ r2 , 1)
|
|
62
74
|
|
|
63
75
|
### SFVec3f [in, out] **location** 0 0 0 <small>(-∞,∞)</small>
|
|
64
76
|
|
|
@@ -76,26 +88,27 @@ Maximum effective distance of light relative to local light position, affected b
|
|
|
76
88
|
|
|
77
89
|
Inner conical solid angle (in radians) where light source has uniform full intensity.
|
|
78
90
|
|
|
79
|
-
####
|
|
91
|
+
#### Hints
|
|
80
92
|
|
|
81
|
-
-
|
|
93
|
+
- *beamWidth* is inner angle of full intensity, cutOffAngle is outer angle of zero intensity. Therefore set *beamWidth* \<= cutOffAngle.
|
|
94
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
82
95
|
|
|
83
96
|
#### Warning
|
|
84
97
|
|
|
85
|
-
- If beamWidth
|
|
98
|
+
- If *beamWidth* \> cutOffAngle, then *beamWidth* is reset to equal cutOffAngle.
|
|
86
99
|
|
|
87
100
|
### SFFloat [in, out] **cutOffAngle** π/2 <small>(0,π/2]</small>
|
|
88
101
|
|
|
89
102
|
Outer conical solid angle (in radians) where light source intensity becomes zero.
|
|
90
103
|
|
|
91
|
-
####
|
|
104
|
+
#### Hints
|
|
92
105
|
|
|
93
|
-
-
|
|
106
|
+
- BeamWidth is inner angle of full intensity, *cutOffAngle* is outer angle of zero intensity. Therefore set beamWidth \<= *cutOffAngle*.
|
|
107
|
+
- [Radian units for angular measure](https://en.wikipedia.org/wiki/Radian){:target="_blank"}
|
|
94
108
|
|
|
95
|
-
####
|
|
109
|
+
#### Warning
|
|
96
110
|
|
|
97
|
-
- If beamWidth
|
|
98
|
-
- If shadows is `TRUE`, cutOffAngle must be significantly smaller than π/2.
|
|
111
|
+
- If beamWidth \> *cutOffAngle*, then beamWidth is reset to equal *cutOffAngle*.
|
|
99
112
|
|
|
100
113
|
### SFBool [in, out] **shadows** FALSE
|
|
101
114
|
|
|
@@ -117,16 +130,16 @@ The shadowBias value controls the visibility of *shadow acne*.
|
|
|
117
130
|
|
|
118
131
|
Size of the shadow map in pixels, must be power of two.
|
|
119
132
|
|
|
120
|
-
##
|
|
133
|
+
## Advisories
|
|
121
134
|
|
|
122
135
|
### Hint
|
|
123
136
|
|
|
124
|
-
-
|
|
137
|
+
- The bound NavigationInfo controls whether headlight is enabled on/off.
|
|
125
138
|
|
|
126
139
|
## Example
|
|
127
140
|
|
|
128
141
|
<x3d-canvas src="https://create3000.github.io/media/examples/Lighting/SpotLight/SpotLight.x3d" update="auto"></x3d-canvas>
|
|
129
142
|
|
|
130
|
-
##
|
|
143
|
+
## See Also
|
|
131
144
|
|
|
132
|
-
- [X3D Specification of SpotLight](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/lighting.html#SpotLight){:target="_blank"}
|
|
145
|
+
- [X3D Specification of SpotLight node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/lighting.html#SpotLight){:target="_blank"}
|