Our great sponsors
Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
I have done the tutorials on Learn OpenGL (https://learnopengl.com) through the lighting section and I feel that the program is getting long. I have done some digging and people say the it is a bad idea to try and abstract OpenGL into classes. So, I want information on how I should format my code so that it is easy to use and build on. Encase this is useful, I want in the future to be able to make simple 2D and 3D games as well as be able to use OpenGL for other random projects of mine. Information would be helpful. Sorry if someone has asked this question before, I don't know how to search subreddits.
Spinning cube scene in OpenGL
Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
Safe OpenGL wrapper for the Rust language.
I can recommend https://github.com/glium/glium as a good, safe abstraction. There was a time when I wanted to learn shaders and write complex pipelines with several stages, this library allowed me to learn about the important objects and their responsibilities without having to program the very verbose chunks of code to initialize. I learned the following:
Cargo build feature issue: Building winit problem, says no features specified
2 projects | reddit.com/r/rust | 23 Mar 2023
OpenGL crates: gl vs glow vs glium
3 projects | reddit.com/r/rust | 22 Mar 2023
Emacs GPU rendering
3 projects | reddit.com/r/emacs | 1 Mar 2023
Questions about Glium framework
1 project | reddit.com/r/rust | 29 Nov 2022
glutin 0.30.0 released with major rewrite decoupling from winit
1 project | reddit.com/r/rust | 27 Oct 2022