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

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    185

    For a broad definition of "any shader", the old...

    For a broad definition of "any shader", the old ARB assembly shaders allowed fixed pipeline fog by using one of the "option ARB_fog_*" options.
  2. Is this the same problem as here:...

    Is this the same problem as here: https://www.opengl.org/discussion_boards/showthread.php/200373-OpenGL-second-Texture-is-not-showing-up-%28OpenGL-Texture-Unit%29

    Can you confirm please, because...
  3. Assuming your hardware supports multitexture - it...

    Assuming your hardware supports multitexture - it sounds like you're using the fixed pipeline and didn't do glEnable (GL_TEXTURE_2D) after each glActiveTexture.
  4. Thread: Seeking advice

    by mhagain
    Replies
    8
    Views
    322

    Via Windows Remote Desktop? This is a known...

    Via Windows Remote Desktop? This is a known limitation of Remote Desktop - you'll never get OpenGL higher than the built-in 1.1 software version.

    It would have been useful, and saved other...
  5. Thread: Seeking advice

    by mhagain
    Replies
    8
    Views
    322

    Does it give any specific error message when it...

    Does it give any specific error message when it crashes, and if so, what is the text of the error message? These things are helpful for diagnosing possible causes.
  6. Thread: Seeking advice

    by mhagain
    Replies
    8
    Views
    322

    A good first port of call is to cross-check with...

    A good first port of call is to cross-check with the OpenGL Extensions Viewer: http://realtech-vr.com/admin/glview

    This will do a fairly deep probe of your OpenGL capabilities and confirm whether...
  7. glViewport in the resize function is a...

    glViewport in the resize function is a micro-optimization that you sometimes see in tutorials. There's no reason to not just call it every frame - you won't even notice a performance difference.
    ...
  8. This will actually draw nothing: glBegin(...

    This will actually draw nothing:
    glBegin( GL_LINES);
    glVertex3d( 0, 0, 0);
    glVertex3d( 0, 0, 0);
    glEnd();
  9. Replies
    19
    Views
    682

    Yeah, whichever way you do it, getting the depth...

    Yeah, whichever way you do it, getting the depth buffer from the GPU to the CPU is going to involve a pipeline stall. Size of the depth buffer is not going to be as important as the stall, so...
  10. Replies
    19
    Views
    682

    The other thing to watch out for with...

    The other thing to watch out for with glReadPixels is that if it needs to do a format conversion during the read it will kill your performance (not that glReadPixels is fast to begin with). We...
  11. 0 is a valid value.

    0 is a valid value.
  12. Replies
    19
    Views
    682

    OK, quite a few problems with your code. First...

    OK, quite a few problems with your code.

    First of all, you are not actually using an FBO - you're using a PBO - a Pixel Buffer Object. That's not a code problem, it's terminology, but it's...
  13. If we look for occurrances of the word...

    If we look for occurrances of the word "implementation" on the link I gave you, we see:
    And:
    The full OpenGL 2.0 specification is at...
  14. Replies
    5
    Views
    220

    On modern core OpenGL contexts you must use a...

    On modern core OpenGL contexts you must use a sized internalFormat; in other words, use GL_RGBA8 rather than GL_RGBA.
  15. https://www.khronos.org/registry/OpenGL-Refpages/e...

    https://www.khronos.org/registry/OpenGL-Refpages/es3.0/html/glPolygonOffset.xhtml

    Polygon offset is allowed be implementation-dependent. You can't rely on it working the same on all devices.
  16. Replies
    8
    Views
    453

    And ensure that it's the same calculations as...

    And ensure that it's the same calculations as well.

    For example, a common optimization might be to precalculate the MVP matrix on the CPU. If some passes use this precalculated MVP whereas other...
  17. Replies
    10
    Views
    607

    There is no link to download software because...

    There is no link to download software because OpenGL is not software. Which you have already been told.
  18. Replies
    10
    Views
    607

    You do have a graphics card in your computer,...

    You do have a graphics card in your computer, when it's an integrated one (like an Intel) or whether it's a dedicated one (like an NV or AMD). Otherwise you would not be able to see anything on your...
  19. Replies
    10
    Views
    607

    OpenGL is not software, you don't download...

    OpenGL is not software, you don't download OpenGL.

    Just install the drivers for your graphics card.
  20. OS is not relevant. What's your graphics...

    OS is not relevant. What's your graphics hardware?
  21. Because glfwPollEvents is for more than just...

    Because glfwPollEvents is for more than just keyboard input.


    The function is not called. All that this does is register a callback with GLFW. GLFW internals will call the function at an...
  22. Replies
    5
    Views
    469

    At this stage I also have to mention the dreaded...

    At this stage I also have to mention the dreaded unbinding.

    Simplified, what goes on inside a GL driver when you issue a draw call looks something like this:
    if (StateHasChanged)
    {
    // this...
  23. Replies
    5
    Views
    469

    What you've done wrong is make the classic OO...

    What you've done wrong is make the classic OO mistake of having each object maintain it's own GL state and GL objects, and be responsible for drawing itself. This approach just doesn't scale, leads...
  24. Have you looked at the Quake source code? It...

    Have you looked at the Quake source code? It might be a helpful reference. https://github.com/id-Software/Quake/blob/master/WinQuake/gl_model.c#L1489
  25. Replies
    5
    Views
    809

    It has been explained, multiple times, but it...

    It has been explained, multiple times, but it always comes up again. I believe it's a combination of two factors: the word "open" in the name (which is actually nothing whatsoever to do with open...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4