x_ite 8.8.6 → 8.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Makefile +6 -0
- package/build/docs/nodes.pl +434 -0
- package/dist/assets/components/Annotation.js +14 -14
- 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 +28 -28
- 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 +52 -40
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +19 -19
- 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 +26 -26
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +76 -74
- 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 +29 -30
- 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 +23 -23
- 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 +21 -21
- 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 +1002 -133
- 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 +47 -21
- package/docs/_posts/components/CADGeometry/CADFace.md +47 -21
- package/docs/_posts/components/CADGeometry/CADLayer.md +50 -21
- package/docs/_posts/components/CADGeometry/CADPart.md +56 -26
- 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 +27 -36
- 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 +39 -30
- 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 +43 -18
- package/docs/_posts/components/DIS/DISEntityTypeMapping.md +43 -34
- package/docs/_posts/components/DIS/EspduTransform.md +211 -78
- package/docs/_posts/components/DIS/ReceiverPdu.md +95 -45
- package/docs/_posts/components/DIS/SignalPdu.md +98 -44
- package/docs/_posts/components/DIS/TransmitterPdu.md +118 -68
- 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 +27 -14
- 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 +25 -10
- 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 +31 -23
- package/docs/_posts/components/Geometry3D/Cylinder.md +32 -28
- package/docs/_posts/components/Geometry3D/ElevationGrid.md +75 -31
- package/docs/_posts/components/Geometry3D/Extrusion.md +100 -48
- package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +95 -43
- 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 +85 -40
- package/docs/_posts/components/Geospatial/GeoLOD.md +69 -30
- package/docs/_posts/components/Geospatial/GeoLocation.md +66 -28
- 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 +66 -21
- package/docs/_posts/components/Geospatial/GeoTransform.md +74 -30
- package/docs/_posts/components/Geospatial/GeoViewpoint.md +88 -41
- package/docs/_posts/components/Grouping/Group.md +34 -18
- package/docs/_posts/components/Grouping/StaticGroup.md +39 -18
- package/docs/_posts/components/Grouping/Switch.md +41 -22
- package/docs/_posts/components/Grouping/Transform.md +47 -30
- package/docs/_posts/components/HAnim/HAnimDisplacer.md +48 -37
- package/docs/_posts/components/HAnim/HAnimHumanoid.md +245 -55
- package/docs/_posts/components/HAnim/HAnimJoint.md +136 -70
- package/docs/_posts/components/HAnim/HAnimMotion.md +128 -18
- package/docs/_posts/components/HAnim/HAnimSegment.md +92 -52
- package/docs/_posts/components/HAnim/HAnimSite.md +95 -52
- 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 +39 -14
- package/docs/_posts/components/Layering/LayerSet.md +21 -15
- package/docs/_posts/components/Layering/Viewport.md +34 -18
- package/docs/_posts/components/Layout/Layout.md +28 -17
- package/docs/_posts/components/Layout/LayoutGroup.md +37 -21
- package/docs/_posts/components/Layout/LayoutLayer.md +40 -15
- package/docs/_posts/components/Layout/ScreenFontStyle.md +74 -47
- package/docs/_posts/components/Layout/ScreenGroup.md +35 -19
- package/docs/_posts/components/Lighting/DirectionalLight.md +23 -15
- package/docs/_posts/components/Lighting/EnvironmentLight.md +7 -11
- package/docs/_posts/components/Lighting/PointLight.md +27 -15
- package/docs/_posts/components/Lighting/SpotLight.md +36 -23
- 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 +16 -12
- package/docs/_posts/components/NURBS/NurbsCurve2D.md +15 -11
- package/docs/_posts/components/NURBS/NurbsOrientationInterpolator.md +31 -15
- package/docs/_posts/components/NURBS/NurbsPatchSurface.md +29 -23
- package/docs/_posts/components/NURBS/NurbsPositionInterpolator.md +30 -14
- package/docs/_posts/components/NURBS/NurbsSet.md +51 -17
- package/docs/_posts/components/NURBS/NurbsSurfaceInterpolator.md +48 -28
- 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 +26 -22
- package/docs/_posts/components/NURBS/NurbsTrimmedSurface.md +36 -26
- package/docs/_posts/components/Navigation/Billboard.md +35 -19
- package/docs/_posts/components/Navigation/Collision.md +61 -24
- package/docs/_posts/components/Navigation/LOD.md +55 -25
- package/docs/_posts/components/Navigation/NavigationInfo.md +69 -26
- package/docs/_posts/components/Navigation/OrthoViewpoint.md +89 -38
- package/docs/_posts/components/Navigation/Viewpoint.md +95 -40
- package/docs/_posts/components/Navigation/ViewpointGroup.md +29 -18
- package/docs/_posts/components/Networking/Anchor.md +56 -58
- package/docs/_posts/components/Networking/Inline.md +44 -31
- package/docs/_posts/components/Networking/LoadSensor.md +43 -11
- package/docs/_posts/components/ParticleSystems/BoundedPhysicsModel.md +16 -8
- package/docs/_posts/components/ParticleSystems/ConeEmitter.md +31 -12
- package/docs/_posts/components/ParticleSystems/ExplosionEmitter.md +23 -12
- package/docs/_posts/components/ParticleSystems/ForcePhysicsModel.md +15 -8
- package/docs/_posts/components/ParticleSystems/ParticleSystem.md +110 -55
- package/docs/_posts/components/ParticleSystems/PointEmitter.md +25 -14
- package/docs/_posts/components/ParticleSystems/PolylineEmitter.md +28 -16
- package/docs/_posts/components/ParticleSystems/SurfaceEmitter.md +25 -14
- package/docs/_posts/components/ParticleSystems/VolumeEmitter.md +35 -16
- package/docs/_posts/components/ParticleSystems/WindPhysicsModel.md +12 -8
- package/docs/_posts/components/Picking/LinePickSensor.md +57 -31
- package/docs/_posts/components/Picking/PickableGroup.md +44 -26
- package/docs/_posts/components/Picking/PointPickSensor.md +47 -26
- package/docs/_posts/components/Picking/PrimitivePickSensor.md +43 -31
- package/docs/_posts/components/Picking/VolumePickSensor.md +43 -26
- package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +46 -21
- package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +43 -20
- package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +37 -15
- package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +50 -16
- package/docs/_posts/components/Rendering/ClipPlane.md +21 -16
- 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 +55 -27
- 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 +24 -12
- package/docs/_posts/components/RigidBodyPhysics/CollidableOffset.md +40 -17
- package/docs/_posts/components/RigidBodyPhysics/CollidableShape.md +37 -19
- package/docs/_posts/components/RigidBodyPhysics/CollisionCollection.md +24 -19
- package/docs/_posts/components/RigidBodyPhysics/CollisionSensor.md +21 -12
- package/docs/_posts/components/RigidBodyPhysics/CollisionSpace.md +36 -17
- package/docs/_posts/components/RigidBodyPhysics/Contact.md +20 -16
- package/docs/_posts/components/RigidBodyPhysics/DoubleAxisHingeJoint.md +43 -41
- package/docs/_posts/components/RigidBodyPhysics/MotorJoint.md +86 -34
- package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +36 -26
- package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +36 -20
- package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +33 -23
- package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +31 -19
- package/docs/_posts/components/RigidBodyPhysics/UniversalJoint.md +31 -23
- 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 +52 -46
- 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 +38 -10
- package/docs/_posts/components/Shape/Appearance.md +30 -23
- 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 +23 -24
- package/docs/_posts/components/Shape/Shape.md +38 -20
- 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 +151 -18
- package/docs/_posts/components/Sound/AudioClip.md +82 -32
- package/docs/_posts/components/Sound/AudioDestination.md +85 -9
- package/docs/_posts/components/Sound/BiquadFilter.md +160 -17
- package/docs/_posts/components/Sound/BufferAudioSource.md +184 -28
- package/docs/_posts/components/Sound/ChannelMerger.md +70 -8
- package/docs/_posts/components/Sound/ChannelSelector.md +73 -9
- package/docs/_posts/components/Sound/ChannelSplitter.md +77 -9
- package/docs/_posts/components/Sound/Convolver.md +138 -14
- package/docs/_posts/components/Sound/Delay.md +134 -15
- package/docs/_posts/components/Sound/DynamicsCompressor.md +146 -19
- package/docs/_posts/components/Sound/Gain.md +128 -13
- package/docs/_posts/components/Sound/ListenerPointSource.md +121 -12
- package/docs/_posts/components/Sound/MicrophoneSource.md +101 -10
- package/docs/_posts/components/Sound/OscillatorSource.md +107 -12
- package/docs/_posts/components/Sound/PeriodicWave.md +48 -7
- package/docs/_posts/components/Sound/Sound.md +61 -22
- package/docs/_posts/components/Sound/SpatialSound.md +136 -17
- package/docs/_posts/components/Sound/StreamAudioDestination.md +89 -9
- package/docs/_posts/components/Sound/StreamAudioSource.md +101 -10
- package/docs/_posts/components/Sound/WaveShaper.md +138 -15
- package/docs/_posts/components/Text/FontStyle.md +75 -49
- package/docs/_posts/components/Text/Text.md +48 -26
- package/docs/_posts/components/TextureProjector/TextureProjector.md +63 -12
- package/docs/_posts/components/TextureProjector/TextureProjectorParallel.md +64 -12
- package/docs/_posts/components/Texturing/ImageTexture.md +28 -20
- package/docs/_posts/components/Texturing/MovieTexture.md +87 -40
- 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 +45 -20
- 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 +28 -16
- 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 +70 -27
- package/docs/_posts/components/VolumeRendering/BlendedVolumeStyle.md +41 -20
- package/docs/_posts/components/VolumeRendering/BoundaryEnhancementVolumeStyle.md +20 -10
- package/docs/_posts/components/VolumeRendering/CartoonVolumeStyle.md +24 -21
- package/docs/_posts/components/VolumeRendering/ComposedVolumeStyle.md +18 -10
- package/docs/_posts/components/VolumeRendering/EdgeEnhancementVolumeStyle.md +22 -14
- package/docs/_posts/components/VolumeRendering/IsoSurfaceVolumeData.md +59 -37
- package/docs/_posts/components/VolumeRendering/OpacityMapVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/ProjectionVolumeStyle.md +28 -6
- package/docs/_posts/components/VolumeRendering/SegmentedVolumeData.md +63 -30
- package/docs/_posts/components/VolumeRendering/ShadedVolumeStyle.md +27 -19
- package/docs/_posts/components/VolumeRendering/SilhouetteEnhancementVolumeStyle.md +21 -13
- package/docs/_posts/components/VolumeRendering/ToneMappedVolumeStyle.md +25 -16
- package/docs/_posts/components/VolumeRendering/VolumeData.md +43 -26
- package/docs/_posts/components/X_ITE/BlendMode.md +16 -9
- package/docs/_posts/getting-started.md +1 -0
- package/docs/_posts/laboratory/x3d-file-converter.md +1 -1
- package/docs/_tabs/playground.html +3 -1
- package/docs/assets/css/style.scss +4 -4
- package/package.json +1 -1
- package/src/x_ite/Base/X3DBaseNode.js +1 -1
- package/src/x_ite/Base/X3DInfoArray.js +2 -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/Annotation/GroupAnnotation.js +1 -1
- package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +3 -3
- package/src/x_ite/Components/DIS/DISEntityManager.js +1 -1
- package/src/x_ite/Components/Geospatial/GeoLocation.js +1 -1
- package/src/x_ite/Components/Geospatial/GeoViewpoint.js +18 -6
- package/src/x_ite/Components/Grouping/Switch.js +1 -1
- package/src/x_ite/Components/HAnim/HAnimMotion.js +1 -1
- package/src/x_ite/Components/Layering/X3DLayerNode.js +1 -1
- package/src/x_ite/Components/Lighting/DirectionalLight.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsPatchSurface.js +1 -1
- package/src/x_ite/Components/NURBS/NurbsTrimmedSurface.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/Viewpoint.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/ConeEmitter.js +9 -9
- package/src/x_ite/Components/ParticleSystems/ExplosionEmitter.js +7 -7
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +1 -1
- package/src/x_ite/Components/ParticleSystems/PointEmitter.js +8 -8
- package/src/x_ite/Components/ParticleSystems/PolylineEmitter.js +9 -9
- package/src/x_ite/Components/ParticleSystems/SurfaceEmitter.js +7 -7
- package/src/x_ite/Components/ParticleSystems/VolumeEmitter.js +12 -10
- package/src/x_ite/Components/RigidBodyPhysics/Contact.js +1 -1
- package/src/x_ite/Components/RigidBodyPhysics/MotorJoint.js +6 -6
- package/src/x_ite/Components/RigidBodyPhysics/SingleAxisHingeJoint.js +0 -1
- package/src/x_ite/Components/RigidBodyPhysics/UniversalJoint.js +4 -4
- 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/FillProperties.js +1 -1
- package/src/x_ite/Components/Shape/Material.js +1 -1
- package/src/x_ite/Components/Shape/PhysicalMaterial.js +1 -1
- package/src/x_ite/Components/Shape/TwoSidedMaterial.js +1 -1
- package/src/x_ite/Components/Sound/Analyser.js +2 -2
- package/src/x_ite/Components/Sound/AudioDestination.js +2 -2
- package/src/x_ite/Components/Sound/BiquadFilter.js +3 -3
- package/src/x_ite/Components/Sound/BufferAudioSource.js +2 -2
- package/src/x_ite/Components/Sound/ChannelMerger.js +2 -2
- package/src/x_ite/Components/Sound/ChannelSelector.js +2 -2
- package/src/x_ite/Components/Sound/ChannelSplitter.js +2 -2
- package/src/x_ite/Components/Sound/Convolver.js +2 -2
- package/src/x_ite/Components/Sound/Delay.js +2 -2
- package/src/x_ite/Components/Sound/DynamicsCompressor.js +2 -2
- package/src/x_ite/Components/Sound/Gain.js +2 -2
- package/src/x_ite/Components/Sound/PeriodicWave.js +1 -1
- package/src/x_ite/Components/Sound/StreamAudioDestination.js +2 -2
- package/src/x_ite/Components/Sound/WaveShaper.js +3 -3
- package/src/x_ite/Components/TextureProjector/TextureProjector.js +4 -4
- package/src/x_ite/Components/TextureProjector/TextureProjectorParallel.js +5 -5
- package/src/x_ite/Components/Texturing/PixelTexture.js +1 -1
- package/src/x_ite/Components/Texturing/TextureProperties.js +1 -1
- package/src/x_ite/Components/VolumeRendering/IsoSurfaceVolumeData.js +1 -1
- package/src/x_ite/Components/VolumeRendering/SegmentedVolumeData.js +1 -1
- package/src/x_ite/Components/VolumeRendering/VolumeData.js +1 -1
- package/src/x_ite/Configuration/SupportedComponents.js +2 -2
- package/src/x_ite/Fields/ArrayFields.js +2 -2
- package/src/x_ite/Fields/SFColor.js +1 -1
- package/src/x_ite/Fields/SFMatrixPrototypeTemplate.js +1 -1
- package/src/x_ite/Fields/SFRotation.js +3 -3
- package/src/x_ite/Fields/SFVecPrototypeTemplate.js +1 -1
- package/src/x_ite/Parser/GoldenGate.js +16 -5
- package/src/x_ite/Parser/PLYAParser.js +615 -0
- package/src/x_ite/Parser/PLYBParser.js +222 -0
- package/src/x_ite/Parser/STLAParser.js +0 -1
- /package/build/{bin → docs}/components.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Material
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Shape
|
|
5
5
|
categories: [components, Shape]
|
|
6
6
|
tags: [Material, Shape]
|
|
@@ -15,7 +15,7 @@ tags: [Material, Shape]
|
|
|
15
15
|
|
|
16
16
|
Material specifies surface rendering properties for associated geometry nodes. Material attributes are used by the X3D lighting equations during rendering.
|
|
17
17
|
|
|
18
|
-
The Material node belongs to the **Shape** component and its default container field is *material.* It is available
|
|
18
|
+
The Material node belongs to the **Shape** component and its default container field is *material.* It is available from X3D version 2.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -31,7 +31,11 @@ The Material node belongs to the **Shape** component and its default container f
|
|
|
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
|
### SFFloat [in, out] **ambientIntensity** 0.2 <small>[0,1]</small>
|
|
37
41
|
|
|
@@ -41,27 +45,35 @@ How much ambient omnidirectional light is reflected from all light sources. Inte
|
|
|
41
45
|
|
|
42
46
|
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
43
47
|
|
|
48
|
+
#### Hint
|
|
49
|
+
|
|
50
|
+
- [TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator](https://savage.nps.edu/X3dValidator){:target="_blank"}
|
|
51
|
+
|
|
44
52
|
### SFNode [in, out] **ambientTexture** NULL <small>[X3DSingleTextureNode]</small>
|
|
45
53
|
|
|
46
54
|
When applying ambientIntensity for this material node, the contained texture provides Physically Based Rendering (PBR) modulation for each pixel.
|
|
47
55
|
|
|
48
|
-
####
|
|
56
|
+
#### Hints
|
|
49
57
|
|
|
50
58
|
- If texture node is NULL or unspecified, no effect is applied to material values.
|
|
51
|
-
- Contained texture node must include containerField='ambientTexture'
|
|
59
|
+
- Contained texture node must include `containerField='ambientTexture'`
|
|
52
60
|
|
|
53
61
|
### SFColor [in, out] **diffuseColor** 0.8 0.8 0.8 <small>[0,1]</small>
|
|
54
62
|
|
|
55
63
|
How much direct, angle-dependent light is reflected from all light sources.
|
|
56
64
|
|
|
57
|
-
####
|
|
65
|
+
#### Hint
|
|
58
66
|
|
|
59
|
-
- Only emissiveColor affects IndexedLineSet, LineSet and PointSet.
|
|
67
|
+
- Only emissiveColor affects IndexedLineSet, LineSet and PointSet.
|
|
60
68
|
|
|
61
69
|
### SFString [in, out] **diffuseTextureMapping** ""
|
|
62
70
|
|
|
63
71
|
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
64
72
|
|
|
73
|
+
#### Hint
|
|
74
|
+
|
|
75
|
+
- [TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator](https://savage.nps.edu/X3dValidator){:target="_blank"}
|
|
76
|
+
|
|
65
77
|
### SFNode [in, out] **diffuseTexture** NULL <small>[X3DSingleTextureNode]</small>
|
|
66
78
|
|
|
67
79
|
When applying diffuseColor for this material node, the contained texture provides Physically Based Rendering (PBR) modulation for each pixel.
|
|
@@ -69,7 +81,7 @@ When applying diffuseColor for this material node, the contained texture provide
|
|
|
69
81
|
#### Hints
|
|
70
82
|
|
|
71
83
|
- If texture node is NULL or unspecified, no effect is applied to material values.
|
|
72
|
-
- Contained texture node must include containerField='diffuseTexture'
|
|
84
|
+
- Contained texture node must include `containerField='diffuseTexture'`
|
|
73
85
|
|
|
74
86
|
### SFColor [in, out] **specularColor** 0 0 0 <small>[0,1]</small>
|
|
75
87
|
|
|
@@ -79,6 +91,10 @@ Specular highlights are brightness reflections (example: shiny spots on an apple
|
|
|
79
91
|
|
|
80
92
|
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
81
93
|
|
|
94
|
+
#### Hint
|
|
95
|
+
|
|
96
|
+
- [TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator](https://savage.nps.edu/X3dValidator){:target="_blank"}
|
|
97
|
+
|
|
82
98
|
### SFNode [in, out] **specularTexture** NULL <small>[X3DSingleTextureNode]</small>
|
|
83
99
|
|
|
84
100
|
When applying specularColor for this material node, the contained texture provides Physically Based Rendering (PBR) modulation for each pixel.
|
|
@@ -86,7 +102,7 @@ When applying specularColor for this material node, the contained texture provid
|
|
|
86
102
|
#### Hints
|
|
87
103
|
|
|
88
104
|
- If texture node is NULL or unspecified, no effect is applied to material values.
|
|
89
|
-
- Contained texture node must include containerField='specularTexture'
|
|
105
|
+
- Contained texture node must include `containerField='specularTexture'`
|
|
90
106
|
|
|
91
107
|
### SFColor [in, out] **emissiveColor** 0 0 0 <small>[0,1]</small>
|
|
92
108
|
|
|
@@ -94,16 +110,22 @@ How much glowing light is emitted from this object.
|
|
|
94
110
|
|
|
95
111
|
#### Hints
|
|
96
112
|
|
|
97
|
-
- EmissiveColors glow even when all lights are off.
|
|
113
|
+
- EmissiveColors glow even when all lights are off.
|
|
114
|
+
- Reset diffuseColor from default (.8 .8 .8) to (0 0 0) to avoid washout.
|
|
115
|
+
- Only *emissiveColor* affects IndexedLineSet, LineSet and PointSet.
|
|
98
116
|
|
|
99
117
|
#### Warning
|
|
100
118
|
|
|
101
|
-
- Bright emissiveColor values can wash out other colors and some textures.
|
|
119
|
+
- Bright *emissiveColor* values can wash out other colors and some textures.
|
|
102
120
|
|
|
103
121
|
### SFString [in, out] **emissiveTextureMapping** ""
|
|
104
122
|
|
|
105
123
|
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
106
124
|
|
|
125
|
+
#### Hint
|
|
126
|
+
|
|
127
|
+
- [TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator](https://savage.nps.edu/X3dValidator){:target="_blank"}
|
|
128
|
+
|
|
107
129
|
### SFNode [in, out] **emissiveTexture** NULL <small>[X3DSingleTextureNode]</small>
|
|
108
130
|
|
|
109
131
|
When applying emissiveColor for this material node, the contained texture provides Physically Based Rendering (PBR) modulation for each pixel.
|
|
@@ -111,16 +133,20 @@ When applying emissiveColor for this material node, the contained texture provid
|
|
|
111
133
|
#### Hints
|
|
112
134
|
|
|
113
135
|
- If texture node is NULL or unspecified, no effect is applied to material values.
|
|
114
|
-
- Contained texture node must include containerField='emissiveTexture'
|
|
136
|
+
- Contained texture node must include `containerField='emissiveTexture'`
|
|
115
137
|
|
|
116
138
|
### SFFloat [in, out] **shininess** 0.2 <small>[0,1]</small>
|
|
117
139
|
|
|
118
|
-
Lower shininess values provide soft specular glows, while higher values result in sharper, smaller highlights. Interchange profile hint: this field may be ignored, applying the default value regardless.
|
|
140
|
+
Lower *shininess* values provide soft specular glows, while higher values result in sharper, smaller highlights. Interchange profile hint: this field may be ignored, applying the default value regardless.
|
|
119
141
|
|
|
120
142
|
### SFString [in, out] **shininessTextureMapping** ""
|
|
121
143
|
|
|
122
144
|
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
123
145
|
|
|
146
|
+
#### Hint
|
|
147
|
+
|
|
148
|
+
- [TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator](https://savage.nps.edu/X3dValidator){:target="_blank"}
|
|
149
|
+
|
|
124
150
|
### SFNode [in, out] **shininessTexture** NULL <small>[X3DSingleTextureNode]</small>
|
|
125
151
|
|
|
126
152
|
When applying shininess for this material node, the contained texture provides Physically Based Rendering (PBR) modulation for each pixel.
|
|
@@ -128,7 +154,7 @@ When applying shininess for this material node, the contained texture provides P
|
|
|
128
154
|
#### Hints
|
|
129
155
|
|
|
130
156
|
- If texture node is NULL or unspecified, no effect is applied to material values.
|
|
131
|
-
- Contained texture node must include containerField='shininessTexture'
|
|
157
|
+
- Contained texture node must include `containerField='shininessTexture'`
|
|
132
158
|
|
|
133
159
|
### SFFloat [in, out] **occlusionStrength** 1 <small>[0,1]</small>
|
|
134
160
|
|
|
@@ -137,12 +163,16 @@ When applying shininess for this material node, the contained texture provides P
|
|
|
137
163
|
#### Hints
|
|
138
164
|
|
|
139
165
|
- Only the Red channel of the texture is used for occlusion computations, other channels are ignored.
|
|
140
|
-
-
|
|
166
|
+
- Https://en.wikipedia.org/wiki/Ambient_occlusion
|
|
141
167
|
|
|
142
168
|
### SFString [in, out] **occlusionTextureMapping** ""
|
|
143
169
|
|
|
144
170
|
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
145
171
|
|
|
172
|
+
#### Hint
|
|
173
|
+
|
|
174
|
+
- [TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator](https://savage.nps.edu/X3dValidator){:target="_blank"}
|
|
175
|
+
|
|
146
176
|
### SFNode [in, out] **occlusionTexture** NULL <small>[X3DSingleTextureNode]</small>
|
|
147
177
|
|
|
148
178
|
When applying occlusionStrength for this material node, the contained texture provides Physically Based Rendering (PBR) modulation for each pixel.
|
|
@@ -150,7 +180,7 @@ When applying occlusionStrength for this material node, the contained texture pr
|
|
|
150
180
|
#### Hints
|
|
151
181
|
|
|
152
182
|
- If texture node is NULL or unspecified, no effect is applied to material values.
|
|
153
|
-
- Contained texture node must include containerField='occlusionTexture'
|
|
183
|
+
- Contained texture node must include `containerField='occlusionTexture'`
|
|
154
184
|
|
|
155
185
|
### SFFloat [in, out] **normalScale** 1 <small>[0,∞)</small>
|
|
156
186
|
|
|
@@ -158,52 +188,48 @@ When applying occlusionStrength for this material node, the contained texture pr
|
|
|
158
188
|
|
|
159
189
|
#### Hints
|
|
160
190
|
|
|
161
|
-
- normalScale only affects computation of normalTexture modulations that affect lighting of characteristics of the parent Material and has no relation to normal vectors defined by corresponding geometry.
|
|
162
|
-
-
|
|
191
|
+
- *normalScale* only affects computation of normalTexture modulations that affect lighting of characteristics of the parent Material and has no relation to normal vectors defined by corresponding geometry.
|
|
192
|
+
- [NormalTexture techniques apply Bump mapping](https://en.wikipedia.org/wiki/Bump_mapping){:target="_blank"}
|
|
163
193
|
|
|
164
194
|
### SFString [in, out] **normalTextureMapping** ""
|
|
165
195
|
|
|
166
196
|
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
167
197
|
|
|
198
|
+
#### Hint
|
|
199
|
+
|
|
200
|
+
- [TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator](https://savage.nps.edu/X3dValidator){:target="_blank"}
|
|
201
|
+
|
|
168
202
|
### SFNode [in, out] **normalTexture** NULL <small>[X3DSingleTextureNode]</small>
|
|
169
203
|
|
|
170
204
|
When applying normalScale for this material node, the contained texture modulates the texture across the surface.
|
|
171
205
|
|
|
172
206
|
#### Hints
|
|
173
207
|
|
|
174
|
-
- normalTexture techniques apply Bump mapping
|
|
208
|
+
- [*normalTexture* techniques apply Bump mapping](https://en.wikipedia.org/wiki/Bump_mapping){:target="_blank"}
|
|
175
209
|
- If texture node is NULL or unspecified, no effect is applied to material values.
|
|
176
|
-
- Contained texture node must include containerField='normalTexture'
|
|
210
|
+
- Contained texture node must include `containerField='normalTexture'`
|
|
177
211
|
|
|
178
212
|
### SFFloat [in, out] **transparency** 0 <small>[0,1]</small>
|
|
179
213
|
|
|
180
|
-
How "clear" an object is: 1.0 is completely transparent, 0.0 is completely opaque.
|
|
181
|
-
|
|
182
|
-
#### Interchange profile hint:
|
|
183
|
-
|
|
184
|
-
Transparency < .5 opaque, transparency > .5 transparent.
|
|
185
|
-
|
|
186
|
-
#### Hint
|
|
187
|
-
|
|
188
|
-
- If a texture is present the transparency is always multiplied with the texture's transparency, in contrast to the specification. Set transparency to (0) to get a full opaque texture color.
|
|
214
|
+
How "clear" an object is: 1.0 is completely transparent, 0.0 is completely opaque. Interchange profile hint: *transparency* \< .5 opaque, *transparency* \> .5 transparent.
|
|
189
215
|
|
|
190
|
-
##
|
|
216
|
+
## Advisories
|
|
191
217
|
|
|
192
218
|
### Hints
|
|
193
219
|
|
|
194
220
|
- Insert Shape and Appearance nodes before adding material.
|
|
195
221
|
- DEF/USE copies of a single node can provide a similar "look + feel" style for related shapes in a scene.
|
|
222
|
+
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
223
|
+
- [X3D Example Archives, Basic, Universal Media Materials](https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaMaterials){:target="_blank"}
|
|
224
|
+
- [X3D Architecture 17.2.2 Lighting model](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/lighting.html#Lightingmodel){:target="_blank"}
|
|
225
|
+
- [Rendering](https://en.wikipedia.org/wiki/Rendering_(computer_graphics)){:target="_blank"}
|
|
226
|
+
- [3D rendering](https://en.wikipedia.org/wiki/3D_rendering){:target="_blank"}
|
|
227
|
+
- [Physically based rendering (PBR)](https://en.wikipedia.org/wiki/Physically_based_rendering){:target="_blank"}
|
|
196
228
|
|
|
197
229
|
## Example
|
|
198
230
|
|
|
199
231
|
<x3d-canvas src="https://create3000.github.io/media/examples/Shape/Material/Material.x3d" update="auto"></x3d-canvas>
|
|
200
232
|
|
|
201
|
-
##
|
|
233
|
+
## See Also
|
|
202
234
|
|
|
203
|
-
- [X3D Specification of Material](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#Material){:target="_blank"}
|
|
204
|
-
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
205
|
-
- [X3D Example Archives, Basic, Universal Media Materials](https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaMaterials){:target="_blank"}
|
|
206
|
-
- [3D Architecture 17.2.2 Lighting model](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/lighting.html#Lightingmodel){:target="_blank"}
|
|
207
|
-
- [Rendering](https://en.wikipedia.org/wiki/Rendering_(computer_graphics)){:target="_blank"}
|
|
208
|
-
- [3D rendering](https://en.wikipedia.org/wiki/3D_rendering){:target="_blank"}
|
|
209
|
-
- [Phong reflection model](https://en.wikipedia.org/wiki/Phong_reflection_model){:target="_blank"}
|
|
235
|
+
- [X3D Specification of Material node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#Material){:target="_blank"}
|
|
@@ -15,7 +15,7 @@ tags: [PhysicalMaterial, Shape]
|
|
|
15
15
|
|
|
16
16
|
PhysicalMaterial specifies surface rendering properties for associated geometry nodes. Material attributes are used by the X3D lighting equations during rendering.
|
|
17
17
|
|
|
18
|
-
The PhysicalMaterial node belongs to the **Shape** component and its default container field is *material.* It is available
|
|
18
|
+
The PhysicalMaterial node belongs to the **Shape** component and its default container field is *material.* It is available from X3D version 4.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -31,16 +31,24 @@ The PhysicalMaterial node belongs to the **Shape** component and its default con
|
|
|
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
|
### SFColor [in, out] **baseColor** 1 1 1 <small>[0,1]</small>
|
|
37
41
|
|
|
38
|
-
Similar to diffuseColor
|
|
42
|
+
Similar to diffuseColor, TODO define more precisely.
|
|
39
43
|
|
|
40
44
|
### SFString [in, out] **baseTextureMapping** ""
|
|
41
45
|
|
|
42
46
|
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
43
47
|
|
|
48
|
+
#### Hint
|
|
49
|
+
|
|
50
|
+
- [TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator](https://savage.nps.edu/X3dValidator){:target="_blank"}
|
|
51
|
+
|
|
44
52
|
### SFNode [in, out] **baseTexture** NULL <small>[X3DSingleTextureNode]</small>
|
|
45
53
|
|
|
46
54
|
When applying baseColor for this material node, the contained texture provides Physically Based Rendering (PBR) modulation for each pixel.
|
|
@@ -48,7 +56,7 @@ When applying baseColor for this material node, the contained texture provides P
|
|
|
48
56
|
#### Hints
|
|
49
57
|
|
|
50
58
|
- If texture node is NULL or unspecified, no effect is applied to material values.
|
|
51
|
-
- Contained texture node must include containerField='baseTexture'
|
|
59
|
+
- Contained texture node must include `containerField='baseTexture'`
|
|
52
60
|
|
|
53
61
|
### SFColor [in, out] **emissiveColor** 0 0 0 <small>[0,1]</small>
|
|
54
62
|
|
|
@@ -56,18 +64,22 @@ How much glowing light is emitted from this object.
|
|
|
56
64
|
|
|
57
65
|
#### Hints
|
|
58
66
|
|
|
59
|
-
-
|
|
60
|
-
- Reset diffuseColor from default (
|
|
61
|
-
- Only emissiveColor affects IndexedLineSet, LineSet and PointSet.
|
|
67
|
+
- EmissiveColors glow even when all lights are off.
|
|
68
|
+
- Reset diffuseColor from default (.8 .8 .8) to (0 0 0) to avoid washout.
|
|
69
|
+
- Only *emissiveColor* affects IndexedLineSet, LineSet and PointSet.
|
|
62
70
|
|
|
63
71
|
#### Warning
|
|
64
72
|
|
|
65
|
-
- Bright emissiveColor values can wash out other colors and some textures.
|
|
73
|
+
- Bright *emissiveColor* values can wash out other colors and some textures.
|
|
66
74
|
|
|
67
75
|
### SFString [in, out] **emissiveTextureMapping** ""
|
|
68
76
|
|
|
69
77
|
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
70
78
|
|
|
79
|
+
#### Hint
|
|
80
|
+
|
|
81
|
+
- [TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator](https://savage.nps.edu/X3dValidator){:target="_blank"}
|
|
82
|
+
|
|
71
83
|
### SFNode [in, out] **emissiveTexture** NULL <small>[X3DSingleTextureNode]</small>
|
|
72
84
|
|
|
73
85
|
When applying emissiveColor for this material node, the contained texture provides Physically Based Rendering (PBR) modulation for each pixel.
|
|
@@ -75,20 +87,24 @@ When applying emissiveColor for this material node, the contained texture provid
|
|
|
75
87
|
#### Hints
|
|
76
88
|
|
|
77
89
|
- If texture node is NULL or unspecified, no effect is applied to material values.
|
|
78
|
-
- Contained texture node must include containerField='emissiveTexture'
|
|
90
|
+
- Contained texture node must include `containerField='emissiveTexture'`
|
|
79
91
|
|
|
80
92
|
### SFFloat [in, out] **metallic** 1 <small>[0,1]</small>
|
|
81
93
|
|
|
82
|
-
|
|
94
|
+
*metallic* is a PBR parameter (TODO elaborate)
|
|
83
95
|
|
|
84
96
|
### SFFloat [in, out] **roughness** 1 <small>[0,1]</small>
|
|
85
97
|
|
|
86
|
-
|
|
98
|
+
*roughness* is a PBR parameter (TODO elaborate)
|
|
87
99
|
|
|
88
100
|
### SFString [in, out] **metallicRoughnessTextureMapping** ""
|
|
89
101
|
|
|
90
102
|
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
91
103
|
|
|
104
|
+
#### Hint
|
|
105
|
+
|
|
106
|
+
- [TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator](https://savage.nps.edu/X3dValidator){:target="_blank"}
|
|
107
|
+
|
|
92
108
|
### SFNode [in, out] **metallicRoughnessTexture** NULL <small>[X3DSingleTextureNode]</small>
|
|
93
109
|
|
|
94
110
|
When applying metallic for this material node, the contained texture provides Physically Based Rendering (PBR) modulation for each pixel.
|
|
@@ -96,7 +112,7 @@ When applying metallic for this material node, the contained texture provides Ph
|
|
|
96
112
|
#### Hints
|
|
97
113
|
|
|
98
114
|
- If texture node is NULL or unspecified, no effect is applied to material values.
|
|
99
|
-
- Contained texture node must include containerField='metallicRoughnessTexture'
|
|
115
|
+
- Contained texture node must include `containerField='metallicRoughnessTexture'`
|
|
100
116
|
|
|
101
117
|
### SFFloat [in, out] **occlusionStrength** 1 <small>[0,1]</small>
|
|
102
118
|
|
|
@@ -105,12 +121,16 @@ When applying metallic for this material node, the contained texture provides Ph
|
|
|
105
121
|
#### Hints
|
|
106
122
|
|
|
107
123
|
- Only the Red channel of the texture is used for occlusion computations, other channels are ignored.
|
|
108
|
-
-
|
|
124
|
+
- Https://en.wikipedia.org/wiki/Ambient_occlusion
|
|
109
125
|
|
|
110
126
|
### SFString [in, out] **occlusionTextureMapping** ""
|
|
111
127
|
|
|
112
128
|
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
113
129
|
|
|
130
|
+
#### Hint
|
|
131
|
+
|
|
132
|
+
- [TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator](https://savage.nps.edu/X3dValidator){:target="_blank"}
|
|
133
|
+
|
|
114
134
|
### SFNode [in, out] **occlusionTexture** NULL <small>[X3DSingleTextureNode]</small>
|
|
115
135
|
|
|
116
136
|
When applying occlusionStrength for this material node, the contained texture provides Physically Based Rendering (PBR) modulation for each pixel.
|
|
@@ -118,7 +138,7 @@ When applying occlusionStrength for this material node, the contained texture pr
|
|
|
118
138
|
#### Hints
|
|
119
139
|
|
|
120
140
|
- If texture node is NULL or unspecified, no effect is applied to material values.
|
|
121
|
-
- Contained texture node must include containerField='occlusionTexture'
|
|
141
|
+
- Contained texture node must include `containerField='occlusionTexture'`
|
|
122
142
|
|
|
123
143
|
### SFFloat [in, out] **normalScale** 1 <small>[0,∞)</small>
|
|
124
144
|
|
|
@@ -126,40 +146,44 @@ When applying occlusionStrength for this material node, the contained texture pr
|
|
|
126
146
|
|
|
127
147
|
#### Hints
|
|
128
148
|
|
|
129
|
-
- normalScale only affects computation of normalTexture modulations that affect lighting of characteristics of the parent Material and has no relation to normal vectors defined by corresponding geometry.
|
|
130
|
-
-
|
|
149
|
+
- *normalScale* only affects computation of normalTexture modulations that affect lighting of characteristics of the parent Material and has no relation to normal vectors defined by corresponding geometry.
|
|
150
|
+
- [NormalTexture techniques apply Bump mapping](https://en.wikipedia.org/wiki/Bump_mapping){:target="_blank"}
|
|
131
151
|
|
|
132
152
|
### SFString [in, out] **normalTextureMapping** ""
|
|
133
153
|
|
|
134
154
|
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
135
155
|
|
|
156
|
+
#### Hint
|
|
157
|
+
|
|
158
|
+
- [TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator](https://savage.nps.edu/X3dValidator){:target="_blank"}
|
|
159
|
+
|
|
136
160
|
### SFNode [in, out] **normalTexture** NULL <small>[X3DSingleTextureNode]</small>
|
|
137
161
|
|
|
138
162
|
When applying normalScale for this material node, the contained texture modulates the texture across the surface.
|
|
139
163
|
|
|
140
164
|
#### Hints
|
|
141
165
|
|
|
142
|
-
- normalTexture techniques apply Bump mapping
|
|
166
|
+
- [*normalTexture* techniques apply Bump mapping](https://en.wikipedia.org/wiki/Bump_mapping){:target="_blank"}
|
|
143
167
|
- If texture node is NULL or unspecified, no effect is applied to material values.
|
|
144
|
-
- Contained texture node must include containerField='normalTexture'
|
|
168
|
+
- Contained texture node must include `containerField='normalTexture'`
|
|
145
169
|
|
|
146
170
|
### SFFloat [in, out] **transparency** 0 <small>[0,1]</small>
|
|
147
171
|
|
|
148
|
-
How "clear" an object is: 1.0 is completely transparent, 0.0 is completely opaque.
|
|
172
|
+
How "clear" an object is: 1.0 is completely transparent, 0.0 is completely opaque. Interchange profile hint: *transparency* \< .5 opaque, *transparency* \> .5 transparent.
|
|
149
173
|
|
|
150
|
-
##
|
|
174
|
+
## Advisories
|
|
151
175
|
|
|
152
176
|
### Hints
|
|
153
177
|
|
|
154
178
|
- Insert Shape and Appearance nodes before adding material.
|
|
155
179
|
- DEF/USE copies of a single node can provide a similar "look + feel" style for related shapes in a scene.
|
|
156
|
-
|
|
157
|
-
## External Links
|
|
158
|
-
|
|
159
|
-
- [X3D Specification of PhysicalMaterial](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#PhysicalMaterial){:target="_blank"}
|
|
160
180
|
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
161
181
|
- [X3D Example Archives, Basic, Universal Media Materials](https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaMaterials){:target="_blank"}
|
|
162
|
-
- [
|
|
182
|
+
- [X3D Architecture 17.2.2 Lighting model](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/lighting.html#Lightingmodel){:target="_blank"}
|
|
163
183
|
- [Rendering](https://en.wikipedia.org/wiki/Rendering_(computer_graphics)){:target="_blank"}
|
|
164
184
|
- [3D rendering](https://en.wikipedia.org/wiki/3D_rendering){:target="_blank"}
|
|
165
185
|
- [Physically based rendering (PBR)](https://en.wikipedia.org/wiki/Physically_based_rendering){:target="_blank"}
|
|
186
|
+
|
|
187
|
+
## See Also
|
|
188
|
+
|
|
189
|
+
- [X3D Specification of PhysicalMaterial node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#PhysicalMaterial){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: PointProperties
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Shape
|
|
5
5
|
categories: [components, Shape]
|
|
6
6
|
tags: [PointProperties, Shape]
|
|
@@ -15,7 +15,7 @@ tags: [PointProperties, Shape]
|
|
|
15
15
|
|
|
16
16
|
PointProperties allows precise fine-grained control over the rendering style of PointSet node points inside the same Shape.
|
|
17
17
|
|
|
18
|
-
The PointProperties node belongs to the **Shape** component and its default container field is *pointProperties.* It is available
|
|
18
|
+
The PointProperties node belongs to the **Shape** component and its default container field is *pointProperties.* It is available from X3D version 4.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -29,15 +29,19 @@ The PointProperties node belongs to the **Shape** component and its default cont
|
|
|
29
29
|
|
|
30
30
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
#### Hint
|
|
35
|
+
|
|
36
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
37
|
+
|
|
38
|
+
### SFFloat [in, out] **pointSizeScaleFactor** 1 <small>(1,∞)</small>
|
|
35
39
|
|
|
36
|
-
Nominal rendered point size is a browser-dependent minimum renderable point size, which is then multiplied by an additional (greater than or equal to 1
|
|
40
|
+
Nominal rendered point size is a browser-dependent minimum renderable point size, which is then multiplied by an additional *pointSizeScaleFactor* (which is greater than or equal to 1).
|
|
37
41
|
|
|
38
42
|
#### Hint
|
|
39
43
|
|
|
40
|
-
- Additional sizing modifications are determined by pointSizeMinValue, pointSizeMaxValue, and
|
|
44
|
+
- Additional sizing modifications are determined by pointSizeMinValue, pointSizeMaxValue, and attenuation array.
|
|
41
45
|
|
|
42
46
|
### SFFloat [in, out] **pointSizeMinValue** 1 <small>[0,∞)</small>
|
|
43
47
|
|
|
@@ -45,40 +49,35 @@ Nominal rendered point size is a browser-dependent minimum renderable point size
|
|
|
45
49
|
|
|
46
50
|
#### Warning
|
|
47
51
|
|
|
48
|
-
- Maintain pointSizeMinValue\<= pointSizeMaxValue.
|
|
52
|
+
- Maintain *pointSizeMinValue* \<= pointSizeMaxValue.
|
|
49
53
|
|
|
50
54
|
### SFFloat [in, out] **pointSizeMaxValue** 1 <small>(0,∞)</small>
|
|
51
55
|
|
|
52
|
-
*pointSizeMaxValue* is maximum allowed scaling factor on nominal browser point scaling
|
|
56
|
+
*pointSizeMaxValue* is maximum allowed scaling factor on nominal browser point scaling.
|
|
53
57
|
|
|
54
58
|
#### Warning
|
|
55
59
|
|
|
56
|
-
- Maintain pointSizeMinValue \<= pointSizeMaxValue
|
|
57
|
-
|
|
58
|
-
### MFFloat [in, out] **pointSizeAttenuation** 1 0 0 <small>(0,∞)</small>
|
|
59
|
-
|
|
60
|
-
*pointSizeAttenuation* array values [a, b, c] are set to default values if undefined. Together these parameters define attenuation factor 1/(a + b×r + c×r^2) where r is the distance from observer position (current viewpoint) to each point.
|
|
60
|
+
- Maintain pointSizeMinValue \<= *pointSizeMaxValue*.
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
- Nominal point size is multiplied by attenuation factor and then clipped to a minimum value of pointSizeMinValue × minimum renderable point size, then clipped to maximum size of pointSizeMaxValue × minimum renderable point size.
|
|
65
|
-
|
|
66
|
-
### SFString [in, out] **colorMode** "TEXTURE_AND_POINT_COLOR" <small>["POINT_COLOR", "TEXTURE_COLOR", "TEXTURE_AND_POINT_COLOR"]</small>
|
|
62
|
+
### MFFloat [in, out] **attenuation** [ 1, 0, 0 ] <small>(0,∞)</small>
|
|
67
63
|
|
|
68
|
-
|
|
64
|
+
Are set to default values if undefined. Together these parameters define *attenuation* factor 1/(a + b×r + c×r^2) where r is the distance from observer position (current viewpoint) to each point.
|
|
69
65
|
|
|
70
66
|
#### Hint
|
|
71
67
|
|
|
72
|
-
-
|
|
68
|
+
- Nominal point size is multiplied by *attenuation* factor and then clipped to a minimum value of pointSizeMinValue × minimum renderable point size, then clipped to maximum size of pointSizeMaxValue × minimum renderable point size.
|
|
73
69
|
|
|
74
|
-
##
|
|
70
|
+
## Advisories
|
|
75
71
|
|
|
76
72
|
### Hints
|
|
77
73
|
|
|
78
74
|
- DEF/USE copies of a single node can provide a similar "look + feel" style for related shapes in a scene.
|
|
79
75
|
- When an X3DTextureNode is defined in the same Appearance instance as PointProperties node, the points of a PointSet shall be displayed as point sprites using the given texture(s).
|
|
80
|
-
- Requires X3D profile='Full' or else include \<component name='Shape' level='5'/>`
|
|
81
76
|
|
|
82
|
-
|
|
77
|
+
### Warning
|
|
78
|
+
|
|
79
|
+
- Requires X3D `profile='Full'` or else include `<component name='Shape' level='5'/>`
|
|
80
|
+
|
|
81
|
+
## See Also
|
|
83
82
|
|
|
84
|
-
- [X3D Specification of PointProperties](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#LineProperties){:target="_blank"}
|
|
83
|
+
- [X3D Specification of PointProperties node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#LineProperties){:target="_blank"}
|