oulrich1 / windmill_farm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

csci566 Project 3: Camera Flight over the Windmill Farm :)

Completed!

About:

Fly over a windmill farm

To Compile and Run:

make
./flight_sim

Dependancies:

g++-4.7 -std=c++0x

-lglut -lGLEW -lGL -lGLU -lm 
(as usual)

Controls:

Plane Controls:

' '/SPACE_BAR: resets the orientation, 
                (does not reset throttle)

t:  Throttle UP
T:  Throttle Down

w:  Move Forward
a:  Move Backward
s:  Strafe Left
d:  Strafe Right

x:  Thrust Y-axis Up (Strafe Up)
z:  Thrust Y-axis Down (Strafe Down)

q:  Yaw Left
e:  Yaw Right

LEFT_ARROW  :   Roll Left
RIGHT_ARROW :   Roll Right
UP_ARROW    :   Pitch Down
DOWN_ARROW  :   Pitch Up

Windmill Farm:
[  :   Resets the windmill sim
o/O   :   Rotates about the Y-Axis in only one direction CW
p/P   :   Star/Stop the windmill 

Code:

(Overview of file/design heirarchy)
Main.cpp -> Game -> Windmill -> Geometry -> Angel.h
                 -> Camera
                 -> Terrain

Challenges:

-> Camera.. that was the challenge..
-> Trying to figure out how to orient 
    Camera was the most difficult:
        Specifically: components of the thetas

-> Change the basis of the system and found 
    angle components from that...

-> Working on the random Landscape

======= windmill_farm

About


Languages

Language:C++ 70.0%Language:C 25.9%Language:Objective-C 4.0%Language:Shell 0.0%