Skip to content

Damako4/SpaceSimPlusPlus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpaceSim++

GitHub Tag GitHub top language GitHub Repo stars

An accurate 3D gravitational physics engine in C.

Features

  • 3D Gravitational simulation
  • Custom solar systems (WIP)
  • Interactive universe
  • Cross platform

Controls

  • O - Free Camera Mode (WASD to move, mouse to look around)
  • C - Orbit Camera Mode (LEFT/RIGHT arrows to orbit)
  • V - Toggle Grid Visibility
  • W/A/S/D - Move camera (Free Camera Mode)
  • Mouse - Look around (Free Camera Mode)
  • ESC - Exit control mode
  • Left Click - Select planet

Installation

  1. Install the required system dependencies (GLFW, OpenGL drivers).
  2. Download the latest release from the Releases page.
  3. Run the SpaceSimPlusPlus binary.

Building the Project

  1. Clone the repository
git clone https://github.com/Damako4/SpaceSimPlusPlus.git
cd SpaceSimPlusPlus
  1. Install CMake

Install the latest version of CMake here if it's not already installed.

  1. Install Dependencies

You will need to install the following dependencies and CMake will need to be able to locate them (ie. they need to be listed on your PATH):

GLFW3 | SOIL2 | GLM | OpenGL
  1. Configure and Build with CMake

In the project root directory run:

mkdir build
cd build
cmake ..
cmake --build .
  1. Run

From the build directory:

./SpaceSimPlusPlus

About

Gravitational simulator that models real systems.

Resources

License

Stars

Watchers

Forks

Packages

No packages published