Original Post
hey..
I got some problems with the gluLookAt() funtion.
Ok.. if I had an object moved to
glTranslatef(0.0f,-20.0f,-100.0f); how am I supposed to set the values in the LookAt func.
I tried and tried and all I see is a black screen. Makes no since.
first 3 parameters are camera position. I set it on: (0.0,0.0,100.0)
and the second 3 parameters are where it is supposed to look at.
I set it on:
(0.0,-20.0,-100.0);
I don''t know exactly what the last 3 parameters are there for, but I set them on:
(0.0,1.0,0.0);
What am I doing wrong... ?? or did i forget something ?