Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: JohnMarkem

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    674

    You have your Eye Position (Ep), Look at Position...

    You have your Eye Position (Ep), Look at Position (Lp) and Up vector (Up)

    you have a vector from (1) Ep to your Lp and (2) Up so you need the cross product of (1) x(2)
    To dolly and track you...
  2. Just use a few VAOs and the problem is solved

    Just use a few VAOs and the problem is solved
  3. That happens because you have to redefine the...

    That happens because you have to redefine the vertex attribute arrays. You have to draw your elementbuffer directly after you setup your buffer's layout via glVertexAttribPointer().

    Basic example:...
Results 1 to 3 of 3