Standard callbacks: rendering nodes

Simple example routines for rendering the vertex tree.

vdsCountTrisDrawn
Returns the number of triangles rendered since last call
vdsRenderWireframe
Draw a node's triangles in wireframe
vdsRenderShaded
Draw a node's triangles shaded but not lit
vdsRenderShadedLit
Draw a node's triangles shaded and lit
vdsRenderLit
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:
stdrender.c

alphabetic index hierarchy of classes