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
    0
    Views
    272

    Trasnfer Data from FBO to PBO issues

    I been trying to wrap my head around trasnfering data from my FBO to a PBO to a texture to render it to a QUAD:


    glGenFramebuffers(1, &framebuffer);
    glBindFramebuffer(GL_FRAMEBUFFER,...
  2. Replies
    0
    Views
    283

    Writing out a FBO to image file issues

    I been trying to copy my FBO to file

    My FBO looks like this:


    glGenFramebuffers(1, &framebuffer);
    glBindFramebuffer(GL_FRAMEBUFFER, framebuffer);
    ...
  3. Replies
    3
    Views
    972

    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...
  4. Replies
    6
    Views
    1,410

    Just use a few VAOs and the problem is solved

    Just use a few VAOs and the problem is solved
  5. Replies
    6
    Views
    1,410

    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 5 of 5