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
    303

    Thanks a lot, I'll look this way. I've never used...

    Thanks a lot, I'll look this way. I've never used Geometry Shader before, I have to look into this.
    Cathy L.
  2. Replies
    2
    Views
    303

    Automatically generate cubes

    Hello

    I want to draw a 3D structure made of 16x16x16 cubes. Not all of them must be drawn and each face of each cube may have a different texture (all the different square textures are in the same...
  3. Replies
    2
    Views
    356

    Thanks a lot Carsten, I should have known, but I...

    Thanks a lot Carsten, I should have known, but I have switched to OpenGL 3+ not that long ago and I still need to improve.
    Cathy L.
  4. Replies
    2
    Views
    356

    Very Basic: about resizing a window

    Hello
    I am just trying to texture a full openGL window (created with glfwCreateWindow). I have the simplest 2D shaders:

    VS

    #version 330 core

    layout(location = 0) in vec2 vPosition;...
  5. Replies
    2
    Views
    1,076

    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...
  6. Replies
    2
    Views
    628

    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...
  7. Replies
    2
    Views
    628

    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...
  8. Replies
    5
    Views
    1,553

    It works with GL_POINTS, thanks again!

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

    Good, I'll try! Thanks a lot

    Good, I'll try!
    Thanks a lot
  10. Replies
    5
    Views
    1,553

    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.
  11. Replies
    5
    Views
    1,553

    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...
  12. Thread: GPU memory

    by zedrummer
    Replies
    8
    Views
    2,301

    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.
  13. Thread: GPU memory

    by zedrummer
    Replies
    8
    Views
    2,301

    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...
  14. Thread: GPU memory

    by zedrummer
    Replies
    8
    Views
    2,301

    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...
  15. Replies
    3
    Views
    1,746

    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...
  16. Replies
    3
    Views
    1,746

    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 :-[
  17. Replies
    3
    Views
    1,746

    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 17 of 17