Completed!
Fly over a windmill farm
make
./flight_sim
g++-4.7 -std=c++0x
-lglut -lGLEW -lGL -lGLU -lm
(as usual)
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
(Overview of file/design heirarchy)
Main.cpp -> Game -> Windmill -> Geometry -> Angel.h
-> Camera
-> Terrain
-> 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