• Advertisement

Archived

This topic is now archived and is closed to further replies.

Help!

This topic is 6325 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 I''ve finally managed to implement the selection buffer - it now works so when an object is clicked it shows which object is clicked on - what I now need is to be able to select these object around the scene - any code, examples appreciated Thanx in advance

Share this post


Link to post
Share on other sites
Advertisement
better title description mate.
i assume u have selected an object and now u wanna click somewhere else on the screen and u want the object to move there

easy its nearlly the same just use gluUnProject to get the world pos under the cursor and stick the objects coords at this pos.

http://members.xoom.com/myBollux

Share this post


Link to post
Share on other sites
I actually use gluPickMatrix(), how do I use gluUnproject()
with this?

Cheers

Share this post


Link to post
Share on other sites

  • Advertisement