/gravitx

Enhanced version of my previous Gravity, writen in c++.

Primary LanguageCMIT LicenseMIT

gravitx

Enhanced version of my previous Gravity, writen in c++.

Preview of the program

Usage

To compile the code:

git submodule update --init --recursive 
make

Skybox

Hdr skyboxes are big files you can download from here: https://svs.gsfc.nasa.gov/4851/

Download .exr in celestial coordinates.

You can convert it to hdr with imagemagick: https://imagemagick.org/ and finally:

./gravitx --skybox ./starmap_2020_8k.hdr --sky-factor 13

To support skyboxes, raylib must be configured with HDR support when built:

cmake -DCUSTOMIZE_BUILD=ON -DBUILD_SHARED_LIBS=OFF -DINCLUDE_EVERYTHING=ON -DSUPPORT_FILEFORMAT_HDR=ON ..

Credits

Libs:

Data

Images