PDA

View Full Version : Best IDE for begginers ..



abominable
04-20-2010, 10:40 AM
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.

Thank you in advance.

Aleksandar
04-20-2010, 11:05 AM
There is no such IDE. :)

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.

overlay
04-20-2010, 12:15 PM
For debugging on Linux I use the BuGLe GUI.

http://bugle.sourceforge.net

See an old screenshot here: http://sourceforge.net/project/screenshots.php?group_id=110905


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

First you have to compile it. (make sure you set CFLAGS=-U_FORTIFY_SOURCE before compiling gldb otherwise you will get a message like *** %n in writable segment detected ***) ref:
http://www.opengl.org/sdk/tools/BuGLe/documentation/faq.php#id542283

then you just launch the GUI on the program you want to debug:

$ gldb-gui myProgram

For other debugging tools see the OpenGL wiki:
http://www.opengl.org/wiki/Debugging_Tools

Aleksandar
04-20-2010, 12:55 PM
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. :(

overlay
04-20-2010, 01:22 PM
As a MS Windows programmer, I have never tried BuGLe

Indeed, this is a Linux-specific tool :-)

RGHP
04-20-2010, 03:00 PM
NeTbeans, OpenGL plugin :) it have a shader editor, but it's being removed right now :(.
Eclipse is my favorite ID.

Both have an excellent subversion system.

maedhros777
04-21-2010, 06:09 AM
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.

Rosario Leonardi
04-21-2010, 01:24 PM
Butterfly
http://xkcd.com/378/

:P
I use vim and glslDevil

abominable
04-21-2010, 02:26 PM
He he he ... bash rules !!

vivek201
11-19-2012, 04:58 AM
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.

Thank you in advance.


i hope this suit ur requirement....

http://www.bloodshed.net/dev/devcpp.html

http://i438.photobucket.com/albums/qq103/vivek_511201/devcpp.jpg