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

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    505

    GLEW is designed with some very wrong assumptions...

    GLEW is designed with some very wrong assumptions and it doesn't seem that it will be fixed anytime soon.

    The problem you encountered is that GLEW only looks for the extensions string. But in core...
  2. There is GL_EXT_framebuffer_multisample...

    There is GL_EXT_framebuffer_multisample which builds on GL_EXT_framebuffer_object.
    I don't know the exact difference from this EXT versions to the newer ARB versions. But according to the specs they...
  3. Replies
    2
    Views
    315

    Yes you can directly write your depth value to...

    Yes you can directly write your depth value to gl_FragDepth in the fragment shader.
    But that will disable HyperZ/Hierarchical Z-Buffering. That should not be a performance problem if you create a...
  4. Replies
    4
    Views
    405

    You can just run a non core profile. I think...

    You can just run a non core profile. I think nvidia drivers will let you use a core profile without any VAOs. That is not standard conform but just there way to say "fuck VAOs".
    malexander already...
  5. Take a look at this for windows:...

    Take a look at this for windows:
    http://msdn.microsoft.com/en-us/library/windows/desktop/dd374390%28v=vs.85%29.aspx

    SDL2 also has support for shared OpenGL context. So you can use it or at last...
  6. Replies
    4
    Views
    574

    Seeing it in game like Crysis3, I actually like...

    Seeing it in game like Crysis3, I actually like 2xMSAA with SMAA. Its called SMAA T2.
    I also like the temporal AA that tesseract uses. (its free oss, so just test it)
  7. The only real difference I know about is the...

    The only real difference I know about is the buffer location. Meaning Vram or System Memory. (In case of APUs there is only System memory)
    Modern drivers most likely also ignore your usage hint...
  8. Replies
    2
    Views
    358

    Yes there is. Its called z-buffer or in OpenGL...

    Yes there is. Its called z-buffer or in OpenGL depth buffer

    Here for basic understanding: http://en.wikipedia.org/wiki/Z-buffering
    And here about the OpenGL variant:...
  9. OpenGL 3.2 brings everything you need to use...

    OpenGL 3.2 brings everything you need to use layered rendering. The geometry shader is core in 3.2. The rest you need is core in 3.0.
    You also could bind the layers separately onto the FBO. But...
  10. If you render the images, the most efficient way...

    If you render the images, the most efficient way would be to render directly into the 2d array. You just need a very simple geometry shader that sets gl_Layer​ via uniform value.
    Or you can use...
  11. Replies
    10
    Views
    1,535

    I think sfml (http://www.sfml-dev.org/) will do...

    I think sfml will do what you are looking for. Its a C++ library that manages a lot of basic stuff like window initiating/management, user input and also basic 2d drawing functions.
  12. GL_FLOAT_VEC3 is simply not a valid value for...

    GL_FLOAT_VEC3 is simply not a valid value for glVertexAttribPointer.

    You just have to converte the values you get from glGetActiveAttrib to values that glVertexAttribPointer takes.


    void...
  13. Thread: VAO in GL4.x?

    by Osbios
    Replies
    2
    Views
    704

    Apparently AMD drivers like VAOs way more then...

    Apparently AMD drivers like VAOs way more then nvidia. Nvidia goes so far to still support the 0 VAO even in core. But it seems I don't need to care about them anymore!

    According to valves report...
  14. One of the reasons I hate GL_ARB_buffer_storage...

    One of the reasons I hate GL_ARB_buffer_storage is that you can't specify the memory location except for the stupid hint.
    If you could it would be easy to use one system memory buffer, access it...
  15. Thread: VAO in GL4.x?

    by Osbios
    Replies
    2
    Views
    704

    VAO in GL4.x?

    So currently I try to get a overview of all the ways to input vertex data layouts. And I still don't know how much to use or avoid VAOs.
    Because I try to make a class with a unified interface. I...
  16. Replies
    2
    Views
    574

    Sharing contexts only works in the same process....

    Sharing contexts only works in the same process.

    See: http://msdn.microsoft.com/en-us/library/windows/desktop/dd374390%28v=vs.85%29.aspx
    Quote: "You can only share display lists with rendering...
  17. Replies
    2
    Views
    614

    1. If you compile a 64bit program you get all the...

    1. If you compile a 64bit program you get all the perks of a bigger address space. But 0.7GiB should not be a problem on 32bit.
    2. Note that buffers are server side but that does not mean they are...
  18. Replies
    8
    Views
    1,619

    Why using mapping and not glGetBufferSubData?...

    Why using mapping and not glGetBufferSubData? Mapping on AMD/NV suffers of app/driver thread synchronization.

    Or take a look at buffer storage with permanent mapping. I'm not sure, but I suspect...
  19. AMD drivers still do not support buffer storage....

    AMD drivers still do not support buffer storage. Therefore I did not have a chance to actually play around with it. This is how far I got with my understanding:

    On nvidia and amd mapping is a...
  20. Thread: basic fbo issue

    by Osbios
    Replies
    1
    Views
    479

    I saw two things, did not test the code. This:...

    I saw two things, did not test the code.

    This:

    glTexImage2D(GL_TEXTURE_2D, //target
    1, //level
    GL_RGBA8, //internalformat
    winWidth, //width...
  21. Replies
    3
    Views
    800

    Looks like a simple parameter mix-up to me:...

    Looks like a simple parameter mix-up to me:
    glGetInternalformativ(GLenum target​, GLenum internalformat​, GLenum pname​, GLsizei bufSize​, GLint *params​);
    ->
    glGetInternalformativ(GL_TEXTURE_3D,...
  22. Thread: glDrawElements

    by Osbios
    Replies
    5
    Views
    850

    With that definition glBegin also has a different...

    With that definition glBegin also has a different default behaviour in core profile. ;)
  23. Replies
    8
    Views
    1,139

    With only one component in your texture you could...

    With only one component in your texture you could use textureGather (ARB_texture_gather) to sample 4 values with one sample.
  24. Thread: glDrawElements

    by Osbios
    Replies
    5
    Views
    850

    glDrawElements and other commands can work on...

    glDrawElements and other commands can work on Vertex Buffers (Always system memory) and Vertex Buffer Objects (Can be in vram).
    Vertex Buffers are the default mode of operation, where the pointer...
  25. glWriteBuffer/glWriteBuffers/glReadBuffer are...

    glWriteBuffer/glWriteBuffers/glReadBuffer are global states and are not bound to framebuffer objects.
Results 1 to 25 of 60
Page 1 of 3 1 2 3