Node: ToneMappedVolumeStyle

X3DOM
Component: VolumeRendering

Quick Links

➨ Fields

The ToneMappedVolumeStyle node specifies that the associated volume rendering data is going to be rendered following the Gooch et. al. shading model. Two colors are used: warm and cool to shade the volume data based on the light direction.

HTML Encoding and Default Values

<ToneMappedVolumeStyle coolColor='0,0,1' enabled='true' metadata='X3DMetadataObject' surfaceNormals='x3dom.nodeTypes.Texture' warmColor='1,1,0' ></ToneMappedVolumeStyle>

Inheritance


Fields

These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
coolColor SFColor 0,0,1 The coolColor field specifies the color to be used for surfaces facing away of the light direction.
enabled SFBool true X3DVolumeRenderStyleNode Specifies whether the render style is enabled or disabled.
metadata SFNode X3DMetadataObject Core/X3DNode Field to add metadata information
surfaceNormals SFNode Texturing/Texture X3DComposableVolumeRenderStyleNode The surfaceNormals field allows to provide the normals of the volume data. It takes an ImageTextureAtlas of the same dimensions of the volume data. If it is not provided, it is computed on the fly.
warmColor SFColor 1,1,0 The warmColor field specifies the color to be used for surfaces facing towards the light direction.