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: Krimsom King

Search: Search took 0.00 seconds.

  1. Clipping Mask to do a 2D GUI list box

    Hello, I am doing a menu system for my game right now. I would like to know what is the best way to do a clipping mask for a list box in OpenGL. The list can be of any lenght but the control itself...
  2. Replies
    2
    Views
    1,025

    Re: Fade In / Out effect on 2D

    Ha thanks!

    Having worked a little bit with color functions, I was on the right track for this. That work.
  3. Replies
    2
    Views
    1,025

    Fade In / Out effect on 2D

    Hi there,

    I am trying to make a fade in & out effect on 2D elements I show on the screen, whether it's text I show or simply a 2D Quad with a texture on it.

    Is there an easy trick to put an...
  4. Replies
    3
    Views
    1,213

    Re: Wrong Color for 2D quad

    Okay guys,

    I somehow fixed the problem with

    glBindTexture(GL_TEXTURE_2D, 0);

    Just before drawing my shapes.
  5. Replies
    3
    Views
    1,213

    Re: Wrong Color for 2D quad

    I tried disabling the lighting but it doesn't solve the problem.

    I am getting some clues. Check these 2 images:

    http://www.imagitiel.com/test/quad1.jpg
    http://www.imagitiel.com/test/quad2.jpg...
  6. Replies
    3
    Views
    1,213

    Wrong Color for 2D quad

    Hi There,

    I am trying to show a colored quad on the 2D screen with the following code:

    glColor3f(1.0f, 1.0f, 1.0f);

    glBegin(GL_QUADS);
    glVertex2f(300, 500); // vertex 1
    ...
Results 1 to 6 of 6