Home EdgeEnhancementVolumeStyle
X_ite
Cancel

EdgeEnhancementVolumeStyle

Overview

EdgeEnhancementVolumeStyle specifies edge enhancement for the volume rendering style.

The EdgeEnhancementVolumeStyle node belongs to the VolumeRendering component and its default container field is renderStyle. It is available from X3D version 3.3 or higher.

Hierarchy

1
2
3
4
+ X3DNode
  + X3DVolumeRenderStyleNode
    + X3DComposableVolumeRenderStyleNode
      + EdgeEnhancementVolumeStyle

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.

Hint

SFBool [in, out] enabled TRUE

Enables/disables node operation.

SFColorRGBA [in, out] edgeColor 0 0 0 1 [0,1]

Color used to highlight edges.

Hint

SFFloat [in, out] gradientThreshold 0.4 [0,π]

Minimum angle (in radians) away from view-direction vector for surface normal before applying enhancement

SFNode [in, out] surfaceNormals NULL [X3DTexture3DNode]

The surfaceNormals field contains a 3D texture with at least three component values. Each voxel in the texture represents the surface normal direction for the corresponding voxel in the base data source.

Advisories

Hint

  • SurfaceNormals can be provided in a single ComposedTexture3D, ImageTexture3D or PixelTexture3D node.

Warning

  • Requires X3D profile='Full' or else include <component name='VolumeRendering' level='2'/>

Example

View Source in Playground

See Also

This post is licensed under CC BY 4.0 by the author.