PDA

View Full Version : selecting face on object



schmudu
12-17-2002, 06:37 AM
hi there,
just another newbie.

i've just started out on opengl, but just wanted to make sure i'm heading in the right direction. is it possible to have a cube and allow the user to rotate it, and highlight the face that they click on?

thanks,
patrick

yakuza
12-17-2002, 07:17 AM
Yes, it is possible. For examples, look at Nehe's lesson 32:
http://nehe.gamedev.net

I believe there is also a tutorial at:
http://www.gametutorials.com

Otherwise, a Google search on "opengl picking" should turn up some helpful results.

Hope that helps.