Skip to content

SpicyCactuar/basic-flight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Flight

Simple flight simulation application showcasing basic arcball-like physics and sphere collisions. Built using Qt and rendered with OpenGL. The flight is simulated using adhoc linear algebra primitives and calculations (e.g.: matrix transformations). The plane can collide against the floor or lava bombs erupting from a small volcano.

basic-flight

Project Structure

basic-flight/
├── src/                 # Source code
├── assets/              # Static assets (.tri and .dem files)
├── basic-flight.pro     # QMake project
└── README.md            # Project README

Build

qmake
make

Run

bin/basic-flight <initial (x, y, z)>

Example:

bin/basic-flight -33000 3000 2000

Controls

Key(s) Action
A / S Pitch down and up by 3°
Q / E Roll left and right by 3°
W / D Yaw left and right by 3°
+ / - Increase and decrease
X Close the application

Technologies

  • C++: >= C++17
  • Qt: 5.12.x
  • OpenGL: >= 4.0

Newer versions of Qt might work correctly, if no breaking changes that affect the application were introduced.

Releases

No releases published

Packages

No packages published