ajbeach2 / flight Goto Github PK
View Code? Open in Web Editor NEWA flight demo in c++/opengl
A flight demo in c++/opengl
This is a simple OpenGL demo that demonstrates quaternion based rotations for flight mechanics. This project also uses the GLUT library so you must have glut installed to run this as a Visual Studio project. There is an executable in the downloads section that was compiled on a x64 windows 7 machine. This exe will only run if you have glut32.dll on your machine. Here is a video of the program in action: http://youtu.be/X8DFgjuD4DI Source files: FlightSim.cpp (contains main) Quaternion.cpp Vector3D.cpp Vector3D.h Quaternion.h To install glut in windows: 1. Download the glut binaries for windows. They can be found at this link: http://user.xmission.com/~nate/glut/glut-3.7.6-bin.zip 2. Create a folder called 'GL' in C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ copy glut.h to this folder. The path of glut.h should be C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\GL\glut.h 3. Copy glut32.lib to C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib 4. Copy glut32.dll to your SysWOW64 or System32 depending on if you you are running 32bit or 64bit windows. To be safe you can just copy it to both directories Controls Flight-------------------------------- x - roll right z - roll left f - nose down v - nose up Camera-------------------------------- u - increase camera reference point j - decrease camera reference point o - move camera forward l - move camera backward i - move camera up k - move camera down Non rotational movements-------------- w - up d - down s - left d - right Esc - close program b - reset plane
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.