home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / tutorials / custEducation / opengl1 / examples / dlists / README < prev   
Encoding:
Text File  |  1996-11-11  |  1.8 KB  |  54 lines

  1.  
  2.         to compile programs in the above-indicated sub- directories/trees,
  3.        one must load libglut. inst-able images of GLUT v3.1 are located at 
  4.                 toolbox/src/exampleCode/opengl/GLUT/inst/ 
  5.  
  6.                   -------------------------------------
  7.  
  8.     ~opengl1/examples/dlists README
  9.  
  10.             Copyright 1991-1996, Silicon Graphics,  Inc.
  11.             Technical Education Development
  12.             All Rights Reserved.
  13.  
  14.  
  15.  
  16.                     A collection of programs demonstrating
  17.                    the use of display lists with the OpenGL.
  18.    
  19.  
  20.    mountain.c:  code to draw a fractal mountain
  21.     Adapted from code written by Benedikt Kessler, SGI Munich
  22.  
  23.    dlist.c:  renders fractal mountains with and without display lists,
  24.     and compares the frames/second.
  25.  
  26.     Uses the code in mountain.c to draw fractal-based mountains.  A
  27.     simple benchmarking loop runs for MAX_FRAME iteration, first in
  28.     immediate mode and then again in display list mode.  The
  29.     average frames/second is printed for each mode.
  30.  
  31.     Escape key               - exit the program
  32.  
  33.    fonts.c:  use display lists to create bitmap fonts from X fonts, and
  34.     to create 3D fonts.
  35.  
  36.     Use glListBase() to set the base for a given font, and
  37.     glCallLists() to render a string in the current font.
  38.  
  39.     Left Mousebutton        - move eye position 
  40.     Middle Mousebutton      - change twist angle
  41.     Right Mousebutton       - move up/down to zoom in/out
  42.     <f> key            - cycle thru outline/filled/stroke/bitmap fonts
  43.     <R> Key            - reset viewpoint 
  44.     Escape key              - exit the program 
  45.  
  46.    koosh.c:  renders a rotating koosh ball.  The lighting resources are kept in
  47.     display lists which are called by the main koosh ball display list.
  48.  
  49.     <m> key             - change material properties
  50.     <l> key                - change light model
  51.     <i> key             - change light intensity
  52.     Escape key              - exit the program
  53.  
  54.