x_ite 8.8.7 → 8.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Makefile +6 -0
- package/build/docs/nodes.pl +434 -0
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +13 -13
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +26 -26
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +14 -14
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +19 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +18 -18
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +27 -27
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +24 -24
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +24 -24
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +18 -18
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +37 -37
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +24 -24
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +14 -14
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +30 -30
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +18 -18
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +9 -9
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +965 -96
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +2 -2
- package/docs/_posts/components/CADGeometry/CADAssembly.md +45 -19
- package/docs/_posts/components/CADGeometry/CADFace.md +44 -18
- package/docs/_posts/components/CADGeometry/CADLayer.md +48 -19
- package/docs/_posts/components/CADGeometry/CADPart.md +54 -24
- package/docs/_posts/components/CADGeometry/IndexedQuadSet.md +55 -26
- package/docs/_posts/components/CADGeometry/QuadSet.md +52 -20
- package/docs/_posts/components/Core/MetadataBoolean.md +29 -18
- package/docs/_posts/components/Core/MetadataDouble.md +31 -16
- package/docs/_posts/components/Core/MetadataFloat.md +31 -16
- package/docs/_posts/components/Core/MetadataInteger.md +31 -16
- package/docs/_posts/components/Core/MetadataSet.md +30 -15
- package/docs/_posts/components/Core/MetadataString.md +31 -16
- package/docs/_posts/components/Core/WorldInfo.md +21 -10
- package/docs/_posts/components/CubeMapTexturing/ComposedCubeMapTexture.md +30 -25
- package/docs/_posts/components/CubeMapTexturing/GeneratedCubeMapTexture.md +19 -10
- package/docs/_posts/components/CubeMapTexturing/ImageCubeMapTexture.md +22 -18
- package/docs/_posts/components/DIS/DISEntityManager.md +40 -15
- package/docs/_posts/components/DIS/DISEntityTypeMapping.md +34 -25
- package/docs/_posts/components/DIS/EspduTransform.md +174 -41
- package/docs/_posts/components/DIS/ReceiverPdu.md +77 -27
- package/docs/_posts/components/DIS/SignalPdu.md +82 -28
- package/docs/_posts/components/DIS/TransmitterPdu.md +86 -36
- package/docs/_posts/components/EnvironmentalEffects/Background.md +80 -39
- package/docs/_posts/components/EnvironmentalEffects/Fog.md +39 -18
- package/docs/_posts/components/EnvironmentalEffects/FogCoordinate.md +10 -6
- package/docs/_posts/components/EnvironmentalEffects/LocalFog.md +21 -14
- package/docs/_posts/components/EnvironmentalEffects/TextureBackground.md +83 -31
- package/docs/_posts/components/EnvironmentalSensor/ProximitySensor.md +36 -8
- package/docs/_posts/components/EnvironmentalSensor/TransformSensor.md +31 -7
- package/docs/_posts/components/EnvironmentalSensor/VisibilitySensor.md +23 -7
- package/docs/_posts/components/EventUtilities/BooleanFilter.md +23 -10
- package/docs/_posts/components/EventUtilities/BooleanSequencer.md +46 -17
- package/docs/_posts/components/EventUtilities/BooleanToggle.md +29 -8
- package/docs/_posts/components/EventUtilities/BooleanTrigger.md +24 -7
- package/docs/_posts/components/EventUtilities/IntegerSequencer.md +46 -17
- package/docs/_posts/components/EventUtilities/IntegerTrigger.md +34 -9
- package/docs/_posts/components/EventUtilities/TimeTrigger.md +30 -9
- package/docs/_posts/components/Followers/ColorChaser.md +35 -11
- package/docs/_posts/components/Followers/ColorDamper.md +32 -12
- package/docs/_posts/components/Followers/CoordinateChaser.md +33 -9
- package/docs/_posts/components/Followers/CoordinateDamper.md +30 -10
- package/docs/_posts/components/Followers/OrientationChaser.md +34 -10
- package/docs/_posts/components/Followers/OrientationDamper.md +31 -11
- package/docs/_posts/components/Followers/PositionChaser.md +33 -9
- package/docs/_posts/components/Followers/PositionChaser2D.md +33 -9
- package/docs/_posts/components/Followers/PositionDamper.md +30 -10
- package/docs/_posts/components/Followers/PositionDamper2D.md +30 -10
- package/docs/_posts/components/Followers/ScalarChaser.md +33 -9
- package/docs/_posts/components/Followers/ScalarDamper.md +30 -10
- package/docs/_posts/components/Followers/TexCoordChaser2D.md +33 -9
- package/docs/_posts/components/Followers/TexCoordDamper2D.md +30 -10
- package/docs/_posts/components/Geometry2D/Arc2D.md +39 -14
- package/docs/_posts/components/Geometry2D/ArcClose2D.md +43 -19
- package/docs/_posts/components/Geometry2D/Circle2D.md +21 -10
- package/docs/_posts/components/Geometry2D/Disk2D.md +32 -14
- package/docs/_posts/components/Geometry2D/Polyline2D.md +24 -9
- package/docs/_posts/components/Geometry2D/Polypoint2D.md +16 -8
- package/docs/_posts/components/Geometry2D/Rectangle2D.md +23 -12
- package/docs/_posts/components/Geometry2D/TriangleSet2D.md +23 -12
- package/docs/_posts/components/Geometry3D/Box.md +26 -13
- package/docs/_posts/components/Geometry3D/Cone.md +30 -22
- package/docs/_posts/components/Geometry3D/Cylinder.md +30 -26
- package/docs/_posts/components/Geometry3D/ElevationGrid.md +73 -29
- package/docs/_posts/components/Geometry3D/Extrusion.md +100 -48
- package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +92 -38
- package/docs/_posts/components/Geometry3D/Sphere.md +25 -13
- package/docs/_posts/components/Geospatial/GeoCoordinate.md +30 -14
- package/docs/_posts/components/Geospatial/GeoElevationGrid.md +82 -37
- package/docs/_posts/components/Geospatial/GeoLOD.md +66 -27
- package/docs/_posts/components/Geospatial/GeoLocation.md +64 -26
- package/docs/_posts/components/Geospatial/GeoMetadata.md +28 -22
- package/docs/_posts/components/Geospatial/GeoOrigin.md +34 -19
- package/docs/_posts/components/Geospatial/GeoPositionInterpolator.md +64 -18
- package/docs/_posts/components/Geospatial/GeoProximitySensor.md +67 -18
- package/docs/_posts/components/Geospatial/GeoTouchSensor.md +63 -18
- package/docs/_posts/components/Geospatial/GeoTransform.md +72 -28
- package/docs/_posts/components/Geospatial/GeoViewpoint.md +79 -40
- package/docs/_posts/components/Grouping/Group.md +32 -16
- package/docs/_posts/components/Grouping/StaticGroup.md +37 -16
- package/docs/_posts/components/Grouping/Switch.md +39 -20
- package/docs/_posts/components/Grouping/Transform.md +45 -28
- package/docs/_posts/components/HAnim/HAnimDisplacer.md +38 -27
- package/docs/_posts/components/HAnim/HAnimHumanoid.md +197 -38
- package/docs/_posts/components/HAnim/HAnimJoint.md +104 -38
- package/docs/_posts/components/HAnim/HAnimMotion.md +117 -7
- package/docs/_posts/components/HAnim/HAnimSegment.md +72 -32
- package/docs/_posts/components/HAnim/HAnimSite.md +75 -32
- package/docs/_posts/components/Interpolation/ColorInterpolator.md +41 -11
- package/docs/_posts/components/Interpolation/CoordinateInterpolator.md +39 -13
- package/docs/_posts/components/Interpolation/CoordinateInterpolator2D.md +43 -14
- package/docs/_posts/components/Interpolation/EaseInEaseOut.md +36 -12
- package/docs/_posts/components/Interpolation/NormalInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/OrientationInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/PositionInterpolator.md +40 -10
- package/docs/_posts/components/Interpolation/PositionInterpolator2D.md +43 -14
- package/docs/_posts/components/Interpolation/ScalarInterpolator.md +39 -13
- package/docs/_posts/components/Interpolation/SplinePositionInterpolator.md +41 -16
- package/docs/_posts/components/Interpolation/SplinePositionInterpolator2D.md +41 -16
- package/docs/_posts/components/Interpolation/SplineScalarInterpolator.md +40 -24
- package/docs/_posts/components/Interpolation/SquadOrientationInterpolator.md +35 -11
- package/docs/_posts/components/KeyDeviceSensor/KeySensor.md +51 -9
- package/docs/_posts/components/KeyDeviceSensor/StringSensor.md +31 -9
- package/docs/_posts/components/Layering/Layer.md +27 -14
- package/docs/_posts/components/Layering/LayerSet.md +19 -13
- package/docs/_posts/components/Layering/Viewport.md +31 -15
- package/docs/_posts/components/Layout/Layout.md +27 -16
- package/docs/_posts/components/Layout/LayoutGroup.md +34 -18
- package/docs/_posts/components/Layout/LayoutLayer.md +28 -15
- package/docs/_posts/components/Layout/ScreenFontStyle.md +72 -45
- package/docs/_posts/components/Layout/ScreenGroup.md +32 -16
- package/docs/_posts/components/Lighting/DirectionalLight.md +19 -11
- package/docs/_posts/components/Lighting/EnvironmentLight.md +2 -6
- package/docs/_posts/components/Lighting/PointLight.md +23 -11
- package/docs/_posts/components/Lighting/SpotLight.md +32 -19
- package/docs/_posts/components/NURBS/Contour2D.md +17 -9
- package/docs/_posts/components/NURBS/ContourPolyline2D.md +10 -6
- package/docs/_posts/components/NURBS/CoordinateDouble.md +13 -9
- package/docs/_posts/components/NURBS/NurbsCurve.md +15 -11
- package/docs/_posts/components/NURBS/NurbsCurve2D.md +14 -10
- package/docs/_posts/components/NURBS/NurbsOrientationInterpolator.md +28 -12
- package/docs/_posts/components/NURBS/NurbsPatchSurface.md +19 -13
- package/docs/_posts/components/NURBS/NurbsPositionInterpolator.md +27 -11
- package/docs/_posts/components/NURBS/NurbsSet.md +48 -14
- package/docs/_posts/components/NURBS/NurbsSurfaceInterpolator.md +31 -11
- package/docs/_posts/components/NURBS/NurbsSweptSurface.md +31 -14
- package/docs/_posts/components/NURBS/NurbsSwungSurface.md +25 -14
- package/docs/_posts/components/NURBS/NurbsTextureCoordinate.md +11 -7
- package/docs/_posts/components/NURBS/NurbsTrimmedSurface.md +26 -16
- package/docs/_posts/components/Navigation/Billboard.md +33 -17
- package/docs/_posts/components/Navigation/Collision.md +59 -22
- package/docs/_posts/components/Navigation/LOD.md +53 -23
- package/docs/_posts/components/Navigation/NavigationInfo.md +68 -25
- package/docs/_posts/components/Navigation/OrthoViewpoint.md +80 -37
- package/docs/_posts/components/Navigation/Viewpoint.md +86 -39
- package/docs/_posts/components/Navigation/ViewpointGroup.md +28 -17
- package/docs/_posts/components/Networking/Anchor.md +54 -56
- package/docs/_posts/components/Networking/Inline.md +42 -29
- package/docs/_posts/components/Networking/LoadSensor.md +41 -9
- package/docs/_posts/components/ParticleSystems/BoundedPhysicsModel.md +16 -8
- package/docs/_posts/components/ParticleSystems/ConeEmitter.md +25 -10
- package/docs/_posts/components/ParticleSystems/ExplosionEmitter.md +18 -11
- package/docs/_posts/components/ParticleSystems/ForcePhysicsModel.md +15 -8
- package/docs/_posts/components/ParticleSystems/ParticleSystem.md +92 -46
- package/docs/_posts/components/ParticleSystems/PointEmitter.md +19 -12
- package/docs/_posts/components/ParticleSystems/PolylineEmitter.md +23 -15
- package/docs/_posts/components/ParticleSystems/SurfaceEmitter.md +21 -14
- package/docs/_posts/components/ParticleSystems/VolumeEmitter.md +25 -18
- package/docs/_posts/components/ParticleSystems/WindPhysicsModel.md +11 -7
- package/docs/_posts/components/Picking/LinePickSensor.md +37 -15
- package/docs/_posts/components/Picking/PickableGroup.md +40 -22
- package/docs/_posts/components/Picking/PointPickSensor.md +29 -12
- package/docs/_posts/components/Picking/PrimitivePickSensor.md +25 -17
- package/docs/_posts/components/Picking/VolumePickSensor.md +25 -12
- package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +43 -18
- package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +40 -17
- package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +35 -13
- package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +48 -14
- package/docs/_posts/components/Rendering/ClipPlane.md +20 -15
- package/docs/_posts/components/Rendering/Color.md +14 -14
- package/docs/_posts/components/Rendering/ColorRGBA.md +13 -9
- package/docs/_posts/components/Rendering/Coordinate.md +11 -7
- package/docs/_posts/components/Rendering/IndexedLineSet.md +58 -24
- package/docs/_posts/components/Rendering/IndexedTriangleFanSet.md +44 -23
- package/docs/_posts/components/Rendering/IndexedTriangleSet.md +45 -24
- package/docs/_posts/components/Rendering/IndexedTriangleStripSet.md +45 -20
- package/docs/_posts/components/Rendering/LineSet.md +26 -14
- package/docs/_posts/components/Rendering/Normal.md +28 -6
- package/docs/_posts/components/Rendering/PointSet.md +24 -11
- package/docs/_posts/components/Rendering/TriangleFanSet.md +44 -19
- package/docs/_posts/components/Rendering/TriangleSet.md +44 -19
- package/docs/_posts/components/Rendering/TriangleStripSet.md +45 -20
- package/docs/_posts/components/RigidBodyPhysics/BallJoint.md +22 -10
- package/docs/_posts/components/RigidBodyPhysics/CollidableOffset.md +37 -14
- package/docs/_posts/components/RigidBodyPhysics/CollidableShape.md +34 -16
- package/docs/_posts/components/RigidBodyPhysics/CollisionCollection.md +17 -12
- package/docs/_posts/components/RigidBodyPhysics/CollisionSensor.md +21 -12
- package/docs/_posts/components/RigidBodyPhysics/CollisionSpace.md +31 -12
- package/docs/_posts/components/RigidBodyPhysics/Contact.md +19 -15
- package/docs/_posts/components/RigidBodyPhysics/DoubleAxisHingeJoint.md +33 -27
- package/docs/_posts/components/RigidBodyPhysics/MotorJoint.md +63 -11
- package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +22 -12
- package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +30 -14
- package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +26 -14
- package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +24 -12
- package/docs/_posts/components/RigidBodyPhysics/UniversalJoint.md +23 -15
- package/docs/_posts/components/Scripting/Script.md +43 -27
- package/docs/_posts/components/Shaders/ComposedShader.md +30 -17
- package/docs/_posts/components/Shaders/FloatVertexAttribute.md +18 -9
- package/docs/_posts/components/Shaders/Matrix3VertexAttribute.md +17 -8
- package/docs/_posts/components/Shaders/Matrix4VertexAttribute.md +17 -8
- package/docs/_posts/components/Shaders/PackagedShader.md +36 -30
- package/docs/_posts/components/Shaders/ProgramShader.md +35 -15
- package/docs/_posts/components/Shaders/ShaderPart.md +27 -18
- package/docs/_posts/components/Shaders/ShaderProgram.md +28 -17
- package/docs/_posts/components/Shape/AcousticProperties.md +34 -6
- package/docs/_posts/components/Shape/Appearance.md +29 -22
- package/docs/_posts/components/Shape/FillProperties.md +19 -12
- package/docs/_posts/components/Shape/LineProperties.md +18 -10
- package/docs/_posts/components/Shape/Material.md +64 -38
- package/docs/_posts/components/Shape/PhysicalMaterial.md +49 -25
- package/docs/_posts/components/Shape/PointProperties.md +21 -14
- package/docs/_posts/components/Shape/Shape.md +35 -17
- package/docs/_posts/components/Shape/TwoSidedMaterial.md +35 -36
- package/docs/_posts/components/Shape/UnlitMaterial.md +29 -17
- package/docs/_posts/components/Sound/Analyser.md +133 -4
- package/docs/_posts/components/Sound/AudioClip.md +64 -30
- package/docs/_posts/components/Sound/AudioDestination.md +76 -4
- package/docs/_posts/components/Sound/BiquadFilter.md +143 -4
- package/docs/_posts/components/Sound/BufferAudioSource.md +165 -13
- package/docs/_posts/components/Sound/ChannelMerger.md +62 -4
- package/docs/_posts/components/Sound/ChannelSelector.md +64 -4
- package/docs/_posts/components/Sound/ChannelSplitter.md +68 -4
- package/docs/_posts/components/Sound/Convolver.md +124 -4
- package/docs/_posts/components/Sound/Delay.md +119 -4
- package/docs/_posts/components/Sound/DynamicsCompressor.md +127 -4
- package/docs/_posts/components/Sound/Gain.md +115 -4
- package/docs/_posts/components/Sound/ListenerPointSource.md +109 -4
- package/docs/_posts/components/Sound/MicrophoneSource.md +91 -4
- package/docs/_posts/components/Sound/OscillatorSource.md +95 -4
- package/docs/_posts/components/Sound/PeriodicWave.md +43 -5
- package/docs/_posts/components/Sound/Sound.md +53 -20
- package/docs/_posts/components/Sound/SpatialSound.md +120 -4
- package/docs/_posts/components/Sound/StreamAudioDestination.md +80 -4
- package/docs/_posts/components/Sound/StreamAudioSource.md +91 -4
- package/docs/_posts/components/Sound/WaveShaper.md +123 -4
- package/docs/_posts/components/Text/FontStyle.md +73 -47
- package/docs/_posts/components/Text/Text.md +48 -26
- package/docs/_posts/components/TextureProjector/TextureProjector.md +55 -6
- package/docs/_posts/components/TextureProjector/TextureProjectorParallel.md +56 -6
- package/docs/_posts/components/Texturing/ImageTexture.md +28 -20
- package/docs/_posts/components/Texturing/MovieTexture.md +69 -38
- package/docs/_posts/components/Texturing/MultiTexture.md +47 -19
- package/docs/_posts/components/Texturing/MultiTextureCoordinate.md +27 -10
- package/docs/_posts/components/Texturing/MultiTextureTransform.md +32 -10
- package/docs/_posts/components/Texturing/PixelTexture.md +34 -14
- package/docs/_posts/components/Texturing/TextureCoordinate.md +20 -10
- package/docs/_posts/components/Texturing/TextureCoordinateGenerator.md +22 -12
- package/docs/_posts/components/Texturing/TextureProperties.md +44 -19
- package/docs/_posts/components/Texturing/TextureTransform.md +17 -8
- package/docs/_posts/components/Texturing3D/ComposedTexture3D.md +21 -13
- package/docs/_posts/components/Texturing3D/ImageTexture3D.md +32 -23
- package/docs/_posts/components/Texturing3D/ImageTextureAtlas.md +22 -16
- package/docs/_posts/components/Texturing3D/PixelTexture3D.md +25 -13
- package/docs/_posts/components/Texturing3D/TextureCoordinate3D.md +22 -10
- package/docs/_posts/components/Texturing3D/TextureCoordinate4D.md +21 -9
- package/docs/_posts/components/Texturing3D/TextureTransform3D.md +17 -8
- package/docs/_posts/components/Texturing3D/TextureTransformMatrix3D.md +20 -10
- package/docs/_posts/components/Time/TimeSensor.md +66 -23
- package/docs/_posts/components/VolumeRendering/BlendedVolumeStyle.md +36 -15
- package/docs/_posts/components/VolumeRendering/BoundaryEnhancementVolumeStyle.md +15 -5
- package/docs/_posts/components/VolumeRendering/CartoonVolumeStyle.md +20 -17
- package/docs/_posts/components/VolumeRendering/ComposedVolumeStyle.md +15 -7
- package/docs/_posts/components/VolumeRendering/EdgeEnhancementVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/IsoSurfaceVolumeData.md +43 -21
- package/docs/_posts/components/VolumeRendering/OpacityMapVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/ProjectionVolumeStyle.md +17 -7
- package/docs/_posts/components/VolumeRendering/SegmentedVolumeData.md +50 -17
- package/docs/_posts/components/VolumeRendering/ShadedVolumeStyle.md +18 -10
- package/docs/_posts/components/VolumeRendering/SilhouetteEnhancementVolumeStyle.md +16 -8
- package/docs/_posts/components/VolumeRendering/ToneMappedVolumeStyle.md +20 -11
- package/docs/_posts/components/VolumeRendering/VolumeData.md +32 -15
- package/docs/_posts/components/X_ITE/BlendMode.md +9 -2
- package/docs/_posts/getting-started.md +1 -0
- package/docs/_posts/laboratory/x3d-file-converter.md +1 -1
- package/package.json +1 -1
- package/src/x_ite/Browser/Core/X3DCoreContext.js +10 -3
- package/src/x_ite/Browser/DOMIntegration.js +13 -8
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +1 -1
- package/src/x_ite/Components/DIS/DISEntityManager.js +1 -1
- package/src/x_ite/Components/Grouping/Switch.js +1 -1
- package/src/x_ite/Components/Layering/X3DLayerNode.js +1 -1
- package/src/x_ite/Components/Lighting/DirectionalLight.js +1 -1
- package/src/x_ite/Components/Navigation/Collision.js +1 -1
- package/src/x_ite/Components/Navigation/LOD.js +1 -1
- package/src/x_ite/Components/Navigation/X3DViewpointNode.js +1 -1
- package/src/x_ite/Components/Networking/LoadSensor.js +1 -1
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +1 -1
- package/src/x_ite/Components/Shape/AcousticProperties.js +1 -1
- package/src/x_ite/Components/Shape/Appearance.js +1 -1
- package/src/x_ite/Components/Shape/Material.js +1 -1
- package/src/x_ite/Components/Shape/TwoSidedMaterial.js +1 -1
- package/src/x_ite/Components/Sound/PeriodicWave.js +1 -1
- package/src/x_ite/Components/Texturing/TextureProperties.js +1 -1
- package/src/x_ite/Fields/ArrayFields.js +2 -2
- package/src/x_ite/Fields/SFColor.js +1 -1
- package/src/x_ite/Fields/SFMatrixPrototypeTemplate.js +1 -1
- package/src/x_ite/Fields/SFRotation.js +3 -3
- package/src/x_ite/Fields/SFVecPrototypeTemplate.js +1 -1
- package/src/x_ite/Parser/GoldenGate.js +16 -5
- package/src/x_ite/Parser/PLYAParser.js +615 -0
- package/src/x_ite/Parser/PLYBParser.js +222 -0
- package/src/x_ite/Parser/STLAParser.js +0 -1
- /package/build/{bin → docs}/components.js +0 -0
|
@@ -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
|
+
|
|
34
|
+
#### Hint
|
|
35
|
+
|
|
36
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
33
37
|
|
|
34
38
|
### 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,32 +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
|
|
60
|
+
- Maintain pointSizeMinValue \<= *pointSizeMaxValue*.
|
|
57
61
|
|
|
58
62
|
### MFFloat [in, out] **attenuation** [ 1, 0, 0 ] <small>(0,∞)</small>
|
|
59
63
|
|
|
60
|
-
|
|
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.
|
|
61
65
|
|
|
62
66
|
#### Hint
|
|
63
67
|
|
|
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.
|
|
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.
|
|
65
69
|
|
|
66
|
-
##
|
|
70
|
+
## Advisories
|
|
67
71
|
|
|
68
72
|
### Hints
|
|
69
73
|
|
|
70
74
|
- DEF/USE copies of a single node can provide a similar "look + feel" style for related shapes in a scene.
|
|
71
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).
|
|
72
|
-
- Requires X3D profile='Full' or else include \<component name='Shape' level='5'/>`
|
|
73
76
|
|
|
74
|
-
|
|
77
|
+
### Warning
|
|
78
|
+
|
|
79
|
+
- Requires X3D `profile='Full'` or else include `<component name='Shape' level='5'/>`
|
|
80
|
+
|
|
81
|
+
## See Also
|
|
75
82
|
|
|
76
|
-
- [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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Shape
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Shape
|
|
5
5
|
categories: [components, Shape]
|
|
6
6
|
tags: [Shape, Shape]
|
|
@@ -13,9 +13,9 @@ tags: [Shape, Shape]
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
Shape can appear under any grouping node. Shape can contain an Appearance node and a geometry node (Box Cone Cylinder ElevationGrid Extrusion IndexedFaceSet IndexedLineSet LineSet PointSet
|
|
16
|
+
Shape can appear under any grouping node. Shape can contain an Appearance node and a geometry node (for example one of the primitives Box Cone Cylinder Sphere Text, one of ElevationGrid Extrusion IndexedFaceSet IndexedLineSet LineSet PointSet, or one of the other geometry nodes).
|
|
17
17
|
|
|
18
|
-
The Shape node belongs to the **Shape** component and its default container field is *children.* It is available
|
|
18
|
+
The Shape node belongs to the **Shape** component and its default container field is *children.* It is available from X3D version 2.0 or higher.
|
|
19
19
|
|
|
20
20
|
## Hierarchy
|
|
21
21
|
|
|
@@ -30,22 +30,26 @@ The Shape node belongs to the **Shape** component and its default container fiel
|
|
|
30
30
|
|
|
31
31
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
34
|
+
|
|
35
|
+
#### Hint
|
|
36
|
+
|
|
37
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
34
38
|
|
|
35
39
|
### SFBool [in, out] **visible** TRUE
|
|
36
40
|
|
|
37
41
|
Whether or not renderable content within this node is visually displayed.
|
|
38
42
|
|
|
39
|
-
####
|
|
43
|
+
#### Hints
|
|
40
44
|
|
|
41
|
-
- The visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
42
|
-
- Content must be visible to be collidable and to be pickable.
|
|
45
|
+
- The *visible* field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
46
|
+
- Content must be *visible* to be collidable and to be pickable.
|
|
43
47
|
|
|
44
48
|
### SFBool [in, out] **castShadow** TRUE
|
|
45
49
|
|
|
46
50
|
*castShadow* defines whether this Shape casts shadows as produced by lighting nodes.
|
|
47
51
|
|
|
48
|
-
####
|
|
52
|
+
#### Hints
|
|
49
53
|
|
|
50
54
|
- If the visible field is FALSE, then the Shape does not cast any shadows.
|
|
51
55
|
- If prior X3D3 content is loaded into an X3D4 model, then legacy Shape nodes have shadows set to true.
|
|
@@ -62,28 +66,42 @@ Whether to display bounding box for associated geometry, aligned with world coor
|
|
|
62
66
|
|
|
63
67
|
Bounding box size is usually omitted, and can easily be calculated automatically by an X3D player at scene-loading time with minimal computational cost. Bounding box size can also be defined as an optional authoring hint that suggests an optimization or constraint.
|
|
64
68
|
|
|
65
|
-
####
|
|
69
|
+
#### Hints
|
|
66
70
|
|
|
67
71
|
- Can be useful for collision computations or inverse-kinematics (IK) engines.
|
|
72
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
73
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
74
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
68
75
|
|
|
69
76
|
### SFVec3f [ ] **bboxCenter** 0 0 0 <small>(-∞,∞)</small>
|
|
70
77
|
|
|
71
|
-
Bounding box center
|
|
78
|
+
Bounding box center accompanies bboxSize and provides an optional hint for bounding box position offset from origin of local coordinate system.
|
|
79
|
+
|
|
80
|
+
#### Hints
|
|
81
|
+
|
|
82
|
+
- Precomputation and inclusion of bounding box information can speed up the initialization of large detailed models, with a corresponding cost of increased file size.
|
|
83
|
+
- [X3D Architecture, 10.2.2 Bounding boxes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#BoundingBoxes){:target="_blank"}
|
|
84
|
+
- [X3D Architecture, 10.3.1 X3DBoundedObject](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/grouping.html#X3DBoundedObject){:target="_blank"}
|
|
72
85
|
|
|
73
86
|
### SFNode [in, out] **appearance** NULL <small>[X3DAppearanceNode]</small>
|
|
74
87
|
|
|
75
|
-
|
|
88
|
+
Single contained Appearance node that can specify visual attributes (such as material, texture, fillProperties and lineProperties) applied to corresponding geometry.
|
|
76
89
|
|
|
77
90
|
### SFNode [in, out] **geometry** NULL <small>[X3DGeometryNode]</small>
|
|
78
91
|
|
|
79
|
-
|
|
92
|
+
Single contained *geometry* node that is rendered according to corresponding appearance.
|
|
80
93
|
|
|
81
|
-
##
|
|
94
|
+
## Advisories
|
|
82
95
|
|
|
83
|
-
###
|
|
96
|
+
### Hints
|
|
84
97
|
|
|
85
|
-
-
|
|
98
|
+
- [Shape](https://en.wikipedia.org/wiki/Shape){:target="_blank"}
|
|
99
|
+
- The Shape design pattern to collect appearance and geometry together is fundamentally the same for many types of 3D graphics software and hardware.
|
|
100
|
+
- For advanced extensibility, authors can substitute a type-matched ProtoInstance node (with correct containerField value) for contained node content.
|
|
101
|
+
- [X3D Architecture 12.2.1 Shape nodes](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/shape.html#Shapenodes){:target="_blank"}
|
|
102
|
+
- [X3D Architecture 17.2.2 Lighting model](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/lighting.html#Lightingmodel){:target="_blank"}
|
|
103
|
+
- Apply `containerField='shape'` if parent node is CADFace.
|
|
86
104
|
|
|
87
|
-
##
|
|
105
|
+
## See Also
|
|
88
106
|
|
|
89
|
-
- [X3D Specification of Shape](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#Shape){:target="_blank"}
|
|
107
|
+
- [X3D Specification of Shape node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#Shape){:target="_blank"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: TwoSidedMaterial
|
|
3
|
-
date:
|
|
3
|
+
date: 2023-01-07
|
|
4
4
|
nav: components-Shape
|
|
5
5
|
categories: [components, Shape]
|
|
6
6
|
tags: [TwoSidedMaterial, Shape]
|
|
@@ -15,9 +15,9 @@ tags: [TwoSidedMaterial, Shape]
|
|
|
15
15
|
|
|
16
16
|
TwoSidedMaterial specifies surface rendering properties for associated geometry nodes, for outer (front) and inner (back) sides of polygons. Material attributes are used by the X3D lighting equations during rendering.
|
|
17
17
|
|
|
18
|
-
The TwoSidedMaterial node belongs to the **Shape** component and its default container field is *material.* It is available
|
|
18
|
+
The TwoSidedMaterial node belongs to the **Shape** component and its default container field is *material.* It is available from X3D version 3.2 to 4.0.
|
|
19
19
|
|
|
20
|
-
>Deprecated: This node is deprecated
|
|
20
|
+
>Deprecated: This node is deprecated as of X3D version 4.0. Future versions of the standard may remove this node.
|
|
21
21
|
{: .prompt-danger }
|
|
22
22
|
|
|
23
23
|
## Hierarchy
|
|
@@ -33,7 +33,11 @@ The TwoSidedMaterial node belongs to the **Shape** component and its default con
|
|
|
33
33
|
|
|
34
34
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
37
|
+
|
|
38
|
+
#### Hint
|
|
39
|
+
|
|
40
|
+
- [X3D Architecture 7.2.4 Metadata](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/core.html#Metadata){:target="_blank"}
|
|
37
41
|
|
|
38
42
|
### SFBool [in, out] **separateBackColor** FALSE
|
|
39
43
|
|
|
@@ -41,7 +45,7 @@ Metadata are not part of the X3D world and not interpreted by the X3D browser, b
|
|
|
41
45
|
|
|
42
46
|
#### Warning
|
|
43
47
|
|
|
44
|
-
- Backface Material values are ignored unless you set separateBackColor
|
|
48
|
+
- Backface Material values are ignored unless you set *separateBackColor*='true'
|
|
45
49
|
|
|
46
50
|
### SFFloat [in, out] **ambientIntensity** 0.2 <small>[0,1]</small>
|
|
47
51
|
|
|
@@ -51,9 +55,9 @@ How much ambient omnidirectional light is reflected from all light sources. Inte
|
|
|
51
55
|
|
|
52
56
|
How much direct, angle-dependent light is reflected from all light sources.
|
|
53
57
|
|
|
54
|
-
####
|
|
58
|
+
#### Hint
|
|
55
59
|
|
|
56
|
-
- Only emissiveColor affects IndexedLineSet, LineSet and PointSet.
|
|
60
|
+
- Only emissiveColor affects IndexedLineSet, LineSet and PointSet.
|
|
57
61
|
|
|
58
62
|
### SFColor [in, out] **specularColor** 0 0 0 <small>[0,1]</small>
|
|
59
63
|
|
|
@@ -65,27 +69,21 @@ How much glowing light is emitted from this object.
|
|
|
65
69
|
|
|
66
70
|
#### Hints
|
|
67
71
|
|
|
68
|
-
- EmissiveColors glow even when all lights are off.
|
|
72
|
+
- EmissiveColors glow even when all lights are off.
|
|
73
|
+
- Reset diffuseColor from default (.8 .8 .8) to (0 0 0) to avoid washout.
|
|
74
|
+
- Only *emissiveColor* affects IndexedLineSet, LineSet and PointSet.
|
|
69
75
|
|
|
70
76
|
#### Warning
|
|
71
77
|
|
|
72
|
-
- Bright emissiveColor values can wash out other colors and some textures.
|
|
78
|
+
- Bright *emissiveColor* values can wash out other colors and some textures.
|
|
73
79
|
|
|
74
80
|
### SFFloat [in, out] **shininess** 0.2 <small>[0,1]</small>
|
|
75
81
|
|
|
76
|
-
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.
|
|
82
|
+
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.
|
|
77
83
|
|
|
78
84
|
### SFFloat [in, out] **transparency** 0 <small>[0,1]</small>
|
|
79
85
|
|
|
80
|
-
How "clear" an object is: 1.0 is completely transparent, 0.0 is completely opaque.
|
|
81
|
-
|
|
82
|
-
#### Interchange profile hint:
|
|
83
|
-
|
|
84
|
-
Transparency < .5 opaque, transparency > .5 transparent.
|
|
85
|
-
|
|
86
|
-
#### Hint
|
|
87
|
-
|
|
88
|
-
- 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.
|
|
86
|
+
How "clear" an object is: 1.0 is completely transparent, 0.0 is completely opaque. Interchange profile hint: *transparency* \< .5 opaque, *transparency* \> .5 transparent.
|
|
89
87
|
|
|
90
88
|
### SFFloat [in, out] **backAmbientIntensity** 0.2 <small>[0,1]</small>
|
|
91
89
|
|
|
@@ -95,9 +93,9 @@ How much ambient omnidirectional light is reflected from all light sources. Inte
|
|
|
95
93
|
|
|
96
94
|
How much direct, angle-dependent light is reflected from all light sources.
|
|
97
95
|
|
|
98
|
-
####
|
|
96
|
+
#### Hint
|
|
99
97
|
|
|
100
|
-
- Only emissiveColor affects IndexedLineSet, LineSet and PointSet.
|
|
98
|
+
- Only emissiveColor affects IndexedLineSet, LineSet and PointSet.
|
|
101
99
|
|
|
102
100
|
### SFColor [in, out] **backSpecularColor** 0 0 0 <small>[0,1]</small>
|
|
103
101
|
|
|
@@ -109,7 +107,9 @@ How much glowing light is emitted from this object.
|
|
|
109
107
|
|
|
110
108
|
#### Hints
|
|
111
109
|
|
|
112
|
-
- EmissiveColors glow even when all lights are off.
|
|
110
|
+
- EmissiveColors glow even when all lights are off.
|
|
111
|
+
- Reset diffuseColor from default (.8 .8 .8) to (0 0 0) to avoid washout.
|
|
112
|
+
- Only emissiveColor affects IndexedLineSet, LineSet and PointSet.
|
|
113
113
|
|
|
114
114
|
#### Warning
|
|
115
115
|
|
|
@@ -121,29 +121,28 @@ Lower shininess values provide soft specular glows, while higher values result i
|
|
|
121
121
|
|
|
122
122
|
### SFFloat [in, out] **backTransparency** 0 <small>[0,1]</small>
|
|
123
123
|
|
|
124
|
-
How "clear" an object is: 1.0 is completely transparent, 0.0 is completely opaque.
|
|
125
|
-
|
|
126
|
-
#### Interchange profile hint
|
|
127
|
-
|
|
128
|
-
Transparency < .5 opaque, transparency > .5 transparent.
|
|
129
|
-
|
|
130
|
-
#### Hint
|
|
124
|
+
How "clear" an object is: 1.0 is completely transparent, 0.0 is completely opaque. Interchange profile hint: transparency \< .5 opaque, transparency \> .5 transparent.
|
|
131
125
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
## Description
|
|
126
|
+
## Advisories
|
|
135
127
|
|
|
136
128
|
### Hints
|
|
137
129
|
|
|
138
|
-
- Include `<component name='Shape' level='4'/>`
|
|
139
130
|
- Insert Shape and Appearance nodes before adding material.
|
|
140
131
|
- DEF/USE copies of a single node can provide a similar "look + feel" style for related shapes in a scene.
|
|
132
|
+
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
133
|
+
- [X3D Architecture 12.2.3 Two-sided materials](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/shape.html#TwoSidedMaterials){:target="_blank"}
|
|
134
|
+
- [X3D Architecture 17.2.2 Lighting model](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/lighting.html#Lightingmodel){:target="_blank"}
|
|
135
|
+
|
|
136
|
+
### Warnings
|
|
137
|
+
|
|
138
|
+
- Requires X3D `profile='Full'` or else include `<component name='Shape' level='4'/>`
|
|
139
|
+
- Corresponding geometry within the parent Shape must have solid='false' for two-sided rendering, otherwise no reverse-side back geometry is displayed.
|
|
140
|
+
- X3D4 Architecture has deprecated TwoSidedMaterial, preferring use of child backMaterial node in parent Appearance.
|
|
141
141
|
|
|
142
142
|
## Example
|
|
143
143
|
|
|
144
144
|
<x3d-canvas src="https://create3000.github.io/media/examples/Shape/TwoSidedMaterial/TwoSidedMaterial.x3d" update="auto"></x3d-canvas>
|
|
145
145
|
|
|
146
|
-
##
|
|
146
|
+
## See Also
|
|
147
147
|
|
|
148
|
-
- [X3D Specification of TwoSidedMaterial](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#TwoSidedMaterial){:target="_blank"}
|
|
149
|
-
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
148
|
+
- [X3D Specification of TwoSidedMaterial node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#TwoSidedMaterial){:target="_blank"}
|
|
@@ -15,7 +15,7 @@ tags: [UnlitMaterial, Shape]
|
|
|
15
15
|
|
|
16
16
|
UnlitMaterial specifies surface rendering properties for associated geometry nodes. Material attributes are used by the X3D lighting equations during rendering.
|
|
17
17
|
|
|
18
|
-
The UnlitMaterial node belongs to the **Shape** component and its default container field is *material.* It is available
|
|
18
|
+
The UnlitMaterial 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,7 +31,11 @@ The UnlitMaterial node belongs to the **Shape** component and its default contai
|
|
|
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] **emissiveColor** 1 1 1 <small>[0,1]</small>
|
|
37
41
|
|
|
@@ -39,18 +43,22 @@ How much glowing light is emitted from this object.
|
|
|
39
43
|
|
|
40
44
|
#### Hints
|
|
41
45
|
|
|
42
|
-
-
|
|
43
|
-
- Reset diffuseColor from default (
|
|
44
|
-
- Only emissiveColor affects IndexedLineSet, LineSet and PointSet.
|
|
46
|
+
- EmissiveColors glow even when all lights are off.
|
|
47
|
+
- Reset diffuseColor from default (.8 .8 .8) to (0 0 0) to avoid washout.
|
|
48
|
+
- Only *emissiveColor* affects IndexedLineSet, LineSet and PointSet.
|
|
45
49
|
|
|
46
50
|
#### Warning
|
|
47
51
|
|
|
48
|
-
- Bright emissiveColor values can wash out other colors and some textures.
|
|
52
|
+
- Bright *emissiveColor* values can wash out other colors and some textures.
|
|
49
53
|
|
|
50
54
|
### SFString [in, out] **emissiveTextureMapping** ""
|
|
51
55
|
|
|
52
56
|
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
53
57
|
|
|
58
|
+
#### Hint
|
|
59
|
+
|
|
60
|
+
- [TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator](https://savage.nps.edu/X3dValidator){:target="_blank"}
|
|
61
|
+
|
|
54
62
|
### SFNode [in, out] **emissiveTexture** NULL <small>[X3DSingleTextureNode]</small>
|
|
55
63
|
|
|
56
64
|
When applying emissiveColor for this material node, the contained texture provides Physically Based Rendering (PBR) modulation for each pixel.
|
|
@@ -58,7 +66,7 @@ When applying emissiveColor for this material node, the contained texture provid
|
|
|
58
66
|
#### Hints
|
|
59
67
|
|
|
60
68
|
- If texture node is NULL or unspecified, no effect is applied to material values.
|
|
61
|
-
- Contained texture node must include containerField='emissiveTexture'
|
|
69
|
+
- Contained texture node must include `containerField='emissiveTexture'`
|
|
62
70
|
|
|
63
71
|
### SFFloat [in, out] **normalScale** 1 <small>[0,∞)</small>
|
|
64
72
|
|
|
@@ -66,37 +74,37 @@ When applying emissiveColor for this material node, the contained texture provid
|
|
|
66
74
|
|
|
67
75
|
#### Hints
|
|
68
76
|
|
|
69
|
-
- 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.
|
|
70
|
-
-
|
|
77
|
+
- *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.
|
|
78
|
+
- [NormalTexture techniques apply Bump mapping](https://en.wikipedia.org/wiki/Bump_mapping){:target="_blank"}
|
|
71
79
|
|
|
72
80
|
### SFString [in, out] **normalTextureMapping** ""
|
|
73
81
|
|
|
74
82
|
The mapping label identifies which texture coordinates and transformations are used to compute texture effects from corresponding geometry on a given material.
|
|
75
83
|
|
|
84
|
+
#### Hint
|
|
85
|
+
|
|
86
|
+
- [TODO support planned to perform multiple-node mapping validation checks using X3D Schematron or X3D Validator](https://savage.nps.edu/X3dValidator){:target="_blank"}
|
|
87
|
+
|
|
76
88
|
### SFNode [in, out] **normalTexture** NULL <small>[X3DSingleTextureNode]</small>
|
|
77
89
|
|
|
78
90
|
When applying normalScale for this material node, the contained texture modulates the texture across the surface.
|
|
79
91
|
|
|
80
92
|
#### Hints
|
|
81
93
|
|
|
82
|
-
- normalTexture techniques apply Bump mapping
|
|
94
|
+
- [*normalTexture* techniques apply Bump mapping](https://en.wikipedia.org/wiki/Bump_mapping){:target="_blank"}
|
|
83
95
|
- If texture node is NULL or unspecified, no effect is applied to material values.
|
|
84
|
-
- Contained texture node must include containerField='normalTexture'
|
|
96
|
+
- Contained texture node must include `containerField='normalTexture'`
|
|
85
97
|
|
|
86
98
|
### SFFloat [in, out] **transparency** 0 <small>[0,1]</small>
|
|
87
99
|
|
|
88
|
-
How "clear" an object is: 1.0 is completely transparent, 0.0 is completely opaque.
|
|
100
|
+
How "clear" an object is: 1.0 is completely transparent, 0.0 is completely opaque. Interchange profile hint: *transparency* \< .5 opaque, *transparency* \> .5 transparent.
|
|
89
101
|
|
|
90
|
-
##
|
|
102
|
+
## Advisories
|
|
91
103
|
|
|
92
104
|
### Hints
|
|
93
105
|
|
|
94
106
|
- Insert Shape and Appearance nodes before adding material.
|
|
95
107
|
- DEF/USE copies of a single node can provide a similar "look + feel" style for related shapes in a scene.
|
|
96
|
-
|
|
97
|
-
## External Links
|
|
98
|
-
|
|
99
|
-
- [X3D Specification of UnlitMaterial](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#UnlitMaterial){:target="_blank"}
|
|
100
108
|
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
101
109
|
- [X3D Example Archives, Basic, Universal Media Materials](https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaMaterials){:target="_blank"}
|
|
102
110
|
- [X3D Architecture 17.2.2 Lighting model](https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/lighting.html#Lightingmodel){:target="_blank"}
|
|
@@ -105,3 +113,7 @@ How "clear" an object is: 1.0 is completely transparent, 0.0 is completely opaqu
|
|
|
105
113
|
- [Physically based rendering (PBR)](https://en.wikipedia.org/wiki/Physically_based_rendering){:target="_blank"}
|
|
106
114
|
- [Non-photorealistic rendering (NPR)](https://en.wikipedia.org/wiki/Non-photorealistic_rendering){:target="_blank"}
|
|
107
115
|
- [Cel shading (toon shading)](https://en.wikipedia.org/wiki/Cel_shading){:target="_blank"}
|
|
116
|
+
|
|
117
|
+
## See Also
|
|
118
|
+
|
|
119
|
+
- [X3D Specification of UnlitMaterial node](https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#UnlitMaterial){:target="_blank"}
|