Since I started studying OpenGL, many times I bump on errors. Because this errors are not always obvious to me, I would like to ask if there is any particular IDE for writing OpenGL Code, executing and debugging it.
For example in my latest Cube problem, I managed to render each side of my Cube. Separately. But when trying to render the Cube, all I get is a blank screen. Is there any IDE that can give me info about what does it going on in the background.
I am using Linux and I would prefer suggestions for Linux but I can also use Windows applications.
Unfortunately, AFAIK there is no usable IDE either for OpenGL nor or GLSL. Some usable hints you can get from gDEBugger, but I think it is not something you are looking for.
You can set openGL break points, ask the GUI to stop on OpenGL errors, check visually the contents of the framebuffer (color buffers, depth buffer) of the textures, the loaded GLSL code, the OpenGL state,…
As a MS Windows programmer, I have never tried BuGLe, but none of other mentioned debugging and profiling tools deserves to be called IDE. The list should be broadened with GLExpert (command prompt output and only with instrumented drivers) and NVIDIA Parallel Nsight (aka Nexus, which requires two machines for debugging). Neither of them is suitable for beginners.
Well, I don’t know about finding out what’s going on in the background, but I’d recommend Code::Blocks (http://www.codeblocks.org/). It’s free, open source, and it works well on Linux. But from what overlay says, you could try BuGLe, too – I actually might try that myself, it sounds interesting.
[QUOTE=abominable;1200860]Since I started studying OpenGL, many times I bump on errors. Because this errors are not always obvious to me, I would like to ask if there is any particular IDE for writing OpenGL Code, executing and debugging it.
For example in my latest Cube problem, I managed to render each side of my Cube. Separately. But when trying to render the Cube, all I get is a blank screen. Is there any IDE that can give me info about what does it going on in the background.
I am using Linux and I would prefer suggestions for Linux but I can also use Windows applications.