how to use gluLookAt()

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

You can learn lot about openGL Utility Library in the reference programming guide: the Redbook, and specially about Transforming coordinates section

hope that helps