previous |  up  | next
 

Object Selection   

Author:  DigiBen

Checking for mouse clicks in 3D can't be done the same way it is done in 2D.  This tutorial shows you how to easily check if you've clicked on a object in 3D.

Functions Used:  glClear(), glLoadIdentity(),gluLookAt(), gluNewQuadric(), gluQuadricTexture(), glBindTexture(), glPushName(), glPushMatrix(), glTranslatef(), glRotatef(), gluSphere(), glPopMatrix(), glPopName(), gluDeleteQuadric(), SwapBuffers()


purchase full version
Access EXE

 
 
 

 

 

 


 C
 C++
 Win32
 Direct3D
 OpenGL
 C#
 Java
 Free Tutorials