Hi,
according to Nate Robins Tutorial transformation I wanted to raise up the viewpoint along the y axis.
The view should look like using an elevator outside of a building and looking onto the
front of the building at the opposite side of the street.
Beginning at gluLookAt(0.0, 0.0, 2.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0) I wanted to raise the “camera” along the y-axis. It should look like a view out of an elevator. The next step was gluLookAt( 0.0, 0.6, 2.0, 0.0, 0.6, 0.0, 0.0, 1.0, 0.0). But I was astonished that the line between the “camera” (0.0, 0.6, 2.0) and the aim (0.0, 0.6, 0.0) wasn’t parallel to the z-axis.
The “camera” was looking down to the aim.
Can anybody explain me why or what I have done wrong.
Thanks in advance
Ulric