Index of /classes/opengl/examples/performance
Name Last modified Size Description
Parent Directory 19-Jun-1999 10:32 -
Makedepend 07-Jun-1999 10:19 2k
Makefile 05-Jun-1999 22:59 1k
Makefile.win 05-Jun-1999 22:59 1k
dlist 07-Jun-1999 10:19 119k
dlist.c 05-Jun-1999 22:59 6k
dlist.o 07-Jun-1999 10:19 12k
fonts 07-Jun-1999 10:19 1.0M
fonts.c 05-Jun-1999 22:59 7k
koosh 07-Jun-1999 10:19 119k
koosh.c 05-Jun-1999 22:59 8k
mountain.c 05-Jun-1999 22:59 4k
mountain.o 07-Jun-1999 10:19 8k
vertexArrays 07-Jun-1999 10:19 116k
vertexArrays.c 05-Jun-1999 22:59 6k
~opengl/examples/performance README
Copyright 1991-1999, Silicon Graphics, Inc.
All Rights Reserved.
A collection of programs demonstrating
the use of vertex arrays and display
lists with OpenGL.
mountain.c: code to draw a fractal mountain
Adapted from code written by Benedikt Kessler, SGI Munich
dlist.c: renders fractal mountains with and without display lists,
and compares the frames/second.
Uses the code in mountain.c to draw fractal-based mountains. A
simple benchmarking loop runs for MAX_FRAME iteration, first in
immediate mode and then again in display list mode. The
average frames/second is printed for each mode.
Escape key - exit the program
fonts.c: use display lists to create bitmap fonts from X fonts, and
to create 3D fonts.
Use glListBase() to set the base for a given font, and
glCallLists() to render a string in the current font.
Left Mousebutton - move eye position
Middle Mousebutton - change twist angle
Right Mousebutton - move up/down to zoom in/out
<f> key - cycle thru outline/filled/stroke/bitmap fonts
<R> Key - reset viewpoint
Escape key - exit the program
koosh.c: renders a rotating koosh ball. The lighting resources are kept in
display lists which are called by the main koosh ball display list.
<m> key - change material properties
<l> key - change light model
<i> key - change light intensity
Escape key - exit the program
vertexArrays.c: vertex array example. uses the same shaded
polygon seen in ~/rendering/shadeModel.c
SPACE key - toggle between flat/smooth shading
Escape key - exit the program