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

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    911

    The OpenGL SuperBible...

    The OpenGL SuperBible has a helper library that can create various 3D shapes for you, but it's difficult to separate out the library so you can use it in your own projects. Otherwise, you do have to...
  2. Replies
    2
    Views
    573

    Do you have depth buffering enabled? Enable it...

    Do you have depth buffering enabled? Enable it thusly in your initialization section:

    glEnable(GL_DEPTH);
    glDepthFunc(GL_LESS);
    And be sure you clear *both* the color buffer and the depth buffer...
  3. Replies
    3
    Views
    1,258

    I now have another problem: I'm trying to render...

    I now have another problem: I'm trying to render simple texture-based, fixed-width text and a Tetris block playfield, but for some reason the code for playfield rendering doesn't work now, but it...
  4. Replies
    3
    Views
    1,258

    I actually discovered the little GL_RGB fix...

    I actually discovered the little GL_RGB fix *just* before I checked this thread for your post, but I thank you anyways for your help. The fix makes my program work perfectly now.
  5. Replies
    3
    Views
    1,258

    Can't get textured triangle to display.

    I'm just now learning the sequence of commands necessary to apply a texture to a triangle in OpenGL, but I can't seem to get my code to display a textured triangle. I *think* I'm creating the Texture...
Results 1 to 5 of 5