PDA

View Full Version : how to use gluLookAt()



vamsee kanth
12-13-2004, 01:21 AM
somebody plz explain in detail the various parameters of gluLookAt() and how to use it??

iam trying to zoom in and zoom out a cube in java and iam using GL4java..

any sample code would be highly useful.

thankx

byee

Silkut
12-13-2004, 02:43 AM
You can learn lot about openGL Utility Library in the reference programming guide: the Redbook, and specially about Transforming coordinates section (http://rush3d.com/reference/opengl-redbook-1.1/appendixc.html)

hope that helps