Code Monkey home page Code Monkey logo

roche's Introduction

Roche

Solar system simulation in OpenGL 4.5

Synopsis

A pretty Solar System simulation with two-body physics. Uses modern features of OpenGL for a realtime experience.

Showcase

Full Image album

Installation

  • Check that OpenGL 4.5 is supported on your computer (nice tool if you're unsure)
  • Download the latest release
  • Run it

Usage

  • Hold left click and move to look around
  • Mouse wheel to zoom in and out
  • Hold right click and move to pan the view around
  • Alt + Mouse wheel to change field of view
  • Ctrl + Mouse wheel to change exposure
  • Tab to cycle through celestial bodies
  • Shift+Tab to cycle back
  • K/L to change timewarp speed
  • Escape to exit

Advanced

  • F5 to print profiling info to command line
  • F12 to save a screenshot to screenshot/ folder
  • B to toggle bloom
  • W to toggle wireframe mode

Build

Requirements:

Out of source build:

mkdir -p build
cd build
cmake ..
make

You still need custom textures or the textures distributed with the latest release, as they are too big to be contained in the repo. Beware of the incompatibilities.

Contributors

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.