next up previous contents index
Next: 6.2.3 OVWRT_ATTR (a1, a2, Up: 6.2 Keywords defining Attribute Previous: 6.2.1 ATTRIBS (a1, a2,   Contents   Index


6.2.2 LOCAL_ATTR (a1, a2, ...)

A group of attributes ai which is used with the following rules when the scene graph is rendered:

When the scene graph is traverted, each scene graph node gets a structure with the currently active attributes from its parent, and a structure with overwrite attributes.

The scene graph nodes makes two copys of the active attributes struct. The first copy will be used when the primitives attached to the scene graph node itself get rendered, the second copy will be passed to the child scene nodes.

It also makes a copy of the overwrite attributes struct, which will be passed to the child scene nodes too.

Then happens the following:

The ai must be attribute type nodes.


next up previous contents index
Next: 6.2.3 OVWRT_ATTR (a1, a2, Up: 6.2 Keywords defining Attribute Previous: 6.2.1 ATTRIBS (a1, a2,   Contents   Index
Administrator 2002-01-20