View Full Version : Selection(?)
05-25-2003, 10:09 AM
Is there a way to find the relationship between screen coordinates and world coordinates without doing complex time-consuming trig? And if "selection" isn't this, what is it?
05-25-2003, 10:58 AM
Simply, you click and you select an object.
05-25-2003, 01:10 PM
I mean how do you do it in code...
05-25-2003, 02:31 PM
Look here http://www.opengl.org/developers/faqs/technical/selection.htm
05-25-2003, 03:08 PM
Heh, do you have anything a little more idiot-friendly? There are topics in there that I don't think I've learned about yet. Should I just forget about it then?
05-25-2003, 03:22 PM
Try http://nehe.gamedev.net - they have a picking tutorial... not sure of the tut number. Also, http://www.gametutorials.com/Tutorials/opengl/OpenGL_Pg3.htm under Object Selection
[This message has been edited by shinpaughp (edited 05-25-2003).]
05-27-2003, 10:59 AM
If you just want to transform screen coordinates to world coordinates and vise versa, you should look into gluProject and gluUnproject.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.