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: Dark Photon

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Main thing is to set a performance target. Once...

    Main thing is to set a performance target. Once you're fast enough, you can stop. And profiling is the key. You need to identify what your primary bottleneck is first. The CPU + GPU are a deeply...
  2. If you use the a compatibility profile (the...

    If you use the a compatibility profile (the default), you can send your data to the shaders using that same C++ code. You just need to compile/link/bind/setup your shader program first. The way...
  3. Websearch "depth of field" techniques. Possibly...

    Websearch "depth of field" techniques. Possibly in combination with "OpenGL". Also search "bokeh" possibly in combination with "pettineo". Lots of good stuff out there. The basic concept is that...
  4. Nikki_k's given you some good advice. Sounds...

    Nikki_k's given you some good advice. Sounds like you're bound by something other than GPU compute capacity. CPU, GPU memory, or something. Have you tried profiling your application and using that...
  5. You're right, that seems to be a key question. ...

    You're right, that seems to be a key question. The GL 4.4 core spec describes a primitive as: "a point, line segment, patch, or polygon". Yet primitive type includes things like triangle strips,...
  6. I'm sure no expert on side-effect...

    I'm sure no expert on side-effect synchronization, but from skimming ARB_shader_image_load_store, I don't see anything that guarantees that side-effect writes in a vertex shader will be synchronized...
  7. Who made your GPU? You probably need to download...

    Who made your GPU? You probably need to download drivers from them from that vendor's web site and install them?

    Provide information on which GPU you have and some folks here can probably give...
  8. If you mean eye-space instead of world-space (or...

    If you mean eye-space instead of world-space (or you have an identify viewing transform), I believe what you say ("What I expected to see is") should be the case except that the near/far values are...
  9. Replies
    5
    Views
    507

    Are you looking at virtual address space size, or...

    Are you looking at virtual address space size, or physical memory consumption? Your ATI number makes it sound like the former.
  10. So your input value is screen_mouse_position =...

    So your input value is screen_mouse_position = (X,Y,0)? In window coordinates, with the default glDepthRange setting, 0 = near clip plane. If you have a specific point "under" your mouse click that...
  11. Mostly. There is an index type (which is...

    Mostly. There is an index type (which is specified in the indexed draw call -- e.g. GL_UNSIGNED_SHORT, GL_UNSIGNED_INT, etc.), but there's no number of components ("size"), stride, normalized flag,...
  12. Replies
    6
    Views
    620

    The size of each element is...

    The size of each element is sizeof(odfaeg::Vertex), not sizeof(float).


    Just install the latest vendor-provided OpenGL driver version for your GPU (NVidia, AMD/ATI, Intel, etc.)
  13. Replies
    4
    Views
    493

    That depends on a lot of things. How you do it. ...

    That depends on a lot of things. How you do it. What frame time you've got available for it. What hardware/driver you've got, and its particular performance (cost of rebinding FBOs, etc.)


    ...
  14. Replies
    4
    Views
    493

    For legacy implementations/tutorials, websearch...

    For legacy implementations/tutorials, websearch "opengl accumulation buffer". You can of course implement this nowadays with off-screen FBOs however you desire.
  15. Well, if this Vala language is going to make you...

    Well, if this Vala language is going to make you deal with C/C++ compiler errors, it better expose a way to look a the generated C/C++ before compilation.

    If you look at it, you'll no doubt find...
  16. Replies
    6
    Views
    722

    That does seem odd. If you're fitting the shadow...

    That does seem odd. If you're fitting the shadow frustum to just that one object, then it shouldn't change size much if at all in that frustum.



    If the bsphere around an object is sufficiently...
  17. The latter. There's no right way to build a...

    The latter. There's no right way to build a rotation transform (or right order, if you're going to use euler angles). In fact you may build it without any euler angles involved at all. For...
  18. Replies
    6
    Views
    722

    Not sure exactly what you mean, but a couple...

    Not sure exactly what you mean, but a couple possibilities come to mind. Draw a picture with a big sphere, the eyepoint very close to the sphere, and the lines representing the edge of the frustum. ...
  19. Replies
    6
    Views
    722

    One way or another, with standard shadow mapping,...

    One way or another, with standard shadow mapping, all the objects which will be casting "dynamic" shadows in that spot light need to be in a shadow frustum of that shadow map. You can reduce the...
  20. Replies
    4
    Views
    468

    You've already got some good responses. Just to...

    You've already got some good responses. Just to add to that, for VAO just use a compatibility profile and never use VAOs if you don't want to. If you must use core, just gen and bind one VAO, and...
  21. If I understand your question correctly, yes.

    If I understand your question correctly, yes.
  22. I'm sorry. I don't understand your question.

    I'm sorry. I don't understand your question.
  23. Are you checking for framebuffer completeness and...

    Are you checking for framebuffer completeness and for GL errors? If not, do that first. Post a code snippet creating and setting up the texture(s) and FBO(s) for comment if unsure about what to do....
  24. Depends on around which axes you define your...

    Depends on around which axes you define your euler angles and the order you apply these component rotations. There's no one convention.

    Websearch it. It's out there.
  25. It sounds like someone/something is telling you...

    It sounds like someone/something is telling you this should be two steps. Who/what is stating that?

    You're saying:

    [M''] = [U]*[M]*[U]

    where M is an OpenCV matrix and U is a mating...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4