Skip to content

A cross-platform C++ project that approaches some of the fundamentals of OpenGL

Notifications You must be signed in to change notification settings

thederickff/OpenGL_Fundamentals

Repository files navigation

OpenGL Fundamentals

This repository contains the code for TheCherno's series on OpenGL. It uses CMake to manage the build process, making it cross-platform. Follow along the video playlist, click the image below:

Watch his video series here.

Installation

Ubuntu

To compile you first need to have CMake, GLEW, and GLFW installed. In the terminal run

sudo apt-get update
sudo apt-get -y install build-essential cmake libglfw3-dev libglew-dev libglm-dev

Compilation

In the terminal cd to the project directory and create a build directory. Now there should be a working

cd <Path to OpenGL_Fundamentals>
mkdir ./build
cd ./build
cmake ..
make

Execution

To run the program cd to the directory containing the res/ directory. By default this is OpenGL_Fundamentals, but you can also copy the res/ directory into the location that the executable is saved and run it from there. As long as you're executing the binary in a directory containing `res/ you can run the executable and it should work.

./build/myapp

About

A cross-platform C++ project that approaches some of the fundamentals of OpenGL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published