Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 873 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 873 Bytes

3D Model Viewer with OpenGL

Little Preview

Lighting effect #1

Sunset gif

Lighting effect #2

Apocalypse gif

Model loaded without lighting effect

City gif

Setup

For MacOS

  1. Install GLFW and Assimp with homebrew.
  2. Build the project with CMake and run the "opengl" executable.
  3. (Optional) Place GLAD files with your machine's compatible OpenGL version from http://glad.dav1d.de/ in /dependencies folder. (The GLAD files in the dependencies folder currently is with OpenGL 4.1)

For Linux

  1. Run:
   sudo apt-get update
   sudo apt-get install libglfw3-dev libassimp-dev libgl1-mesa-dev libx11-dev libpthread-stubs0-dev libxrandr-dev libxi-dev
  1. Build the project with CMake and run the "opengl" executable.