README file from "dlists" directory
~opengl1/examples/dlists README Copyright 1991-1996, Silicon Graphics, Inc. Technical Education Development All Rights Reserved. A collection of programs demonstrating the use of display lists with the 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
Source
Documentation
Reference