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: jonpb1

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    6,043

    Ok, thanks guys, there were a couple problems, I...

    Ok, thanks guys, there were a couple problems, I needed GL_LINE_STRIP and also both gl_FragColor and gl_Color are deprecated in version 330.
    Unfortunately it still doesn't quite work but I have...
  2. Replies
    17
    Views
    3,992

    I don't know if this is any help, but I actually...

    I don't know if this is any help, but I actually can't think of a way to find the medial axis without first finding the cross-section. I believe the cross-section of minimum area will give a plane...
  3. Replies
    4
    Views
    6,043

    glDrawArrays(GL_LINES)

    Could someone please either confirm that the following code either should work or tell me what I'm doing wrong? Assuming that the orthographic matrix calculation is correct and the shaders compile,...
  4. Replies
    6
    Views
    2,011

    So it turns out the erasing effect was a bug...

    So it turns out the erasing effect was a bug outside of the opengl code. There is still a problem with this code, that I can't figure out. Whether I use dukey's suggestion to draw to the front buffer...
  5. Replies
    6
    Views
    2,011

    I tried that and it didn't do anything. At least...

    I tried that and it didn't do anything. At least by adding the code to the end of the draw scene code it does something, although what it does is erase the screen.
  6. Replies
    6
    Views
    2,011

    I don't know how to refresh the screen in a...

    I don't know how to refresh the screen in a double-buffered system without a swap, but that's another issue. I decided to just add this function to the end of my draw scene function (after removing...
  7. Replies
    6
    Views
    2,011

    I thought glflush and glfinish only complete the...

    I thought glflush and glfinish only complete the gl commands. In a double buffered system you still need to refresh the screen with a swap. The reason I copy the front to back is that
    1) the back...
  8. Replies
    6
    Views
    2,011

    Draw rubber-band selection box

    Hi, I know this has been asked a number of times, but all the ones I found either referred to the old deprecated pipeline or did not answer the question of how to draw the rectangle.

    In the old...
Results 1 to 8 of 8