Is there any OpenGL IDE ?

Started by
6 comments, last by plamen_t 17 years, 6 months ago
I am new to OpenGL and I really like it. I have a question. Is there any OpenGL IDE? I mean a text editor which can highlight the OpenGL functions. I found useful things fog OpenGL Shading Language but not for OpenGL.
Advertisement
I'm quite sure there isn't. You can most likely tweak many editors to highlight OpenGL words, though. No one makes a complete editor just for OpenGL. Remember that OpenGL is a library, but GLSL is a language. Also why do you want this? OpenGL's functions are just like all other functions, and therefore should be treated as such by the syntax highlighter. Look at SC++L functions and classes, they also look like normal functions and classes even though they're a part of the standard.
I my opinion the main reason which stands behind highlighting is that in this way the programmer can find his errors almost immediately. There are many OpenGL functions and many constants. Also some OpenGL functions take a big number of arguments. For example glTexImage2D(). For this function for example you have to know not only the parameters you have to pass but also and sequence they appear in the function. I mean that it is a lot of information and if there are highlighting of the valid OpenGL functions and constants it will be much easier. It would be nice if when you start typing a function and somewhere appears the prototype of the function.
Quote:Original post by plamen_t
It would be nice if when you start typing a function and somewhere appears the prototype of the function.


Microsoft Visual Studio's Intellisense feature should do this. E.g. start typing "glEnable(" and typically in the hint window that appears it will give the glEnable function prototype.

I would imagine other editors/IDEs already do this too.

Cheers,
dhm

Code::Blocks can do this. (codeblocks.org)

Also, you can type in all the OpenGL things you want to be highlighted as keywords, and assign them your own highlight color.
*cough *cough.. render monkey *cough thats probably the closest thing your going to get to a graphics ide. other then that most ide's will highlight opengl syntax, just look it up for your ide.
Intellisence has a tendancy to break with third party headers with only declarations and no definitions (at least it has done all the way to .NET 2003).

I whole-heartedly suggest you give Visual Assist X a try.
Thanks Vampyre_Dark.
Code::Blocks is just what I meant.

This topic is closed to new replies.

Advertisement