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

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    7,106

    Re: OpenGL ES: Depth Buffer Problem (SOLVED)

    Done. Thx again.
  2. Replies
    9
    Views
    7,106

    Re: OpenGL ES: Depth Buffer Problem (SOLVED)

    Hello ZbufferR,

    It was exactly this. I only needed to set the Depth Buffer to the context.


    ...
    /*Set Depth Buffer to your context*/
    SDL_GLES_SetAttribute(SDL_GLES_DEPTH_SIZE, 24);
    ...
  3. Replies
    9
    Views
    7,106

    Re: OpenGL ES: Depth Buffer Problem

    I am suing SDL library to create OpenGL window.


    /* Init the SDL library, this provides graphics, audio, keyboard etc */
    result = SDL_Init(SDL_INIT_EVERYTHING);
    assert(result == 0);

    /*...
  4. Replies
    9
    Views
    7,106

    Re: OpenGL ES: Depth Buffer Problem

    Sorry. I don't understand what do you mean by context cation time.
  5. Replies
    9
    Views
    7,106

    Re: OpenGL ES: Depth Buffer Problem

    Might make sense to share the openGL code with you.

    My OpenGL ES 2.0 configuration:


    glEnable(GL_TEXTURE_2D);
    glGenTextures(1, &(programObjGlbl.textureObject));

    glEnable(GL_CULL_FACE);...
  6. Replies
    9
    Views
    7,106

    OpenGL ES: Depth Buffer Problem

    Hello,

    I am just starting to work with OpenGL ES and need some help. I am trying to load a .obj model into my game and have problems with how the the model renders. I narrowed it down to the depth...
Results 1 to 6 of 6