<

Normal

Purpose:

This node is another of the eleven geometry and appearance property Nodes. Normal defines a set of three-dimensional surface normal vectors to be used by vertex-based shape nodes such as IndexedFaceSet, IndexedLinedSet, or PointSet that may follow the Normal node in the scene graph.

Syntax

FILE FORMAT/DEFAULTS
Normal {
vector 0 0 1 #
MFVec3f
}

Explanation

The Normal node doesn't produce any visible results during the rendering. The Normal node does replace the current normals in the rendering state for other nodes that follow this node to use. The Normal node contains one multiple-valued field that contains the normal vectors.

Example Use

The following code fragment is from Simple~1.wrl.

Normal { vector [1.000000 0.000000 0.000000,1.000000 0.000000 0.000000,-1.000000 0.000000 0.000000,-1.000000 0.000000 0.000000,0.000000 -1.000000 0.000000,0.000000 0.000000 1.000000,...}

See Also

IndexedFaceSet, IndexedLineSet, MFVec3f, PointSet