x_ite 8.8.5 → 8.8.7
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/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 +27 -27
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +13 -13
- 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 +75 -73
- 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 +103 -105
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +1 -1
- package/docs/_posts/components/CADGeometry/CADAssembly.md +2 -2
- package/docs/_posts/components/CADGeometry/CADFace.md +3 -3
- package/docs/_posts/components/CADGeometry/CADLayer.md +2 -2
- package/docs/_posts/components/CADGeometry/CADPart.md +2 -2
- package/docs/_posts/components/Core/MetadataBoolean.md +0 -20
- package/docs/_posts/components/CubeMapTexturing/ComposedCubeMapTexture.md +15 -11
- package/docs/_posts/components/DIS/DISEntityManager.md +4 -4
- package/docs/_posts/components/DIS/DISEntityTypeMapping.md +9 -9
- package/docs/_posts/components/DIS/EspduTransform.md +37 -37
- package/docs/_posts/components/DIS/ReceiverPdu.md +18 -18
- package/docs/_posts/components/DIS/SignalPdu.md +16 -16
- package/docs/_posts/components/DIS/TransmitterPdu.md +32 -32
- package/docs/_posts/components/EventUtilities/BooleanFilter.md +6 -6
- package/docs/_posts/components/EventUtilities/BooleanSequencer.md +2 -2
- package/docs/_posts/components/EventUtilities/BooleanTrigger.md +1 -1
- package/docs/_posts/components/EventUtilities/IntegerSequencer.md +1 -1
- package/docs/_posts/components/Followers/ColorChaser.md +2 -2
- package/docs/_posts/components/Followers/ColorDamper.md +2 -2
- package/docs/_posts/components/Followers/CoordinateChaser.md +4 -4
- package/docs/_posts/components/Followers/CoordinateDamper.md +4 -4
- package/docs/_posts/components/Followers/OrientationChaser.md +4 -4
- package/docs/_posts/components/Followers/OrientationDamper.md +4 -4
- package/docs/_posts/components/Followers/PositionChaser.md +4 -4
- package/docs/_posts/components/Followers/PositionChaser2D.md +4 -4
- package/docs/_posts/components/Followers/PositionDamper.md +4 -4
- package/docs/_posts/components/Followers/PositionDamper2D.md +4 -4
- package/docs/_posts/components/Followers/ScalarChaser.md +4 -4
- package/docs/_posts/components/Followers/ScalarDamper.md +4 -4
- package/docs/_posts/components/Followers/TexCoordChaser2D.md +4 -4
- package/docs/_posts/components/Followers/TexCoordDamper2D.md +4 -4
- package/docs/_posts/components/Geometry2D/Polyline2D.md +1 -1
- package/docs/_posts/components/Geometry3D/Cone.md +2 -2
- package/docs/_posts/components/Geometry3D/Cylinder.md +3 -3
- package/docs/_posts/components/Geometry3D/ElevationGrid.md +2 -2
- package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +3 -5
- package/docs/_posts/components/Geospatial/GeoElevationGrid.md +3 -3
- package/docs/_posts/components/Geospatial/GeoLOD.md +6 -6
- package/docs/_posts/components/Geospatial/GeoLocation.md +2 -2
- package/docs/_posts/components/Geospatial/GeoTouchSensor.md +8 -8
- package/docs/_posts/components/Geospatial/GeoTransform.md +2 -2
- package/docs/_posts/components/Geospatial/GeoViewpoint.md +11 -3
- package/docs/_posts/components/Grouping/Group.md +2 -2
- package/docs/_posts/components/Grouping/StaticGroup.md +2 -2
- package/docs/_posts/components/Grouping/Switch.md +2 -2
- package/docs/_posts/components/Grouping/Transform.md +2 -2
- package/docs/_posts/components/HAnim/HAnimDisplacer.md +16 -16
- package/docs/_posts/components/HAnim/HAnimHumanoid.md +78 -47
- package/docs/_posts/components/HAnim/HAnimJoint.md +59 -59
- package/docs/_posts/components/HAnim/HAnimMotion.md +17 -17
- package/docs/_posts/components/HAnim/HAnimSegment.md +39 -39
- package/docs/_posts/components/HAnim/HAnimSite.md +39 -39
- package/docs/_posts/components/Layering/Layer.md +14 -2
- package/docs/_posts/components/Layering/LayerSet.md +2 -2
- package/docs/_posts/components/Layering/Viewport.md +3 -3
- package/docs/_posts/components/Layout/Layout.md +1 -1
- package/docs/_posts/components/Layout/LayoutGroup.md +3 -3
- package/docs/_posts/components/Layout/LayoutLayer.md +14 -2
- package/docs/_posts/components/Layout/ScreenFontStyle.md +3 -3
- package/docs/_posts/components/Layout/ScreenGroup.md +3 -3
- package/docs/_posts/components/Lighting/DirectionalLight.md +4 -4
- package/docs/_posts/components/Lighting/EnvironmentLight.md +5 -5
- package/docs/_posts/components/Lighting/PointLight.md +4 -4
- package/docs/_posts/components/Lighting/SpotLight.md +4 -4
- package/docs/_posts/components/NURBS/NurbsCurve.md +1 -1
- package/docs/_posts/components/NURBS/NurbsCurve2D.md +1 -1
- package/docs/_posts/components/NURBS/NurbsOrientationInterpolator.md +6 -6
- package/docs/_posts/components/NURBS/NurbsPatchSurface.md +12 -12
- package/docs/_posts/components/NURBS/NurbsPositionInterpolator.md +6 -6
- package/docs/_posts/components/NURBS/NurbsSet.md +6 -6
- package/docs/_posts/components/NURBS/NurbsSurfaceInterpolator.md +22 -22
- package/docs/_posts/components/NURBS/NurbsTextureCoordinate.md +16 -16
- package/docs/_posts/components/NURBS/NurbsTrimmedSurface.md +12 -12
- package/docs/_posts/components/Navigation/Billboard.md +2 -2
- package/docs/_posts/components/Navigation/Collision.md +2 -2
- package/docs/_posts/components/Navigation/LOD.md +2 -2
- package/docs/_posts/components/Navigation/NavigationInfo.md +2 -2
- package/docs/_posts/components/Navigation/OrthoViewpoint.md +11 -3
- package/docs/_posts/components/Navigation/Viewpoint.md +12 -4
- package/docs/_posts/components/Navigation/ViewpointGroup.md +4 -4
- package/docs/_posts/components/Networking/Anchor.md +2 -2
- package/docs/_posts/components/Networking/Inline.md +2 -2
- package/docs/_posts/components/Networking/LoadSensor.md +3 -3
- package/docs/_posts/components/ParticleSystems/ConeEmitter.md +6 -2
- package/docs/_posts/components/ParticleSystems/ExplosionEmitter.md +5 -1
- package/docs/_posts/components/ParticleSystems/ParticleSystem.md +23 -14
- package/docs/_posts/components/ParticleSystems/PointEmitter.md +6 -2
- package/docs/_posts/components/ParticleSystems/PolylineEmitter.md +5 -1
- package/docs/_posts/components/ParticleSystems/SurfaceEmitter.md +4 -0
- package/docs/_posts/components/ParticleSystems/VolumeEmitter.md +14 -2
- package/docs/_posts/components/ParticleSystems/WindPhysicsModel.md +1 -1
- package/docs/_posts/components/Picking/LinePickSensor.md +23 -19
- package/docs/_posts/components/Picking/PickableGroup.md +4 -4
- package/docs/_posts/components/Picking/PointPickSensor.md +19 -15
- package/docs/_posts/components/Picking/PrimitivePickSensor.md +19 -15
- package/docs/_posts/components/Picking/VolumePickSensor.md +19 -15
- package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +5 -5
- package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +5 -5
- package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +4 -4
- package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +4 -4
- package/docs/_posts/components/Rendering/ClipPlane.md +1 -1
- package/docs/_posts/components/Rendering/IndexedLineSet.md +3 -9
- package/docs/_posts/components/RigidBodyPhysics/BallJoint.md +2 -2
- package/docs/_posts/components/RigidBodyPhysics/CollidableOffset.md +3 -3
- package/docs/_posts/components/RigidBodyPhysics/CollidableShape.md +3 -3
- package/docs/_posts/components/RigidBodyPhysics/CollisionCollection.md +7 -7
- package/docs/_posts/components/RigidBodyPhysics/CollisionSensor.md +1 -1
- package/docs/_posts/components/RigidBodyPhysics/CollisionSpace.md +5 -5
- package/docs/_posts/components/RigidBodyPhysics/Contact.md +1 -1
- package/docs/_posts/components/RigidBodyPhysics/DoubleAxisHingeJoint.md +10 -14
- package/docs/_posts/components/RigidBodyPhysics/MotorJoint.md +31 -31
- package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +17 -17
- package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +6 -6
- package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +7 -9
- package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +7 -7
- package/docs/_posts/components/RigidBodyPhysics/UniversalJoint.md +12 -12
- package/docs/_posts/components/Shaders/PackagedShader.md +24 -24
- package/docs/_posts/components/Shape/AcousticProperties.md +5 -5
- package/docs/_posts/components/Shape/Appearance.md +1 -1
- package/docs/_posts/components/Shape/PointProperties.md +3 -11
- package/docs/_posts/components/Shape/Shape.md +3 -3
- package/docs/_posts/components/Sound/Analyser.md +23 -19
- package/docs/_posts/components/Sound/AudioClip.md +20 -4
- package/docs/_posts/components/Sound/AudioDestination.md +13 -9
- package/docs/_posts/components/Sound/BiquadFilter.md +22 -18
- package/docs/_posts/components/Sound/BufferAudioSource.md +26 -22
- package/docs/_posts/components/Sound/ChannelMerger.md +10 -6
- package/docs/_posts/components/Sound/ChannelSelector.md +11 -7
- package/docs/_posts/components/Sound/ChannelSplitter.md +11 -7
- package/docs/_posts/components/Sound/Convolver.md +20 -16
- package/docs/_posts/components/Sound/Delay.md +20 -16
- package/docs/_posts/components/Sound/DynamicsCompressor.md +24 -20
- package/docs/_posts/components/Sound/Gain.md +18 -14
- package/docs/_posts/components/Sound/ListenerPointSource.md +18 -14
- package/docs/_posts/components/Sound/MicrophoneSource.md +14 -10
- package/docs/_posts/components/Sound/OscillatorSource.md +16 -12
- package/docs/_posts/components/Sound/PeriodicWave.md +7 -4
- package/docs/_posts/components/Sound/Sound.md +8 -2
- package/docs/_posts/components/Sound/SpatialSound.md +20 -17
- package/docs/_posts/components/Sound/StreamAudioDestination.md +13 -9
- package/docs/_posts/components/Sound/StreamAudioSource.md +14 -10
- package/docs/_posts/components/Sound/WaveShaper.md +20 -16
- package/docs/_posts/components/Text/FontStyle.md +3 -3
- package/docs/_posts/components/TextureProjector/TextureProjector.md +11 -9
- package/docs/_posts/components/TextureProjector/TextureProjectorParallel.md +11 -9
- package/docs/_posts/components/Texturing/MovieTexture.md +20 -4
- package/docs/_posts/components/Texturing/TextureProperties.md +1 -1
- package/docs/_posts/components/Texturing3D/PixelTexture3D.md +4 -4
- package/docs/_posts/components/Time/TimeSensor.md +4 -4
- package/docs/_posts/components/VolumeRendering/BlendedVolumeStyle.md +10 -10
- package/docs/_posts/components/VolumeRendering/BoundaryEnhancementVolumeStyle.md +8 -8
- package/docs/_posts/components/VolumeRendering/CartoonVolumeStyle.md +8 -8
- package/docs/_posts/components/VolumeRendering/ComposedVolumeStyle.md +4 -4
- package/docs/_posts/components/VolumeRendering/EdgeEnhancementVolumeStyle.md +8 -8
- package/docs/_posts/components/VolumeRendering/IsoSurfaceVolumeData.md +27 -27
- package/docs/_posts/components/VolumeRendering/ProjectionVolumeStyle.md +14 -2
- package/docs/_posts/components/VolumeRendering/SegmentedVolumeData.md +21 -21
- package/docs/_posts/components/VolumeRendering/ShadedVolumeStyle.md +13 -13
- package/docs/_posts/components/VolumeRendering/SilhouetteEnhancementVolumeStyle.md +6 -6
- package/docs/_posts/components/VolumeRendering/ToneMappedVolumeStyle.md +10 -10
- package/docs/_posts/components/VolumeRendering/VolumeData.md +17 -17
- package/docs/_posts/components/X_ITE/BlendMode.md +7 -7
- 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/VERSION.js +1 -1
- package/src/x_ite/Components/Annotation/GroupAnnotation.js +1 -1
- package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +2 -2
- 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/HAnim/HAnimMotion.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/Viewpoint.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/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/FillProperties.js +1 -1
- package/src/x_ite/Components/Shape/PhysicalMaterial.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/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/Execution/X3DExecutionContext.js +3 -5
- package/src/x_ite/Parser/VRMLParser.js +1 -1
- package/src/x_ite/Routing/X3DRoute.js +3 -3
|
@@ -30,29 +30,25 @@ The IsoSurfaceVolumeData node belongs to the **VolumeRendering** component and i
|
|
|
30
30
|
|
|
31
31
|
## Fields
|
|
32
32
|
|
|
33
|
-
###
|
|
34
|
-
|
|
35
|
-
If contourStepSize is non-zero, also render all isosurfaces that are multiples of that step size from initial surface value.
|
|
36
|
-
|
|
37
|
-
#### Hint
|
|
33
|
+
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
38
34
|
|
|
39
|
-
|
|
35
|
+
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
|
|
40
36
|
|
|
41
37
|
### SFVec3f [in, out] **dimensions** 1 1 1 <small>(0,∞)</small>
|
|
42
38
|
|
|
43
39
|
Actual-size X-Y-Z dimensions of volume data in local coordinate system.
|
|
44
40
|
|
|
45
|
-
###
|
|
41
|
+
### SFFloat [in, out] **contourStepSize** 0 <small>(-∞,∞)</small>
|
|
46
42
|
|
|
47
|
-
|
|
43
|
+
If contourStepSize is non-zero, also render all isosurfaces that are multiples of that step size from initial surface value.
|
|
48
44
|
|
|
49
|
-
|
|
45
|
+
#### Hint
|
|
50
46
|
|
|
51
|
-
|
|
47
|
+
- ContourStepSize can be negative so that steppping can proceed in a negative direction.
|
|
52
48
|
|
|
53
|
-
###
|
|
49
|
+
### MFFloat [in, out] **surfaceValues** [ ] <small>(-∞,∞)</small>
|
|
54
50
|
|
|
55
|
-
|
|
51
|
+
If surfaceValues has one value defined, render corresponding isosurface plus any isosurfaces based on contourStepSize. If surfaceValues has more than one value defined, ignore contourStepSize and render surfaces corresponding to listed surfaceValues.
|
|
56
52
|
|
|
57
53
|
### SFFloat [in, out] **surfaceTolerance** 0 <small>[0,∞)</small>
|
|
58
54
|
|
|
@@ -62,19 +58,7 @@ Threshold for gradient magnitude for voxel inolusion in isosurface.
|
|
|
62
58
|
|
|
63
59
|
- Contained Texture3D node with containerField='gradients' can provide explicit per-voxel gradient direction information for determining surface boundaries.
|
|
64
60
|
|
|
65
|
-
###
|
|
66
|
-
|
|
67
|
-
If surfaceValues has one value defined, render corresponding isosurface plus any isosurfaces based on contourStepSize. If surfaceValues has more than one value defined, ignore contourStepSize and render surfaces corresponding to listed surfaceValues.
|
|
68
|
-
|
|
69
|
-
### SFNode [in, out] **voxels** NULL <small>[X3DTexture3DNode]</small>
|
|
70
|
-
|
|
71
|
-
Input/Output field voxels.
|
|
72
|
-
|
|
73
|
-
### SFVec3f [ ] **bboxCenter** 0 0 0 <small>(-∞,∞)</small>
|
|
74
|
-
|
|
75
|
-
Bounding box center: optional hint for position offset from origin of local coordinate system.
|
|
76
|
-
|
|
77
|
-
### SFBool [ ] **visible** TRUE
|
|
61
|
+
### SFBool [in, out] **visible** TRUE
|
|
78
62
|
|
|
79
63
|
Whether or not renderable content within this node is visually displayed.
|
|
80
64
|
|
|
@@ -83,7 +67,7 @@ Whether or not renderable content within this node is visually displayed.
|
|
|
83
67
|
- The visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
84
68
|
- Content must be visible to be collidable and to be pickable.
|
|
85
69
|
|
|
86
|
-
### SFBool [ ] **bboxDisplay** FALSE
|
|
70
|
+
### SFBool [in, out] **bboxDisplay** FALSE
|
|
87
71
|
|
|
88
72
|
Whether to display bounding box for associated geometry, aligned with world coordinates.
|
|
89
73
|
|
|
@@ -91,7 +75,7 @@ Whether to display bounding box for associated geometry, aligned with world coor
|
|
|
91
75
|
|
|
92
76
|
- The bounding box is displayed regardless of whether contained content is visible.
|
|
93
77
|
|
|
94
|
-
### SFVec3f [ ] **bboxSize** -1 -1 -1 <small>[0,∞) or
|
|
78
|
+
### SFVec3f [ ] **bboxSize** -1 -1 -1 <small>[0,∞) or −1 −1 −1</small>
|
|
95
79
|
|
|
96
80
|
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.
|
|
97
81
|
|
|
@@ -99,6 +83,22 @@ Bounding box size is usually omitted, and can easily be calculated automatically
|
|
|
99
83
|
|
|
100
84
|
- Can be useful for collision computations or inverse-kinematics (IK) engines.
|
|
101
85
|
|
|
86
|
+
### SFVec3f [ ] **bboxCenter** 0 0 0 <small>(-∞,∞)</small>
|
|
87
|
+
|
|
88
|
+
Bounding box center: optional hint for position offset from origin of local coordinate system.
|
|
89
|
+
|
|
90
|
+
### MFNode [in, out] **renderStyle** [ ] <small>[X3DVolumeRenderStyleNode]</small>
|
|
91
|
+
|
|
92
|
+
Input/Output field renderStyle.
|
|
93
|
+
|
|
94
|
+
### SFNode [in, out] **gradients** NULL <small>[X3DTexture3DNode]</small>
|
|
95
|
+
|
|
96
|
+
Input/Output field gradients.
|
|
97
|
+
|
|
98
|
+
### SFNode [in, out] **voxels** NULL <small>[X3DTexture3DNode]</small>
|
|
99
|
+
|
|
100
|
+
Input/Output field voxels.
|
|
101
|
+
|
|
102
102
|
## Description
|
|
103
103
|
|
|
104
104
|
### Hints
|
|
@@ -27,13 +27,25 @@ The ProjectionVolumeStyle node belongs to the **VolumeRendering** component and
|
|
|
27
27
|
|
|
28
28
|
## Fields
|
|
29
29
|
|
|
30
|
+
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
31
|
+
|
|
32
|
+
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
|
|
33
|
+
|
|
30
34
|
### SFBool [in, out] **enabled** TRUE
|
|
31
35
|
|
|
32
36
|
Enables/disables node operation.
|
|
33
37
|
|
|
34
|
-
###
|
|
38
|
+
### SFString [in, out] **type** "MAX" <small>["MAX"|"MIN"|"AVERAGE"]</small>
|
|
35
39
|
|
|
36
|
-
|
|
40
|
+
If type=MAX then Maximum Intensity Projection (MIP) or Least MIP (LMIP) algorithm is used to generate output color. If type=MIN then Minimum Intensity Projection algorithm is used. If type=AVERAGE then all voxels along ray are averaged.
|
|
41
|
+
|
|
42
|
+
#### Hint
|
|
43
|
+
|
|
44
|
+
- type=AVERAGE matches a simple approximation of an X-ray.
|
|
45
|
+
|
|
46
|
+
#### Warning
|
|
47
|
+
|
|
48
|
+
- Do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.
|
|
37
49
|
|
|
38
50
|
### SFFloat [in, out] **intensityThreshold** 0 <small>[0,1]</small>
|
|
39
51
|
|
|
@@ -28,35 +28,19 @@ The SegmentedVolumeData node belongs to the **VolumeRendering** component and it
|
|
|
28
28
|
|
|
29
29
|
## Fields
|
|
30
30
|
|
|
31
|
-
### SFVec3f [in, out] **dimensions** 1 1 1 <small>(0,∞)</small>
|
|
32
|
-
|
|
33
|
-
Actual-size X-Y-Z dimensions of volume data in local coordinate system.
|
|
34
|
-
|
|
35
31
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
36
32
|
|
|
37
33
|
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
|
|
38
34
|
|
|
39
|
-
###
|
|
35
|
+
### SFVec3f [in, out] **dimensions** 1 1 1 <small>(0,∞)</small>
|
|
40
36
|
|
|
41
|
-
|
|
37
|
+
Actual-size X-Y-Z dimensions of volume data in local coordinate system.
|
|
42
38
|
|
|
43
39
|
### MFBool [in, out] **segmentEnabled** [ ]
|
|
44
40
|
|
|
45
41
|
Input/Output field segmentEnabled.
|
|
46
42
|
|
|
47
|
-
###
|
|
48
|
-
|
|
49
|
-
Input/Output field segmentIdentifiers.
|
|
50
|
-
|
|
51
|
-
### SFNode [in, out] **voxels** NULL <small>[X3DTexture3DNode]</small>
|
|
52
|
-
|
|
53
|
-
Input/Output field voxels.
|
|
54
|
-
|
|
55
|
-
### SFVec3f [ ] **bboxCenter** 0 0 0 <small>(-∞,∞)</small>
|
|
56
|
-
|
|
57
|
-
Bounding box center: optional hint for position offset from origin of local coordinate system.
|
|
58
|
-
|
|
59
|
-
### SFBool [ ] **visible** TRUE
|
|
43
|
+
### SFBool [in, out] **visible** TRUE
|
|
60
44
|
|
|
61
45
|
Whether or not renderable content within this node is visually displayed.
|
|
62
46
|
|
|
@@ -65,7 +49,7 @@ Whether or not renderable content within this node is visually displayed.
|
|
|
65
49
|
- The visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
66
50
|
- Content must be visible to be collidable and to be pickable.
|
|
67
51
|
|
|
68
|
-
### SFBool [ ] **bboxDisplay** FALSE
|
|
52
|
+
### SFBool [in, out] **bboxDisplay** FALSE
|
|
69
53
|
|
|
70
54
|
Whether to display bounding box for associated geometry, aligned with world coordinates.
|
|
71
55
|
|
|
@@ -73,7 +57,7 @@ Whether to display bounding box for associated geometry, aligned with world coor
|
|
|
73
57
|
|
|
74
58
|
- The bounding box is displayed regardless of whether contained content is visible.
|
|
75
59
|
|
|
76
|
-
### SFVec3f [ ] **bboxSize** -1 -1 -1 <small>[0,∞) or
|
|
60
|
+
### SFVec3f [ ] **bboxSize** -1 -1 -1 <small>[0,∞) or −1 −1 −1</small>
|
|
77
61
|
|
|
78
62
|
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.
|
|
79
63
|
|
|
@@ -81,6 +65,22 @@ Bounding box size is usually omitted, and can easily be calculated automatically
|
|
|
81
65
|
|
|
82
66
|
- Can be useful for collision computations or inverse-kinematics (IK) engines.
|
|
83
67
|
|
|
68
|
+
### SFVec3f [ ] **bboxCenter** 0 0 0 <small>(-∞,∞)</small>
|
|
69
|
+
|
|
70
|
+
Bounding box center: optional hint for position offset from origin of local coordinate system.
|
|
71
|
+
|
|
72
|
+
### SFNode [in, out] **segmentIdentifiers** NULL <small>[X3DTexture3DNode]</small>
|
|
73
|
+
|
|
74
|
+
Input/Output field segmentIdentifiers.
|
|
75
|
+
|
|
76
|
+
### MFNode [in, out] **renderStyle** [ ] <small>[X3DVolumeRenderStyleNode]</small>
|
|
77
|
+
|
|
78
|
+
Input/Output field renderStyle.
|
|
79
|
+
|
|
80
|
+
### SFNode [in, out] **voxels** NULL <small>[X3DTexture3DNode]</small>
|
|
81
|
+
|
|
82
|
+
Input/Output field voxels.
|
|
83
|
+
|
|
84
84
|
## Description
|
|
85
85
|
|
|
86
86
|
### Hints
|
|
@@ -28,6 +28,10 @@ The ShadedVolumeStyle node belongs to the **VolumeRendering** component and its
|
|
|
28
28
|
|
|
29
29
|
## Fields
|
|
30
30
|
|
|
31
|
+
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
32
|
+
|
|
33
|
+
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
|
|
34
|
+
|
|
31
35
|
### SFBool [in, out] **enabled** TRUE
|
|
32
36
|
|
|
33
37
|
Enables/disables node operation.
|
|
@@ -36,23 +40,11 @@ Enables/disables node operation.
|
|
|
36
40
|
|
|
37
41
|
Whether rendering calculates and applies shading effects to visual output.
|
|
38
42
|
|
|
39
|
-
### SFNode [in, out] **material** NULL <small>[X3DMaterialNode]</small>
|
|
40
|
-
|
|
41
|
-
Input/Output field material.
|
|
42
|
-
|
|
43
|
-
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
44
|
-
|
|
45
|
-
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
|
|
46
|
-
|
|
47
43
|
### SFBool [in, out] **shadows** FALSE
|
|
48
44
|
|
|
49
45
|
Whether rendering calculates and applies shadows to visual output (using global illumination model).
|
|
50
46
|
|
|
51
|
-
###
|
|
52
|
-
|
|
53
|
-
Input/Output field surfaceNormals.
|
|
54
|
-
|
|
55
|
-
### SFString [ ] **phaseFunction** "Henyey-Greenstein" <small>["Henyey-Greenstein","NONE",...]</small>
|
|
47
|
+
### SFString [ ] **phaseFunction** "Henyey-Greenstein" <small>["Henyey-Greenstein"|"NONE"|...]</small>
|
|
56
48
|
|
|
57
49
|
Define scattering model for implementations using global illumination (NONE or Henyey-Greenstein phase function).#10;
|
|
58
50
|
|
|
@@ -60,6 +52,14 @@ Define scattering model for implementations using global illumination (NONE or H
|
|
|
60
52
|
|
|
61
53
|
- Do not wrap extra quotation marks around these SFString enumeration values, since "quotation" "marks" are only used for MFString values.
|
|
62
54
|
|
|
55
|
+
### SFNode [in, out] **material** NULL <small>[X3DMaterialNode]</small>
|
|
56
|
+
|
|
57
|
+
Input/Output field material.
|
|
58
|
+
|
|
59
|
+
### SFNode [in, out] **surfaceNormals** NULL <small>[X3DTexture3DNode]</small>
|
|
60
|
+
|
|
61
|
+
Input/Output field surfaceNormals.
|
|
62
|
+
|
|
63
63
|
## Description
|
|
64
64
|
|
|
65
65
|
### Hint
|
|
@@ -28,22 +28,22 @@ The SilhouetteEnhancementVolumeStyle node belongs to the **VolumeRendering** com
|
|
|
28
28
|
|
|
29
29
|
## Fields
|
|
30
30
|
|
|
31
|
-
### SFBool [in, out] **enabled** TRUE
|
|
32
|
-
|
|
33
|
-
Enables/disables node operation.
|
|
34
|
-
|
|
35
31
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
36
32
|
|
|
37
33
|
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
|
|
38
34
|
|
|
39
|
-
###
|
|
35
|
+
### SFBool [in, out] **enabled** TRUE
|
|
40
36
|
|
|
41
|
-
|
|
37
|
+
Enables/disables node operation.
|
|
42
38
|
|
|
43
39
|
### SFFloat [in, out] **silhouetteRetainedOpacity** 1 <small>[0,1]</small>
|
|
44
40
|
|
|
45
41
|
Scaling of non-silhouette regions.
|
|
46
42
|
|
|
43
|
+
### SFFloat [in, out] **silhouetteBoundaryOpacity** 0 <small>[0,1]</small>
|
|
44
|
+
|
|
45
|
+
Amount of the silhouette enhancement to use.
|
|
46
|
+
|
|
47
47
|
### SFFloat [in, out] **silhouetteSharpness** 0.5 <small>[0,∞)</small>
|
|
48
48
|
|
|
49
49
|
Power function to control sharpness of the silhouette.
|
|
@@ -28,25 +28,21 @@ The ToneMappedVolumeStyle node belongs to the **VolumeRendering** component and
|
|
|
28
28
|
|
|
29
29
|
## Fields
|
|
30
30
|
|
|
31
|
-
###
|
|
32
|
-
|
|
33
|
-
*coolColor* is used for surfaces facing away from the light direction.
|
|
34
|
-
|
|
35
|
-
#### See Also
|
|
31
|
+
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
36
32
|
|
|
37
|
-
|
|
33
|
+
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
|
|
38
34
|
|
|
39
35
|
### SFBool [in, out] **enabled** TRUE
|
|
40
36
|
|
|
41
37
|
Enables/disables node operation.
|
|
42
38
|
|
|
43
|
-
###
|
|
39
|
+
### SFColorRGBA [in, out] **coolColor** 0 0 1 0 <small>[0,1]</small>
|
|
44
40
|
|
|
45
|
-
|
|
41
|
+
*coolColor* is used for surfaces facing away from the light direction.
|
|
46
42
|
|
|
47
|
-
|
|
43
|
+
#### See Also
|
|
48
44
|
|
|
49
|
-
|
|
45
|
+
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
50
46
|
|
|
51
47
|
### SFColorRGBA [in, out] **warmColor** 1 1 0 0 <small>[0,1]</small>
|
|
52
48
|
|
|
@@ -56,6 +52,10 @@ Input/Output field surfaceNormals.
|
|
|
56
52
|
|
|
57
53
|
- [X3D Scene Authoring Hints, Color](https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Color){:target="_blank"}
|
|
58
54
|
|
|
55
|
+
### SFNode [in, out] **surfaceNormals** NULL <small>[X3DTexture3DNode]</small>
|
|
56
|
+
|
|
57
|
+
Input/Output field surfaceNormals.
|
|
58
|
+
|
|
59
59
|
## Description
|
|
60
60
|
|
|
61
61
|
### Hint
|
|
@@ -28,27 +28,15 @@ The VolumeData node belongs to the **VolumeRendering** component and its default
|
|
|
28
28
|
|
|
29
29
|
## Fields
|
|
30
30
|
|
|
31
|
-
### SFVec3f [in, out] **dimensions** 1 1 1 <small>(0,∞)</small>
|
|
32
|
-
|
|
33
|
-
Actual-size X-Y-Z dimensions of volume data in local coordinate system.
|
|
34
|
-
|
|
35
31
|
### SFNode [in, out] **metadata** NULL <small>[X3DMetadataObject]</small>
|
|
36
32
|
|
|
37
33
|
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
|
|
38
34
|
|
|
39
|
-
###
|
|
40
|
-
|
|
41
|
-
Input/Output field renderStyle.
|
|
42
|
-
|
|
43
|
-
### SFNode [in, out] **voxels** NULL <small>[X3DTexture3DNode]</small>
|
|
44
|
-
|
|
45
|
-
Input/Output field voxels.
|
|
46
|
-
|
|
47
|
-
### SFVec3f [ ] **bboxCenter** 0 0 0 <small>(-∞,∞)</small>
|
|
35
|
+
### SFVec3f [in, out] **dimensions** 1 1 1 <small>(0,∞)</small>
|
|
48
36
|
|
|
49
|
-
|
|
37
|
+
Actual-size X-Y-Z dimensions of volume data in local coordinate system.
|
|
50
38
|
|
|
51
|
-
### SFBool [
|
|
39
|
+
### SFBool [in, out] **visible** TRUE
|
|
52
40
|
|
|
53
41
|
Whether or not renderable content within this node is visually displayed.
|
|
54
42
|
|
|
@@ -57,7 +45,7 @@ Whether or not renderable content within this node is visually displayed.
|
|
|
57
45
|
- The visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
|
|
58
46
|
- Content must be visible to be collidable and to be pickable.
|
|
59
47
|
|
|
60
|
-
### SFBool [ ] **bboxDisplay** FALSE
|
|
48
|
+
### SFBool [in, out] **bboxDisplay** FALSE
|
|
61
49
|
|
|
62
50
|
Whether to display bounding box for associated geometry, aligned with world coordinates.
|
|
63
51
|
|
|
@@ -65,7 +53,7 @@ Whether to display bounding box for associated geometry, aligned with world coor
|
|
|
65
53
|
|
|
66
54
|
- The bounding box is displayed regardless of whether contained content is visible.
|
|
67
55
|
|
|
68
|
-
### SFVec3f [ ] **bboxSize** -1 -1 -1 <small>[0,∞) or
|
|
56
|
+
### SFVec3f [ ] **bboxSize** -1 -1 -1 <small>[0,∞) or −1 −1 −1</small>
|
|
69
57
|
|
|
70
58
|
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.
|
|
71
59
|
|
|
@@ -73,6 +61,18 @@ Bounding box size is usually omitted, and can easily be calculated automatically
|
|
|
73
61
|
|
|
74
62
|
- Can be useful for collision computations or inverse-kinematics (IK) engines.
|
|
75
63
|
|
|
64
|
+
### SFVec3f [ ] **bboxCenter** 0 0 0 <small>(-∞,∞)</small>
|
|
65
|
+
|
|
66
|
+
Bounding box center: optional hint for position offset from origin of local coordinate system.
|
|
67
|
+
|
|
68
|
+
### SFNode [in, out] **renderStyle** NULL <small>[X3DVolumeRenderStyleNode]</small>
|
|
69
|
+
|
|
70
|
+
Input/Output field renderStyle.
|
|
71
|
+
|
|
72
|
+
### SFNode [in, out] **voxels** NULL <small>[X3DTexture3DNode]</small>
|
|
73
|
+
|
|
74
|
+
Input/Output field voxels.
|
|
75
|
+
|
|
76
76
|
## Description
|
|
77
77
|
|
|
78
78
|
### Hint
|
|
@@ -32,11 +32,11 @@ The BlendMode node belongs to the **X_ITE** component and its default container
|
|
|
32
32
|
|
|
33
33
|
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
|
|
34
34
|
|
|
35
|
-
### SFColorRGBA [in, out] **blendColor** 0 0 0 0 <small>[0,1]</small
|
|
35
|
+
### SFColorRGBA [in, out] **blendColor** 0 0 0 0 <small>[0,1]</small>
|
|
36
36
|
|
|
37
37
|
The *blendColor* may be used to calculate the source and destination blending factors.
|
|
38
38
|
|
|
39
|
-
### SFString [in,out] **sourceColorFactor** "SRC_ALPHA"
|
|
39
|
+
### SFString [in, out] **sourceColorFactor** "SRC_ALPHA"
|
|
40
40
|
|
|
41
41
|
Specifies how the red, green, and blue source blending factors are computed.
|
|
42
42
|
|
|
@@ -57,19 +57,19 @@ Source and destination parameters must be one of the following symbolic constant
|
|
|
57
57
|
- CONSTANT_ALPHA
|
|
58
58
|
- ONE_MINUS_CONSTANT_ALPHA
|
|
59
59
|
|
|
60
|
-
### SFString [in,out] **sourceAlphaFactor** "
|
|
60
|
+
### SFString [in, out] **sourceAlphaFactor** "ONE"
|
|
61
61
|
|
|
62
62
|
Specifies how the alpha source blending factors are computed.
|
|
63
63
|
|
|
64
|
-
### SFString [in,out] **destinationColorFactor** "
|
|
64
|
+
### SFString [in, out] **destinationColorFactor** "ONE_MINUS_SRC_ALPHA"
|
|
65
65
|
|
|
66
66
|
Specifies how the red, green, and blue destination blending factors are computed.
|
|
67
67
|
|
|
68
|
-
### SFString [in,out] **destinationAlphaFactor** "ONE_MINUS_SRC_ALPHA"
|
|
68
|
+
### SFString [in, out] **destinationAlphaFactor** "ONE_MINUS_SRC_ALPHA"
|
|
69
69
|
|
|
70
70
|
Specifies how the alpha destination blending factors are computed.
|
|
71
71
|
|
|
72
|
-
### SFString [in,out] **colorEquation** "FUNC_ADD"
|
|
72
|
+
### SFString [in, out] **colorEquation** "FUNC_ADD"
|
|
73
73
|
|
|
74
74
|
Specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be:
|
|
75
75
|
|
|
@@ -77,7 +77,7 @@ Specifies the RGB blend equation, how the red, green, and blue components of the
|
|
|
77
77
|
- FUNC_SUBTRACT
|
|
78
78
|
- FUNC_REVERSE_SUBTRACT
|
|
79
79
|
|
|
80
|
-
### SFString [in,out] **alphaEquation** "FUNC_ADD"
|
|
80
|
+
### SFString [in, out] **alphaEquation** "FUNC_ADD"
|
|
81
81
|
|
|
82
82
|
Specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be:
|
|
83
83
|
|
|
@@ -82,9 +82,11 @@ span.error {
|
|
|
82
82
|
<pre style="display:none">
|
|
83
83
|
Online X3D and VRML viewer.
|
|
84
84
|
<script defer src="https://cdn.jsdelivr.net/npm/monaco-editor@latest/min/vs/loader.js"></script>
|
|
85
|
-
<script
|
|
85
|
+
<script>
|
|
86
86
|
$(function ()
|
|
87
87
|
{
|
|
88
|
+
console .info (X3D .getBrowser () .getWelcomeMessage ());
|
|
89
|
+
|
|
88
90
|
const box = `<X3D profile='Full' version='4.0'>
|
|
89
91
|
<Scene>
|
|
90
92
|
<Shape>
|
|
@@ -135,19 +135,19 @@ small, .small {
|
|
|
135
135
|
font-weight: bold;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
|
|
138
|
+
.red {
|
|
139
139
|
color: var(--system-red) !important;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
|
|
142
|
+
.green {
|
|
143
143
|
color: var(--system-green) !important;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
|
|
146
|
+
.blue {
|
|
147
147
|
color: var(--system-blue) !important;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
|
|
150
|
+
.yellow {
|
|
151
151
|
color: var(--system-yellow) !important;
|
|
152
152
|
}
|
|
153
153
|
|
package/package.json
CHANGED
|
@@ -339,7 +339,7 @@ Object .assign (Object .setPrototypeOf (X3DBaseNode .prototype, X3DChildObject .
|
|
|
339
339
|
},
|
|
340
340
|
addAlias (alias, field)
|
|
341
341
|
{
|
|
342
|
-
this [_predefinedFields] .alias (alias, field
|
|
342
|
+
this [_predefinedFields] .alias (alias, field);
|
|
343
343
|
|
|
344
344
|
if (field .isInitializable ())
|
|
345
345
|
HTMLSupport .addFieldName (alias);
|
|
@@ -191,9 +191,9 @@ Object .assign (Object .setPrototypeOf (X3DInfoArray .prototype, X3DChildObject
|
|
|
191
191
|
|
|
192
192
|
this .addEvent ();
|
|
193
193
|
},
|
|
194
|
-
alias (alias,
|
|
194
|
+
alias (alias, value)
|
|
195
195
|
{
|
|
196
|
-
this [_index] .set (alias,
|
|
196
|
+
this [_index] .set (alias, value);
|
|
197
197
|
|
|
198
198
|
this .addEvent ();
|
|
199
199
|
},
|
|
@@ -106,8 +106,8 @@ Object .defineProperties (GroupAnnotation,
|
|
|
106
106
|
new X3DFieldDefinition (X3DConstants .inputOutput, "displayPolicy", new Fields .SFString ("NEVER")),
|
|
107
107
|
new X3DFieldDefinition (X3DConstants .inputOutput, "visible", new Fields .SFBool (true)),
|
|
108
108
|
new X3DFieldDefinition (X3DConstants .inputOutput, "bboxDisplay", new Fields .SFBool ()),
|
|
109
|
-
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxCenter", new Fields .SFVec3f (0, 0, 0)),
|
|
110
109
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxSize", new Fields .SFVec3f (-1, -1, -1)),
|
|
110
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxCenter", new Fields .SFVec3f (0, 0, 0)),
|
|
111
111
|
new X3DFieldDefinition (X3DConstants .inputOnly, "addChildren", new Fields .MFNode ()),
|
|
112
112
|
new X3DFieldDefinition (X3DConstants .inputOnly, "removeChildren", new Fields .MFNode ()),
|
|
113
113
|
new X3DFieldDefinition (X3DConstants .inputOutput, "children", new Fields .MFNode ()),
|
|
@@ -65,8 +65,8 @@ function ComposedCubeMapTexture (executionContext)
|
|
|
65
65
|
this .addAlias ("back", this ._backTexture);
|
|
66
66
|
this .addAlias ("left", this ._leftTexture);
|
|
67
67
|
this .addAlias ("right", this ._rightTexture);
|
|
68
|
-
this .addAlias ("bottom", this ._bottomTexture);
|
|
69
68
|
this .addAlias ("top", this ._topTexture);
|
|
69
|
+
this .addAlias ("bottom", this ._bottomTexture);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
this .addChildObjects ("update", new Fields .SFTime ());
|
|
@@ -239,8 +239,8 @@ Object .defineProperties (ComposedCubeMapTexture,
|
|
|
239
239
|
new X3DFieldDefinition (X3DConstants .inputOutput, "backTexture", new Fields .SFNode ()),
|
|
240
240
|
new X3DFieldDefinition (X3DConstants .inputOutput, "leftTexture", new Fields .SFNode ()),
|
|
241
241
|
new X3DFieldDefinition (X3DConstants .inputOutput, "rightTexture", new Fields .SFNode ()),
|
|
242
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "bottomTexture", new Fields .SFNode ()),
|
|
243
242
|
new X3DFieldDefinition (X3DConstants .inputOutput, "topTexture", new Fields .SFNode ()),
|
|
243
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "bottomTexture", new Fields .SFNode ()),
|
|
244
244
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "textureProperties", new Fields .SFNode ()),
|
|
245
245
|
]),
|
|
246
246
|
enumerable: true,
|
|
@@ -112,9 +112,9 @@ Object .defineProperties (GeoLocation,
|
|
|
112
112
|
{
|
|
113
113
|
value: new FieldDefinitionArray ([
|
|
114
114
|
new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
|
|
115
|
+
new X3DFieldDefinition (X3DConstants .initializeOnly, "geoOrigin", new Fields .SFNode ()),
|
|
115
116
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "geoSystem", new Fields .MFString ("GD", "WE")),
|
|
116
117
|
new X3DFieldDefinition (X3DConstants .inputOutput, "geoCoords", new Fields .SFVec3d ()),
|
|
117
|
-
new X3DFieldDefinition (X3DConstants .initializeOnly, "geoOrigin", new Fields .SFNode ()),
|
|
118
118
|
new X3DFieldDefinition (X3DConstants .inputOutput, "visible", new Fields .SFBool (true)),
|
|
119
119
|
new X3DFieldDefinition (X3DConstants .inputOutput, "bboxDisplay", new Fields .SFBool ()),
|
|
120
120
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxSize", new Fields .SFVec3f (-1, -1, -1)),
|
|
@@ -64,11 +64,19 @@ function GeoViewpoint (executionContext)
|
|
|
64
64
|
|
|
65
65
|
this .addType (X3DConstants .GeoViewpoint);
|
|
66
66
|
|
|
67
|
-
this .
|
|
68
|
-
|
|
67
|
+
this .addChildObjects ("navType", new Fields .MFString ("EXAMINE", "ANY"),
|
|
68
|
+
"headlight", new Fields .SFBool (true));
|
|
69
69
|
|
|
70
70
|
if (executionContext .getSpecificationVersion () <= 3.2)
|
|
71
|
+
{
|
|
72
|
+
this .addAlias ("navType", this ._navType);
|
|
73
|
+
this .addAlias ("headlight", this ._headlight);
|
|
74
|
+
|
|
71
75
|
this .traverse = traverse;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
this ._centerOfRotation .setUnit ("length");
|
|
79
|
+
this ._fieldOfView .setUnit ("angle");
|
|
72
80
|
|
|
73
81
|
this .geoNavigationInfoNode = new NavigationInfo (executionContext);
|
|
74
82
|
this .projectionMatrix = new Matrix4 ();
|
|
@@ -96,8 +104,14 @@ Object .assign (Object .setPrototypeOf (GeoViewpoint .prototype, X3DViewpointNod
|
|
|
96
104
|
this ._navType .addFieldInterest (this .geoNavigationInfoNode ._type);
|
|
97
105
|
this ._headlight .addFieldInterest (this .geoNavigationInfoNode ._headlight);
|
|
98
106
|
|
|
107
|
+
this .geoNavigationInfoNode ._type = this ._navType;
|
|
108
|
+
this .geoNavigationInfoNode ._headlight = this ._headlight;
|
|
109
|
+
|
|
99
110
|
this .geoNavigationInfoNode .setup ();
|
|
100
111
|
|
|
112
|
+
if (this .getExecutionContext () .getSpecificationVersion () <= 3.2)
|
|
113
|
+
this ._navigationInfo = this .geoNavigationInfoNode;
|
|
114
|
+
|
|
101
115
|
this .set_position__ ();
|
|
102
116
|
},
|
|
103
117
|
getRelativeTransformation: Viewpoint .prototype .getRelativeTransformation,
|
|
@@ -195,7 +209,7 @@ Object .assign (Object .setPrototypeOf (GeoViewpoint .prototype, X3DViewpointNod
|
|
|
195
209
|
|
|
196
210
|
return function (dynamic = false)
|
|
197
211
|
{
|
|
198
|
-
if (!
|
|
212
|
+
if (!dynamic || this .getUserPosition () .magnitude () < 6.5e6)
|
|
199
213
|
{
|
|
200
214
|
this .getCoord (this ._position .getValue (), position);
|
|
201
215
|
|
|
@@ -258,14 +272,12 @@ Object .defineProperties (GeoViewpoint,
|
|
|
258
272
|
new X3DFieldDefinition (X3DConstants .inputOutput, "position", new Fields .SFVec3d (0, 0, 100000)),
|
|
259
273
|
new X3DFieldDefinition (X3DConstants .inputOutput, "orientation", new Fields .SFRotation ()),
|
|
260
274
|
new X3DFieldDefinition (X3DConstants .inputOutput, "centerOfRotation", new Fields .SFVec3d ()),
|
|
261
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "fieldOfView", new Fields .SFFloat (0.
|
|
275
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "fieldOfView", new Fields .SFFloat (0.785398)),
|
|
262
276
|
new X3DFieldDefinition (X3DConstants .inputOutput, "nearDistance", new Fields .SFFloat (-1)),
|
|
263
277
|
new X3DFieldDefinition (X3DConstants .inputOutput, "farDistance", new Fields .SFFloat (-1)),
|
|
264
278
|
new X3DFieldDefinition (X3DConstants .inputOutput, "viewAll", new Fields .SFBool ()),
|
|
265
279
|
new X3DFieldDefinition (X3DConstants .inputOutput, "jump", new Fields .SFBool (true)),
|
|
266
280
|
new X3DFieldDefinition (X3DConstants .inputOutput, "retainUserOffsets", new Fields .SFBool ()),
|
|
267
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "navType", new Fields .MFString ("EXAMINE", "ANY")),
|
|
268
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "headlight", new Fields .SFBool (true)),
|
|
269
281
|
new X3DFieldDefinition (X3DConstants .initializeOnly, "speedFactor", new Fields .SFFloat (1)),
|
|
270
282
|
new X3DFieldDefinition (X3DConstants .outputOnly, "isBound", new Fields .SFBool ()),
|
|
271
283
|
new X3DFieldDefinition (X3DConstants .outputOnly, "bindTime", new Fields .SFTime ()),
|
|
@@ -102,7 +102,7 @@ Object .defineProperties (HAnimMotion,
|
|
|
102
102
|
new X3DFieldDefinition (X3DConstants .inputOutput, "loop", new Fields .SFBool ()),
|
|
103
103
|
new X3DFieldDefinition (X3DConstants .inputOutput, "channels", new Fields .SFString ()),
|
|
104
104
|
new X3DFieldDefinition (X3DConstants .inputOutput, "channelsEnabled", new Fields .MFBool ()),
|
|
105
|
-
new X3DFieldDefinition (X3DConstants .inputOutput, "joints", new Fields .
|
|
105
|
+
new X3DFieldDefinition (X3DConstants .inputOutput, "joints", new Fields .SFString ()),
|
|
106
106
|
new X3DFieldDefinition (X3DConstants .inputOutput, "loa", new Fields .SFInt32 (-1)),
|
|
107
107
|
new X3DFieldDefinition (X3DConstants .inputOutput, "startFrame", new Fields .SFInt32 ()),
|
|
108
108
|
new X3DFieldDefinition (X3DConstants .inputOutput, "endFrame", new Fields .SFInt32 ()),
|