Git Product home page Git Product logo

satellitesimulator's Introduction

SatelliteSimulator

A simple Qt/OpenGL satellite orbit simulator.

Screenshot

Build instructions

To build this project, you will need the Qt5 and Qt5 OpenGL libraries. To install them on a Debian-based system :

$ sudo apt install qt5-default qttools5-dev-tools libqt5opengl5-dev

Then, generate the Makefile with qmake:

$ qmake

Before compiling, you will have to tell the compiler to use the GLU library. To achieve this, modify the Makefile and add -lGLU at the end of the line of the Makefile which starts with LIBS. The line should be:

LIBS          = $(SUBLIBS) -L/usr/X11R6/lib64 -lQt5OpenGL -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread -lGLU

Finally, compile and run the executable:

$ make && ./SatelliteSimulator

Quickstart

Create a new simulation with File > New simulation or Ctrl+N and configure it by changing orbital parameters or planet texture if you want. Then add a couple of satellites with Satellites > Add new satellite or Ctrl+A, and hit the space bar to start/pause it. The satellites can be configured or removed in the Satellites menu.

Note: for having the satellites move faster on the screen, increase the speed factor in the simulation parameters.

To save the current state, save your simulation with File > Save simulation or Ctrl+S, so you can continue it later by opening the simulation file (.sim extension) with File > Open existing simulation or Ctrl+O.

satellitesimulator's People

Contributors

florentf9 avatar

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.