Mario Veraart (rioj7++at++fel.tno.nl)
Fri, 30 Oct 1998 17:05:57 +0100 (MET)
Use performer to take uniform distributed, rectangular grid,
samples of the height with 'pfNodeIsectSegs()'
Look if you want the height taken from the above or from below if
you don't want any terrain features to clutter the contourlines.
With this grid and a contour algorithm for triangle meshes construct
all the contour lines. There is enough literature about contour
algorithms. I have used one that was adapted by a collegue of mine.
When you have the contour lines you can draw them in the draw callback
as a kind of Head Up Display in the postdraw fase.
Mario Veraart
This archive was generated by hypermail 2.0b2 on Fri Oct 30 1998 - 08:07:59 PST