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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,048

    To help others that may land here via google. ...

    To help others that may land here via google. The code below indeed provides the best looking thick lines I could come up with. They still flake out a tiny bit when the thickness gets super high...
  2. Replies
    8
    Views
    1,048

    Resurrecting this. There solution indeed isn't...

    Resurrecting this. There solution indeed isn't correct. Now the line thickness isn't done in screen space correctly and varies depending on the viewing angle.
  3. Replies
    8
    Views
    1,048

    that did it. Man, it was so simple. No idea why...

    that did it. Man, it was so simple. No idea why I didn't try that earlier! :doh:
  4. Replies
    8
    Views
    1,048

    That must be whats happening. I think I tried...

    That must be whats happening. I think I tried that but coudln't get the thickness to work anymore cause it wasn't properly being done in screen space. Your solution looks a tad different though, so...
  5. Replies
    8
    Views
    1,048

    been looking at this for a few hours with...

    been looking at this for a few hours with absolutely no luck
    anyone??
  6. Replies
    8
    Views
    1,048

    Geom shader clipping issue - need help

    Hey guys.

    So I got wide lines /almost/ working in my core profile program. I followed the example here http://stackoverflow.com/questions/12758192/wide-lines-in-geometry-shader-behaves-oddly...
  7. interesting. I tried it the other day and I...

    interesting. I tried it the other day and I could've sworn that it wasn't working. Maybe lines > 1.0 + glsl version 150 won't work.

    Either way, I found these articles and I'm gonna use them to...
  8. Which goes back to my original argument, I...

    Which goes back to my original argument, I shouldn't have to break my back to get thick lines just because I want to support new GL features. In other words, imo, there is no good solution to...
  9. Can you elaborate? I'm targeting osx only where...

    Can you elaborate? I'm targeting osx only where I'm assuming 3.2 (and not higher, so I can't use geom shaders). Using compatability prevents me from being able to use shader language 150 isn't that...
  10. Smooth/think line rasterization in 3.2 core profile

    Hello

    Of all the deprecated features from 2.0 that I've been able to live with and mostly agree with, I got to say I strongly disagree with the decision to remove glLineWidth > 1.0 + smooth line...
  11. Replies
    1
    Views
    584

    I just realized that I can pre multiply the...

    I just realized that I can pre multiply the material color into each light on the host, effectively eliminating that whole block of code.
  12. Replies
    1
    Views
    584

    GLES 2 shader performance help

    Not sure why, hoping someone here with mobile shader experience can help. My performance boosts by 10-15 FPS when I remove this code. It must have something to do with iPad 2's GPU being a scalar...
  13. Replies
    1
    Views
    658

    Answered my on question. I wrote a benchmark with...

    Answered my on question. I wrote a benchmark with a for loop to replicate drawing a textured quad both NPOT and regular 500 times and saw no difference in FPS at all. Seems to be exactly the same...
  14. Replies
    1
    Views
    658

    NPOT texture performance on ES 2.0

    What kind of texture performance loss should I expect when using nonpower of two textures on OpenGL ES 2.0? Namely on an iPad 2 and up.
  15. Replies
    4
    Views
    1,496

    Very good points. On ES 2.0 however which I'm...

    Very good points. On ES 2.0 however which I'm targeting, there is only 1 color attachment allowed at a time.

    The original technique I had was using a glCopy* call to copy the rendered...
  16. Replies
    4
    Views
    1,496

    Ah I see. So it's similar to binding...

    Ah I see.

    So it's similar to binding individual VBOs vs a single VAO
  17. Replies
    4
    Views
    1,496

    Multiple FBOs or attachment swapping.

    Something dawned on me the other day.

    I've always been creating multiple FBOs when I want to have multiple rendering targets. Even if I'm not using them all at once. Then I realized, that you can...
  18. You're right. I was dividing by 4 like an idiot...

    You're right. I was dividing by 4 like an idiot and interpreting the limit as the number of components instead of vectors. I'll be giving this a try soon. I'll use preprocessor directives for...
  19. Big question. How fixed function opengl ES 1 is emulated using ES 2

    1177
    Okay, before you guys go thinking I asked an easy question in the title, read on…

    Apple claims in its documentation of the implement OpenGL ES 1.0 on modern hardware on top of OpenGL ES 2...
  20. answering my own question again...

    answering my own question again
    http://forum.openscenegraph.org/viewtopic.php?t=10001

    sigh. you guys sure aren't giving us anything for free with this core profile...
  21. Apple glEnableVertexAttribArray throws GL_INVALID_OPERATION

    Porting a legacy app to core profile. I believe I have everything set up correctly, all uniforms locations and vertex attributes properly bound ahead of time.

    Once again, apple appears to not be...
  22. Replies
    5
    Views
    1,858

    http://www.rastertek.com/dx11tut29.html I...

    http://www.rastertek.com/dx11tut29.html

    I found this, I think it's what I've been looking for
  23. Replies
    5
    Views
    1,858

    I appreciate the link, but Im interested in the...

    I appreciate the link, but Im interested in the SPECIFIC technique that I asked about above. I've landed here after spending a few hours trying to search the internet and many sites already without...
  24. Replies
    5
    Views
    1,858

    Man this forum is atrociously not mobile friendly...

    Man this forum is atrociously not mobile friendly

    Heres another example.
    http://youtu.be/J16_hI-Ym-A

    how the heck do they render the lookup texture for the water?
  25. Replies
    5
    Views
    3,029

    Re: 10.6.3 screwed up my shaders!

    update. it was X11. I installed latest XQuartz and colors are back.
    apple really should test their updates better.
Results 1 to 25 of 48
Page 1 of 2 1 2