https://github.com/mcleber/opengl_blue_marble
Blue Marble project made in C++ and OpenGL
https://github.com/mcleber/opengl_blue_marble
cpp glsl graphical-programming learning-cpp learning-glsl learning-opengl opengl shaders
Last synced: 3 months ago
JSON representation
Blue Marble project made in C++ and OpenGL
- Host: GitHub
- URL: https://github.com/mcleber/opengl_blue_marble
- Owner: mcleber
- License: gpl-3.0
- Created: 2022-10-19T02:48:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-26T05:32:25.000Z (about 1 year ago)
- Last Synced: 2025-01-12T15:46:18.468Z (4 months ago)
- Topics: cpp, glsl, graphical-programming, learning-cpp, learning-glsl, learning-opengl, opengl, shaders
- Language: C++
- Homepage:
- Size: 7.16 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blue Marble project made in C++ and OpenGL
Studying computer graphics with OpenGL.
This is not a static project. It is possible to control the camera using the WASD keys and with the left mouse button the Yaw and Pitch movements.
Clouds move around the planet.
There is also diffuse and specular lighting (Phong Model).
This is my result of the Introduction to Computer Graphics Course by Thales Sabino.
## Dependencies
* GLEW
* GLFW
* GLM
* STB Image
* CMake## Installing dependencies on Linux
* OpenGL Libraries
``sudo apt update``
``sudo apt install mesa-common-dev``
* GLEW and GLFW
``sudo apt install libglew-dev libglfw3-dev``
- STB Image and GLM
``sudo apt install libstb-dev libglm-dev``
- CMake
``sudo apt install cmake``
``cmake --version``
## Build, compile and run the program
``cd BlueMarble``
``mkdir build``
``cd build``
``cmake ..``
``make``
``./BlueMarble``
## links
[CMake](https://cmake.org)
[GLEW](https://glew.sourceforge.net)
[GLFW](https://www.glfw.org)
[STB Image](https://github.com/nothings/stb)
[GLM](https://github.com/g-truc/glm)
[OpenGL® 4.5 Reference Pages](https://registry.khronos.org/OpenGL-Refpages/gl4/)
[OpenGL® 4.5 Quick Reference Card](https://www.khronos.org/files/opengl45-quick-reference-card.pdf)
[GLSL_Quick Reference](http://mew.cx/glsl_quickref.pdf)