selecting face on object

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

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.