Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers


Type: Posts; User: winterheat

Search: Search took 0.01 seconds.

  1. What is the 3rd "vector" in the arguments of LookAt?

    I wonder what is the 3rd vector (the 3rd row) in the following code?

    gluLookAt( -512, -384, 700,
    512, 384, 0,
    0.0f, 1.0f, 0.0f);

    It is strange...
  2. The LookAt target location doesn't matter if it is z = 0 or z = 1000 or -1000?

    I am trying LookAt in OpenGL ES,

    gluLookAt(512, 384, 2000,
    512, 384, 0,
    0.0f, 1.0f, 0.0f);

    The second row is the Target's position... so I...
Results 1 to 2 of 2