Skip to content

Taardal/opengl-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGL Examples

Description

Some basic examples of rendering 2D and 3D geometry using C++ and OpenGL.

The app is made while learning myself game programming by following tutorials made by TheCherno on YouTube.

The app requires Windows and Visual Studio to run.

Prerequisites :vertical_traffic_light:

Getting started :runner:

Getting the code :octocat:

  • Clone the repository: git clone https://github.com/taardal/opengl-examples

Running the app :rocket:

  • Open the solution file in Visual Studio: opengldemo.sln
  • Uncomment the example to run in opengldemo/src/Main.cpp:
application->PushLayer(new TriangleLayer());
//application->PushLayer(new TextureLayer());
//application->PushLayer(new Texture3DLayer());
//application->PushLayer(new TexturedCubeLayer());

Resources :books:

About

Some basic examples of rendering 2D and 3D geometry using C++ and OpenGL.

Topics

Resources

Stars

Watchers

Forks

Languages