PDA

View Full Version : please help me out with picking !!!!



vamsee kanth
12-21-2004, 01:19 AM
Hello,

i have a 3-dimensional plot of points on GLAnimCanvas. Now when i click on it i want to retrieve the X,Y, and Z coordinates of that particular point !!!

how to do it???

iam using GL4java and java.

plz help me out!!!

any sample code would be highly useful....

vamsee

mikael_aronsson
12-21-2004, 01:55 AM
http://www.lighthouse3d.com/opengl/picking/

http://www.opengl.org/resources/tutorials/sig99/advanced99/notes/node35.html

http://www.unknownroad.com/rtfm/graphics/glselection.html

http://www.parallab.uib.no/SGI_bookshelves/SGI_Developer/books/OpenGL_PG/sgi_html/ch14.html

http://www.cs.uccs.edu/~semwal/selection.html

http://medialab.di.unipi.it/web/IUM/Waterloo/node87.html

http://www.soe.ucsc.edu/classes/cmps160/Fall01/picking.txt

http://mecadserv1.technion.ac.il/public_...ogl_picking.htm (http://mecadserv1.technion.ac.il/public_html/LabCourses/interActiveGraphics/ogl_course/ogl_lab/ogl_picking.htm)

And that was just the first few hits with google, hope that helps a bit.

Mikael