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.04 seconds.

  1. Replies
    8
    Views
    368

    No, it's for perspective only. For orthographic,...

    No, it's for perspective only. For orthographic, it's much simpler -- it's all linear mappings.
  2. Replies
    8
    Views
    368

    Yes. I mentioned that in that forum post. If...

    Yes. I mentioned that in that forum post. If you want one for Orthographic, it's very simple -- no non-linear funny-business going on -- just a bunch of axis-independent scales and offsets really. ...
  3. You wouldn't call both of these methods on the...

    You wouldn't call both of these methods on the same texture -- they both allocate texels (and optionally provide texel data). The second call on the same MIP would free the previous texels and...
  4. I'd run valgrind on your app. It'll catch many...

    I'd run valgrind on your app. It'll catch many memory abuses, and provide you a stack trace of exactly where the offending code is (and where the code it's operating on was allocated if heap memory).
  5. It would seem having Xinerama enabled is a no-no...

    It would seem having Xinerama enabled is a no-no if you want to use these extensions.
  6. Missing NV bindless extensions -- strange

    Any clue what would cause NV bindless extensions to not be made available by the driver on a GTX780 with supporting drivers?

    I just saw the darnest thing on a system equiped with a GeForce GTX780....
  7. Replies
    8
    Views
    368

    Well if you want hardware depth test to work...

    Well if you want hardware depth test to work properly, you really need a fixed-function depth buffer. Then in your lighting pass, you can reconstruct eye-space position from this. It's not hard,...
  8. Replies
    1
    Views
    174

    No, the bindings for indirect buffers are not...

    No, the bindings for indirect buffers are not stored in a VAO.

    In the OpenGL Specification, search for "Vertex Array Object State". This will take you directly to a table that defines what...
  9. Yes, querying values back from CPU to GPU is bad...

    Yes, querying values back from CPU to GPU is bad for performance and should be avoided (includes occlusion queries). You can use conditional rendering to possibly speed this up, but it depends on...
  10. I certainly hope that something along these lines...

    I certainly hope that something along these lines is in-works for OpenGL-NG.
  11. Think about it this way. There is a component of...

    Think about it this way. There is a component of the point's position that is parallel to the line and a component that is perpendicular. You can use a dot product of the two vectors to isolate...
  12. Replies
    9
    Views
    964

    Ok, after you description, I'm still struggling...

    Ok, after you description, I'm still struggling to get my head around exactly what you want to do, and what you hope to accomplish by it.

    So if I understand correctly, you don't want to render...
  13. Replies
    2
    Views
    331

    Assuming: * Multisampled FBO = Res in pixels =...

    Assuming:

    * Multisampled FBO = Res in pixels = WxH. multiple samples per pixel (e.g. 4)
    * Double-size FBO = Res in pixels = 2Wx2H, 1 sample per pixel

    Rendering to the former with multisample...
  14. Replies
    9
    Views
    964

    You can change the VIEWING transform such that...

    You can change the VIEWING transform such that the rasterization samples cover the area of your scene that you're interested in.

    However, I suspect that isn't what you want. It sounds like you...
  15. I would buzz out your component values with...

    I would buzz out your component values with isnan() and isinf(), just to make sure we don't have any funny business going on.

    Could be a driver bug.

    Also, typically when you want to fetch an...
  16. Replies
    2
    Views
    428

    Is this for skeletal animation? I'll answer...

    Is this for skeletal animation? I'll answer presuming it is. #2. You typically wouldn't do #1. It takes a lot of space -- much more than you need to reconstruct joint transforms for typical...
  17. No, I mean which technique: maximum intensity...

    No, I mean which technique: maximum intensity projection, multiplanar reformatting, 3D shaded surface (marching cubes/tetrahedra), segmentation, etc. I think you're just talking about rendering all...
  18. Replies
    4
    Views
    836

    Also while you're studying up, be sure to read up...

    Also while you're studying up, be sure to read up on the new GL extension:

    * {GL|GLX|WGL}_ARB_context_flush_control

    just released. Good to know about this even if you decide you don't need it.
  19. Not having seen the full source, it's possible...

    Not having seen the full source, it's possible they are obtaining translucency from somewhere else at a higher level. But from what you quoted (including blend equation), we're not seeing that here....
  20. Quick-scanning your code, it looks like your...

    Quick-scanning your code, it looks like your fragment alpha is going to be determined by the alpha of the texture, which is always set to 100% opaque (255).

    Did I miss something?
  21. The shadow samplers allow you to utilize...

    The shadow samplers allow you to utilize hardware-accelerated depth comparisons and filtering (e.g. PCF, which is "free" on some GPUs). In other words, with the shadow samplers, the "in shadow"...
  22. Replies
    2
    Views
    587

    Sounds like you have a plane equation in...

    Sounds like you have a plane equation in world-space (Ax+By+Cz+D = 0), and you need it in eye-space. Well (A,B,C) is the plane normal in world space, which we can transform from world-to-eye space...
  23. Replies
    7
    Views
    692

    That typically means a memory access error. You...

    That typically means a memory access error. You could be passing a bad address, offset, or size to OpenGL, or you don't have VBOs enabled properly.

    Grab a working VBO tutorial and see how they do...
  24. Excellent! Thanks! Downloading now.

    Excellent! Thanks! Downloading now.
  25. Replies
    4
    Views
    542

    Ok, we'll assume that. Ok, I see where...

    Ok, we'll assume that.



    Ok, I see where you're going. Yeah, if you want world space in your shader, you have to provide coords to the shader in world space or provide a transform to put your...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4