Skip to content

A hand-crafted flight simulator with simple air dynamic approximation and physic simulation.

Notifications You must be signed in to change notification settings

keroroxzz/OpenGL-Flight-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.

OpenGL Flight Simulator

This is a hand-crafted flight simulator with simple air dynamic approximation and physic simulation. It's a project I made for the computer graphics class. I also port the cloudwork shader to this project to provide greate visual effects.

Compile

Install OpenGL dependencies

sudo apt-get install build-essential libgl1-mesa-devlibglu1-mesa-dev 
sudo apt-get install freeglut3-dev libglew1.8 libglew-dev libgl1-mesa-glx

Compile the project

cmake . && make

Excute

cd flight_sim   
./flight_sim

Control

Game Status

F1: Pause/Start

F2: Display/Hide Force and Plane Boxes

F3: Reload Shaders

F2: Display/Hide F22

Q/E: Move Sun

Camera Control

Mouse Drag Move: Move Camera Around

Moush Wheel: Move Camera Distance

Flight Control

Increase/Decrease Thrust: W/S

Roll left/right: Mouse Move Left/Right

Pull up: Mouse Move Downward

Nose down: Mouse Move Upward

License & Declaration

Please note that it's kinda buggy since it's purely my personal side project for fun. All rights of some source codes (gltools, math3D) are reserved by Richard S. Wright Jr.

Also, the texture of the F22 is by I. Mikhelevich and the texture of the ground is from google. The rights of these mentioned materials are reserved by the providers, not me. While the 3D models are made by myself.

This project is experimental and the cloudwork source code is under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

About

A hand-crafted flight simulator with simple air dynamic approximation and physic simulation.

Topics

Resources

Stars

Watchers

Forks