Skip to content

Zly-u/OpenGL_Learnings

Repository files navigation

Build Codacy Badge

2D OpenGL Learning area.

I'm just learning OpenGL in here and experimenting.

This is not meant to be anything for anyone to use, but maybe you can find some useful techniques and code examples in here, idk.

CW: Trying out a bunch of meta-programming shenanigans in here.

Key notes about the project

  • Custom self made delegates for handling callbacks/events.
  • Templated way of handling Shader Programs, Uniform Parameters in Shaders and Vertex Attributes for polygons, because I hate how it has no error handling internally.
  • Flexible way of setting up how exactly your polygons are rendered.
  • Following principles of SOLID where applicable.
  • Trying to use as much C++17-23 as possible.

How to compile

The project doesn't require any setups aside from VCPKG being installed.

So... Just run the CMake build process the usual way you do, either via CLion, VS, VSC, or terminal.

And hopefully it works first try, I tried my best to make it as portable as possible.

At Post-Compilation - all assets are moved into the same folder where executable is, everything is automatic.

Additional note: I use G++ as a primary compiler, so if you are using MSVC there is a chance it might not compile.

About

Me messing around with OpenGL and learning how to work with it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published