Jump to content

  • Log In with Google      Sign In   
  • Create Account


Is there any OpenGL IDE ?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
7 replies to this topic

#1 plamen_t   Members   -  Reputation: 151

Like
0Likes
Like

Posted 24 September 2006 - 05:09 AM

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.

Sponsor:

#2 CTar   Members   -  Reputation: 1134

Like
0Likes
Like

Posted 24 September 2006 - 05:28 AM

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.

#3 plamen_t   Members   -  Reputation: 151

Like
0Likes
Like

Posted 24 September 2006 - 05:50 AM

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.

#4 dhm   Members   -  Reputation: 202

Like
0Likes
Like

Posted 24 September 2006 - 06:08 AM

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



#5 MrDaaark   Members   -  Reputation: 3539

Like
0Likes
Like

Posted 24 September 2006 - 06:16 AM

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.

#6 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

0Likes

Posted 24 September 2006 - 06:17 AM

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

#7 MENTAL   Members   -  Reputation: 382

Like
0Likes
Like

Posted 24 September 2006 - 06:52 AM

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.

#8 plamen_t   Members   -  Reputation: 151

Like
0Likes
Like

Posted 24 September 2006 - 08:43 AM

Thanks Vampyre_Dark.
Code::Blocks is just what I meant.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS