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
|
@@ -145,6 +145,7 @@ Object .assign (Object .setPrototypeOf (VolumeEmitter .prototype, X3DParticleEmi
|
|
|
145
145
|
|
|
146
146
|
// Initialize fields.
|
|
147
147
|
|
|
148
|
+
this ._set_coordIndex .addFieldInterest (this ._coordIndex);
|
|
148
149
|
this ._direction .addInterest ("set_direction__", this);
|
|
149
150
|
|
|
150
151
|
this ._coordIndex .addFieldInterest (this .volumeNode ._coordIndex);
|
|
@@ -269,16 +270,17 @@ Object .defineProperties (VolumeEmitter,
|
|
|
269
270
|
fieldDefinitions:
|
|
270
271
|
{
|
|
271
272
|
value: new FieldDefinitionArray ([
|
|
272
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
273
|
-
new X3DFieldDefinition (X3DConstants .
|
|
274
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
275
|
-
new X3DFieldDefinition (X3DConstants .
|
|
276
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
277
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
278
|
-
new X3DFieldDefinition (X3DConstants .inputOutput,
|
|
279
|
-
new X3DFieldDefinition (X3DConstants .
|
|
280
|
-
new X3DFieldDefinition (X3DConstants .
|
|
281
|
-
new X3DFieldDefinition (X3DConstants .
|
|
273
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
274
|
+
new X3DFieldDefinition (X3DConstants .inputOnly, "set_coordIndex", new Fields .MFInt32 ()),
|
|
275
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "on", new Fields .SFBool (true)),
|
|
276
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "internal", new Fields .SFBool (true)),
|
|
277
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "direction", new Fields .SFVec3f (0, 1, 0)),
|
|
278
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "speed", new Fields .SFFloat ()),
|
|
279
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "variation", new Fields .SFFloat (0.25)),
|
|
280
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "mass", new Fields .SFFloat ()),
|
|
281
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "surfaceArea", new Fields .SFFloat ()),
|
|
282
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "coordIndex", new Fields .MFInt32 (-1)),
|
|
283
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "coord", new Fields .SFNode ()),
|
|
282
284
|
]),
|
|
283
285
|
enumerable: true,
|
|
284
286
|
},
|
|
@@ -100,8 +100,8 @@ Object .defineProperties (Contact,
|
|
|
100
100
|
new X3DFieldDefinition (X3DConstants .inputOutput, "appliedParameters", new Fields .MFString ("BOUNCE")),
|
|
101
101
|
new X3DFieldDefinition (X3DConstants .inputOutput, "bounce", new Fields .SFFloat ()),
|
|
102
102
|
new X3DFieldDefinition (X3DConstants .inputOutput, "minBounceSpeed", new Fields .SFFloat ()),
|
|
103
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "frictionCoefficients", new Fields .SFVec2f ()),
|
|
104
103
|
new X3DFieldDefinition (X3DConstants .inputOutput, "frictionDirection", new Fields .SFVec3f (0, 1, 0)),
|
|
104
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "frictionCoefficients", new Fields .SFVec2f ()),
|
|
105
105
|
new X3DFieldDefinition (X3DConstants .inputOutput, "surfaceSpeed", new Fields .SFVec2f ()),
|
|
106
106
|
new X3DFieldDefinition (X3DConstants .inputOutput, "slipCoefficients", new Fields .SFVec2f ()),
|
|
107
107
|
new X3DFieldDefinition (X3DConstants .inputOutput, "softnessConstantForceMix", new Fields .SFFloat (0.0001)),
|
|
@@ -101,26 +101,26 @@ Object .defineProperties (MotorJoint,
|
|
|
101
101
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "autoCalc", new Fields .SFBool ()),
|
|
102
102
|
new X3DFieldDefinition (X3DConstants .inputOutput, "forceOutput", new Fields .MFString ("NONE")),
|
|
103
103
|
new X3DFieldDefinition (X3DConstants .inputOutput, "axis1Angle", new Fields .SFFloat ()),
|
|
104
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "axis1Torque", new Fields .SFFloat ()),
|
|
105
104
|
new X3DFieldDefinition (X3DConstants .inputOutput, "axis2Angle", new Fields .SFFloat ()),
|
|
106
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "axis2Torque", new Fields .SFFloat ()),
|
|
107
105
|
new X3DFieldDefinition (X3DConstants .inputOutput, "axis3Angle", new Fields .SFFloat ()),
|
|
106
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "axis1Torque", new Fields .SFFloat ()),
|
|
107
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "axis2Torque", new Fields .SFFloat ()),
|
|
108
108
|
new X3DFieldDefinition (X3DConstants .inputOutput, "axis3Torque", new Fields .SFFloat ()),
|
|
109
109
|
new X3DFieldDefinition (X3DConstants .inputOutput, "enabledAxes", new Fields .SFInt32 (1)),
|
|
110
110
|
new X3DFieldDefinition (X3DConstants .inputOutput, "motor1Axis", new Fields .SFVec3f ()),
|
|
111
111
|
new X3DFieldDefinition (X3DConstants .inputOutput, "motor2Axis", new Fields .SFVec3f ()),
|
|
112
112
|
new X3DFieldDefinition (X3DConstants .inputOutput, "motor3Axis", new Fields .SFVec3f ()),
|
|
113
113
|
new X3DFieldDefinition (X3DConstants .inputOutput, "stop1Bounce", new Fields .SFFloat ()),
|
|
114
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "stop1ErrorCorrection", new Fields .SFFloat (0.8)),
|
|
115
114
|
new X3DFieldDefinition (X3DConstants .inputOutput, "stop2Bounce", new Fields .SFFloat ()),
|
|
116
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "stop2ErrorCorrection", new Fields .SFFloat (0.8)),
|
|
117
115
|
new X3DFieldDefinition (X3DConstants .inputOutput, "stop3Bounce", new Fields .SFFloat ()),
|
|
116
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "stop1ErrorCorrection", new Fields .SFFloat (0.8)),
|
|
117
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "stop2ErrorCorrection", new Fields .SFFloat (0.8)),
|
|
118
118
|
new X3DFieldDefinition (X3DConstants .inputOutput, "stop3ErrorCorrection", new Fields .SFFloat (0.8)),
|
|
119
119
|
new X3DFieldDefinition (X3DConstants .outputOnly, "motor1Angle", new Fields .SFFloat ()),
|
|
120
|
-
new X3DFieldDefinition (X3DConstants .outputOnly, "motor1AngleRate", new Fields .SFFloat ()),
|
|
121
120
|
new X3DFieldDefinition (X3DConstants .outputOnly, "motor2Angle", new Fields .SFFloat ()),
|
|
122
|
-
new X3DFieldDefinition (X3DConstants .outputOnly, "motor2AngleRate", new Fields .SFFloat ()),
|
|
123
121
|
new X3DFieldDefinition (X3DConstants .outputOnly, "motor3Angle", new Fields .SFFloat ()),
|
|
122
|
+
new X3DFieldDefinition (X3DConstants .outputOnly, "motor1AngleRate", new Fields .SFFloat ()),
|
|
123
|
+
new X3DFieldDefinition (X3DConstants .outputOnly, "motor2AngleRate", new Fields .SFFloat ()),
|
|
124
124
|
new X3DFieldDefinition (X3DConstants .outputOnly, "motor3AngleRate", new Fields .SFFloat ()),
|
|
125
125
|
new X3DFieldDefinition (X3DConstants .inputOutput, "body1", new Fields .SFNode ()),
|
|
126
126
|
new X3DFieldDefinition (X3DConstants .inputOutput, "body2", new Fields .SFNode ()),
|
|
@@ -236,7 +236,6 @@ Object .defineProperties (SingleAxisHingeJoint,
|
|
|
236
236
|
new X3DFieldDefinition (X3DConstants .inputOutput, "axis", new Fields .SFVec3f ()),
|
|
237
237
|
new X3DFieldDefinition (X3DConstants .inputOutput, "minAngle", new Fields .SFFloat (-3.14159)),
|
|
238
238
|
new X3DFieldDefinition (X3DConstants .inputOutput, "maxAngle", new Fields .SFFloat (3.14159)),
|
|
239
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "pickable", new Fields .SFFloat (-3.14159)),
|
|
240
239
|
new X3DFieldDefinition (X3DConstants .inputOutput, "stopBounce", new Fields .SFFloat ()),
|
|
241
240
|
new X3DFieldDefinition (X3DConstants .inputOutput, "stopErrorCorrection", new Fields .SFFloat (0.8)),
|
|
242
241
|
new X3DFieldDefinition (X3DConstants .outputOnly, "body1AnchorPoint", new Fields .SFVec3f ()),
|
|
@@ -96,14 +96,14 @@ Object .defineProperties (UniversalJoint,
|
|
|
96
96
|
new X3DFieldDefinition (X3DConstants .inputOutput, "anchorPoint", new Fields .SFVec3f ()),
|
|
97
97
|
new X3DFieldDefinition (X3DConstants .inputOutput, "axis1", new Fields .SFVec3f ()),
|
|
98
98
|
new X3DFieldDefinition (X3DConstants .inputOutput, "axis2", new Fields .SFVec3f ()),
|
|
99
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "
|
|
100
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "stop1ErrorCorrection", new Fields .SFFloat (0.8)),
|
|
99
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "stop1Bounce", new Fields .SFFloat ()),
|
|
101
100
|
new X3DFieldDefinition (X3DConstants .inputOutput, "stop2Bounce", new Fields .SFFloat ()),
|
|
101
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "stop1ErrorCorrection", new Fields .SFFloat (0.8)),
|
|
102
102
|
new X3DFieldDefinition (X3DConstants .inputOutput, "stop2ErrorCorrection", new Fields .SFFloat (0.8)),
|
|
103
|
-
new X3DFieldDefinition (X3DConstants .outputOnly, "body1AnchorPoint", new Fields .SFVec3f ()),
|
|
104
103
|
new X3DFieldDefinition (X3DConstants .outputOnly, "body1Axis", new Fields .SFVec3f ()),
|
|
105
|
-
new X3DFieldDefinition (X3DConstants .outputOnly, "body2AnchorPoint", new Fields .SFVec3f ()),
|
|
106
104
|
new X3DFieldDefinition (X3DConstants .outputOnly, "body2Axis", new Fields .SFVec3f ()),
|
|
105
|
+
new X3DFieldDefinition (X3DConstants .outputOnly, "body1AnchorPoint", new Fields .SFVec3f ()),
|
|
106
|
+
new X3DFieldDefinition (X3DConstants .outputOnly, "body2AnchorPoint", new Fields .SFVec3f ()),
|
|
107
107
|
new X3DFieldDefinition (X3DConstants .inputOutput, "body1", new Fields .SFNode ()),
|
|
108
108
|
new X3DFieldDefinition (X3DConstants .inputOutput, "body2", new Fields .SFNode ()),
|
|
109
109
|
]),
|
|
@@ -438,6 +438,7 @@ Object .defineProperties (Appearance,
|
|
|
438
438
|
{
|
|
439
439
|
value: new FieldDefinitionArray ([
|
|
440
440
|
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
441
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "acousticProperties", new Fields .SFNode ()),
|
|
441
442
|
new X3DFieldDefinition (X3DConstants .inputOutput, "alphaMode", new Fields .SFString ("AUTO")),
|
|
442
443
|
new X3DFieldDefinition (X3DConstants .inputOutput, "alphaCutoff", new Fields .SFFloat (0.5)),
|
|
443
444
|
new X3DFieldDefinition (X3DConstants .inputOutput, "pointProperties", new Fields .SFNode ()),
|
|
@@ -449,7 +450,6 @@ Object .defineProperties (Appearance,
|
|
|
449
450
|
new X3DFieldDefinition (X3DConstants .inputOutput, "textureTransform", new Fields .SFNode ()),
|
|
450
451
|
new X3DFieldDefinition (X3DConstants .inputOutput, "shaders", new Fields .MFNode ()),
|
|
451
452
|
new X3DFieldDefinition (X3DConstants .inputOutput, "blendMode", new Fields .SFNode ()),
|
|
452
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "acousticProperties", new Fields .SFNode ()),
|
|
453
453
|
]),
|
|
454
454
|
enumerable: true,
|
|
455
455
|
},
|
|
@@ -169,8 +169,8 @@ Object .defineProperties (FillProperties,
|
|
|
169
169
|
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
170
170
|
new X3DFieldDefinition (X3DConstants .inputOutput, "filled", new Fields .SFBool (true)),
|
|
171
171
|
new X3DFieldDefinition (X3DConstants .inputOutput, "hatched", new Fields .SFBool (true)),
|
|
172
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "hatchColor", new Fields .SFColor (1, 1, 1)),
|
|
173
172
|
new X3DFieldDefinition (X3DConstants .inputOutput, "hatchStyle", new Fields .SFInt32 (1)),
|
|
173
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "hatchColor", new Fields .SFColor (1, 1, 1)),
|
|
174
174
|
]),
|
|
175
175
|
enumerable: true,
|
|
176
176
|
},
|
|
@@ -60,7 +60,7 @@ function Material (executionContext)
|
|
|
60
60
|
|
|
61
61
|
this .addType (X3DConstants .Material);
|
|
62
62
|
|
|
63
|
-
if (executionContext .getSpecificationVersion ()
|
|
63
|
+
if (executionContext .getSpecificationVersion () <= 3.3)
|
|
64
64
|
this .getMaterialKey = getMaterialKey;
|
|
65
65
|
|
|
66
66
|
this .diffuseColor = new Float32Array (3);
|
|
@@ -286,7 +286,7 @@ Object .defineProperties (PhysicalMaterial,
|
|
|
286
286
|
new X3DFieldDefinition (X3DConstants .inputOutput, "baseColor", new Fields .SFColor (1, 1, 1)),
|
|
287
287
|
new X3DFieldDefinition (X3DConstants .inputOutput, "baseTextureMapping", new Fields .SFString ()),
|
|
288
288
|
new X3DFieldDefinition (X3DConstants .inputOutput, "baseTexture", new Fields .SFNode ()),
|
|
289
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "emissiveColor", new Fields .SFColor (
|
|
289
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "emissiveColor", new Fields .SFColor ()),
|
|
290
290
|
new X3DFieldDefinition (X3DConstants .inputOutput, "emissiveTextureMapping", new Fields .SFString ()),
|
|
291
291
|
new X3DFieldDefinition (X3DConstants .inputOutput, "emissiveTexture", new Fields .SFNode ()),
|
|
292
292
|
new X3DFieldDefinition (X3DConstants .inputOutput, "metallic", new Fields .SFFloat (1)),
|
|
@@ -98,8 +98,8 @@ Object .defineProperties (Analyser,
|
|
|
98
98
|
new X3DFieldDefinition (X3DConstants .inputOutput, "tailTime", new Fields .SFTime ()),
|
|
99
99
|
|
|
100
100
|
new X3DFieldDefinition (X3DConstants .outputOnly, "channelCount", new Fields .SFInt32 ()),
|
|
101
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("
|
|
102
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("
|
|
101
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("MAX")),
|
|
102
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("SPEAKERS")),
|
|
103
103
|
|
|
104
104
|
new X3DFieldDefinition (X3DConstants .inputOutput, "startTime", new Fields .SFTime ()),
|
|
105
105
|
new X3DFieldDefinition (X3DConstants .inputOutput, "resumeTime", new Fields .SFTime ()),
|
|
@@ -93,8 +93,8 @@ Object .defineProperties (AudioDestination,
|
|
|
93
93
|
new X3DFieldDefinition (X3DConstants .inputOutput, "maxChannelCount", new Fields .SFInt32 (2)),
|
|
94
94
|
|
|
95
95
|
new X3DFieldDefinition (X3DConstants .outputOnly, "channelCount", new Fields .SFInt32 ()),
|
|
96
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("
|
|
97
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("
|
|
96
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("MAX")),
|
|
97
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("SPEAKERS")),
|
|
98
98
|
|
|
99
99
|
new X3DFieldDefinition (X3DConstants .outputOnly, "mediaDeviceID", new Fields .SFString ()),
|
|
100
100
|
new X3DFieldDefinition (X3DConstants .outputOnly, "isActive", new Fields .SFBool ()),
|
|
@@ -94,11 +94,11 @@ Object .defineProperties (BiquadFilter,
|
|
|
94
94
|
new X3DFieldDefinition (X3DConstants .inputOutput, "gain", new Fields .SFFloat (1)),
|
|
95
95
|
new X3DFieldDefinition (X3DConstants .inputOutput, "qualityFactor", new Fields .SFFloat (1)),
|
|
96
96
|
new X3DFieldDefinition (X3DConstants .inputOutput, "tailTime", new Fields .SFTime ()),
|
|
97
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "type", new Fields .SFString ("
|
|
97
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "type", new Fields .SFString ("LOWPASS")),
|
|
98
98
|
|
|
99
99
|
new X3DFieldDefinition (X3DConstants .outputOnly, "channelCount", new Fields .SFInt32 ()),
|
|
100
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("
|
|
101
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("
|
|
100
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("MAX")),
|
|
101
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("SPEAKERS")),
|
|
102
102
|
|
|
103
103
|
new X3DFieldDefinition (X3DConstants .inputOutput, "startTime", new Fields .SFTime ()),
|
|
104
104
|
new X3DFieldDefinition (X3DConstants .inputOutput, "resumeTime", new Fields .SFTime ()),
|
|
@@ -123,8 +123,8 @@ Object .defineProperties (BufferAudioSource,
|
|
|
123
123
|
new X3DFieldDefinition (X3DConstants .outputOnly, "bufferLength", new Fields .SFInt32 ()),
|
|
124
124
|
|
|
125
125
|
new X3DFieldDefinition (X3DConstants .outputOnly, "channelCount", new Fields .SFInt32 ()),
|
|
126
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("
|
|
127
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("
|
|
126
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("MAX")),
|
|
127
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("SPEAKERS")),
|
|
128
128
|
|
|
129
129
|
new X3DFieldDefinition (X3DConstants .inputOutput, "loop", new Fields .SFBool ()),
|
|
130
130
|
new X3DFieldDefinition (X3DConstants .inputOutput, "startTime", new Fields .SFTime ()),
|
|
@@ -92,8 +92,8 @@ Object .defineProperties (ChannelMerger,
|
|
|
92
92
|
new X3DFieldDefinition (X3DConstants .inputOutput, "gain", new Fields .SFFloat (1)),
|
|
93
93
|
|
|
94
94
|
new X3DFieldDefinition (X3DConstants .outputOnly, "channelCount", new Fields .SFInt32 ()),
|
|
95
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("
|
|
96
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("
|
|
95
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("MAX")),
|
|
96
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("SPEAKERS")),
|
|
97
97
|
|
|
98
98
|
new X3DFieldDefinition (X3DConstants .inputOutput, "children", new Fields .MFNode ()),
|
|
99
99
|
]),
|
|
@@ -93,8 +93,8 @@ Object .defineProperties (ChannelSelector,
|
|
|
93
93
|
new X3DFieldDefinition (X3DConstants .inputOutput, "channelSelection", new Fields .SFInt32 (0)),
|
|
94
94
|
|
|
95
95
|
new X3DFieldDefinition (X3DConstants .outputOnly, "channelCount", new Fields .SFInt32 ()),
|
|
96
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("
|
|
97
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("
|
|
96
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("MAX")),
|
|
97
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("SPEAKERS")),
|
|
98
98
|
|
|
99
99
|
new X3DFieldDefinition (X3DConstants .inputOutput, "children", new Fields .MFNode ()),
|
|
100
100
|
]),
|
|
@@ -92,8 +92,8 @@ Object .defineProperties (ChannelSplitter,
|
|
|
92
92
|
new X3DFieldDefinition (X3DConstants .inputOutput, "gain", new Fields .SFFloat (1)),
|
|
93
93
|
|
|
94
94
|
new X3DFieldDefinition (X3DConstants .outputOnly, "channelCount", new Fields .SFInt32 ()),
|
|
95
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("
|
|
96
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("
|
|
95
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("MAX")),
|
|
96
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("SPEAKERS")),
|
|
97
97
|
|
|
98
98
|
new X3DFieldDefinition (X3DConstants .inputOutput, "children", new Fields .MFNode ()),
|
|
99
99
|
new X3DFieldDefinition (X3DConstants .inputOutput, "outputs", new Fields .MFNode ()),
|
|
@@ -95,8 +95,8 @@ Object .defineProperties (Convolver,
|
|
|
95
95
|
new X3DFieldDefinition (X3DConstants .inputOutput, "tailTime", new Fields .SFTime ()),
|
|
96
96
|
|
|
97
97
|
new X3DFieldDefinition (X3DConstants .outputOnly, "channelCount", new Fields .SFInt32 ()),
|
|
98
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("
|
|
99
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("
|
|
98
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("MAX")),
|
|
99
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("SPEAKERS")),
|
|
100
100
|
|
|
101
101
|
new X3DFieldDefinition (X3DConstants .inputOutput, "startTime", new Fields .SFTime ()),
|
|
102
102
|
new X3DFieldDefinition (X3DConstants .inputOutput, "resumeTime", new Fields .SFTime ()),
|
|
@@ -95,8 +95,8 @@ Object .defineProperties (Delay,
|
|
|
95
95
|
new X3DFieldDefinition (X3DConstants .inputOutput, "tailTime", new Fields .SFTime ()),
|
|
96
96
|
|
|
97
97
|
new X3DFieldDefinition (X3DConstants .outputOnly, "channelCount", new Fields .SFInt32 ()),
|
|
98
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("
|
|
99
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("
|
|
98
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("MAX")),
|
|
99
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("SPEAKERS")),
|
|
100
100
|
|
|
101
101
|
new X3DFieldDefinition (X3DConstants .inputOutput, "startTime", new Fields .SFTime ()),
|
|
102
102
|
new X3DFieldDefinition (X3DConstants .inputOutput, "resumeTime", new Fields .SFTime ()),
|
|
@@ -99,8 +99,8 @@ Object .defineProperties (DynamicsCompressor,
|
|
|
99
99
|
new X3DFieldDefinition (X3DConstants .inputOutput, "tailTime", new Fields .SFTime ()),
|
|
100
100
|
|
|
101
101
|
new X3DFieldDefinition (X3DConstants .outputOnly, "channelCount", new Fields .SFInt32 ()),
|
|
102
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("
|
|
103
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("
|
|
102
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("MAX")),
|
|
103
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("SPEAKERS")),
|
|
104
104
|
|
|
105
105
|
new X3DFieldDefinition (X3DConstants .inputOutput, "startTime", new Fields .SFTime ()),
|
|
106
106
|
new X3DFieldDefinition (X3DConstants .inputOutput, "resumeTime", new Fields .SFTime ()),
|
|
@@ -93,8 +93,8 @@ Object .defineProperties (Gain,
|
|
|
93
93
|
new X3DFieldDefinition (X3DConstants .inputOutput, "tailTime", new Fields .SFTime ()),
|
|
94
94
|
|
|
95
95
|
new X3DFieldDefinition (X3DConstants .outputOnly, "channelCount", new Fields .SFInt32 ()),
|
|
96
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("
|
|
97
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("
|
|
96
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("MAX")),
|
|
97
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("SPEAKERS")),
|
|
98
98
|
|
|
99
99
|
new X3DFieldDefinition (X3DConstants .inputOutput, "startTime", new Fields .SFTime ()),
|
|
100
100
|
new X3DFieldDefinition (X3DConstants .inputOutput, "resumeTime", new Fields .SFTime ()),
|
|
@@ -88,9 +88,9 @@ Object .defineProperties (PeriodicWave,
|
|
|
88
88
|
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
89
89
|
new X3DFieldDefinition (X3DConstants .inputOutput, "description", new Fields .SFString ()),
|
|
90
90
|
new X3DFieldDefinition (X3DConstants .inputOutput, "enabled", new Fields .SFBool (true)),
|
|
91
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "type", new Fields .SFString ("SQUARE")),
|
|
91
92
|
new X3DFieldDefinition (X3DConstants .inputOutput, "optionsReal", new Fields .MFFloat ()),
|
|
92
93
|
new X3DFieldDefinition (X3DConstants .inputOutput, "optionsImag", new Fields .MFFloat ()),
|
|
93
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "type", new Fields .SFString ("square")),
|
|
94
94
|
]),
|
|
95
95
|
enumerable: true,
|
|
96
96
|
},
|
|
@@ -93,8 +93,8 @@ Object .defineProperties (StreamAudioDestination,
|
|
|
93
93
|
new X3DFieldDefinition (X3DConstants .inputOutput, "streamIdentifier", new Fields .MFString ()),
|
|
94
94
|
|
|
95
95
|
new X3DFieldDefinition (X3DConstants .outputOnly, "channelCount", new Fields .SFInt32 ()),
|
|
96
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("
|
|
97
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("
|
|
96
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("MAX")),
|
|
97
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("SPEAKERS")),
|
|
98
98
|
|
|
99
99
|
new X3DFieldDefinition (X3DConstants .outputOnly, "mediaDeviceID", new Fields .SFString ()),
|
|
100
100
|
new X3DFieldDefinition (X3DConstants .outputOnly, "isActive", new Fields .SFBool ()),
|
|
@@ -91,12 +91,12 @@ Object .defineProperties (WaveShaper,
|
|
|
91
91
|
|
|
92
92
|
new X3DFieldDefinition (X3DConstants .inputOutput, "gain", new Fields .SFFloat (1)),
|
|
93
93
|
new X3DFieldDefinition (X3DConstants .inputOutput, "curve", new Fields .MFFloat ()),
|
|
94
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "oversample", new Fields .SFString ("
|
|
94
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "oversample", new Fields .SFString ("NONE")),
|
|
95
95
|
new X3DFieldDefinition (X3DConstants .inputOutput, "tailTime", new Fields .SFTime ()),
|
|
96
96
|
|
|
97
97
|
new X3DFieldDefinition (X3DConstants .outputOnly, "channelCount", new Fields .SFInt32 ()),
|
|
98
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("
|
|
99
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("
|
|
98
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelCountMode", new Fields .SFString ("MAX")),
|
|
99
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "channelInterpretation", new Fields .SFString ("SPEAKERS")),
|
|
100
100
|
|
|
101
101
|
new X3DFieldDefinition (X3DConstants .inputOutput, "startTime", new Fields .SFTime ()),
|
|
102
102
|
new X3DFieldDefinition (X3DConstants .inputOutput, "resumeTime", new Fields .SFTime ()),
|
|
@@ -197,12 +197,12 @@ Object .defineProperties (TextureProjector,
|
|
|
197
197
|
new X3DFieldDefinition (X3DConstants .inputOutput, "description", new Fields .SFString ()),
|
|
198
198
|
new X3DFieldDefinition (X3DConstants .inputOutput, "on", new Fields .SFBool (true)),
|
|
199
199
|
new X3DFieldDefinition (X3DConstants .inputOutput, "global", new Fields .SFBool (true)),
|
|
200
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "location", new Fields .SFVec3f (0, 0,
|
|
200
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "location", new Fields .SFVec3f (0, 0, 0)),
|
|
201
201
|
new X3DFieldDefinition (X3DConstants .inputOutput, "direction", new Fields .SFVec3f (0, 0, 1)),
|
|
202
202
|
new X3DFieldDefinition (X3DConstants .inputOutput, "upVector", new Fields .SFVec3f (0, 0, 1)),
|
|
203
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "fieldOfView"
|
|
204
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "nearDistance", new Fields .SFFloat (1)),
|
|
205
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "farDistance", new Fields .SFFloat (
|
|
203
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "fieldOfView", new Fields .SFFloat (0.785398)),
|
|
204
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "nearDistance", new Fields .SFFloat (-1)),
|
|
205
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "farDistance", new Fields .SFFloat (-1)),
|
|
206
206
|
new X3DFieldDefinition (X3DConstants .outputOnly, "aspectRatio", new Fields .SFFloat ()),
|
|
207
207
|
new X3DFieldDefinition (X3DConstants .inputOutput, "texture", new Fields .SFNode ()),
|
|
208
208
|
]),
|
|
@@ -252,12 +252,12 @@ Object .defineProperties (TextureProjectorParallel,
|
|
|
252
252
|
new X3DFieldDefinition (X3DConstants .inputOutput, "description", new Fields .SFString ()),
|
|
253
253
|
new X3DFieldDefinition (X3DConstants .inputOutput, "on", new Fields .SFBool (true)),
|
|
254
254
|
new X3DFieldDefinition (X3DConstants .inputOutput, "global", new Fields .SFBool (true)),
|
|
255
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "location", new Fields .SFVec3f (0, 0,
|
|
255
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "location", new Fields .SFVec3f (0, 0, 0)),
|
|
256
256
|
new X3DFieldDefinition (X3DConstants .inputOutput, "direction", new Fields .SFVec3f (0, 0, 1)),
|
|
257
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "upVector", new Fields .SFVec3f (0,
|
|
258
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "fieldOfView"
|
|
259
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "nearDistance", new Fields .SFFloat (1)),
|
|
260
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "farDistance", new Fields .SFFloat (
|
|
257
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "upVector", new Fields .SFVec3f (0, 0, 1)),
|
|
258
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "fieldOfView", new Fields .MFFloat (-1, -1, 1, 1)),
|
|
259
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "nearDistance", new Fields .SFFloat (-1)),
|
|
260
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "farDistance", new Fields .SFFloat (-1)),
|
|
261
261
|
new X3DFieldDefinition (X3DConstants .outputOnly, "aspectRatio", new Fields .SFFloat ()),
|
|
262
262
|
new X3DFieldDefinition (X3DConstants .inputOutput, "texture", new Fields .SFNode ()),
|
|
263
263
|
]),
|
|
@@ -272,7 +272,7 @@ Object .defineProperties (PixelTexture,
|
|
|
272
272
|
value: new FieldDefinitionArray ([
|
|
273
273
|
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
274
274
|
new X3DFieldDefinition (X3DConstants .inputOutput, "description", new Fields .SFString ()),
|
|
275
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "image", new Fields .SFImage (
|
|
275
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "image", new Fields .SFImage ()),
|
|
276
276
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "repeatS", new Fields .SFBool (true)),
|
|
277
277
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "repeatT", new Fields .SFBool (true)),
|
|
278
278
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "textureProperties", new Fields .SFNode ()),
|
|
@@ -58,7 +58,7 @@ function TextureProperties (executionContext)
|
|
|
58
58
|
|
|
59
59
|
this .addType (X3DConstants .TextureProperties);
|
|
60
60
|
|
|
61
|
-
if (executionContext .getSpecificationVersion ()
|
|
61
|
+
if (executionContext .getSpecificationVersion () <= 3.3)
|
|
62
62
|
{
|
|
63
63
|
this ._minificationFilter = "DEFAULT";
|
|
64
64
|
this ._magnificationFilter = "DEFAULT";
|
|
@@ -353,8 +353,8 @@ Object .defineProperties (IsoSurfaceVolumeData,
|
|
|
353
353
|
new X3DFieldDefinition (X3DConstants .inputOutput, "surfaceTolerance", new Fields .SFFloat (0)),
|
|
354
354
|
new X3DFieldDefinition (X3DConstants .inputOutput, "visible", new Fields .SFBool (true)),
|
|
355
355
|
new X3DFieldDefinition (X3DConstants .inputOutput, "bboxDisplay", new Fields .SFBool ()),
|
|
356
|
-
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxCenter", new Fields .SFVec3f (0, 0, 0)),
|
|
357
356
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxSize", new Fields .SFVec3f (-1, -1, -1)),
|
|
357
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxCenter", new Fields .SFVec3f (0, 0, 0)),
|
|
358
358
|
new X3DFieldDefinition (X3DConstants .inputOutput, "renderStyle", new Fields .MFNode ()),
|
|
359
359
|
new X3DFieldDefinition (X3DConstants .inputOutput, "gradients", new Fields .SFNode ()),
|
|
360
360
|
new X3DFieldDefinition (X3DConstants .inputOutput, "voxels", new Fields .SFNode ()),
|
|
@@ -266,8 +266,8 @@ Object .defineProperties (SegmentedVolumeData,
|
|
|
266
266
|
new X3DFieldDefinition (X3DConstants .inputOutput, "segmentEnabled", new Fields .MFBool ()),
|
|
267
267
|
new X3DFieldDefinition (X3DConstants .inputOutput, "visible", new Fields .SFBool (true)),
|
|
268
268
|
new X3DFieldDefinition (X3DConstants .inputOutput, "bboxDisplay", new Fields .SFBool ()),
|
|
269
|
-
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxCenter", new Fields .SFVec3f (0, 0, 0)),
|
|
270
269
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxSize", new Fields .SFVec3f (-1, -1, -1)),
|
|
270
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxCenter", new Fields .SFVec3f (0, 0, 0)),
|
|
271
271
|
new X3DFieldDefinition (X3DConstants .inputOutput, "segmentIdentifiers", new Fields .SFNode ()),
|
|
272
272
|
new X3DFieldDefinition (X3DConstants .inputOutput, "renderStyle", new Fields .MFNode ()),
|
|
273
273
|
new X3DFieldDefinition (X3DConstants .inputOutput, "voxels", new Fields .SFNode ()),
|
|
@@ -201,8 +201,8 @@ Object .defineProperties (VolumeData,
|
|
|
201
201
|
new X3DFieldDefinition (X3DConstants .inputOutput, "dimensions", new Fields .SFVec3f (1, 1, 1)),
|
|
202
202
|
new X3DFieldDefinition (X3DConstants .inputOutput, "visible", new Fields .SFBool (true)),
|
|
203
203
|
new X3DFieldDefinition (X3DConstants .inputOutput, "bboxDisplay", new Fields .SFBool ()),
|
|
204
|
-
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxCenter", new Fields .SFVec3f (0, 0, 0)),
|
|
205
204
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxSize", new Fields .SFVec3f (-1, -1, -1)),
|
|
205
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxCenter", new Fields .SFVec3f (0, 0, 0)),
|
|
206
206
|
new X3DFieldDefinition (X3DConstants .inputOutput, "renderStyle", new Fields .SFNode ()),
|
|
207
207
|
new X3DFieldDefinition (X3DConstants .inputOutput, "voxels", new Fields .SFNode ()),
|
|
208
208
|
]),
|
|
@@ -141,7 +141,7 @@ SupportedComponents .add ("HAnim",
|
|
|
141
141
|
external: true,
|
|
142
142
|
});
|
|
143
143
|
|
|
144
|
-
SupportedComponents .alias ("H-Anim", "HAnim");
|
|
144
|
+
SupportedComponents .alias ("H-Anim", SupportedComponents .get ("HAnim"));
|
|
145
145
|
|
|
146
146
|
SupportedComponents .add ("Interpolation",
|
|
147
147
|
{
|
|
@@ -229,7 +229,7 @@ SupportedComponents .add ("TextureProjector",
|
|
|
229
229
|
external: true,
|
|
230
230
|
});
|
|
231
231
|
|
|
232
|
-
SupportedComponents .alias ("ProjectiveTextureMapping", "TextureProjector");
|
|
232
|
+
SupportedComponents .alias ("ProjectiveTextureMapping", SupportedComponents .get ("TextureProjector"));
|
|
233
233
|
|
|
234
234
|
SupportedComponents .add ("Rendering",
|
|
235
235
|
{
|
|
@@ -140,7 +140,7 @@ Object .assign (Object .setPrototypeOf (MFNode .prototype, X3DObjectArrayField .
|
|
|
140
140
|
{
|
|
141
141
|
generator .string += generator .Indent ();
|
|
142
142
|
array [i] .toStream (generator);
|
|
143
|
-
generator .string += generator .
|
|
143
|
+
generator .string += generator .Break ();
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
generator .DecIndent ();
|
|
@@ -188,7 +188,7 @@ Object .assign (Object .setPrototypeOf (MFNode .prototype, X3DObjectArrayField .
|
|
|
188
188
|
{
|
|
189
189
|
generator .string += generator .Indent ();
|
|
190
190
|
element .toVRMLStream (generator);
|
|
191
|
-
generator .string += generator .
|
|
191
|
+
generator .string += generator .Break ();
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
generator .DecIndent ();
|
|
@@ -130,7 +130,7 @@ Object .assign (Object .setPrototypeOf (SFColor .prototype, X3DField .prototype)
|
|
|
130
130
|
for (let i = 0; i < last; ++ i)
|
|
131
131
|
{
|
|
132
132
|
generator .string += generator .FloatFormat (value [i]);
|
|
133
|
-
generator .string += generator .
|
|
133
|
+
generator .string += generator .Space ();
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
generator .string += generator .FloatFormat (value [last]);
|
|
@@ -147,7 +147,7 @@ function SFMatrixPrototypeTemplate (Constructor, TypeName, Matrix, SFVec, double
|
|
|
147
147
|
for (let i = 0; i < last; ++ i)
|
|
148
148
|
{
|
|
149
149
|
generator .string += generator [_formatter] (value [i]);
|
|
150
|
-
generator .string += generator .
|
|
150
|
+
generator .string += generator .Space ();
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
generator .string += generator [_formatter] (value [last]);
|
|
@@ -158,11 +158,11 @@ Object .assign (Object .setPrototypeOf (SFRotation .prototype, X3DField .prototy
|
|
|
158
158
|
const { x, y, z, angle } = this .getValue ();
|
|
159
159
|
|
|
160
160
|
generator .string += generator .DoubleFormat (x);
|
|
161
|
-
generator .string += generator .
|
|
161
|
+
generator .string += generator .Space ();
|
|
162
162
|
generator .string += generator .DoubleFormat (y);
|
|
163
|
-
generator .string += generator .
|
|
163
|
+
generator .string += generator .Space ();
|
|
164
164
|
generator .string += generator .DoubleFormat (z);
|
|
165
|
-
generator .string += generator .
|
|
165
|
+
generator .string += generator .Space ();
|
|
166
166
|
generator .string += generator .DoubleFormat (generator .ToUnit ("angle", angle));
|
|
167
167
|
},
|
|
168
168
|
toVRMLStream (generator)
|
|
@@ -156,7 +156,7 @@ function SFVecPrototypeTemplate (Constructor, TypeName, Vector, double)
|
|
|
156
156
|
for (let i = 0; i < last; ++ i)
|
|
157
157
|
{
|
|
158
158
|
generator .string += generator [_formatter] (generator .ToUnit (category, value [i]));
|
|
159
|
-
generator .string += generator .
|
|
159
|
+
generator .string += generator .Space ();
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
generator .string += generator [_formatter] (generator .ToUnit (category, value [last]));
|
|
@@ -54,6 +54,8 @@ import GLB2Parser from "./GLB2Parser.js";
|
|
|
54
54
|
import OBJParser from "./OBJParser.js";
|
|
55
55
|
import STLAParser from "./STLAParser.js";
|
|
56
56
|
import STLBParser from "./STLBParser.js";
|
|
57
|
+
import PLYAParser from "./PLYAParser.js";
|
|
58
|
+
import PLYBParser from "./PLYBParser.js";
|
|
57
59
|
import SVGParser from "./SVGParser.js";
|
|
58
60
|
|
|
59
61
|
function GoldenGate (scene)
|
|
@@ -105,14 +107,21 @@ Object .assign (Object .setPrototypeOf (GoldenGate .prototype, X3DParser .protot
|
|
|
105
107
|
},
|
|
106
108
|
getInput (encoding, x3dSyntax)
|
|
107
109
|
{
|
|
108
|
-
if (
|
|
109
|
-
|
|
110
|
+
if (Array .isArray (encoding))
|
|
111
|
+
{
|
|
112
|
+
return encoding .map (encoding => this .getInput (encoding));
|
|
113
|
+
}
|
|
114
|
+
else
|
|
115
|
+
{
|
|
116
|
+
if (this .inputs .has (encoding))
|
|
117
|
+
return this .inputs .get (encoding);
|
|
110
118
|
|
|
111
|
-
|
|
119
|
+
const input = this .createInput (encoding, x3dSyntax);
|
|
112
120
|
|
|
113
|
-
|
|
121
|
+
this .inputs .set (encoding, input);
|
|
114
122
|
|
|
115
|
-
|
|
123
|
+
return input;
|
|
124
|
+
}
|
|
116
125
|
},
|
|
117
126
|
createInput (encoding, x3dSyntax)
|
|
118
127
|
{
|
|
@@ -147,6 +156,8 @@ GoldenGate .Parser = [
|
|
|
147
156
|
OBJParser,
|
|
148
157
|
STLAParser,
|
|
149
158
|
STLBParser,
|
|
159
|
+
PLYAParser,
|
|
160
|
+
PLYBParser,
|
|
150
161
|
];
|
|
151
162
|
|
|
152
163
|
export default GoldenGate;
|