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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Apple's OpenGL support is a bit odd. They do...

    Apple's OpenGL support is a bit odd.

    They do support GL 4.1 - but only as core profile. If you need ANY compatibility features you will be stuck with 2.1.
    And since the core profile was...
  2. Sadly, you have to find a way to work around the...

    Sadly, you have to find a way to work around the buffer upload bottleneck. I had a similar issue, namely that frequent buffer uploads offer utterly terrible performance across the board with all...
  3. Just for the record: On NVidia I get a report...

    Just for the record:

    On NVidia I get a report of approx. 250 handles being used when starting an application that opens a GL context. It seems to be an issue with AMD's driver. But as long as all...
  4. Yeah, I saw that and on NVidia it's certainly...

    Yeah, I saw that and on NVidia it's certainly true. I still wonder what's up with Intel here, does it just silently fail if the uniform block gets too large or is the returned info bogus?
  5. What is GL_MAX_UNIFORM_BLOCK_SIZE being measured in?

    I'm not sure based on my observations. Is it in bytes or in uniforms in the buffer?

    On NVidia it looks like bytes, I get a return value of 65536, and I can't define a vec4 array with 4096 entries...
  6. Replies
    1
    Views
    327

    That card is still based on the older Fermi...

    That card is still based on the older Fermi architecture which does not support this extension.
  7. Replies
    0
    Views
    228

    Are uniform arrays broken on AMD?

    Recently I have received some bug reports concerning uniform arrays on AMD cards.

    The array is declared as follows in the vertex shader:

    uniform float VBData[100];

    Uploads are done with:
    ...
  8. Yes, the amount of data is the same, but you are...

    Yes, the amount of data is the same, but you are taking a detour getting it to where it needs to be. Of course that takes longer because there's an additional (most likely GPU_internal - depending on...
  9. Buffer or not, you still need to transfer all the...

    Buffer or not, you still need to transfer all the data from the CPU to the GPU. That costs time.

    I once had a similar problem with a larger set of textures being constantly changed and updated....
  10. These questions are impossible to answer without...

    These questions are impossible to answer without seeing the software.

    My guess is that the problem has nothing to do with 3D hardware performance but with problems with the CPU coding that slows...
  11. If I understand the code correctly you allocate...

    If I understand the code correctly you allocate x*3 entries for your color array but then copy x*4 values, accessing undefined memory.
  12. In short: It doesn't matter. You clear the...

    In short: It doesn't matter.

    You clear the framebuffer once each frame, in overall performance the difference is close to immeasurable. I think ultimately both functions use the same hardware...
  13. Replies
    6
    Views
    940

    Of course not with quads. Quads are not part of...

    Of course not with quads. Quads are not part of modern OpenGL, they have been deprecated since 3.0.
  14. Replies
    7
    Views
    970

    Putting glewExperimental=TRUE; before...

    Putting

    glewExperimental=TRUE;


    before the call to glewInit will make it ignore the extension string and try to initialize everything it has. The entire library is a cruel joke that operates...
  15. Replies
    7
    Views
    970

    Nevermind, I already found something myself. ...

    Nevermind, I already found something myself.

    Still, are those GLEW guys complete idiots or what, still insisting on making their library depend on a deprecated feature? I don't get it.
  16. Replies
    7
    Views
    970

    GLEW and the core profile

    So today I was finally ready to switch over my application to a core profile - and I got a crash.

    Upon investigation I noticed that GLEW doesn't seem to retrieve any functions for vertex array...
  17. Replies
    2
    Views
    362

    Try binding the texture before setting the...

    Try binding the texture before setting the clamping mode and the texture filter setting.
  18. Replies
    0
    Views
    334

    About matrix math libraries

    After doing some research about this subject I started to wonder:

    Aren't there any simple, low-weight and flexible matrix math libraries out there that are tailored for use with 3D rendering?
    ...
  19. Replies
    40
    Views
    6,432

    Correct. But before defining 'the best way' we...

    Correct. But before defining 'the best way' we first need to define precisely what a binary shader format is supposed to achieve.

    I think your main concern is compilation time, right?
    If you ask...
  20. Thread: LoadGL.h

    by Nikki_k
    Replies
    6
    Views
    870

    Yes, precisely. I guess you...

    Yes, precisely.




    [/quote]

    I guess you never had to deal with really large projects, maintained by a group of people, containing code by other people that are no longer at yout disposal to...
  21. Thread: LoadGL.h

    by Nikki_k
    Replies
    6
    Views
    870

    Yes there is! How else would you ensure that...

    Yes there is!

    How else would you ensure that you don't accidentally use some non-core features that may cause hard to track down runtime errors? I'd rather have those flagged at compile time!
  22. Replies
    14
    Views
    2,193

    What about your shader? After all that's where...

    What about your shader? After all that's where the real work is done.
  23. Are you certain it's a shader problem and not...

    Are you certain it's a shader problem and not something with the setup in your C code?

    If you are using a core profile it may be something simple as forgetting to set a vertex array object. I had...
  24. Replies
    17
    Views
    3,929

    Of course the uniform array changes! For each...

    Of course the uniform array changes! For each draw call it will contain the vertices that were generated.
    It's just, the performance of glUniform1fv is what I'd expect in this scenario. It's roughly...
  25. Replies
    17
    Views
    3,929

    It's just uploading data, no change of vertex...

    It's just uploading data, no change of vertex state.

    The buffer format is 5 floats per vertex: x, y, z, s, t.

    I don't use UBO, btw., just a plain, simple uniform array with 100 floats, enough...
Results 1 to 25 of 46
Page 1 of 2 1 2