Skip to content

1kar/OpenGL-SolarSystem

Repository files navigation

OpenGL-SolarSystem

Simple 3D Solar System model created in C++/OpenGL/GLFW

Getting Started

The repository contains:

  1. Release builds for x86/x64 OS
  2. Project for Visual Studio
  3. Source code and all necessary libraries(for OpenGL/GLFW..) if you want to build your new project

Release builds

If you just want to run the application, in the bin folder you will find executable files for x86/x64 OS

Project for Visual Stuido

If you want open project in Visual Studio, just open the file DiamondEngine.vcxproj

Another way

You can also create a new project using code and libraries from this repository.

Preview

STATIC CAM

Press SPACE to enable STATIC CAM mode.
Use WASD to move around the solar system model, and use the mouse with the right button pressed to rotate the model.

alt text

FREE CAM

Press F1 to enable FREE CAM mode.
Use WASD and mouse to fly the solar system model.

alt text

PLANET CAM

PRESS 1...8(for choose a planet) to enable PLANET CAM mode.
You can see a brief information about the planet in the upper left corner of the screen.

alt text

SkyBox

Press E to change skybox

Built With

  • OpenGL - The Graphics Library used
  • GLAD - Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator used
  • GLFW - Used to creating windows, contexts and surfaces, receiving input and events.
  • FREETYPE - Used to render fonts.
  • GLM - Mathematics Library used

Resources

LICENSE

This project is licensed under the MIT License - see the LICENSE.md file for details

About

3D C/C++/OpenGL/GLFW Simple Solar System model 🌍

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published