Skip to content

mcleber/OpenGL_Blue_Marble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

GLEW

GLFW

STB Image

GLM

OpenGL® 4.5 Reference Pages

OpenGL® 4.5 Quick Reference Card

GLSL_Quick Reference