NormalVolumeSettings
Contains settings on how to use or generate normal information.
Inheritance
Code
XML encoding
<NormalVolumeSettings algorithm='precomputedCentralDifferences' logFeature='' />
Classic encoding
NormalVolumeSettings { algorithm "precomputedCentralDifferences" logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
surfaceNormals | SFNode | inputOutput | NULL | [Texture] | The surfaceNormals field is used to provide pre-calculated surface normal information for each voxel. If provided, this shall be used for all lighting calculations. If not provided, the implementation shall automatically generate surface normals using an implementation-specific method. If a value is provided, it shall be exactly the same voxel dimensions as the base volume data that it represents. If the dimension are not identical then the browser shall generate a warning and automatically generate its own internal normals as though no value was provided for this field. | |
algorithm | SFString | inputOutput | precomputedCentralDifferences | [auto, none, precomputedCentralDifferences, onlineCentralDifferences, onlineSobel] | The algorithm field specifies the normal generation method if no surfaceNormals are given. | |
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |