Graphics Reference
In-Depth Information
VA->glVertex3f( ux, uy, uz );
}
}
VA->glEnd( );
. . .
// this goes in the display-callback part of the program:
VA->Draw( );
Figure D.2. A wireframe terrain map drawn as a single line
strip in a vertex buffer object. 2
2 If you're interested in timing, this dataset had 1024 × 569 grid points, and displayed at 1,000 FPS on
an NVIDIA GTX 480.
Search WWH ::




Custom Search