Skip to content

A space flight simulator in an automatically generated wormhole. Developed to demonstrate OpenGL capabilities of the Qt toolkit. GUI elements as well as all graphics and 3D rendering are all powered by Qt.

License

Notifications You must be signed in to change notification settings

david-smejkal/Wormhole-X-treme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wormhole-X-treme

A space flight simulator in an automatically generated wormhole.
Developed to demonstrate OpenGL capabilities of the Qt toolkit.
GUI elements as well as all graphics and 3D rendering are all powered by Qt.

Written in C++ (Qt), utilizes OpenGL. Wormhole-X-treme screenshot

Installation

Installer works natively in Windows and with wine in Linux.
Alternatively you can compile the code for your OS with g++ (GCC).

Controls

P          - Play / Pause
R          - Reset
F          - Fullscreen on / off
Arrow Keys - Steering
W,S,A,D    - Steering
Spacebar   - Turbo
Mouse      - Camera controls (LMB x and y axis, RMB z axis)

During the Pause mode camera switches to free mode.
During the Play mode camera binds back to the ship.

Classes

cDSettings   - Wrapper for settings.ui, created by Qt Designer
cGLObject    - Basic model for every openGL object in scene (wormhole, ufo, etc.)
cGLWidget    - OpenGL widget, heart of the application. Calculations, painting, etc
cMainWindow  - Base window contains opengl widget and GUI
cObj2OGL     - Obj file parser
cUfo         - Unidentified Flying Object
cWormhole    - Unpredictably curved "tube". Object of high importance in application
vec3         - Auxiliary class for vector computations

Documentation

Open doc/index.html with a browser.
doc was generated from code using Doxygen

About

A space flight simulator in an automatically generated wormhole. Developed to demonstrate OpenGL capabilities of the Qt toolkit. GUI elements as well as all graphics and 3D rendering are all powered by Qt.

Topics

Resources

License

Stars

Watchers

Forks

Languages