Jump to content
  • Advertisement
Sign in to follow this  
zahadam

OpenGL right click drop menu help..PLZ

This topic is 5462 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

well...PLZ help me out. I need a code strip. Because I just started programming with OpenGL and I suck. Well here it is. I want to have and object selected (i.e. a 3d object, 2d object, something with its own properties)then i was a drop menu where I right clicked displaying the strings of info I wanted to. (i.e. right click on a 3d object and it has a drop down menu showing stuff like, position, radius/diamiter ect.) And i was the menus to be costomisable like using an image. So if anyone has the time and is ever so kind..could you help me please.

Share this post


Link to post
Share on other sites
Advertisement
For the selection using opengl, the easiest method for this is to use the selection buffer. Here's a small tutorial on how to use it:
http://www.opengl.org/resources/faq/technical/selection.htm

For the custom UI part, I would recommend that you start by using the Windows UI. Then if you really need to customize it, you'll either have to create one from scratch, or use an existing one. I believe this library is open source, so you might want to give it a try:
http://glgooey.sourceforge.net/

Good Luck !

Share this post


Link to post
Share on other sites
Don't listen to all these lame people who do things the slacky way! Do it the right way and make your own GUI stuff in OpenGL. That way it will be cross platform AND you can costomize the hell out of it!

It's a good way to learn OpenGL too. ;)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!