Automated Presentation of directory src/tutorials/custEducation/opengl2/labs/fly/

HUB | Up | Download | Pheedbak | Tree | Topic | A-Z | Search | Hot | New


to compile programs in the above-indicated sub- directories/trees,
one must load libglut. inst-able images of GLUT v3.1 are located at
toolbox/src/exampleCode/opengl/GLUT/inst/


README file from "fly" directory

      ~opengl2/labs/fly README

            Copyright 1991, 1992, 1993, Silicon Graphics,  Inc.
            Technical Education Development
            All Rights Reserved.

   
    fly.h:  contains function prototypes, defines constants, and 
            includes GL/gl.h, GL/glu.h, math.h, stdio.h, and aux.h 


    flyutil.c:  contains utility routines used by the fly program.


    fly.c:  allows the user to "fly" through a simple virtual world. 


 ____________________________________________________________________________
 * Utility routines are located in flyutil.c
 *
 * MODIFYING THE PROGRAM
 * ---------------------
 * New shapes should be added to the world in the routine drawShapes(). 
 *
 * If new shapes are to be on the path of the autopilot, they must be 
 * near a circle centered at the world origin with a radius of 10.0, 
 * parallel to and raised above the 'floor,' the X-Z plane.
 *
 * As a starting point, here are some good places to center your objects:
 *		( 0.0, 1.0, 10.0 )
 *		( 7.0, 1.0, 7.0  )
 *		( 10.0, 1.0, 0.0 )
 *		( 7.0, 1.0, -7.0 )
 *		( 0.0, 1.0, -10.0)
 *		( -7.0, 1.0, -7.0)
 *		( -10.0, 1.0, 0.0)
 *		( -7.0, 1.0, 7.0 )
 *___________________________________________________________________________



                            INPUT CONTROLS:

    <?> key - help, prints this info 
    <a> key - <a>utopilot start/stop 
    <b> key - <b>lend, alpha blending 
    <d> key - toggle <d>ebugging printfs
    <g> key - show floor <g>rid
    <n> key - <n>ormals drawing toggle 
    <r> key - <r>eset eye position 
    SPACE key       - cycle wireframe/flat shaded/smooth 
    LEFT Mouse      - control moving the eye forward 
    MIDDLE Mouse    - control moving the eye backward 
    Mouse pointer   - change direction: pull back to go up, forward to dive
    Escape key      - exit the program 

Files of interest from "src/tutorials/custEducation/opengl2/labs/fly" directory

Source

Documentation

Images

Reference


Select any combo of files you'd like to send yourself a compressed tar image of. Executables/scripts are indicated with a trailing `*' character. (Depending upon the browser, it may be necessary to hold down the Ctrl key to select/deselect disjoint items.) a compressed tar image of the above-selected items.
OR, ...
a compressed tar image of the entire fly directory.

Copyright © 1995-96, Silicon Graphics, Inc.