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?


Yes, it is possible. For examples, look at Nehe’s lesson 32:

I believe there is also a tutorial at:

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

Hope that helps.