1 Star 0 Fork 0

haygon / SatelliteSimulator

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

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.

空文件

简介

暂无描述 展开 收起
C++ 等 2 种语言
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/haygon/SatelliteSimulator.git
git@gitee.com:haygon/SatelliteSimulator.git
haygon
SatelliteSimulator
SatelliteSimulator
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891