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: Ilian Dinev

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    347

    Try using glDrawElements with an appropriate...

    Try using glDrawElements with an appropriate indexlist.
    Try increasing the complexity of the fragment shader, (e.g by multiplying with one more uniform vec4) to see if the performance will continue...
  2. If you don't use nSight, I'd suggest you use a...

    If you don't use nSight, I'd suggest you use a fragment shader on a fullscreen triangle. (to avoid high primitive-setup costs, and <= 4 primitives per cycle setup, and transform-feedback...
  3. Replies
    22
    Views
    2,244

    The Xilinx ISE WebPack is available for linux,...

    The Xilinx ISE WebPack is available for linux, yes.
  4. Replies
    22
    Views
    2,244

    I am happy with:...

    I am happy with: http://www.amazon.co.uk/SainSmart-Cyclone-EP2C8Q208C8N-Development-Blaster/dp/B006CHFE7Y/ref=sr_1_1?ie=UTF8&qid=1366972772&sr=8-1&keywords=altera+fpga
    Most people prefer Xilinx, so:...
  5. Thanks for this tool! I have an immediate use...

    Thanks for this tool!
    I have an immediate use for it :D.

    Things to improve, but can live without them:
    - Keyboard shortcut to autosave+compile;
    - mark compile-error lines
  6. Replies
    17
    Views
    2,184

    I'd try something like: 1) remove all duplicate...

    I'd try something like:
    1) remove all duplicate vertices
    2) manually choose several triangles from the start of the intestine, which form a ring
    3) repeat until no triangles left:
    3.1) pick the...
  7. Replies
    3
    Views
    1,048

    Try vec2f=fract(texcoord.st*vec2(width,height)...

    Try
    vec2f=fract(texcoord.st*vec2(width,height) - 0.5f);

    Pixel center is {0,0} , so {-0.5,-0.5} is its bottom-left coord.
  8. Replies
    3
    Views
    874

    The modeler already gives you the normals per...

    The modeler already gives you the normals per face-vertex exactly the way you want them. No need to parse "s" yourself.....
  9. Replies
    3
    Views
    874

    You don't need to handle smoothing-groups. The...

    You don't need to handle smoothing-groups.
    The modelling app initially uses them to generate normals per face-vertex; later to subdivide (tesselate) just before raytracing.

    You only need to...
  10. The multisampling one seems invalid: to do any...

    The multisampling one seems invalid: to do any proper custom blending, you will have to do per-sample processing: fetch each individual texel sample, calculate, write one sample. Exactly the same...
  11. I don't see issues in adding this to core. In the...

    I don't see issues in adding this to core. In the worst case it's a glFlush() + added flushing of texture caches.
    But for most things, I think it will be slower than image_load_store. (could you...
  12. Could you test with this in the fragment shader:...

    Could you test with this in the fragment shader:


    layout(early_fragment_tests) in;
  13. Replies
    5
    Views
    1,468

    How do you check the value of y, what gpu and...

    How do you check the value of y, what gpu and drivers are you using, can you reproduce it on another platform?
    (it looks like a driver bug)
  14. The compiler will create a temporary...

    The compiler will create a temporary automatically, if it needs one.
  15. Distance between current mouse position and...

    Distance between current mouse position and previous mouse position. sqrt(dx*dx + dy*dy)
  16. Replies
    77
    Views
    13,366

    I bet you called glGetString(), though

    I bet you called glGetString(), though
  17. Easiest way: if the distance between A and B...

    Easiest way: if the distance between A and B (start and end position) is 50.3 pixels , draw 50+1 points. Each being slightly offset, the last one matching the end position.

    Harder way, supporting...
  18. Replies
    10
    Views
    3,000

    I think I'd go with a solution like: #ifdef...

    I think I'd go with a solution like:


    #ifdef GL_EXT_shadow_samplers
    #define SHADOW2DPROJ(tex,coord) shadow2DProjEXT( tex, coord );
    #define SHADOWSAMPLER(tex) uniform sampler2DShadow tex
    #else...
  19. Do a depth-only render with the objects being...

    Do a depth-only render with the objects being solid. You might need to add some depth-bias to the wireframe pass afterwards.
  20. Replies
    10
    Views
    3,000

    What about manual comparison of Z ? I think it...

    What about manual comparison of Z ? I think it should work, and furthermore not require that extension.
  21. Replies
    10
    Views
    3,000

    Things to try: Make sure filtering is...

    Things to try:
    Make sure filtering is GL_NEAREST, and set before the compare mode;
    Try doing the ref comparison manually.
    glTexParameterf instead of glTexParameteri, the enum handling might...
  22. Replies
    2
    Views
    1,291

    glDrawPixels(Width,Height, GL_LUMINANCE,...

    glDrawPixels(Width,Height, GL_LUMINANCE, GL_UNSIGNED_BYTE, Data);

    glDrawPixels(Width,Height, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, Data);


    http://www.opengl.org/sdk/docs/man/xhtml/glDrawPixels.xml
  23. Could you test agnuep's demo, that does exactly...

    Could you test agnuep's demo, that does exactly the same:

    http://rastergrid.com/blog/2010/02/instance-culling-using-geometry-shaders/

    On startup (without navigating through mouse/kb), it gets...
  24. Try glEnable(GL_RASTERIZER_DISCARD); during...

    Try
    glEnable(GL_RASTERIZER_DISCARD);
    during the transform-feedback.

    Your gpu isn't old, so cannot be plagued by GF8800-type geometry-shader slowness.
  25. The third option is fastest: attach everything...

    The third option is fastest:
    attach everything to the same fbo. (provided you have only one depth-buffer). Use glDrawBuffers() to switch around stuff. I think in most implementations the...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4