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

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    852

    Simple (not for me) rotation question

    Hello

    If I want to rotate a mesh around a point (x,y,z) and the axis of the rotation is oriented by the vertex (vx,vy,vz), how can I get the matrix of this rotation, please? I use GLM in cas there...
  2. Replies
    2
    Views
    464

    Ok so here are the results I got from internet...

    Ok so here are the results I got from internet and from my own experience:

    1/ If you are going to map different buffers, it's better to glMapBuffer all of them at once, then sending/receiving...
  3. Replies
    2
    Views
    464

    Mapping buffers optimisations

    Hello

    1/ Is there any speed improvement in using glMapBufferRange rather than
    glMapBuffer, considering that the transferred datas will be the same after?

    2/ Let's say that I have a 2048x2048...
  4. Replies
    5
    Views
    1,306

    It works with GL_POINTS, thanks again!

    It works with GL_POINTS, thanks again!
  5. Replies
    5
    Views
    1,306

    Good, I'll try! Thanks a lot

    Good, I'll try!
    Thanks a lot
  6. Replies
    5
    Views
    1,306

    Ok I'm gonna try, thanks a lot! At least you...

    Ok I'm gonna try, thanks a lot!
    At least you validate what I said about gl_Position, that was my main interest.
  7. Replies
    5
    Views
    1,306

    GLSL simple question

    Hello

    If I understand well, in the vertex shader, the gl_Position built-in variable should get a clip-space value, that means a value between [-1,-1,-1,1] and [1,1,1,1].

    So if my vertex shader...
  8. Thread: GPU memory

    by zedrummer
    Replies
    8
    Views
    1,864

    Ok thank you all, that is clear. I'm gonna google...

    Ok thank you all, that is clear. I'm gonna google about adapting content with computer specs.
    Cathy L.
  9. Thread: GPU memory

    by zedrummer
    Replies
    8
    Views
    1,864

    Ok that is what I wanted to know: so for the...

    Ok that is what I wanted to know: so for the moment not all the drivers will switch to main memory with gl(xxxxx)buffer calls if not enough dedicated graphics memory is available. So every program...
  10. Thread: GPU memory

    by zedrummer
    Replies
    8
    Views
    1,864

    GPU memory

    Hello
    If I try to get GPU memory for VBO, do I need to consider the case when the GPU is out of memory or glGetBuffers/glBindBuffer/glBufferData may use main memory if the GPU is OOM, so this is...
  11. Replies
    3
    Views
    1,442

    Hello Thanks for your answer. I'm switching old...

    Hello
    Thanks for your answer.
    I'm switching old OpenGL 1 code to 3.3 and I didn't know that GL_LUMINANCE/8 was deprecated. Thanks to you, I discovered that. Now googling around, I found that the...
  12. Replies
    3
    Views
    1,442

    Oops that's not the right place for this post,...

    Oops that's not the right place for this post, sorry for that, could anybody move it? Thanks ans sorry again :-[
  13. Replies
    3
    Views
    1,442

    3D texture and GL_LUMINANCE8

    Hello

    With the code:


    glTexImage3D(GL_TEXTURE_2D_ARRAY_EXT,0,GL_LUMINANCE8,512,512,2,0,GL_LUMINANCE,GL_UNSIGNED_BYTE,tex2Darray);

    (tex2Darray pointing to a GLubyte array of the right...
Results 1 to 13 of 13