H3D::ElevationGrid::DisplayList Class Reference

Display list is extended in order to set front sidedness of triangles outside the display list. More...

#include <ElevationGrid.h>

Inheritance diagram for H3D::ElevationGrid::DisplayList:

Inheritance graph
List of all members.

Protected Member Functions

virtual void callList (bool build_list)
 Perform front face code outside the display list.

Detailed Description

Display list is extended in order to set front sidedness of triangles outside the display list.

This is due to that the front face value depends the previous value of front face. If we did not do this and the display list was used in several places where the front face differs there would be normal errors. The drawback with having it outside the display list is that you cannot call the render() function to render the geometry correctly, but MUST use the callList() function in DisplayList.


Generated on Thu Aug 24 12:39:02 2006 for H3D API by  doxygen 1.4.5