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

Page 1 of 5 1 2 3 4

Search: Search took 0.00 seconds.

  1. No. You use the fixed functionality pipeline. In...

    No.
    You use the fixed functionality pipeline. In the fixed function pipeline you will always take the fragment color from the highest enabled texture when rendering. The texcoords will be the last...
  2. Have you disabled textures before drawing the...

    Have you disabled textures before drawing the point? Otherwise you will try to sample texcoords from the texture, even when drawing a point or a line.
  3. Replies
    3
    Views
    292

    If you want good performance then immediate mode...

    If you want good performance then immediate mode (the glBegin ... glEnd stuff) is probably not what you want to do. It is old and deprecated, mainly because it is slow.
    If you want to improve...
  4. Thread: GLSL questions

    by Cornix
    Replies
    6
    Views
    423

    Why dont you just try it out? You have a...

    Why dont you just try it out? You have a compiler, just ask it what is allowed.
  5. Replies
    3
    Views
    321

    You can use the same shaders for various...

    You can use the same shaders for various rendering operations.
    If you want to show 1000 images but they all use the same kind of information you only need a single shader.

    You can also draw all...
  6. OpenGL is not responsible for creating windows....

    OpenGL is not responsible for creating windows. That is a platform dependent task which is usually done by a third party library. And just having multiple windows is not killing frame rates either....
  7. How about you just try it and see how the...

    How about you just try it and see how the performance is before making assumptions. You could even try different approaches and pick the one with the most promising results.
  8. How often do you need to remove these meshes? If...

    How often do you need to remove these meshes? If it isnt too often or you dont have too many meshes then simply rebuild the entire VBO from ground up.
    Uploading a few kb of data isnt that slow...
  9. Replies
    15
    Views
    913

    You could test if your depth testing is...

    You could test if your depth testing is initialized correctly by just drawing 2 lonely triangles over each other and see whether the correct one gets displayed.
  10. Replies
    7
    Views
    542

    Why should it not be? The developers make it for...

    Why should it not be?
    The developers make it for fun and their personal enjoyment and share their work with others. Not everybody wants to have money, some prefer personal satisfaction.
  11. Replies
    7
    Views
    542

    Perhaps you should instead look at a full blown...

    Perhaps you should instead look at a full blown engine like libGDX which will do these things for you. If you are a beginner it might be very though to do everything by scratch.
  12. Not everybody speaks english as their native...

    Not everybody speaks english as their native language, its a big world, it might very well be that you do not know what translation means.
  13. Maybe you should look up what the word...

    Maybe you should look up what the word "translation" means. Its movement. With glTranslate you can move your coordinate system on the x, y and z-axis. You are currently moving everything on the...
  14. Replies
    11
    Views
    1,270

    You can always use textures like an array.

    You can always use textures like an array.
  15. Replies
    4
    Views
    641

    You can always just try to see if the performance...

    You can always just try to see if the performance changes.
    By the way, shaders are compiled every time you start your application. This means that on different hardware the loop might not get...
  16. Replies
    4
    Views
    641

    My *guess* would be that a loop includes a...

    My *guess* would be that a loop includes a condition which needs to be evaluated. This can take its time and will be a lot of additional work to your GPU.
  17. Replies
    4
    Views
    564

    Or, alternatively, you could deactivate the...

    Or, alternatively, you could deactivate the culling of fron or back faces. This way your quads would be visible from either side.
  18. Replies
    19
    Views
    1,659

    Whoops, yes there actually IS not just one but...

    Whoops, yes there actually IS not just one but more typos in that sentence, I am sorry.
    This would be what I wanted to say:

    I cant understand how I could have screwed that up. I must have been...
  19. Replies
    19
    Views
    1,659

    There might be ways, but I simply uploaded them...

    There might be ways, but I simply uploaded them all to a VBO.
    Perhaps you could use geometry / tessalation shaders, but I never worked with those so I cant help you.
  20. Replies
    19
    Views
    1,659

    I tested with VBO's. You can simply test for...

    I tested with VBO's. You can simply test for yourself and compare the performance on your own hardware, this shouldnt be too hard to do.
    If you just want the shader output you can also use offscreen...
  21. Replies
    19
    Views
    1,659

    The fragment shader will run for every fragment...

    The fragment shader will run for every fragment (not pixels, its not 100% the same). The vertex shader will run for every vertex.
    If you have 2 triangles spanning the whole screen then your vertex...
  22. Replies
    2
    Views
    636

    OpenGL is not software. It is implemented by your...

    OpenGL is not software. It is implemented by your graphics card and the drivers for your graphics card.
    Either your card supports OpenGL 2.1 or it does not. If it doesnt there is nothing you can do...
  23. I remember reading that you should always call...

    I remember reading that you should always call glClear at least once a frame or modern graphics cards would drop in performance. I cant quite remember the article, but it had to do with certain...
  24. Replies
    3
    Views
    664

    Yes of course, everything I found worked. Are you...

    Yes of course, everything I found worked. Are you sure its the example? Perhaps you have made a small mistake at some point? Are you reading the error logs of the compiler and are you using debug...
  25. Replies
    3
    Views
    664

    Just google for examples of Fragment Shaders for...

    Just google for examples of Fragment Shaders for greyscale or Hue-Change. There are plenty of tutorials and examples, I can remember how I was looking for this about a year ago.
Results 1 to 25 of 103
Page 1 of 5 1 2 3 4