This is a Visual Studio solution for https://learnopengl.com/ exercises.
The exercises are implemented as individual VS projects within the solution.
Some of the implementations closely follow the site's example code, while others make more dramatic changes.
Implementation details are outlined in the repo's wiki:
LearnOpenGL wiki
- Windows 10
- OpenGL 3.3 compatible system
- Visual Studio 2017
-
Clone the repo
-
Open the Visual Studio solution file:
/LearnOpenGL/opengl-template.sln
The solution is organized in the following structure:
Solution -> Topic folder -> Implementation project
The topic folders correspond to respective chapters on the LearnOpenGL site.
The projects implement and expand on the example code from each chapter.
Before running an implementation, you must set its VS Project as the solution's StartUp Project:
- Open the Solution Explorer tab.
- Navigate to and left-click (select) the Project you wish to run.
- Right-click on the Project name to open the options pop-up.
- Left-click the Set as Startup Project option.
The Project you wish to run is now set as the solution's Startup Project.
- Press F5 to run the implementation.
Press the ESC key to exit the implementation.
The movement key-bindings follow an FPS-style scheme:
- W move forward
- S move back
- A move left
- D move right
- Mouse-movement look around the world.
The numeric keys 0-9 are used to toggle implementation specific graphical functions.
Visit the project's related wiki page for supported binding details:
LearnOpenGL wiki