Standard callbacks: rendering nodes

Simple example routines for rendering the vertex tree.

Returns the number of triangles rendered since last call
Draw a node's triangles in wireframe
Draw a node's triangles shaded but not lit
Draw a node's triangles shaded and lit
Draw a node's triangles lit but not shaded
Standard routines for rendering the active triangle list associated with a vdsNode. The user may provide a custom rendering function to be called on each node, or may choose to use one of the standard ones provided here.

Note: The rendering callback is responsible for updating the node->proxies field when a node representing a triangle corner is folded or unfolded. When writing a custom rendering callback, be sure to call vdsUpdateTriProxies on each triangle before rendering it.

See Also:

alphabetic index hierarchy of classes