Titania X3D Editor

Bring Colours to Your Life.

Titania v4.3.4

Bring Colours to Your Life.

X3D Reference

VolumeData

VolumeData

VolumeData displays a simple non-segmented voxel dataset with a single RenderStyle node.

The VolumeData node belongs to the VolumeRendering component and its container field is children. It is available since X3D version 3.3 or later.

Hierarchy

Fields

SFVec3f [in, out] dimensions 1 1 1 (0,∞)

Actual-size X-Y-Z dimensions of volume data in local coordinate system.

SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

SFNode [in, out] renderStyle NULL [X3DVolumeRenderStyleNode]

Input/Output field renderStyle.

SFNode [in, out] voxels NULL [X3DTexture3DNode]

Input/Output field voxels.

SFVec3f [ ] bboxCenter 0 0 0 (-∞,∞)

Bounding box center: optional hint for position offset from origin of local coordinate system.

SFVec3f [ ] bboxSize -1 -1 -1 [0,∞) or -1 -1 -1

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.

Hint

Can be useful for collision computations or inverse-kinematics (IK) engines.

Description

Hint

  • VolumeData can contain a single Texture3D node with containerField='voxels' and a single RenderStyle node.

Browser Compatibility

Titania X_ITE
no no

External Links

Cookies and other Technologies

By clicking »Accept« or continuing to use the site, you agree to the use of CREATE3000 and third-party cookies and other similar technologies to enhance your browsing experience, analyze and measure your engagement with our content, and provide more relevant ads on CREATE3000 websites and others. Learn more about cookies. You can withdraw your consent at any time.