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

Search: Search took 0.00 seconds.

  1. glutKeyboardFunc takes 5 frames to update state

    Hi!
    I have the keyboard class that initialize the glutKeyboards functions. When I release a key, the program takes five frames to detect. I have another class that when I push the key 's', it add a...
  2. Problem glDrawElements using GL_LINE_LOOP...deformed result

    Hi!
    I try to render a mesh with GL_LINE_LOOP, but the result is deform:
    http://img13.imageshack.us/img13/6084/problempng.png

    This image show the vertex of the mesh and the indices:...
  3. Replies
    2
    Views
    700

    Im going to see if the program works if I use...

    Im going to see if the program works if I use GL_DYNAMIC_DRAW and glBufferSubData to change the data.
  4. Replies
    2
    Views
    700

    Doubt about initialize mesh

    Hi!
    If I change the value of the vertices from a mesh after call this code, Must I calling it again?:


    glGenVertexArrays(1, &BufferIds[0]);

    ExitOnGLError("ERROR: No se puede generar el...
  5. Replies
    3
    Views
    845

    It is the problem!!!! Thanks!!!

    It is the problem!!!! Thanks!!!
  6. Replies
    3
    Views
    845

    Loading image for texture problem

    I have a class with the Load texture that is responsible for loading an image and add the pixels of this to a variable char * pixels. Then, in the main class, Engine class, I have another method that...
  7. Use glGenTextures every time I load a Texture?

    Hi!
    If I have a texture class:


    Texture::Texture(){};

    Texture::~Texture()
    {
    glDeleteTextures(1, &ID);
    ExitOnGLError("ERROR: Could not destroy the textures");
Results 1 to 7 of 7