Jump to content
  • Advertisement
Sign in to follow this  
Omega Psi

OpenGL JoGL, Java and openGL - how to add interactivity for singel objects?!

This topic is 4775 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

Hi there, i'm new to the forums. I just started programming openGl using Jogl. I wonder if th there is any way to make objects "clickable". I havent found any informations on that topic yet on the net and i wonder, if anyone has some tipps for me? Right now i just can think of the possibilty of identifying single vertices though their coordinates. But that leads me straight to my main problem: i have already made a lil application, that builds a lil net out of an datastructure. Now i want to get informations by clicking single node in the visualized 3d-data structures. I am already able to rotate the whole 3d-model, but the translation from the x- and y-mousse-coordinates to the x- and y-coordinates is somewhat not running properly... but that is something i should be able to take care of myself soon. My understanding of openGL gets better everyday. But i dont know any other possibilities then display-lists to "group vertices, quads etc". Thanx to Java, i'm kinda stuck in object orientated programming and modelling... Any Ideas?

Share this post


Link to post
Share on other sites
Advertisement
Quote:

Thanx to Java, i'm kinda stuck in object orientated programming and modelling...

Do you mean you wouldn't be having these problems with C++?

Since you are new, though, I'd recommend the usual starting point for most OpenGL programmers: Nehe. Specifically, Nehe has a tutorial about picking, which is using the mouse to select an object.
Click

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!