Coder Social home page Coder Social logo

gue-ni / opengl_flightsim Goto Github PK

View Code? Open in Web Editor NEW
114.0 4.0 11.0 445.73 MB

A simple but realistic looking flight simulator using OpenGL, from scratch.

Home Page: https://www.jakobmaier.at/posts/flight-simulation/?ref=github

License: MIT License

C++ 82.20% GLSL 0.29% C 17.28% CMake 0.03% Batchfile 0.04% Shell 0.05% Python 0.12%
flightsim game opengl physics physics-simulation gamedev simulation sdl2

opengl_flightsim's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

opengl_flightsim's Issues

License

Hey, nice work! Before people invest more energy, they usually take a look at the license.

E.g. Linux support or emscripten etc. using Gamepad API etc.

Do you mind to pick a license?

Instructions for building on windows

Any chance you could update what is required to build this on windows?

Attempting to build with visual studio and getting a plethora of reference errors.. Thanks!

Missing instructions for building in Linux

From what I can gather this project will only work on Windows since it requires Microsoft Visual Studio to build it.

Can you suggest the way to compile this software on Debian-based Linux distros please? Even a simple Makefile would be welcome.

Euler angles

The output euler angles have strange orientation , how its possible to get world orientaion for example in NED system ?

File detected as "Trojan.Win64.Krypt"

When I ran this file, windows warned me that it could be malware, and when I ran it through an antivirus, it showed "Trojan.Win64.Krypt" and "Malicious_Behavior.SB"

flightmodel.h bug

image

I changed the method to inverse_transform_direction(target - rb.position) and it seemed to work

Distorted Graphics

./flightsim # master branch
4.6 (Core Profile) Mesa 22.2.5

Usage: 

P       pause game
O       toggle camera
I       toggle wireframe terrain
WASD    control pitch and roll
EQ      control yaw
JK      control thrust

ERROR::SHADER::PROGRAM::LINKING_FAILED
error: vertex shader output `Factor' specifies no interpolation qualifier, but fragment shader input specifies flat interpolation qualifier

Screenshot from 2023-04-01 10-56-15

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.