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

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,789

    If you are just drawing lines with two endpoints,...

    If you are just drawing lines with two endpoints, just use GL_LINES

    glBegin(GL_LINES);
    // Line 1
    glVertex3f(V1);
    glVertex3f(V2);
    // Line 2
    glVertex3f(V3);
    glVertex3f(V4);
    // ... Line N
  2. Replies
    6
    Views
    1,789

    Well, the simple answer is to figure out what you...

    Well, the simple answer is to figure out what you are drawing lines of. You said triangles and rectangles. Each of these is 3 sides and 4 sides. I'm supposing that you are actually wanting to draw...
  3. Replies
    6
    Views
    1,501

    I guess I should clarify what I'm trying to do....

    I guess I should clarify what I'm trying to do. It's basically just cleaning up after arbitrarily executing a block of OpenGL calls. I'm not actually trying to use as many texture units as I can, but...
  4. Replies
    6
    Views
    1,501

    I'm using ARB_debug_output and gdebugger...they...

    I'm using ARB_debug_output and gdebugger...they both catch the error (invalid texture unit).

    Nevermind that I'm using glEnable/glDisable with GL_TEXTURE_*...I was just rereading that this is...
  5. Replies
    6
    Views
    1,501

    I forgot to say that I'm using version 314.22...

    I forgot to say that I'm using version 314.22 using a GTX680m and Windows 8 Pro 64-bit.
  6. Replies
    6
    Views
    1,501

    NVIDIA glActiveTexture bug?

    Hey,

    I'm wondering why the following code generates an OpenGL error (unsupported texture unit)...GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS returns 192, function has error with...
Results 1 to 6 of 6