For a project, I tried rendering 50,000 boxes using ofDrawBox() and it was pretty slow.
To speed it up, I tried generating vertices myself and using glDrawArrays on a buffer, and I was able to render about 50,000 boxes with a good FPS (it can render about 200,000 before it slows down).
I want to use openframeworks because I don’t know how to implement something like ofEasyCam in vanilla openGL, but I was just curious:
If I tried using vanilla openGL to render cubes, would it be any faster than my current setup of glDrawArrays in the context of openframeworks? I.e. does openframeworks have a performance overhead that would slow down the performance of rendering via opengl?
Could ofEasyCam hurt performance, and should I be manually calculating a model-view matrix?