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
Source
Documentation
Images
Reference