OpenGL is a graphics standard and API which targets the desktop and workstation markets. It is designed to be easy to accelerate with dedicated computer hardware, and hence most implementations give greatly improved performance over traditional software rendering. OpenGL is used for applications ...
3
votes
0answers
233 views
Is this an acceptable implementation of a OpenGL VertexArrayObject class?
It seems to play up sometimes, I'm not sure if this is due to the class itself or the way I'm using it. Can someone confirm that this is a 'good' implementation of a VertexArrayObject class?
//The ...
2
votes
0answers
23 views
Accelerate OpenGL 2d on python3
I used OpenGL to draw about 20 circles. Each circle has 2 lines, ~10 segments, and all of them have different colors and lenght. FPS ~=4. How can I do this faster?
I am using Python 3 on Ubuntu
Sorry ...
2
votes
0answers
66 views
Is there something wrong with my cleanup code? (OpenGL + SDL)
I think I have a bug in my program. I use SDL and OpenGL to render an animation. The program also measures the average FPS. Tipically, when I run the program, it will run at around 550 FPS.
However, ...
0
votes
0answers
32 views
Java reflection and static classes
I try to intercept some OpenGL calls for testing my rendering classes. Reflection is used for replacing the OpenGL backend.
I feel this class is badly written and I need advices for refactoring it.
...
0
votes
0answers
52 views
Why is nothing shown in the opengl font example?
I'm following this example.
freetype.h:
namespace myfreetype {
struct FontData {
float h;
GLuint *textures;
...