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 ...

learn more… | top users | synonyms

0
votes
0answers
36 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. ...
1
vote
1answer
32 views

OpenGL abstraction layer

I tried to create a small OpenGL abstraction layer. I am an unexperienced programmer and I am relatively new to c++. I tried to favor composition over inheritance but somehow it added extra ...
-1
votes
0answers
33 views

C++/Math - Camera class has max height climb issue [closed]

For some reason, there seems to be a limit to the height my camera can climb. It seems that no matter the pitch, it doesn't go directly the direction the camera is facing. If I am at say 75 degrees it ...
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 ...
0
votes
0answers
53 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; ...
6
votes
2answers
497 views

Please help me improve my quadtree design

I have an application which is used for displaying and modifying huge volumes of point cloud data from lidar files (up to few gigabytes each, sometimes loaded in simultaneously). In the app the user ...
2
votes
1answer
386 views

Seperate Rendering Thread XLib(GLX) and OpenGL

I am writing a prototype for something at work. Not very many people here know much about Linux/Unix or Xlib so I can't really ask here at work (most developers are expert Windows programmers). With ...
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, ...
3
votes
1answer
357 views

Is this OK Cocoa OpenGL design? What could I be doing better?

I'm working on a Cocoa project that uses OpenGL. I'm trying to keep things easily cross-platformable for later (which is the primary reason for my GL singleton; I hope to implement Linux versions of ...
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 ...