Automated Presentation of directory src/tutorials/custEducation/opengl2/answers/superfly/

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 "superfly" directory

   ~opengl2/answers/superfly 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.


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


 ____________________________________________________________________________
 * Sample solutions for opengl2 labs.
 * Your challenge - make an even cooler fly!
 *
 * 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 
    <c> key - cycle <c>lipping plane modes 
    <d> key - <d>ebug mode, prints coords 
    <g> key - show floor <g>rid
    <f> key - <f>og toggle 
    <i> key - <i>mage, displays raster image 
    <m> key - <m>ultisampling toggle
    <n> key - <n>ormals drawing toggle 
    <p> key - <p>olygon offset toggle
    <r> key - <r>eset eye position 
    <s> key - <s>election culling 
    <t> key - <t>exture mapping toggle 
    <w> key - <w>aving flag toggle 
    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
    RIGHT Mouse     - pick a shape
    Escape key      - exit the program 

Files of interest from "src/tutorials/custEducation/opengl2/answers/superfly" 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 superfly directory.

Copyright © 1995, Silicon Graphics, Inc.