x_ite 8.8.7 → 8.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Makefile +6 -0
- package/README.md +3 -7
- package/build/docs/nodes.pl +434 -0
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +13 -13
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +26 -26
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +14 -14
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +19 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +129 -90
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +27 -27
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +24 -24
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +24 -24
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +18 -18
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +37 -37
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +24 -24
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +14 -14
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +30 -30
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +18 -18
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +9 -9
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +1320 -166
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +2 -2
- package/docs/_posts/components/CADGeometry/CADAssembly.md +45 -19
- package/docs/_posts/components/CADGeometry/CADFace.md +44 -18
- package/docs/_posts/components/CADGeometry/CADLayer.md +48 -19
- package/docs/_posts/components/CADGeometry/CADPart.md +54 -24
- package/docs/_posts/components/CADGeometry/IndexedQuadSet.md +55 -26
- package/docs/_posts/components/CADGeometry/QuadSet.md +52 -20
- package/docs/_posts/components/Core/MetadataBoolean.md +29 -18
- package/docs/_posts/components/Core/MetadataDouble.md +31 -16
- package/docs/_posts/components/Core/MetadataFloat.md +31 -16
- package/docs/_posts/components/Core/MetadataInteger.md +31 -16
- package/docs/_posts/components/Core/MetadataSet.md +30 -15
- package/docs/_posts/components/Core/MetadataString.md +31 -16
- package/docs/_posts/components/Core/WorldInfo.md +21 -10
- package/docs/_posts/components/CubeMapTexturing/ComposedCubeMapTexture.md +30 -25
- package/docs/_posts/components/CubeMapTexturing/GeneratedCubeMapTexture.md +19 -10
- package/docs/_posts/components/CubeMapTexturing/ImageCubeMapTexture.md +22 -18
- package/docs/_posts/components/DIS/DISEntityManager.md +40 -15
- package/docs/_posts/components/DIS/DISEntityTypeMapping.md +34 -25
- package/docs/_posts/components/DIS/EspduTransform.md +174 -41
- package/docs/_posts/components/DIS/ReceiverPdu.md +77 -27
- package/docs/_posts/components/DIS/SignalPdu.md +82 -28
- package/docs/_posts/components/DIS/TransmitterPdu.md +86 -36
- package/docs/_posts/components/EnvironmentalEffects/Background.md +80 -39
- package/docs/_posts/components/EnvironmentalEffects/Fog.md +39 -18
- package/docs/_posts/components/EnvironmentalEffects/FogCoordinate.md +10 -6
- package/docs/_posts/components/EnvironmentalEffects/LocalFog.md +21 -14
- package/docs/_posts/components/EnvironmentalEffects/TextureBackground.md +83 -31
- package/docs/_posts/components/EnvironmentalSensor/ProximitySensor.md +36 -8
- package/docs/_posts/components/EnvironmentalSensor/TransformSensor.md +31 -7
- package/docs/_posts/components/EnvironmentalSensor/VisibilitySensor.md +23 -7
- package/docs/_posts/components/EventUtilities/BooleanFilter.md +23 -10
- package/docs/_posts/components/EventUtilities/BooleanSequencer.md +46 -17
- package/docs/_posts/components/EventUtilities/BooleanToggle.md +29 -8
- package/docs/_posts/components/EventUtilities/BooleanTrigger.md +24 -7
- package/docs/_posts/components/EventUtilities/IntegerSequencer.md +46 -17
- package/docs/_posts/components/EventUtilities/IntegerTrigger.md +34 -9
- package/docs/_posts/components/EventUtilities/TimeTrigger.md +30 -9
- package/docs/_posts/components/Followers/ColorChaser.md +35 -11
- package/docs/_posts/components/Followers/ColorDamper.md +32 -12
- package/docs/_posts/components/Followers/CoordinateChaser.md +33 -9
- package/docs/_posts/components/Followers/CoordinateDamper.md +30 -10
- package/docs/_posts/components/Followers/OrientationChaser.md +34 -10
- package/docs/_posts/components/Followers/OrientationDamper.md +31 -11
- package/docs/_posts/components/Followers/PositionChaser.md +33 -9
- package/docs/_posts/components/Followers/PositionChaser2D.md +33 -9
- package/docs/_posts/components/Followers/PositionDamper.md +30 -10
- package/docs/_posts/components/Followers/PositionDamper2D.md +30 -10
- package/docs/_posts/components/Followers/ScalarChaser.md +33 -9
- package/docs/_posts/components/Followers/ScalarDamper.md +30 -10
- package/docs/_posts/components/Followers/TexCoordChaser2D.md +33 -9
- package/docs/_posts/components/Followers/TexCoordDamper2D.md +30 -10
- package/docs/_posts/components/Geometry2D/Arc2D.md +39 -14
- package/docs/_posts/components/Geometry2D/ArcClose2D.md +43 -19
- package/docs/_posts/components/Geometry2D/Circle2D.md +21 -10
- package/docs/_posts/components/Geometry2D/Disk2D.md +32 -14
- package/docs/_posts/components/Geometry2D/Polyline2D.md +24 -9
- package/docs/_posts/components/Geometry2D/Polypoint2D.md +16 -8
- package/docs/_posts/components/Geometry2D/Rectangle2D.md +23 -12
- package/docs/_posts/components/Geometry2D/TriangleSet2D.md +23 -12
- package/docs/_posts/components/Geometry3D/Box.md +26 -13
- package/docs/_posts/components/Geometry3D/Cone.md +30 -22
- package/docs/_posts/components/Geometry3D/Cylinder.md +30 -26
- package/docs/_posts/components/Geometry3D/ElevationGrid.md +73 -29
- package/docs/_posts/components/Geometry3D/Extrusion.md +100 -48
- package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +92 -38
- package/docs/_posts/components/Geometry3D/Sphere.md +25 -13
- package/docs/_posts/components/Geospatial/GeoCoordinate.md +30 -14
- package/docs/_posts/components/Geospatial/GeoElevationGrid.md +82 -37
- package/docs/_posts/components/Geospatial/GeoLOD.md +66 -27
- package/docs/_posts/components/Geospatial/GeoLocation.md +64 -26
- package/docs/_posts/components/Geospatial/GeoMetadata.md +28 -22
- package/docs/_posts/components/Geospatial/GeoOrigin.md +34 -19
- package/docs/_posts/components/Geospatial/GeoPositionInterpolator.md +64 -18
- package/docs/_posts/components/Geospatial/GeoProximitySensor.md +67 -18
- package/docs/_posts/components/Geospatial/GeoTouchSensor.md +63 -18
- package/docs/_posts/components/Geospatial/GeoTransform.md +72 -28
- package/docs/_posts/components/Geospatial/GeoViewpoint.md +79 -40
- package/docs/_posts/components/Grouping/Group.md +32 -16
- package/docs/_posts/components/Grouping/StaticGroup.md +37 -16
- package/docs/_posts/components/Grouping/Switch.md +39 -20
- package/docs/_posts/components/Grouping/Transform.md +45 -28
- package/docs/_posts/components/HAnim/HAnimDisplacer.md +38 -27
- package/docs/_posts/components/HAnim/HAnimHumanoid.md +215 -56
- package/docs/_posts/components/HAnim/HAnimJoint.md +104 -38
- package/docs/_posts/components/HAnim/HAnimMotion.md +120 -10
- package/docs/_posts/components/HAnim/HAnimSegment.md +72 -32
- package/docs/_posts/components/HAnim/HAnimSite.md +75 -32
- package/docs/_posts/components/Interpolation/ColorInterpolator.md +41 -11
- package/docs/_posts/components/Interpolation/CoordinateInterpolator.md +39 -13
- package/docs/_posts/components/Interpolation/CoordinateInterpolator2D.md +43 -14
- package/docs/_posts/components/Interpolation/EaseInEaseOut.md +36 -12
- package/docs/_posts/components/Interpolation/NormalInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/OrientationInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/PositionInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/PositionInterpolator2D.md +43 -14
- package/docs/_posts/components/Interpolation/ScalarInterpolator.md +39 -13
- package/docs/_posts/components/Interpolation/SplinePositionInterpolator.md +41 -16
- package/docs/_posts/components/Interpolation/SplinePositionInterpolator2D.md +41 -16
- package/docs/_posts/components/Interpolation/SplineScalarInterpolator.md +40 -24
- package/docs/_posts/components/Interpolation/SquadOrientationInterpolator.md +35 -11
- package/docs/_posts/components/KeyDeviceSensor/KeySensor.md +51 -9
- package/docs/_posts/components/KeyDeviceSensor/StringSensor.md +31 -9
- package/docs/_posts/components/Layering/Layer.md +27 -14
- package/docs/_posts/components/Layering/LayerSet.md +19 -13
- package/docs/_posts/components/Layering/Viewport.md +31 -15
- package/docs/_posts/components/Layout/Layout.md +27 -16
- package/docs/_posts/components/Layout/LayoutGroup.md +34 -18
- package/docs/_posts/components/Layout/LayoutLayer.md +28 -15
- package/docs/_posts/components/Layout/ScreenFontStyle.md +72 -45
- package/docs/_posts/components/Layout/ScreenGroup.md +32 -16
- package/docs/_posts/components/Lighting/DirectionalLight.md +19 -11
- package/docs/_posts/components/Lighting/EnvironmentLight.md +2 -6
- package/docs/_posts/components/Lighting/PointLight.md +23 -11
- package/docs/_posts/components/Lighting/SpotLight.md +32 -19
- package/docs/_posts/components/NURBS/Contour2D.md +17 -9
- package/docs/_posts/components/NURBS/ContourPolyline2D.md +10 -6
- package/docs/_posts/components/NURBS/CoordinateDouble.md +13 -9
- package/docs/_posts/components/NURBS/NurbsCurve.md +15 -11
- package/docs/_posts/components/NURBS/NurbsCurve2D.md +14 -10
- package/docs/_posts/components/NURBS/NurbsOrientationInterpolator.md +28 -12
- package/docs/_posts/components/NURBS/NurbsPatchSurface.md +19 -13
- package/docs/_posts/components/NURBS/NurbsPositionInterpolator.md +27 -11
- package/docs/_posts/components/NURBS/NurbsSet.md +48 -14
- package/docs/_posts/components/NURBS/NurbsSurfaceInterpolator.md +31 -11
- package/docs/_posts/components/NURBS/NurbsSweptSurface.md +31 -14
- package/docs/_posts/components/NURBS/NurbsSwungSurface.md +25 -14
- package/docs/_posts/components/NURBS/NurbsTextureCoordinate.md +11 -7
- package/docs/_posts/components/NURBS/NurbsTrimmedSurface.md +26 -16
- package/docs/_posts/components/Navigation/Billboard.md +33 -17
- package/docs/_posts/components/Navigation/Collision.md +59 -22
- package/docs/_posts/components/Navigation/LOD.md +53 -23
- package/docs/_posts/components/Navigation/NavigationInfo.md +68 -25
- package/docs/_posts/components/Navigation/OrthoViewpoint.md +80 -37
- package/docs/_posts/components/Navigation/Viewpoint.md +86 -39
- package/docs/_posts/components/Navigation/ViewpointGroup.md +28 -17
- package/docs/_posts/components/Networking/Anchor.md +54 -56
- package/docs/_posts/components/Networking/Inline.md +42 -29
- package/docs/_posts/components/Networking/LoadSensor.md +41 -9
- package/docs/_posts/components/ParticleSystems/BoundedPhysicsModel.md +16 -8
- package/docs/_posts/components/ParticleSystems/ConeEmitter.md +25 -10
- package/docs/_posts/components/ParticleSystems/ExplosionEmitter.md +18 -11
- package/docs/_posts/components/ParticleSystems/ForcePhysicsModel.md +15 -8
- package/docs/_posts/components/ParticleSystems/ParticleSystem.md +92 -46
- package/docs/_posts/components/ParticleSystems/PointEmitter.md +19 -12
- package/docs/_posts/components/ParticleSystems/PolylineEmitter.md +23 -15
- package/docs/_posts/components/ParticleSystems/SurfaceEmitter.md +21 -14
- package/docs/_posts/components/ParticleSystems/VolumeEmitter.md +25 -18
- package/docs/_posts/components/ParticleSystems/WindPhysicsModel.md +11 -7
- package/docs/_posts/components/Picking/LinePickSensor.md +37 -15
- package/docs/_posts/components/Picking/PickableGroup.md +40 -22
- package/docs/_posts/components/Picking/PointPickSensor.md +29 -12
- package/docs/_posts/components/Picking/PrimitivePickSensor.md +25 -17
- package/docs/_posts/components/Picking/VolumePickSensor.md +25 -12
- package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +43 -18
- package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +40 -17
- package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +35 -13
- package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +48 -14
- package/docs/_posts/components/Rendering/ClipPlane.md +20 -15
- package/docs/_posts/components/Rendering/Color.md +14 -14
- package/docs/_posts/components/Rendering/ColorRGBA.md +13 -9
- package/docs/_posts/components/Rendering/Coordinate.md +11 -7
- package/docs/_posts/components/Rendering/IndexedLineSet.md +58 -24
- package/docs/_posts/components/Rendering/IndexedTriangleFanSet.md +44 -23
- package/docs/_posts/components/Rendering/IndexedTriangleSet.md +45 -24
- package/docs/_posts/components/Rendering/IndexedTriangleStripSet.md +45 -20
- package/docs/_posts/components/Rendering/LineSet.md +26 -14
- package/docs/_posts/components/Rendering/Normal.md +28 -6
- package/docs/_posts/components/Rendering/PointSet.md +24 -11
- package/docs/_posts/components/Rendering/TriangleFanSet.md +44 -19
- package/docs/_posts/components/Rendering/TriangleSet.md +44 -19
- package/docs/_posts/components/Rendering/TriangleStripSet.md +45 -20
- package/docs/_posts/components/RigidBodyPhysics/BallJoint.md +22 -10
- package/docs/_posts/components/RigidBodyPhysics/CollidableOffset.md +37 -14
- package/docs/_posts/components/RigidBodyPhysics/CollidableShape.md +34 -16
- package/docs/_posts/components/RigidBodyPhysics/CollisionCollection.md +17 -12
- package/docs/_posts/components/RigidBodyPhysics/CollisionSensor.md +21 -12
- package/docs/_posts/components/RigidBodyPhysics/CollisionSpace.md +31 -12
- package/docs/_posts/components/RigidBodyPhysics/Contact.md +19 -15
- package/docs/_posts/components/RigidBodyPhysics/DoubleAxisHingeJoint.md +33 -27
- package/docs/_posts/components/RigidBodyPhysics/MotorJoint.md +63 -11
- package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +22 -12
- package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +30 -14
- package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +26 -14
- package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +24 -12
- package/docs/_posts/components/RigidBodyPhysics/UniversalJoint.md +23 -15
- package/docs/_posts/components/Scripting/Script.md +43 -27
- package/docs/_posts/components/Shaders/ComposedShader.md +30 -17
- package/docs/_posts/components/Shaders/FloatVertexAttribute.md +18 -9
- package/docs/_posts/components/Shaders/Matrix3VertexAttribute.md +17 -8
- package/docs/_posts/components/Shaders/Matrix4VertexAttribute.md +17 -8
- package/docs/_posts/components/Shaders/PackagedShader.md +36 -30
- package/docs/_posts/components/Shaders/ProgramShader.md +35 -15
- package/docs/_posts/components/Shaders/ShaderPart.md +27 -18
- package/docs/_posts/components/Shaders/ShaderProgram.md +28 -17
- package/docs/_posts/components/Shape/AcousticProperties.md +34 -6
- package/docs/_posts/components/Shape/Appearance.md +29 -22
- package/docs/_posts/components/Shape/FillProperties.md +19 -12
- package/docs/_posts/components/Shape/LineProperties.md +18 -10
- package/docs/_posts/components/Shape/Material.md +64 -38
- package/docs/_posts/components/Shape/PhysicalMaterial.md +49 -25
- package/docs/_posts/components/Shape/PointProperties.md +21 -14
- package/docs/_posts/components/Shape/Shape.md +35 -17
- package/docs/_posts/components/Shape/TwoSidedMaterial.md +35 -36
- package/docs/_posts/components/Shape/UnlitMaterial.md +29 -17
- package/docs/_posts/components/Sound/Analyser.md +133 -4
- package/docs/_posts/components/Sound/AudioClip.md +64 -30
- package/docs/_posts/components/Sound/AudioDestination.md +76 -4
- package/docs/_posts/components/Sound/BiquadFilter.md +143 -4
- package/docs/_posts/components/Sound/BufferAudioSource.md +165 -13
- package/docs/_posts/components/Sound/ChannelMerger.md +62 -4
- package/docs/_posts/components/Sound/ChannelSelector.md +64 -4
- package/docs/_posts/components/Sound/ChannelSplitter.md +68 -4
- package/docs/_posts/components/Sound/Convolver.md +124 -4
- package/docs/_posts/components/Sound/Delay.md +119 -4
- package/docs/_posts/components/Sound/DynamicsCompressor.md +127 -4
- package/docs/_posts/components/Sound/Gain.md +115 -4
- package/docs/_posts/components/Sound/ListenerPointSource.md +109 -4
- package/docs/_posts/components/Sound/MicrophoneSource.md +91 -4
- package/docs/_posts/components/Sound/OscillatorSource.md +95 -4
- package/docs/_posts/components/Sound/PeriodicWave.md +43 -5
- package/docs/_posts/components/Sound/Sound.md +53 -20
- package/docs/_posts/components/Sound/SpatialSound.md +120 -4
- package/docs/_posts/components/Sound/StreamAudioDestination.md +80 -4
- package/docs/_posts/components/Sound/StreamAudioSource.md +91 -4
- package/docs/_posts/components/Sound/WaveShaper.md +123 -4
- package/docs/_posts/components/Text/FontStyle.md +73 -47
- package/docs/_posts/components/Text/Text.md +48 -26
- package/docs/_posts/components/TextureProjector/TextureProjector.md +55 -6
- package/docs/_posts/components/TextureProjector/TextureProjectorParallel.md +56 -6
- package/docs/_posts/components/Texturing/ImageTexture.md +28 -20
- package/docs/_posts/components/Texturing/MovieTexture.md +69 -38
- package/docs/_posts/components/Texturing/MultiTexture.md +47 -19
- package/docs/_posts/components/Texturing/MultiTextureCoordinate.md +27 -10
- package/docs/_posts/components/Texturing/MultiTextureTransform.md +32 -10
- package/docs/_posts/components/Texturing/PixelTexture.md +34 -14
- package/docs/_posts/components/Texturing/TextureCoordinate.md +20 -10
- package/docs/_posts/components/Texturing/TextureCoordinateGenerator.md +22 -12
- package/docs/_posts/components/Texturing/TextureProperties.md +44 -19
- package/docs/_posts/components/Texturing/TextureTransform.md +17 -8
- package/docs/_posts/components/Texturing3D/ComposedTexture3D.md +21 -13
- package/docs/_posts/components/Texturing3D/ImageTexture3D.md +32 -23
- package/docs/_posts/components/Texturing3D/ImageTextureAtlas.md +22 -16
- package/docs/_posts/components/Texturing3D/PixelTexture3D.md +25 -13
- package/docs/_posts/components/Texturing3D/TextureCoordinate3D.md +22 -10
- package/docs/_posts/components/Texturing3D/TextureCoordinate4D.md +21 -9
- package/docs/_posts/components/Texturing3D/TextureTransform3D.md +17 -8
- package/docs/_posts/components/Texturing3D/TextureTransformMatrix3D.md +20 -10
- package/docs/_posts/components/Time/TimeSensor.md +66 -23
- package/docs/_posts/components/VolumeRendering/BlendedVolumeStyle.md +36 -15
- package/docs/_posts/components/VolumeRendering/BoundaryEnhancementVolumeStyle.md +15 -5
- package/docs/_posts/components/VolumeRendering/CartoonVolumeStyle.md +20 -17
- package/docs/_posts/components/VolumeRendering/ComposedVolumeStyle.md +15 -7
- package/docs/_posts/components/VolumeRendering/EdgeEnhancementVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/IsoSurfaceVolumeData.md +43 -21
- package/docs/_posts/components/VolumeRendering/OpacityMapVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/ProjectionVolumeStyle.md +17 -7
- package/docs/_posts/components/VolumeRendering/SegmentedVolumeData.md +50 -17
- package/docs/_posts/components/VolumeRendering/ShadedVolumeStyle.md +18 -10
- package/docs/_posts/components/VolumeRendering/SilhouetteEnhancementVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/ToneMappedVolumeStyle.md +20 -11
- package/docs/_posts/components/VolumeRendering/VolumeData.md +32 -15
- package/docs/_posts/components/X_ITE/BlendMode.md +9 -2
- package/docs/_posts/getting-started.md +4 -7
- package/docs/_posts/laboratory/x3d-file-converter.md +1 -1
- package/docs/laboratory/gltf-sample-viewer.html +52 -4
- package/package.json +2 -1
- package/src/standard/Math/Geometry/Box2.js +12 -2
- package/src/standard/Math/Geometry/Box3.js +12 -2
- package/src/x_ite/Base/X3DObjectArrayField.js +3 -2
- package/src/x_ite/Base/X3DTypedArrayField.js +3 -2
- package/src/x_ite/Browser/Core/X3DCoreContext.js +10 -3
- package/src/x_ite/Browser/DOMIntegration.js +13 -8
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +1 -1
- package/src/x_ite/Components/DIS/DISEntityManager.js +1 -1
- package/src/x_ite/Components/Grouping/Switch.js +1 -1
- package/src/x_ite/Components/HAnim/HAnimHumanoid.js +105 -68
- package/src/x_ite/Components/HAnim/HAnimMotion.js +3 -3
- package/src/x_ite/Components/Layering/X3DLayerNode.js +1 -1
- package/src/x_ite/Components/Lighting/DirectionalLight.js +1 -1
- package/src/x_ite/Components/Navigation/Collision.js +1 -1
- package/src/x_ite/Components/Navigation/LOD.js +1 -1
- package/src/x_ite/Components/Navigation/X3DViewpointNode.js +1 -1
- package/src/x_ite/Components/Networking/LoadSensor.js +1 -1
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +1 -1
- package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +1 -1
- package/src/x_ite/Components/Shape/AcousticProperties.js +1 -1
- package/src/x_ite/Components/Shape/Appearance.js +1 -1
- package/src/x_ite/Components/Shape/Material.js +1 -1
- package/src/x_ite/Components/Shape/TwoSidedMaterial.js +1 -1
- package/src/x_ite/Components/Sound/PeriodicWave.js +1 -1
- package/src/x_ite/Components/Texturing/TextureProperties.js +1 -1
- package/src/x_ite/Fields/ArrayFields.js +9 -7
- package/src/x_ite/Fields/SFColor.js +1 -1
- package/src/x_ite/Fields/SFMatrixPrototypeTemplate.js +1 -1
- package/src/x_ite/Fields/SFRotation.js +3 -3
- package/src/x_ite/Fields/SFVecPrototypeTemplate.js +1 -1
- package/src/x_ite/Parser/GLTF2Parser.js +316 -55
- package/src/x_ite/Parser/GoldenGate.js +16 -5
- package/src/x_ite/Parser/PLYAParser.js +615 -0
- package/src/x_ite/Parser/PLYBParser.js +222 -0
- package/src/x_ite/Parser/STLAParser.js +0 -1
- package/src/x_ite/Parser/SVGParser.js +1 -1
- /package/build/{bin → docs}/components.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: MultiTextureCoordinate
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Texturing
|
|
5
5
|
categories: [components, Texturing]
|
|
6
6
|
tags: [MultiTextureCoordinate, Texturing]
|
|
@@ -13,9 +13,9 @@ tags: [MultiTextureCoordinate, Texturing]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
MultiTextureCoordinate contains multiple TextureCoordinate or TextureCoordinateGenerator nodes, for use by a parent polygonal geometry node such as IndexedFaceSet or a Triangle
|
|
16
|
+
MultiTextureCoordinate contains multiple TextureCoordinate or TextureCoordinateGenerator nodes, for use by a parent polygonal geometry node such as IndexedFaceSet or a Triangle* node. Each of the contained texture coordinate nodes correspond to the multiple texture nodes contained in a sibling Appearance/MultiTexture node.
|
|
17
17
|
|
|
18
|
-
The MultiTextureCoordinate node belongs to the **Texturing** component and its default container field is *texCoord.* It is available
|
|
18
|
+
The MultiTextureCoordinate node belongs to the **Texturing** component and its default container field is *texCoord.* It is available from X3D version 3.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -30,18 +30,35 @@ The MultiTextureCoordinate node belongs to the **Texturing** component and its d
|
|
|
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
|
### MFNode [in, out] **texCoord** [ ] <small>[X3DTextureCoordinateNode]</small>
|
|
36
40
|
|
|
37
|
-
|
|
41
|
+
Zero or more contained TextureCoordinate or TextureCoordinateGenerator nodes that specify texture coordinates for the different texture channels, used for texture mapping onto corresponding geometry.
|
|
42
|
+
|
|
43
|
+
#### Warning
|
|
44
|
+
|
|
45
|
+
- MultiTextureCoordinate may not contain another MultiTextureCoordinate node.
|
|
46
|
+
|
|
47
|
+
## Advisories
|
|
48
|
+
|
|
49
|
+
### Hints
|
|
38
50
|
|
|
39
|
-
|
|
51
|
+
- Add Shape and then polygonal/planar geometry before adding MultiTextureCoordinate.
|
|
52
|
+
- [Texture mapping](https://en.wikipedia.org/wiki/Texture_mapping){:target="_blank"}
|
|
53
|
+
- Multitexturing is accomplished using MultiTexture, MultiTextureCoordinate and MultiTextureTransform nodes.
|
|
54
|
+
- [X3D Texturing component Figure 18.2 Lightmap example](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html#f-Lightmapexample){:target="_blank"}
|
|
55
|
+
- [X3D Texturing component Table 18.2: Comparison of single texture and multitexture attributes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html#t-SingleAndMultitextureAttrs){:target="_blank"}
|
|
40
56
|
|
|
41
|
-
###
|
|
57
|
+
### Warnings
|
|
42
58
|
|
|
43
|
-
-
|
|
59
|
+
- The number of textures to be blended may have a significant impact on performance, depending on available graphics hardware capabilities.
|
|
60
|
+
- MultiTextureCoordinate may not contain another MultiTextureCoordinate node.
|
|
44
61
|
|
|
45
|
-
##
|
|
62
|
+
## See Also
|
|
46
63
|
|
|
47
|
-
- [X3D Specification of MultiTextureCoordinate](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#MultiTextureCoordinate){:target="_blank"}
|
|
64
|
+
- [X3D Specification of MultiTextureCoordinate node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#MultiTextureCoordinate){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: MultiTextureTransform
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Texturing
|
|
5
5
|
categories: [components, Texturing]
|
|
6
6
|
tags: [MultiTextureTransform, Texturing]
|
|
@@ -13,9 +13,9 @@ tags: [MultiTextureTransform, Texturing]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
MultiTextureTransform contains multiple TextureTransform nodes, for use by
|
|
16
|
+
MultiTextureTransform contains multiple TextureTransform nodes, each provided for use by corresponding ImageTexture MovieTexture or PixelTexture nodes within a sibling MultiTexture node.
|
|
17
17
|
|
|
18
|
-
The MultiTextureTransform node belongs to the **Texturing** component and its default container field is *textureTransform.* It is available
|
|
18
|
+
The MultiTextureTransform node belongs to the **Texturing** component and its default container field is *textureTransform.* It is available from X3D version 3.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -30,18 +30,40 @@ The MultiTextureTransform node belongs to the **Texturing** component and its de
|
|
|
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
|
### MFNode [in, out] **textureTransform** [ ] <small>[X3DTextureTransformNode]</small>
|
|
36
40
|
|
|
37
|
-
|
|
41
|
+
Zero or more contained TextureTransform nodes, for each of the different texture channels, that define 2D transformation applied to texture coordinates.
|
|
42
|
+
|
|
43
|
+
#### Hints
|
|
44
|
+
|
|
45
|
+
- Texture coordinates are reapplied (or else recomputed if *textureTransform* field initially NULL) whenever the corresponding vertex-based geometry changes.
|
|
46
|
+
- If *textureTransform* array is empty, then this field has no effect.
|
|
47
|
+
|
|
48
|
+
#### Warning
|
|
49
|
+
|
|
50
|
+
- MultiTextureTransform may not contain another MultiTextureTransform node.
|
|
51
|
+
|
|
52
|
+
## Advisories
|
|
53
|
+
|
|
54
|
+
### Hints
|
|
38
55
|
|
|
39
|
-
|
|
56
|
+
- Insert Shape and Appearance nodes before adding MultiTextureTransform.
|
|
57
|
+
- [Texture mapping](https://en.wikipedia.org/wiki/Texture_mapping){:target="_blank"}
|
|
58
|
+
- Multitexturing is accomplished using MultiTexture, MultiTextureCoordinate and MultiTextureTransform nodes.
|
|
59
|
+
- [X3D Texturing component Figure 18.2 Lightmap example](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html#f-Lightmapexample){:target="_blank"}
|
|
60
|
+
- [X3D Texturing component Table 18.2: Comparison of single texture and multitexture attributes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html#t-SingleAndMultitextureAttrs){:target="_blank"}
|
|
40
61
|
|
|
41
|
-
###
|
|
62
|
+
### Warnings
|
|
42
63
|
|
|
43
|
-
-
|
|
64
|
+
- The number of textures to be blended may have a significant impact on performance, depending on available graphics hardware capabilities.
|
|
65
|
+
- MultiTextureTransform may not contain another MultiTextureTransform node.
|
|
44
66
|
|
|
45
|
-
##
|
|
67
|
+
## See Also
|
|
46
68
|
|
|
47
|
-
- [X3D Specification of MultiTextureTransform](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#MultiTextureTransform){:target="_blank"}
|
|
69
|
+
- [X3D Specification of MultiTextureTransform node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#MultiTextureTransform){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: PixelTexture
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Texturing
|
|
5
5
|
categories: [components, Texturing]
|
|
6
6
|
tags: [PixelTexture, Texturing]
|
|
@@ -13,9 +13,9 @@ tags: [PixelTexture, Texturing]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
PixelTexture creates a 2D-image texture map using a numeric array of pixel values. 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
|
+
PixelTexture creates a 2D-image texture map using a numeric array of pixel values. 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 PixelTexture node belongs to the **Texturing** component and its default container field is *texture.* It is available
|
|
18
|
+
The PixelTexture 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
|
|
|
@@ -32,7 +32,11 @@ The PixelTexture node belongs to the **Texturing** component and its default con
|
|
|
32
32
|
|
|
33
33
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
36
|
+
|
|
37
|
+
#### Hint
|
|
38
|
+
|
|
39
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
36
40
|
|
|
37
41
|
### SFString [in, out] **description** ""
|
|
38
42
|
|
|
@@ -40,41 +44,57 @@ Author-provided prose that describes intended purpose of the url asset.
|
|
|
40
44
|
|
|
41
45
|
#### Hint
|
|
42
46
|
|
|
43
|
-
- Many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as &#38; for & ampersand character, or &#34; for " quotation-mark character).
|
|
47
|
+
- Many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as &#38; for & ampersand character, or &#34; for " quotation-mark character).
|
|
44
48
|
|
|
45
49
|
### SFImage [in, out] **image** 0 0 0
|
|
46
50
|
|
|
47
|
-
Defines image
|
|
51
|
+
Defines *image*: width, height, number_of_components per each pixel value, and list of pixel_values. Note that width and height are pixel count, and allowed values for RGBA number_of_components in each pixel value are 1 (intensity), 2 (intensity alpha), 3 (red green blue), 4 (red green blue alpha-opacity).
|
|
52
|
+
|
|
53
|
+
#### Hints
|
|
54
|
+
|
|
55
|
+
- It is easier to understand hexadecimal values for each pixel, but integer values are also allowed.
|
|
56
|
+
- The array of pixel values has length = (width*height).
|
|
57
|
+
- The full list of integers in this field has length = (width*height + 3).
|
|
58
|
+
|
|
59
|
+
#### Warning
|
|
60
|
+
|
|
61
|
+
- The order of initial values in PixelTexture and PixelTexture3D *image* arrays are different. Example: intensity [1 2 1 0xFF 0x00] Example: intensity-alpha [2 2 1 0 255 255 0] Example: red-green-blue [2 4 3 0xFF0000 0xFF00 0 0 0 0 0xFFFFFF 0xFFFF00] Example: red-green-blue-alpha [2 2 4 0xFFFFFFAA 0xFFFF00AA 0x11111111AA 0x787800AA]
|
|
48
62
|
|
|
49
63
|
### SFBool [ ] **repeatS** TRUE
|
|
50
64
|
|
|
51
|
-
Whether to
|
|
65
|
+
Whether to repeat texture along S axis horizontally from left to right.
|
|
52
66
|
|
|
53
67
|
### SFBool [ ] **repeatT** TRUE
|
|
54
68
|
|
|
55
|
-
Whether to
|
|
69
|
+
Whether to repeat texture along T axis vertically from top to bottom.
|
|
56
70
|
|
|
57
71
|
### SFNode [ ] **textureProperties** NULL <small>[TextureProperties]</small>
|
|
58
72
|
|
|
59
|
-
|
|
73
|
+
Single contained TextureProperties node that can specify additional visual attributes applied to corresponding texture images.
|
|
60
74
|
|
|
61
|
-
##
|
|
75
|
+
## Advisories
|
|
62
76
|
|
|
63
77
|
### Hints
|
|
64
78
|
|
|
65
79
|
- This is a good way to bundle image(s) into a single scene file, avoiding multiple downloads.
|
|
80
|
+
- [X3D-Edit includes PixelTexture image-conversion import capabilities.](https://savage.nps.edu/X3D-Edit/images/PixelTextureImportImage.png){:target="_blank"}
|
|
66
81
|
- Can contain a single TextureProperties node.
|
|
67
82
|
- Insert Shape and Appearance nodes before adding texture.
|
|
83
|
+
- [X3D Scene Authoring Hints, Images and Videos](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Images){:target="_blank"}
|
|
84
|
+
- If a texture is opaque, omitting values in the alpha channel can help avoid rendering artifacts related to transparency.
|
|
85
|
+
- Texture coordinates are reapplied (or else recomputed if textureTransform field initially NULL) whenever the corresponding vertex-based geometry changes.
|
|
86
|
+
- [Texture mapping](https://en.wikipedia.org/wiki/Texture_mapping){:target="_blank"}
|
|
87
|
+
- [X3D Architecture 17.2.2 Lighting model](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/lighting.html#Lightingmodel){:target="_blank"}
|
|
68
88
|
|
|
69
|
-
###
|
|
89
|
+
### Warnings
|
|
70
90
|
|
|
71
91
|
- Aggregate file size can grow dramatically.
|
|
92
|
+
- See ComposedCubeMapTexture and TextureBackground for special containerField values.
|
|
72
93
|
|
|
73
94
|
## Example
|
|
74
95
|
|
|
75
96
|
<x3d-canvas src="https://create3000.github.io/media/examples/Texturing/PixelTexture/PixelTexture.x3d" update="auto"></x3d-canvas>
|
|
76
97
|
|
|
77
|
-
##
|
|
98
|
+
## See Also
|
|
78
99
|
|
|
79
|
-
- [X3D Specification of PixelTexture](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#PixelTexture){:target="_blank"}
|
|
80
|
-
- [X3D Scene Authoring Hints, Images and Videos](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Images){:target="_blank"}
|
|
100
|
+
- [X3D Specification of PixelTexture node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#PixelTexture){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: TextureCoordinate
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Texturing
|
|
5
5
|
categories: [components, Texturing]
|
|
6
6
|
tags: [TextureCoordinate, Texturing]
|
|
@@ -13,9 +13,9 @@ tags: [TextureCoordinate, Texturing]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
TextureCoordinate specifies 2D (s,t) texture-coordinate points, used by vertex-based geometry nodes (such as IndexedFaceSet or ElevationGrid) to map textures to vertices (and patches to
|
|
16
|
+
TextureCoordinate specifies 2D (s,t) texture-coordinate points, used by vertex-based geometry nodes (such as IndexedFaceSet or ElevationGrid) to map textures to vertices (and patches to NURBS surfaces).
|
|
17
17
|
|
|
18
|
-
The TextureCoordinate node belongs to the **Texturing** component and its default container field is *texCoord.* It is available
|
|
18
|
+
The TextureCoordinate node belongs to the **Texturing** component and its default container field is *texCoord.* It is available from X3D version 2.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -31,22 +31,32 @@ The TextureCoordinate node belongs to the **Texturing** component and its defaul
|
|
|
31
31
|
|
|
32
32
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
35
|
+
|
|
36
|
+
#### Hint
|
|
37
|
+
|
|
38
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
35
39
|
|
|
36
40
|
### SFString [in, out] **mapping** ""
|
|
37
41
|
|
|
38
|
-
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
42
|
+
The *mapping* label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
43
|
+
|
|
44
|
+
#### Hint
|
|
45
|
+
|
|
46
|
+
- [TODO support planned to perform multiple-node *mapping* validation checks using X3D Schematron or X3D Validator](https://savage.nps.edu/X3dValidator){:target="_blank"}
|
|
39
47
|
|
|
40
48
|
### MFVec2f [in, out] **point** [ ] <small>(-∞,∞)</small>
|
|
41
49
|
|
|
42
50
|
Pairs of 2D (s,t) texture coordinates, either in range [0,1] or higher if repeating.
|
|
43
51
|
|
|
44
|
-
##
|
|
52
|
+
## Advisories
|
|
45
53
|
|
|
46
|
-
###
|
|
54
|
+
### Hints
|
|
47
55
|
|
|
48
|
-
- Add Shape and then
|
|
56
|
+
- Add Shape and then polygonal/planar geometry before adding TextureCoordinate.
|
|
57
|
+
- [Texture mapping](https://en.wikipedia.org/wiki/Texture_mapping){:target="_blank"}
|
|
58
|
+
- [X3D Texturing component Figure 18.1, Texture map coordinate system](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html#f-TextureMapCoordSystem){:target="_blank"}
|
|
49
59
|
|
|
50
|
-
##
|
|
60
|
+
## See Also
|
|
51
61
|
|
|
52
|
-
- [X3D Specification of TextureCoordinate](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#TextureCoordinate){:target="_blank"}
|
|
62
|
+
- [X3D Specification of TextureCoordinate node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#TextureCoordinate){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: TextureCoordinateGenerator
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Texturing
|
|
5
5
|
categories: [components, Texturing]
|
|
6
6
|
tags: [TextureCoordinateGenerator, Texturing]
|
|
@@ -13,9 +13,9 @@ tags: [TextureCoordinateGenerator, Texturing]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
TextureCoordinateGenerator computes 2D (s,t) texture-coordinate points, used by vertex-based geometry nodes (such as IndexedFaceSet or ElevationGrid) to map textures to vertices (and patches to
|
|
16
|
+
TextureCoordinateGenerator computes 2D (s,t) texture-coordinate points, used by vertex-based geometry nodes (such as IndexedFaceSet or ElevationGrid) to map textures to vertices (and patches to NURBS surfaces).
|
|
17
17
|
|
|
18
|
-
The TextureCoordinateGenerator node belongs to the **Texturing** component and its default container field is *texCoord.* It is available
|
|
18
|
+
The TextureCoordinateGenerator node belongs to the **Texturing** component and its default container field is *texCoord.* It is available from X3D version 3.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -31,11 +31,19 @@ The TextureCoordinateGenerator node belongs to the **Texturing** component and i
|
|
|
31
31
|
|
|
32
32
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
35
|
+
|
|
36
|
+
#### Hint
|
|
37
|
+
|
|
38
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
35
39
|
|
|
36
40
|
### SFString [in, out] **mapping** ""
|
|
37
41
|
|
|
38
|
-
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
42
|
+
The *mapping* label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
43
|
+
|
|
44
|
+
#### Hint
|
|
45
|
+
|
|
46
|
+
- [TODO support planned to perform multiple-node *mapping* validation checks using X3D Schematron or X3D Validator](https://savage.nps.edu/X3dValidator){:target="_blank"}
|
|
39
47
|
|
|
40
48
|
### SFString [in, out] **mode** "SPHERE" <small>["SPHERE"|"CAMERASPACENORMAL"|"CAMERASPACEPOSITION"|"CAMERASPACEREFLECTIONVECTOR"|"SPHERE-LOCAL"|"COORD"|"COORD-EYE"|"NOISE"|"NOISE-EYE"|"SPHERE-REFLECT"|"SPHERE-REFLECT-LOCAL"]</small>
|
|
41
49
|
|
|
@@ -43,7 +51,7 @@ Parameter field defines the algorithm used to compute texture coordinates.
|
|
|
43
51
|
|
|
44
52
|
#### Hint
|
|
45
53
|
|
|
46
|
-
-
|
|
54
|
+
- [X3D Architecture Table 18.6 Texture coordinate generation modes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html#t-Texturecoordgeneration){:target="_blank"} for further details.
|
|
47
55
|
|
|
48
56
|
#### Warning
|
|
49
57
|
|
|
@@ -51,14 +59,16 @@ Parameter field defines the algorithm used to compute texture coordinates.
|
|
|
51
59
|
|
|
52
60
|
### MFFloat [in, out] **parameter** [ ]
|
|
53
61
|
|
|
54
|
-
*parameter* array contains scale and translation (x y z) values for Perlin NOISE mode, parameter[0] contains index of refraction for SPHERE-REFLECT mode, parameter[0] contains index of refraction and parameter[1 to 3] contains the eye point in local coordinates for SPHERE-REFLECT-LOCAL mode.
|
|
62
|
+
*parameter* array contains scale and translation (x y z) values for Perlin NOISE mode, *parameter*[0] contains index of refraction for SPHERE-REFLECT mode, *parameter*[0] contains index of refraction and *parameter*[1 to 3] contains the eye point in local coordinates for SPHERE-REFLECT-LOCAL mode.
|
|
55
63
|
|
|
56
|
-
##
|
|
64
|
+
## Advisories
|
|
57
65
|
|
|
58
|
-
###
|
|
66
|
+
### Hints
|
|
59
67
|
|
|
60
|
-
- Add Shape and then
|
|
68
|
+
- Add Shape and then polygonal/planar geometry before adding TextureCoordinateGenerator.
|
|
69
|
+
- [Texture mapping](https://en.wikipedia.org/wiki/Texture_mapping){:target="_blank"}
|
|
70
|
+
- [X3D Texturing component Figure 18.1, Texture map coordinate system](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html#f-TextureMapCoordSystem){:target="_blank"}
|
|
61
71
|
|
|
62
|
-
##
|
|
72
|
+
## See Also
|
|
63
73
|
|
|
64
|
-
- [X3D Specification of TextureCoordinateGenerator](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#TextureCoordinateGenerator){:target="_blank"}
|
|
74
|
+
- [X3D Specification of TextureCoordinateGenerator node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#TextureCoordinateGenerator){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: TextureProperties
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Texturing
|
|
5
5
|
categories: [components, Texturing]
|
|
6
6
|
tags: [TextureProperties, Texturing]
|
|
@@ -13,9 +13,9 @@ tags: [TextureProperties, Texturing]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
TextureProperties allows fine control over
|
|
16
|
+
TextureProperties allows precise fine-grained control over application of image textures to geometry.
|
|
17
17
|
|
|
18
|
-
The TextureProperties node belongs to the **Texturing** component and its default container field is *textureProperties.* It is available
|
|
18
|
+
The TextureProperties node belongs to the **Texturing** component and its default container field is *textureProperties.* It is available from X3D version 3.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -28,13 +28,17 @@ The TextureProperties node belongs to the **Texturing** component and its defaul
|
|
|
28
28
|
|
|
29
29
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
32
|
+
|
|
33
|
+
#### Hint
|
|
34
|
+
|
|
35
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
32
36
|
|
|
33
37
|
### SFColorRGBA [in, out] **borderColor** 0 0 0 0 <small>[0,1]</small>
|
|
34
38
|
|
|
35
39
|
*borderColor* defines border pixel color.
|
|
36
40
|
|
|
37
|
-
####
|
|
41
|
+
#### Hint
|
|
38
42
|
|
|
39
43
|
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
40
44
|
|
|
@@ -44,11 +48,27 @@ Metadata are not part of the X3D world and not interpreted by the X3D browser, b
|
|
|
44
48
|
|
|
45
49
|
### SFFloat [in, out] **anisotropicDegree** 1 <small>[1,∞)</small>
|
|
46
50
|
|
|
47
|
-
*anisotropicDegree* defines minimum degree of anisotropy to account for in texture filtering (1=
|
|
51
|
+
*anisotropicDegree* defines minimum degree of anisotropy to account for in texture filtering (1=no effect for symmetric filtering, otherwise provide higher value). At least 2-to-1 anisotropy is often supported in low-level graphics rendering software and hardware, relative to horizontal and vertical directions.
|
|
52
|
+
|
|
53
|
+
#### Hints
|
|
54
|
+
|
|
55
|
+
- [Anisotropy indicates directional dependence of properties.](https://en.wikipedia.org/wiki/Anisotropy){:target="_blank"}
|
|
56
|
+
- [OpenGL EXT_texture_filter_anisotropic](https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_texture_filter_anisotropic.txt){:target="_blank"}
|
|
48
57
|
|
|
49
58
|
### SFBool [ ] **generateMipMaps** FALSE
|
|
50
59
|
|
|
51
|
-
|
|
60
|
+
Determines whether MIPMAPs are generated for texture images.
|
|
61
|
+
|
|
62
|
+
#### Hints
|
|
63
|
+
|
|
64
|
+
- Mipmap preprocessing is a low-level rendering technique that can increase rendering speed and reduce aliasing artifacts.
|
|
65
|
+
- Mipmap pyramids are pre-calculated, optimized sequences of images, each of which is a progressively lower resolution representation of the same image. The height and width of each image level in the mipmap is a power of two smaller than the previous level.
|
|
66
|
+
- [Aliasing](https://en.wikipedia.org/wiki/Aliasing){:target="_blank"} and [Clipping](https://en.wikipedia.org/wiki/Clipping_(computer_graphics)){:target="_blank"}
|
|
67
|
+
- [Mipmap](https://en.wikipedia.org/wiki/Mipmap){:target="_blank"}
|
|
68
|
+
|
|
69
|
+
#### Warning
|
|
70
|
+
|
|
71
|
+
- Must declare *generateMipMaps*='true' for minificationFilter modes with MIPMAP in their value.
|
|
52
72
|
|
|
53
73
|
### SFString [in, out] **minificationFilter** "FASTEST"
|
|
54
74
|
|
|
@@ -56,7 +76,7 @@ Whether MIPMAPs are generated for texture (required for MIPMAP filtering modes)
|
|
|
56
76
|
|
|
57
77
|
#### Hint
|
|
58
78
|
|
|
59
|
-
-
|
|
79
|
+
- [X3D Architecture Table 18.9 Texture minification modes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html#t-TextureMinificationModes){:target="_blank"} for details.
|
|
60
80
|
|
|
61
81
|
#### Warning
|
|
62
82
|
|
|
@@ -68,7 +88,7 @@ Whether MIPMAPs are generated for texture (required for MIPMAP filtering modes)
|
|
|
68
88
|
|
|
69
89
|
#### Hint
|
|
70
90
|
|
|
71
|
-
-
|
|
91
|
+
- [X3D Architecture Table 18.8 Texture magnification modes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html#t-TextureMagnificationModes){:target="_blank"} for details.
|
|
72
92
|
|
|
73
93
|
#### Warning
|
|
74
94
|
|
|
@@ -80,7 +100,7 @@ Whether MIPMAPs are generated for texture (required for MIPMAP filtering modes)
|
|
|
80
100
|
|
|
81
101
|
#### Hint
|
|
82
102
|
|
|
83
|
-
-
|
|
103
|
+
- [X3D Architecture Table 18.7 Texture boundary modes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html#t-TextureBoundaryModes){:target="_blank"} for details.
|
|
84
104
|
|
|
85
105
|
#### Warning
|
|
86
106
|
|
|
@@ -92,7 +112,7 @@ Whether MIPMAPs are generated for texture (required for MIPMAP filtering modes)
|
|
|
92
112
|
|
|
93
113
|
#### Hint
|
|
94
114
|
|
|
95
|
-
-
|
|
115
|
+
- [X3D Architecture Table 18.7 Texture boundary modes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html#t-TextureBoundaryModes){:target="_blank"} for details.
|
|
96
116
|
|
|
97
117
|
#### Warning
|
|
98
118
|
|
|
@@ -104,7 +124,7 @@ Whether MIPMAPs are generated for texture (required for MIPMAP filtering modes)
|
|
|
104
124
|
|
|
105
125
|
#### Hint
|
|
106
126
|
|
|
107
|
-
-
|
|
127
|
+
- [X3D Architecture Table 18.7 Texture boundary modes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html#t-TextureBoundaryModes){:target="_blank"} for details.
|
|
108
128
|
|
|
109
129
|
#### Warning
|
|
110
130
|
|
|
@@ -114,9 +134,10 @@ Whether MIPMAPs are generated for texture (required for MIPMAP filtering modes)
|
|
|
114
134
|
|
|
115
135
|
*textureCompression* indicates compression algorithm selection mode.
|
|
116
136
|
|
|
117
|
-
####
|
|
137
|
+
#### Hints
|
|
118
138
|
|
|
119
|
-
-
|
|
139
|
+
- [X3D Architecture Table 18.10 Texture compression modes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html#t-TextureCompressionModes){:target="_blank"} for details.
|
|
140
|
+
- [Texture compression](https://en.wikipedia.org/wiki/Texture_compression){:target="_blank"}
|
|
120
141
|
|
|
121
142
|
#### Warning
|
|
122
143
|
|
|
@@ -124,14 +145,18 @@ Whether MIPMAPs are generated for texture (required for MIPMAP filtering modes)
|
|
|
124
145
|
|
|
125
146
|
### SFFloat [in, out] **texturePriority** 0 <small>[0,1]</small>
|
|
126
147
|
|
|
127
|
-
*texturePriority* defines priority for allocating texture memory.
|
|
148
|
+
*texturePriority* defines relative priority for this texture when allocating texture memory, an important rendering resource in graphics-card hardware. Default value 0 is lowest, 1 is highest.
|
|
128
149
|
|
|
129
|
-
##
|
|
150
|
+
## Advisories
|
|
130
151
|
|
|
131
152
|
### Hint
|
|
132
153
|
|
|
133
|
-
-
|
|
154
|
+
- [Texture mapping](https://en.wikipedia.org/wiki/Texture_mapping){:target="_blank"}
|
|
155
|
+
|
|
156
|
+
### Warning
|
|
157
|
+
|
|
158
|
+
- Requires X3D `profile='Full'` or else include `<component name='Shape' level='2'/>`
|
|
134
159
|
|
|
135
|
-
##
|
|
160
|
+
## See Also
|
|
136
161
|
|
|
137
|
-
- [X3D Specification of TextureProperties](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#TextureProperties){:target="_blank"}
|
|
162
|
+
- [X3D Specification of TextureProperties node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#TextureProperties){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: TextureTransform
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Texturing
|
|
5
5
|
categories: [components, Texturing]
|
|
6
6
|
tags: [TextureTransform, Texturing]
|
|
@@ -15,7 +15,7 @@ tags: [TextureTransform, Texturing]
|
|
|
15
15
|
|
|
16
16
|
TextureTransform shifts 2D texture coordinates for positioning, orienting and scaling image textures on geometry.
|
|
17
17
|
|
|
18
|
-
The TextureTransform node belongs to the **Texturing** component and its default container field is *textureTransform.* It is available
|
|
18
|
+
The TextureTransform node belongs to the **Texturing** component and its default container field is *textureTransform.* It is available from X3D version 2.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -31,11 +31,19 @@ The TextureTransform node belongs to the **Texturing** component and its default
|
|
|
31
31
|
|
|
32
32
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
35
|
+
|
|
36
|
+
#### Hint
|
|
37
|
+
|
|
38
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
35
39
|
|
|
36
40
|
### SFString [in, out] **mapping** ""
|
|
37
41
|
|
|
38
|
-
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
42
|
+
The *mapping* label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
43
|
+
|
|
44
|
+
#### Hint
|
|
45
|
+
|
|
46
|
+
- [TODO support planned to perform multiple-node *mapping* validation checks using X3D Schematron or X3D Validator](https://savage.nps.edu/X3dValidator){:target="_blank"}
|
|
39
47
|
|
|
40
48
|
### SFVec2f [in, out] **translation** 0 0 <small>(-∞,∞)</small>
|
|
41
49
|
|
|
@@ -43,7 +51,7 @@ Lateral/vertical shift in 2D (s,t) texture coordinates (opposite effect appears
|
|
|
43
51
|
|
|
44
52
|
### SFFloat [in, out] **rotation** 0 <small>(-∞,∞)</small>
|
|
45
53
|
|
|
46
|
-
Single rotation angle of texture about center (opposite effect appears on geometry).
|
|
54
|
+
Single *rotation* angle of texture about center (opposite effect appears on geometry).
|
|
47
55
|
|
|
48
56
|
#### Warning
|
|
49
57
|
|
|
@@ -57,17 +65,18 @@ Non-uniform planar scaling of texture about center (opposite effect appears on g
|
|
|
57
65
|
|
|
58
66
|
*center* point in 2D (s,t) texture coordinates for rotation and scaling.
|
|
59
67
|
|
|
60
|
-
##
|
|
68
|
+
## Advisories
|
|
61
69
|
|
|
62
70
|
### Hints
|
|
63
71
|
|
|
64
72
|
- Order of operations is translation, rotation about center, non-uniform scale about center.
|
|
65
73
|
- Insert Shape and Appearance nodes before adding TextureTransform.
|
|
74
|
+
- [Texture mapping](https://en.wikipedia.org/wiki/Texture_mapping){:target="_blank"}
|
|
66
75
|
|
|
67
76
|
### Warning
|
|
68
77
|
|
|
69
78
|
- Resulting visible effects appear reversed because image changes occur before mapping to geometry.
|
|
70
79
|
|
|
71
|
-
##
|
|
80
|
+
## See Also
|
|
72
81
|
|
|
73
|
-
- [X3D Specification of TextureTransform](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#TextureTransform){:target="_blank"}
|
|
82
|
+
- [X3D Specification of TextureTransform node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/texturing.html#TextureTransform){:target="_blank"}
|