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. Replies
    6
    Views
    452

    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.)
  2. Replies
    4
    Views
    379

    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.)


    ...
  3. Replies
    4
    Views
    379

    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.
  4. 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...
  5. Replies
    6
    Views
    612

    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...
  6. 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...
  7. Replies
    6
    Views
    612

    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. ...
  8. Replies
    6
    Views
    612

    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...
  9. Replies
    4
    Views
    400

    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...
  10. If I understand your question correctly, yes.

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

    I'm sorry. I don't understand your question.
  12. 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....
  13. 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.
  14. 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...
  15. OpenCV: *...

    OpenCV:
    * http://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/OWENS/LECT9/node2.html

    OpenGL:
    * http://www.gamerendering.com/2008/10/05/clip-space/

    So yep. Negating Y and Z seems to make...
  16. Yes. This is the UVW-to-XYZ basis transform...

    Yes. This is the UVW-to-XYZ basis transform (where X, Y, and Z are the UVW vectors expressed in the XYZ basis).

    Of course if you want the XYZ-to-UVW transform instead, you want the inverse (if...
  17. I just rechecked, and you're right. But yet I...

    I just rechecked, and you're right. But yet I was definitely getting a bunch of errors out of this code whining about inlines not supported in shaders. I used perl to search/replace all the "inline...
  18. Replies
    4
    Views
    517

    Pipelines have been long optimized for indexed...

    Pipelines have been long optimized for indexed triangles, but unless there's some odd driver bug, I wouldn't expect to see DrawArrays in your circumstance being less efficient. Since it's easy, I...
  19. Glad you got it figured out!

    Glad you got it figured out!
  20. Downloaded Cyril's OIT demo from here: *...

    Downloaded Cyril's OIT demo from here:

    * OpenGL 4.0+ ABuffer V2.0: Linked lists of fragment pages

    Specifically, the original version that doesn't support AMD (the 2nd one allegedly does).
    ...
  21. Are you doing scattered writes? If so, figure...

    Are you doing scattered writes? If so, figure out how you can do sequential writes. If you have to, you can do scattered reads with sequential writes in order later to put things right.

    Also...
  22. Wait. NV bindless "is" supported on Fermi cards....

    Wait. NV bindless "is" supported on Fermi cards. In fact, it's even supported on cards that are pre-Fermi all the way back to at least GeForce 8.



    Before you jump to techniques, it sounds...
  23. Yeah, probably so. Running Linux with GCC 4.8.1...

    Yeah, probably so. Running Linux with GCC 4.8.1 here.
  24. Hmm. On NVidia, albeit in a geometry shader not...

    Hmm. On NVidia, albeit in a geometry shader not a compute shader, this has been working for me for quite a while for addressing an atomic located at a specified offset into a buffer:


    #...
  25. Run a memchecker on it. If you do, I think...

    Run a memchecker on it. If you do, I think you'll find it's operatoring on unitialized values. In fact, in your display function the pol_point# vars are coming back with garbage elements (NaNs,...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4