LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Mattbooth on March 01, 2005, 22:35:39

Title: gluLookAt problems
Post by: Mattbooth on March 01, 2005, 22:35:39
Hi guys

I'm having a tad bit of trouble with gluLookAt

i need to set two camera angels either side of a central object.  So i've setup a simple class using most of the NeHE stuff.  I have 2 quads and i think i have positioned the camera in the middle of them.  I was it so that i can look both ways with 2 seperate windows.  

However i cant even get it to work looking at one of hte objects.

Any help would be appreciated

Code attached

http://www.booth123.pwp.blueyonder.co.uk/zViewTEST.java

Thanks
Title: gluLookAt problems
Post by: Mattbooth on March 02, 2005, 11:51:09
hmm so i've added a glPerspective(..) and it works now

Thanks for anyone that looked :)