I Have been trying to do things the OpenGL way according to my OpenGL course, but I can’t get things to work. I have been searching everywhere. What I mean is the vertex attributes for my shapes.
It depends on what you’re trying to draw. If you jump into the code definitions (ofGraphics.cpp) you’ll see there’s a bunch of things happening under the hood which sets up the graphics pipeline for drawing ofCircle, ofRectangle, etc with the default shaders.
If you want to work more with the OpenGL way, you should look into ofMesh and ofShader. ofMesh will allow you to build your custom geometry in anyway you want and ofShader helps you with custom attributes etc.