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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. I'm also having trouble with this. If I compile...

    I'm also having trouble with this. If I compile the shaders at startup I don't catch all the states that's probably in the "shader key" and I get bad performance.
    Even if I let the program run a...
  2. Replies
    8
    Views
    1,538

    I tried 320.18 again and this time it worked...

    I tried 320.18 again and this time it worked perfectly...:confused:.
    I haven't touched my program/game since last time.
    Maybe it has something to do with some internal shader-caching that needs to...
  3. Replies
    20
    Views
    1,795

    Well it seems that you know what your're talking...

    Well it seems that you know what your're talking about.
    Just one question... how do you test that normal is zero?
  4. Replies
    20
    Views
    1,795

    What texture format do you have for your...

    What texture format do you have for your position-buffer?
  5. Replies
    20
    Views
    1,795

    Well it could be anything but when I have similar...

    Well it could be anything but when I have similar problems I usually render the values from those buffers to get a visual view of the content.
    result = max( vec3( 0.0 ), normal.xyz );
    ...and so on....
  6. Replies
    20
    Views
    1,795

    Yes its good. Because when sampling on the edge...

    Yes its good.
    Because when sampling on the edge of the mountain its important to not read the pixels that belonging to the sky, and with linear sampling you do just that.
  7. Replies
    20
    Views
    1,795

    Are you using nearest/point sampling when reading...

    Are you using nearest/point sampling when reading from those textures?
  8. Replies
    8
    Views
    1,538

    Thanks for the help. The problem is that it...

    Thanks for the help.
    The problem is that it works perfectly with other versions so before digging deep I have to ask others, because it could be a driver thing.
    I switched back to 320.00(beta) and...
  9. Replies
    8
    Views
    1,538

    I forgot to say that I'm running 4.2 core...

    I forgot to say that I'm running 4.2 core version.
    The problem also exists in debug-context, and I get no errors from that.
  10. Replies
    8
    Views
    1,538

    Well I get the feeling that I'm alone with this...

    Well I get the feeling that I'm alone with this problem ;).
    The scenes are also rather "heavy" with lots of shaders, textures and so on.
    I don't think I have this problem in simple scenes, but it...
  11. Replies
    8
    Views
    1,538

    Performance problem between 320.00 and 320.18

    Anyone else experienced performance slowdown in this case?
    Personally I have a 4x(fps) slowdown. Every other version have worked perfectly until 320.18.

    Win7(64),gtx580
  12. Replies
    3
    Views
    1,210

    Do you mean eigen-vectors that defines the...

    Do you mean eigen-vectors that defines the orientation of the box that minimizes the volume wich enclosing the point cloud?
  13. Replies
    2
    Views
    910

    There is also this:...

    There is also this:
    http://www.matthiasmueller.info/publications/FTLHairFur.pdf
  14. Replies
    9
    Views
    2,120

    Try GL_RGB32F as internalformat for...

    Try GL_RGB32F as internalformat for glTexStorage2D.
  15. Thread: glReadPixels

    by Ludde
    Replies
    4
    Views
    1,755

    Maybe you are missing the "-1" in:...

    Maybe you are missing the "-1" in:
    glReadPixels(x, viewport[3] - y, 1, 1, GL_RGB, GL_UNSIGNED_BYTE, pixel);
    Try:
    glReadPixels(x, viewport[3] - y - 1, 1, 1, GL_RGB, GL_UNSIGNED_BYTE, pixel);
  16. Replies
    13
    Views
    3,094

    You are sending in "(GLvoid *)0" into...

    You are sending in "(GLvoid *)0" into glDrawElements, do you use buffer objects?
    If not then you should pass in "indices" instead.
  17. Thread: Teaching OpenGL

    by Ludde
    Replies
    43
    Views
    12,763

    Completely agree

    Completely agree
  18. Replies
    4
    Views
    1,780

    This link describes a scenario that looks like...

    This link describes a scenario that looks like yours.
    http://forum-archive.developer.nvidia.com/index.php?showtopic=6720&mode=threaded&pid=21223

    Regarding PBO and orphaning, its just that you...
  19. Replies
    4
    Views
    1,780

    Perhaps using PBO with orphaning might help.

    Perhaps using PBO with orphaning might help.
  20. Replies
    3
    Views
    1,493

    But maybe a 4/3 ratio...

    But maybe a 4/3 ratio...
  21. Re: Bad performance (possibly FBO related) on NVIDIA

    Have you tested with multiple FBO:s, one for each surface?
  22. Replies
    6
    Views
    2,085

    Re: Center Of Mass Rigid Body

    You could look at an implementation directly:
    http://www.cs.berkeley.edu/~jfc/mirtich/massProps.html
  23. Replies
    6
    Views
    2,085

    Re: Center Of Mass Rigid Body

    http://www.multires.caltech.edu/teaching...rtich96fast.pdf
  24. Replies
    2
    Views
    936

    Re: GLSL texture data format

    Declare the sampler as "uniform usampler2D myTexture"
  25. Replies
    5
    Views
    941

    Re: Overlapping creates massive slow down

    What's the performance when you disable blending?
Results 1 to 25 of 38
Page 1 of 2 1 2