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

    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.
  3. 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....
  4. 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?
  5. 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"...
  6. Replies
    1
    Views
    215

    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...
  7. Replies
    7
    Views
    373

    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...
  8. Excellent! Thanks! Downloading now.

    Excellent! Thanks! Downloading now.
  9. Replies
    4
    Views
    270

    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...
  10. Replies
    4
    Views
    270

    Hold up just a second. First, what are you doing...

    Hold up just a second. First, what are you doing with the transpose of the gl_NormalMatrix. When you use gl_NormalMatrix to transform normals from OBJECT-SPACE to EYE-SPACE, you just apply it...
  11. Replies
    1
    Views
    177

    Just tried it, cross-compiling GLSL to NV...

    Just tried it, cross-compiling GLSL to NV assembly (gp5vp profile), and it looks like what you say is the case. mat4x3 takes 4 uniform slots. mat3x4 takes 3. Which makes intuitive sense. GLSL is...
  12. Vertex cache optimization is still very relevant,...

    Vertex cache optimization is still very relevant, but the main thing that's changed (AFAIK) is there is no longer dedicated memory for the post-T&L (post-vertex shader) vertex cache on the GPU. ...
  13. It depends on your hardware. You're trading...

    It depends on your hardware. You're trading culling cost (typically CPU) against large batch sizes (typically GPU, though batch dispatch overhead matters if the batch is too small). Best bet: test...
  14. Replies
    1
    Views
    223

    You shouldn't have to do anything special for...

    You shouldn't have to do anything special for synchronization so, barring a bug in your driver, I'd suspect a bug in your code or something odd in the window manager configuration for your code.Y
    ...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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,...
  20. 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...
  21. 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...
  22. 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...
  23. Replies
    5
    Views
    754

    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.
  24. 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...
  25. 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,...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4