home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / tutorials / custEducation / opengl2 / examples / nurbs / README < prev    next >
Encoding:
Text File  |  1996-11-11  |  1.7 KB  |  57 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.     ~opengl2/examples/nurbs README
  9.  
  10.             Copyright 1991-93, 1995 Silicon Graphics,  Inc.
  11.             Technical Education Development
  12.             All Rights Reserved.
  13.  
  14.  
  15.  
  16.                     A collection of programs demonstrating
  17.                      implementing nurbs with the OpenGL.
  18.    
  19.    
  20.    curve.c:  draws a rotating NURBS curve.
  21.  
  22.           Escape key                - exit the program
  23.  
  24.  
  25.    mask.c:  draws a rotating nurbs surface shaped like a mask.
  26.  
  27.           Escape key                - exit the program
  28.           <t> key        - toggle texturing on and off
  29.  
  30.  
  31.    surface.c:  draws a rotating NURBS surface.
  32.           Escape key                - exit the program
  33.  
  34.  
  35.    trim.c
  36.         Draws a rotating NURBS surface with a half-oval with a triangular 
  37.         base trimmed from its center.
  38.   
  39.           Escape key        - exit the program
  40.           <f> key        - filled/wireframe/patch mode
  41.  
  42.  
  43.    trim_dlist.c
  44.         Draws a rotating NURBS surface with a half-oval with a triangular 
  45.         base trimmed from its center.  Four versions of the NURBS surface 
  46.     are created.  Three are in display lists which differ in the manner 
  47.     in which they are filled.  The fourth is not put in a display list.
  48.     Automatic load matrix is turned off for the display lists for 
  49.     speed.  Note the difference in tessellation when in outline polygon
  50.     mode.
  51.   
  52.           Escape key        - exit the program
  53.           SPACE key        - toggle display list/immediate mode
  54.           <f> key        - filled/wireframe/patch mode
  55.  
  56.  
  57.