Debian Codegraph @

doc/man/man3/ivm/nodes/SoNormal.ivm

raw
1 NAME SoNormal SoNorm "" { node that defines surface normals for shapes }
2
3 INCLUDE nodes/SoNormal.h
4
5 DESC {
6 This node defines a set of 3D surface normal vectors to be used by
7 vertex-based shape nodes that follow it in the scene graph. This node
8 does not produce a visible result during rendering; it simply replaces
9 the current normals in the rendering state for subsequent nodes to
10 use. This node contains one multiple-valued field that contains the
11 normal vectors.
12 \p
13 Surface normals are needed to compute lighting when the Phong lighting
14 model is used. Most vertex-based shapes that use normals can compute
15 default normals if none are specified, depending on the current normal
16 binding.
17 }
18
19 FIELD vector { Surface normal vectors. }
20
21 METHOD "" SoNormal() { Creates a surface normal node with default settings. }
22
23 METHOD "" static SoType getClassTypeId() {
24 Returns type identifier for this class.
25 }
26
27 ACTION SoGLRenderAction, SoCallbackAction, SoRayPickAction {
28 Sets the current normals in the traversal state.
29 }
30
31 ALSO {
32 SoCoordinate3, SoLightModel, SoNormalBinding, SoVertexShape
33 }