Manipulate the parameters of a lookAt() created virtual camera.
The left canvas shows the scene as seen by a stationary camera.
The right canvas shows the scene from the camera's vantage point.
Manipulate the lookAt function's parameters:
lookAt(M, eye_x, eye_y, eye_z, center_x, center_y, center_z, up_dx, up_dy, up_dz)
eye (0.0, 0.0, 5.0) | center (0.0, 0.0, 0.0) | up <0.0, 1.0, 0.0> |
X: -5.0 +5.0 | X: -5.0 +5.0 | X: -1.0 +1.0 |
Y: -5.0 +5.0 | Y: -5.0 +5.0 | Y: -1.0 +1.0 |
Z: -5.0 +5.0 | Z: -5.0 +5.0 | Z: -1.0 +1.0 |