PDA

View Full Version : University OpenGL project



grahek
08-18-2005, 12:07 AM
Dear all!

I have one problem regarding my university project. I have to program in opengl a table with max. 4 drawers. The problem is that I have to click on the drawer with the mouse and drawer must go out of the table (and possibly back in). Is there enyone who could help me?

ZbuffeR
08-18-2005, 01:00 AM
Look for opengl Tutorials here :
http://nehe.gamedev.net/

Then for the mouse-drawer interaction search for 'opengl picking' 'gluProject' 'gluUnProject' and maybe some basic collision detection.