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
|
@@ -13,9 +13,9 @@ tags: [TextureProjectorParallel, TextureProjector]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
TextureProjectorParallel
|
|
16
|
+
TextureProjectorParallel is similar to a light that projects a texture into the scene, illuminating geometry that intersects the parallel projection volume.
|
|
17
17
|
|
|
18
|
-
The TextureProjectorParallel node belongs to the **TextureProjector** component and its default container field is *children.* It is available
|
|
18
|
+
The TextureProjectorParallel node belongs to the **TextureProjector** component and its default container field is *children.* It is available from X3D version 4.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -27,7 +27,11 @@ The TextureProjectorParallel node belongs to the **TextureProjector** component
|
|
|
27
27
|
|
|
28
28
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
31
|
+
|
|
32
|
+
#### Hint
|
|
33
|
+
|
|
34
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
31
35
|
|
|
32
36
|
### SFString [in, out] **description** ""
|
|
33
37
|
|
|
@@ -35,28 +39,74 @@ Author-provided prose that describes intended purpose of the url asset.
|
|
|
35
39
|
|
|
36
40
|
#### Hint
|
|
37
41
|
|
|
38
|
-
- 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).
|
|
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).
|
|
39
43
|
|
|
40
44
|
### SFBool [in, out] **on** TRUE
|
|
41
45
|
|
|
46
|
+
Enables/disables this texture projection source.
|
|
47
|
+
|
|
42
48
|
### SFBool [in, out] **global** TRUE
|
|
43
49
|
|
|
50
|
+
Global texture projection illuminates all objects within their volume of influence. Scoped texture projection (*global* false) only illuminates objects within the same transformation hierarchy.
|
|
51
|
+
|
|
44
52
|
### SFVec3f [in, out] **location** 0 0 0 <small>(-∞,∞)</small>
|
|
45
53
|
|
|
54
|
+
Position of center of texture projection relative to local coordinate system.
|
|
55
|
+
|
|
46
56
|
### SFVec3f [in, out] **direction** 0 0 1 <small>(-∞,∞)</small>
|
|
47
57
|
|
|
58
|
+
Direction for projection.
|
|
59
|
+
|
|
48
60
|
### SFVec3f [in, out] **upVector** 0 0 1 <small>(-∞,∞)</small>
|
|
49
61
|
|
|
62
|
+
*upVector* describes the roll of the camera by saying which direction is up for the camera's orientation.
|
|
63
|
+
|
|
50
64
|
### MFFloat [in, out] **fieldOfView** [ -1, -1, 1, 1 ] <small>(-∞,∞)</small>
|
|
51
65
|
|
|
66
|
+
Minimum and maximum extents of projection texture in units of local coordinate system. Small field of view roughly corresponds to a telephoto lens, large field of view roughly corresponds to a wide-angle lens.
|
|
67
|
+
|
|
68
|
+
#### Hint
|
|
69
|
+
|
|
70
|
+
- Rectangular display width/height = (maxX-minX) / (maxY-minY).
|
|
71
|
+
|
|
72
|
+
#### Warnings
|
|
73
|
+
|
|
74
|
+
- Minimum corner values must remain less than maximum corner values.
|
|
75
|
+
- This field differs for TextureProjectorParallel and TextureProjector.
|
|
76
|
+
|
|
52
77
|
### SFFloat [in, out] **nearDistance** -1 <small>-1 or (0,∞)</small>
|
|
53
78
|
|
|
79
|
+
Minimum distance necessary for texture display.
|
|
80
|
+
|
|
54
81
|
### SFFloat [in, out] **farDistance** -1 <small>-1 or (0,∞)</small>
|
|
55
82
|
|
|
83
|
+
Maximum distance necessary for texture display.
|
|
84
|
+
|
|
56
85
|
### SFFloat [out] **aspectRatio**
|
|
57
86
|
|
|
87
|
+
*aspectRatio* is the ratio of width and height that is projected.
|
|
88
|
+
|
|
58
89
|
### SFNode [in, out] **texture** NULL <small>[X3DTexture2DNode]</small>
|
|
59
90
|
|
|
60
|
-
|
|
91
|
+
Single contained *texture* node (ImageTexture, MovieTexture, PixelTexture, MultiTexture) that maps image(s) to surface geometry.
|
|
92
|
+
|
|
93
|
+
#### Hints
|
|
94
|
+
|
|
95
|
+
- If *texture* node is NULL or unspecified, corresponding Shape geometry for this Appearance is not textured.
|
|
96
|
+
- [X3D Scene Authoring Hints, Images](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Images){:target="_blank"}
|
|
97
|
+
- [X3D Architecture 18 Texturing component](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html){:target="_blank"}
|
|
98
|
+
- [X3D Architecture 33 Texturing3D component](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texture3D.html){:target="_blank"}
|
|
99
|
+
|
|
100
|
+
## Advisories
|
|
101
|
+
|
|
102
|
+
### Hint
|
|
103
|
+
|
|
104
|
+
- Https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Images/ptmparallel.png
|
|
105
|
+
|
|
106
|
+
### Warning
|
|
107
|
+
|
|
108
|
+
- Add textureTransform field?
|
|
109
|
+
|
|
110
|
+
## See Also
|
|
61
111
|
|
|
62
|
-
- [X3D Specification of TextureProjectorParallel](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/textureprojector.html#TextureProjectorParallel){:target="_blank"}
|
|
112
|
+
- [X3D Specification of TextureProjectorParallel node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/textureprojector.html#TextureProjectorParallel){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: ImageTexture
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Texturing
|
|
5
5
|
categories: [components, Texturing]
|
|
6
6
|
tags: [ImageTexture, Texturing]
|
|
@@ -13,9 +13,9 @@ tags: [ImageTexture, Texturing]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
ImageTexture maps a 2D-image file onto a geometric shape. Texture maps have a 2D coordinate system (s, t) horizontal and vertical, with (s, t) values in range [0.0, 1.0] for opposite corners of the image.
|
|
16
|
+
ImageTexture maps a 2D-image file onto a geometric shape. Texture maps have a 2D coordinate system (s, t) horizontal and vertical, with (s, t) texture-coordinate values in range [0.0, 1.0] for opposite corners of the image.
|
|
17
17
|
|
|
18
|
-
The ImageTexture node belongs to the **Texturing** component and its default container field is *texture.* It is available
|
|
18
|
+
The ImageTexture node belongs to the **Texturing** component and its default container field is *texture.* It is available from X3D version 2.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -34,7 +34,11 @@ The ImageTexture node belongs to the **Texturing** component and its default con
|
|
|
34
34
|
|
|
35
35
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
38
|
+
|
|
39
|
+
#### Hint
|
|
40
|
+
|
|
41
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
38
42
|
|
|
39
43
|
### SFString [in, out] **description** ""
|
|
40
44
|
|
|
@@ -42,15 +46,15 @@ Author-provided prose that describes intended purpose of the url asset.
|
|
|
42
46
|
|
|
43
47
|
#### Hint
|
|
44
48
|
|
|
45
|
-
- 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).
|
|
49
|
+
- 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
50
|
|
|
47
51
|
### SFBool [in, out] **load** TRUE
|
|
48
52
|
|
|
49
|
-
*load*=true means load immediately, load
|
|
53
|
+
*load*=true means *load* immediately, *load*=false means defer loading or else unload a previously loaded scene.
|
|
50
54
|
|
|
51
55
|
#### Hints
|
|
52
56
|
|
|
53
|
-
- Allows author to design when
|
|
57
|
+
- Allows author to design when Inline loading occurs via user interaction, event chains or scripting.
|
|
54
58
|
- Use a separate LoadSensor node to detect when loading is complete.
|
|
55
59
|
|
|
56
60
|
### MFString [in, out] **url** [ ] <small>[URI]</small>
|
|
@@ -59,15 +63,14 @@ Location and filename of image. Multiple locations are more reliable, and includ
|
|
|
59
63
|
|
|
60
64
|
#### Hints
|
|
61
65
|
|
|
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."
|
|
66
|
+
- MFString arrays can have multiple values, so separate each individual string by quote marks "https://www.web3d.org" "https://www.web3d.org/about" "etc."
|
|
67
|
+
- Alternative XML encoding for quotation mark " is &quot; (which is an example of a character entity).
|
|
68
|
+
- Can replace embedded blank(s) in *url* queries with %20 for each blank character.
|
|
69
|
+
- [X3D Scene Authoring Hints, urls](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#urls){:target="_blank"}
|
|
63
70
|
|
|
64
71
|
#### Warning
|
|
65
72
|
|
|
66
|
-
- 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
|
|
67
|
-
|
|
68
|
-
#### See Also
|
|
69
|
-
|
|
70
|
-
- [X3D Scene Authoring Hints, urls](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#urls){:target="_blank"}
|
|
73
|
+
- 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.
|
|
71
74
|
|
|
72
75
|
### SFTime [in, out] **autoRefresh** 0 <small>[0,∞)</small>
|
|
73
76
|
|
|
@@ -96,17 +99,17 @@ Location and filename of image. Multiple locations are more reliable, and includ
|
|
|
96
99
|
|
|
97
100
|
### SFBool [ ] **repeatS** TRUE
|
|
98
101
|
|
|
99
|
-
Whether to
|
|
102
|
+
Whether to repeat texture along S axis horizontally from left to right.
|
|
100
103
|
|
|
101
104
|
### SFBool [ ] **repeatT** TRUE
|
|
102
105
|
|
|
103
|
-
Whether to
|
|
106
|
+
Whether to repeat texture along T axis vertically from top to bottom.
|
|
104
107
|
|
|
105
108
|
### SFNode [ ] **textureProperties** NULL <small>[TextureProperties]</small>
|
|
106
109
|
|
|
107
|
-
|
|
110
|
+
Single contained TextureProperties node that can specify additional visual attributes applied to corresponding texture images.
|
|
108
111
|
|
|
109
|
-
##
|
|
112
|
+
## Advisories
|
|
110
113
|
|
|
111
114
|
### Hints
|
|
112
115
|
|
|
@@ -114,6 +117,12 @@ Field textureProperties.
|
|
|
114
117
|
- Insert Shape and Appearance nodes before adding texture.
|
|
115
118
|
- Authors can provide multiple image formats for the same image, with each source address listed separately in the url field.
|
|
116
119
|
- Player support is required for .png and .jpg formats, support is suggested for .gif format. Other image formats are optionally supported.
|
|
120
|
+
- [X3D Scene Authoring Hints, Images](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Images){:target="_blank"}
|
|
121
|
+
- If a texture is opaque, omitting values in the alpha channel can help avoid rendering artifacts related to transparency and reduce file size by 25%.
|
|
122
|
+
- Texture coordinates are reapplied (or else recomputed if textureTransform field initially NULL) whenever the corresponding vertex-based geometry changes.
|
|
123
|
+
- [Texture mapping](https://en.wikipedia.org/wiki/Texture_mapping){:target="_blank"}
|
|
124
|
+
- [X3D Architecture 17.2.2 Lighting model](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/lighting.html#Lightingmodel){:target="_blank"}
|
|
125
|
+
- [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"}
|
|
117
126
|
|
|
118
127
|
### Warnings
|
|
119
128
|
|
|
@@ -124,7 +133,6 @@ Field textureProperties.
|
|
|
124
133
|
|
|
125
134
|
<x3d-canvas src="https://create3000.github.io/media/examples/Texturing/ImageTexture/ImageTexture.x3d" update="auto"></x3d-canvas>
|
|
126
135
|
|
|
127
|
-
##
|
|
136
|
+
## See Also
|
|
128
137
|
|
|
129
|
-
- [X3D Specification of ImageTexture](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#ImageTexture){:target="_blank"}
|
|
130
|
-
- [X3D Scene Authoring Hints, Images](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Images){:target="_blank"}
|
|
138
|
+
- [X3D Specification of ImageTexture node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#ImageTexture){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: MovieTexture
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Texturing
|
|
5
5
|
categories: [components, Texturing]
|
|
6
6
|
tags: [MovieTexture, Texturing]
|
|
@@ -13,9 +13,9 @@ tags: [MovieTexture, Texturing]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
MovieTexture applies a 2D movie image to surface geometry, or provides audio for a Sound node. First define as texture, then USE as Sound source to see it/hear it/save memory. Texture maps have a 2D coordinate system (s, t) horizontal and vertical, with (s, t) values in range [0.0, 1.0] for opposite corners of the image.
|
|
16
|
+
MovieTexture applies a 2D movie image to surface geometry, or provides audio for a Sound node. First define as texture, then USE as Sound source to see it/hear it/save memory. Texture maps have a 2D coordinate system (s, t) horizontal and vertical, with (s, t) texture-coordinate values in range [0.0, 1.0] for opposite corners of the image.
|
|
17
17
|
|
|
18
|
-
The MovieTexture node belongs to the **Texturing** component and its default container field is *texture.* It is available
|
|
18
|
+
The MovieTexture node belongs to the **Texturing** component and its default container field is *texture.* It is available from X3D version 2.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -34,7 +34,11 @@ The MovieTexture node belongs to the **Texturing** component and its default con
|
|
|
34
34
|
|
|
35
35
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
38
|
+
|
|
39
|
+
#### Hint
|
|
40
|
+
|
|
41
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
38
42
|
|
|
39
43
|
### SFString [in, out] **description** ""
|
|
40
44
|
|
|
@@ -42,7 +46,7 @@ Author-provided prose that describes intended purpose of the url asset.
|
|
|
42
46
|
|
|
43
47
|
#### Hint
|
|
44
48
|
|
|
45
|
-
- 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).
|
|
49
|
+
- 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
50
|
|
|
47
51
|
### SFBool [in, out] **enabled** TRUE
|
|
48
52
|
|
|
@@ -50,11 +54,11 @@ Enables/disables node operation.
|
|
|
50
54
|
|
|
51
55
|
### SFBool [in, out] **load** TRUE
|
|
52
56
|
|
|
53
|
-
*load*=true means load immediately, load
|
|
57
|
+
*load*=true means *load* immediately, *load*=false means defer loading or else unload a previously loaded scene.
|
|
54
58
|
|
|
55
59
|
#### Hints
|
|
56
60
|
|
|
57
|
-
- Allows author to design when
|
|
61
|
+
- Allows author to design when Inline loading occurs via user interaction, event chains or scripting.
|
|
58
62
|
- Use a separate LoadSensor node to detect when loading is complete.
|
|
59
63
|
|
|
60
64
|
### MFString [in, out] **url** [ ] <small>[URI]</small>
|
|
@@ -63,15 +67,14 @@ Location and filename of movie file or stream. Multiple locations are more relia
|
|
|
63
67
|
|
|
64
68
|
#### Hints
|
|
65
69
|
|
|
66
|
-
- MFString arrays can have multiple values, so separate each individual string by quote marks "https://www.web3d.org" "https://www.web3d.org/about" "etc."
|
|
70
|
+
- MFString arrays can have multiple values, so separate each individual string by quote marks "https://www.web3d.org" "https://www.web3d.org/about" "etc."
|
|
71
|
+
- Alternative XML encoding for quotation mark " is &quot; (which is an example of a character entity).
|
|
72
|
+
- Can replace embedded blank(s) in *url* queries with %20 for each blank character.
|
|
73
|
+
- [X3D Scene Authoring Hints, urls](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#urls){:target="_blank"}
|
|
67
74
|
|
|
68
75
|
#### Warning
|
|
69
76
|
|
|
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 and
|
|
71
|
-
|
|
72
|
-
#### See Also
|
|
73
|
-
|
|
74
|
-
- [X3D Scene Authoring Hints, urls](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#urls){:target="_blank"}
|
|
77
|
+
- 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.
|
|
75
78
|
|
|
76
79
|
### SFTime [in, out] **autoRefresh** 0 <small>[0,∞)</small>
|
|
77
80
|
|
|
@@ -100,11 +103,11 @@ Location and filename of movie file or stream. Multiple locations are more relia
|
|
|
100
103
|
|
|
101
104
|
### SFFloat [in, out] **gain** 1 <small>(-∞,∞)</small>
|
|
102
105
|
|
|
103
|
-
The gain field is a factor that represents the amount of linear amplification to apply to the output of the node.
|
|
106
|
+
The *gain* field is a factor that represents the amount of linear amplification to apply to the output of the node.
|
|
104
107
|
|
|
105
108
|
#### Hint
|
|
106
109
|
|
|
107
|
-
- Negative gain factors negate the input signal.
|
|
110
|
+
- Negative *gain* factors negate the input signal.
|
|
108
111
|
|
|
109
112
|
#### Warning
|
|
110
113
|
|
|
@@ -116,15 +119,20 @@ Factor for how fast the movie (or soundtrack) is played.
|
|
|
116
119
|
|
|
117
120
|
#### Hints
|
|
118
121
|
|
|
119
|
-
- A MovieTexture node shall display frame 0 if speed = 0.
|
|
122
|
+
- A MovieTexture node shall display frame 0 if *speed* = 0.
|
|
123
|
+
- A negative *speed* value sets the movie to play in reverse.
|
|
120
124
|
|
|
121
125
|
### SFFloat [in, out] **pitch** 1 <small>(0,∞)</small>
|
|
122
126
|
|
|
123
|
-
|
|
127
|
+
Multiplier for the rate at which sampled sound is played. Changing *pitch* also changes playback speed.
|
|
128
|
+
|
|
129
|
+
#### Hint
|
|
130
|
+
|
|
131
|
+
- Changing the *pitch* field does not trigger a duration_changed event. Playback interval may vary but duration of the original media data remains unmodified.
|
|
124
132
|
|
|
125
133
|
### SFBool [in, out] **loop** FALSE
|
|
126
134
|
|
|
127
|
-
Repeat indefinitely when loop
|
|
135
|
+
Repeat indefinitely when *loop*=true, repeat only once when *loop*=false.
|
|
128
136
|
|
|
129
137
|
### SFTime [in, out] **startTime** 0 <small>(-∞,∞)</small>
|
|
130
138
|
|
|
@@ -132,15 +140,15 @@ Absolute time: number of seconds since January 1, 1970, 00:00:00 GMT.
|
|
|
132
140
|
|
|
133
141
|
#### Hint
|
|
134
142
|
|
|
135
|
-
-
|
|
143
|
+
- ROUTE a time value matching system clock to this field, such as output event from TouchSensor touchTime or TimeTrigger triggerTime.
|
|
136
144
|
|
|
137
145
|
### SFTime [in, out] **resumeTime** 0 <small>(-∞,∞)</small>
|
|
138
146
|
|
|
139
|
-
When resumeTime becomes\<= time now, isPaused becomes false and MovieTexture becomes active. Absolute time: number of seconds since January 1, 1970, 00:00:00 GMT.
|
|
147
|
+
When *resumeTime* becomes \<= time now, isPaused becomes false and MovieTexture becomes active. Absolute time: number of seconds since January 1, 1970, 00:00:00 GMT.
|
|
140
148
|
|
|
141
149
|
#### Hint
|
|
142
150
|
|
|
143
|
-
-
|
|
151
|
+
- ROUTE a time value matching system clock to this field, such as output event from TouchSensor touchTime or TimeTrigger triggerTime.
|
|
144
152
|
|
|
145
153
|
#### Warning
|
|
146
154
|
|
|
@@ -148,11 +156,11 @@ When resumeTime becomes\<= time now, isPaused becomes false and MovieTexture bec
|
|
|
148
156
|
|
|
149
157
|
### SFTime [in, out] **pauseTime** 0 <small>(-∞,∞)</small>
|
|
150
158
|
|
|
151
|
-
When time now \>= pauseTime
|
|
159
|
+
When time now \>= *pauseTime*, isPaused becomes true and MovieTexture becomes paused. Absolute time: number of seconds since January 1, 1970, 00:00:00 GMT.
|
|
152
160
|
|
|
153
161
|
#### Hint
|
|
154
162
|
|
|
155
|
-
-
|
|
163
|
+
- ROUTE a time value matching system clock to this field, such as output event from TouchSensor touchTime or TimeTrigger triggerTime.
|
|
156
164
|
|
|
157
165
|
#### Warning
|
|
158
166
|
|
|
@@ -164,70 +172,93 @@ Absolute time: number of seconds since January 1, 1970, 00:00:00 GMT.
|
|
|
164
172
|
|
|
165
173
|
#### Hint
|
|
166
174
|
|
|
167
|
-
-
|
|
175
|
+
- ROUTE a time value matching system clock to this field, such as output event from TouchSensor touchTime or TimeTrigger triggerTime.
|
|
168
176
|
|
|
169
177
|
#### Warnings
|
|
170
178
|
|
|
171
|
-
- An active TimeSensor node ignores set_cycleInterval and set_startTime events.
|
|
179
|
+
- An active TimeSensor node ignores set_cycleInterval and set_startTime events.
|
|
180
|
+
- An active TimeSensor node ignores set_stopTime event values less than or equal to startTime.
|
|
172
181
|
|
|
173
182
|
### SFBool [out] **isPaused**
|
|
174
183
|
|
|
175
184
|
*isPaused* true/false events are sent when MovieTexture is paused/resumed.
|
|
176
185
|
|
|
177
|
-
####
|
|
186
|
+
#### Warnings
|
|
178
187
|
|
|
179
188
|
- Not supported in VRML97.
|
|
189
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
180
190
|
|
|
181
191
|
### SFBool [out] **isActive**
|
|
182
192
|
|
|
183
193
|
*isActive* true/false events are sent when playback starts/stops.
|
|
184
194
|
|
|
195
|
+
#### Warning
|
|
196
|
+
|
|
197
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
198
|
+
|
|
185
199
|
### SFTime [out] **elapsedTime**
|
|
186
200
|
|
|
187
201
|
Current elapsed time since MovieTexture activated/running, cumulative in seconds, and not counting any paused time.
|
|
188
202
|
|
|
189
|
-
####
|
|
203
|
+
#### Hint
|
|
204
|
+
|
|
205
|
+
- *elapsedTime* is a nonnegative SFTime duration interval, not an absolute clock time.
|
|
206
|
+
|
|
207
|
+
#### Warnings
|
|
190
208
|
|
|
191
209
|
- Not supported in VRML97.
|
|
210
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
192
211
|
|
|
193
212
|
### SFTime [out] **duration_changed**
|
|
194
213
|
|
|
195
|
-
Length of time in seconds for one cycle of
|
|
214
|
+
Length of time in seconds for one cycle of media stream.
|
|
215
|
+
|
|
216
|
+
#### Hints
|
|
217
|
+
|
|
218
|
+
- *duration_changed* is an SFTime duration interval, normally nonnegative, and not an absolute clock time.
|
|
219
|
+
- Changing the pitch field does not trigger a *duration_changed* event. Playback interval may vary but duration of the original media data remains unmodified.
|
|
220
|
+
|
|
221
|
+
#### Warnings
|
|
222
|
+
|
|
223
|
+
- Duration value of -1 implies that media data has not yet loaded or is unavailable for some reason.
|
|
224
|
+
- It is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
|
|
196
225
|
|
|
197
226
|
### SFBool [ ] **repeatS** TRUE
|
|
198
227
|
|
|
199
|
-
Whether to
|
|
228
|
+
Whether to repeat texture along S axis horizontally from left to right.
|
|
200
229
|
|
|
201
230
|
### SFBool [ ] **repeatT** TRUE
|
|
202
231
|
|
|
203
|
-
Whether to
|
|
232
|
+
Whether to repeat texture along T axis vertically from top to bottom.
|
|
204
233
|
|
|
205
234
|
### SFNode [ ] **textureProperties** NULL <small>[TextureProperties]</small>
|
|
206
235
|
|
|
207
|
-
|
|
236
|
+
Single contained TextureProperties node that can specify additional visual attributes applied to corresponding texture images.
|
|
208
237
|
|
|
209
|
-
##
|
|
238
|
+
## Advisories
|
|
210
239
|
|
|
211
240
|
### Hints
|
|
212
241
|
|
|
213
|
-
- Texture width and height must be power of two.
|
|
214
242
|
- Can contain a single TextureProperties node.
|
|
215
243
|
- Insert Shape and Appearance nodes before adding texture.
|
|
216
244
|
- Provide a Viewpoint that allows a clear view of the MovieTexture so that users can easily see all details.
|
|
217
245
|
- Utilize DEF/USE references for multiple copies of a single MovieTexture video file in order to avoid multiple-download delays, reduce memory requirements, and maintain synchronization.
|
|
218
246
|
- Authors can provide multiple video formats for the same video track, with each source address listed separately in the url field.
|
|
219
247
|
- Player support for MPEG-1 video format is required, other formats are optional.
|
|
220
|
-
-
|
|
248
|
+
- Texture coordinates are reapplied (or else recomputed if textureTransform field initially NULL) whenever the corresponding vertex-based geometry changes.
|
|
249
|
+
- [X3D Scene Authoring Hints, Images](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Images){:target="_blank"}
|
|
250
|
+
- [Texture mapping](https://en.wikipedia.org/wiki/Texture_mapping){:target="_blank"}
|
|
251
|
+
- [X3D Architecture 17.2.2 Lighting model](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/lighting.html#Lightingmodel){:target="_blank"}
|
|
252
|
+
- [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"}
|
|
221
253
|
|
|
222
254
|
### Warning
|
|
223
255
|
|
|
224
|
-
- MovieTexture has containerField='texture' when parent is an Appearance node, otherwise containerField='source' when parent is a Sound node.
|
|
256
|
+
- MovieTexture has `containerField='texture'` when parent is an Appearance node, otherwise `containerField='source'` when parent is a Sound node.
|
|
225
257
|
|
|
226
258
|
## Example
|
|
227
259
|
|
|
228
260
|
<x3d-canvas src="https://create3000.github.io/media/examples/Texturing/MovieTexture/MovieTexture.x3d" update="auto"></x3d-canvas>
|
|
229
261
|
|
|
230
|
-
##
|
|
262
|
+
## See Also
|
|
231
263
|
|
|
232
|
-
- [X3D Specification of MovieTexture](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#MovieTexture){:target="_blank"}
|
|
233
|
-
- [X3D Scene Authoring Hints, Images](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Images){:target="_blank"}
|
|
264
|
+
- [X3D Specification of MovieTexture node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#MovieTexture){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: MultiTexture
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Texturing
|
|
5
5
|
categories: [components, Texturing]
|
|
6
6
|
tags: [MultiTexture, Texturing]
|
|
@@ -13,9 +13,9 @@ tags: [MultiTexture, Texturing]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
MultiTexture applies several individual textures to a
|
|
16
|
+
MultiTexture applies several individual textures to a single geometry node, enabling a variety of visual effects that include light mapping and environment mapping. MultiTexture can contain zero or more ImageTexture, MovieTexture, PixelTexture, ComposedCubeMapTexture, GeneratedCubeMapTexture, ImageCubeMapTexture, ComposedTexture3D, ImageTexture3D, and PixelTexture3D nodes. Texture maps have a 2D coordinate system (s, t) horizontal and vertical, with (s, t) texture-coordinate values in range [0.0, 1.0] for opposite corners of the image.
|
|
17
17
|
|
|
18
|
-
The MultiTexture node belongs to the **Texturing** component and its default container field is *texture.* It is available
|
|
18
|
+
The MultiTexture node belongs to the **Texturing** component and its default container field is *texture.* It is available from X3D version 3.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -30,7 +30,11 @@ The MultiTexture node belongs to the **Texturing** component and its default con
|
|
|
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
|
### SFString [in, out] **description** ""
|
|
36
40
|
|
|
@@ -38,19 +42,19 @@ Author-provided prose that describes intended purpose of the url asset.
|
|
|
38
42
|
|
|
39
43
|
#### Hint
|
|
40
44
|
|
|
41
|
-
- 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).
|
|
45
|
+
- 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).
|
|
42
46
|
|
|
43
47
|
### SFColor [in, out] **color** 1 1 1 <small>[0,1]</small>
|
|
44
48
|
|
|
45
|
-
The color field defines the RGB base values for mode operations.
|
|
49
|
+
The *color* field defines the RGB base values for mode operations.
|
|
46
50
|
|
|
47
|
-
####
|
|
51
|
+
#### Hint
|
|
48
52
|
|
|
49
53
|
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
50
54
|
|
|
51
55
|
### SFFloat [in, out] **alpha** 1 <small>[0,1]</small>
|
|
52
56
|
|
|
53
|
-
The alpha field defines the alpha (1-transparency) base value for mode operations.
|
|
57
|
+
The *alpha* field defines the *alpha* (1-transparency) base value for mode operations.
|
|
54
58
|
|
|
55
59
|
### MFString [in, out] **mode** [ ]
|
|
56
60
|
|
|
@@ -58,7 +62,8 @@ The alpha field defines the alpha (1-transparency) base value for mode operation
|
|
|
58
62
|
|
|
59
63
|
#### Hints
|
|
60
64
|
|
|
61
|
-
- Include the same number of mode values as textures, otherwise the default value MODULATE is added for each remaining stage.
|
|
65
|
+
- Include the same number of *mode* values as textures, otherwise the default value MODULATE is added for each remaining stage.
|
|
66
|
+
- [X3D Architecture Table 18.3 Multitexture modes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html#t-MultitextureModes){:target="_blank"} for further details.
|
|
62
67
|
|
|
63
68
|
#### Warning
|
|
64
69
|
|
|
@@ -66,35 +71,58 @@ The alpha field defines the alpha (1-transparency) base value for mode operation
|
|
|
66
71
|
|
|
67
72
|
### MFString [in, out] **source** [ ]
|
|
68
73
|
|
|
69
|
-
*source* field determines whether each image source is treated as DIFFUSE, SPECULAR or a multiplicative FACTOR. Empty string value "" indicates that no source modifier is applied for that stage.
|
|
74
|
+
*source* field determines whether each image *source* is treated as DIFFUSE, SPECULAR or a multiplicative FACTOR. Empty string value "" indicates that no *source* modifier is applied for that stage.
|
|
70
75
|
|
|
71
76
|
#### Hints
|
|
72
77
|
|
|
73
|
-
- Include the same number of source values as textures, otherwise the default of no source interpretation is applied for each remaining stage.
|
|
78
|
+
- Include the same number of *source* values as textures, otherwise the default of no *source* interpretation is applied for each remaining stage.
|
|
79
|
+
- [X3D Architecture Table 18.4 Values for the *source* field](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html#t-ValuesForSourceField){:target="_blank"} for further details.
|
|
74
80
|
|
|
75
81
|
### MFString [in, out] **function** [ ]
|
|
76
82
|
|
|
77
|
-
*function* operators COMPLEMENT or ALPHAREPLICATE can be applied after the mode blending operation. Empty string value "" indicates that no function operation is applied for that stage.
|
|
83
|
+
*function* operators COMPLEMENT or ALPHAREPLICATE can be applied after the mode blending operation. Empty string value "" indicates that no *function* operation is applied for that stage.
|
|
78
84
|
|
|
79
85
|
#### Hints
|
|
80
86
|
|
|
81
|
-
- Include the same number of function values as textures, otherwise the default of no function operation is applied for each remaining stage.
|
|
87
|
+
- Include the same number of *function* values as textures, otherwise the default of no *function* operation is applied for each remaining stage.
|
|
88
|
+
- [X3D Architecture Table 18.5 Values for the *function* field](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html#t-ValuesForFunctionField){:target="_blank"} for further details.
|
|
82
89
|
|
|
83
90
|
### MFNode [in, out] **texture** [ ] <small>[X3DTextureNode]</small>
|
|
84
91
|
|
|
85
|
-
|
|
92
|
+
Contained *texture* nodes (ImageTexture, MovieTexture, PixelTexture) that map image(s) to surface geometry, defining each of the different *texture* channels.
|
|
93
|
+
|
|
94
|
+
#### Hints
|
|
95
|
+
|
|
96
|
+
- If *texture* node is NULL or unspecified, corresponding Shape geometry for this Appearance is not textured.
|
|
97
|
+
- [X3D Scene Authoring Hints, Images](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Images){:target="_blank"}
|
|
98
|
+
- [X3D Architecture 18 Texturing component](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html){:target="_blank"}
|
|
99
|
+
- [X3D Architecture 33 Texturing3D component](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texture3D.html){:target="_blank"}
|
|
100
|
+
|
|
101
|
+
#### Warning
|
|
102
|
+
|
|
103
|
+
- MultiTexture may not contain another MultiTexture node.
|
|
86
104
|
|
|
87
|
-
##
|
|
105
|
+
## Advisories
|
|
88
106
|
|
|
89
|
-
###
|
|
107
|
+
### Hints
|
|
90
108
|
|
|
91
109
|
- Insert Shape and Appearance nodes before adding texture.
|
|
92
|
-
-
|
|
110
|
+
- [Texture mapping](https://en.wikipedia.org/wiki/Texture_mapping){:target="_blank"}
|
|
111
|
+
- Multitexturing is accomplished using MultiTexture, MultiTextureCoordinate and MultiTextureTransform nodes.
|
|
112
|
+
- Texture coordinates are reapplied (or else recomputed if textureTransform field initially NULL) whenever the corresponding vertex-based geometry changes.
|
|
113
|
+
- [X3D Texturing component Figure 18.2 Lightmap example](https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/texturing.html#f-Lightmapexample){:target="_blank"}
|
|
114
|
+
- [X3D Texturing component Table 18.2: Comparison of single texture and multitexture attributes](https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/texturing.html#t-SingleAndMultitextureAttrs){:target="_blank"}
|
|
115
|
+
- MultiTexture does not need to be included in LoadSensor watchList since any child ImageTexture and MovieTexture nodes of interest can be handled separately.
|
|
116
|
+
|
|
117
|
+
### Warnings
|
|
118
|
+
|
|
119
|
+
- The number of textures to be blended may have a significant impact on performance, depending on available graphics hardware capabilities.
|
|
120
|
+
- MultiTexture may not contain another MultiTexture node.
|
|
93
121
|
|
|
94
122
|
## Example
|
|
95
123
|
|
|
96
124
|
<x3d-canvas src="https://create3000.github.io/media/examples/Texturing/MultiTexture/MultiTexture.x3d" update="auto"></x3d-canvas>
|
|
97
125
|
|
|
98
|
-
##
|
|
126
|
+
## See Also
|
|
99
127
|
|
|
100
|
-
- [X3D Specification of MultiTexture](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#MultiTexture){:target="_blank"}
|
|
128
|
+
- [X3D Specification of MultiTexture node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#MultiTexture){:target="_blank"}
|