Advertisement

Help!

Started by November 01, 2000 04:48 AM
1 comment, last by ogl 24 years ago
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
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
Advertisement
I actually use gluPickMatrix(), how do I use gluUnproject()
with this?

Cheers

This topic is closed to new replies.

Advertisement