/solar-system

Solar System Visualisation using OpenGL, GLEW, SOIL2.

Primary LanguageC

Installation

The tool that I used to perform this code is XCode.

  1. Install OpenGL. (http://www.prinmath.com/csci5229/misc/install.html)
  2. Install GLFW. On Mac, run the 'brew install glfw3' in the terminal.
  3. Install GLEW. On Mac, run the 'brew install glew' in the terminal.
  4. Install Assimp. On Mac, run the 'brew install assimp' in the terminal.
  5. Add header search paths. On Mac, the configuration is in project/build settings/search paths
  6. Link Libraries libglfw, libglew, libassimp, and OpenGL lib.
  7. Add resources folder to the COSC3000 folder
  8. Clone https://bitbucket.org/SpartanJ/soil2/src/default/ and extracts the folder
  9. Add SOIL2 folder to the COSC3000 folder
  10. Run main.cpp

Codes

Codes are adapted from: