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

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    3,271

    You are totally right about...

    You are totally right about glBindAttribLocation(). The problem was weird when I changed vec3 Position to vec4 Position it worked ! No idea why is it so . I will also try to avoid mixing...
  2. Replies
    5
    Views
    3,271

    You are totally right about...

    You are totally right about glBindAttribLocation(). The problem was weird when I changed vec3 Position to vec4 Position it worked ! No idea why is it so . I will also try to avoid mixing...
  3. Replies
    5
    Views
    3,271

    Queries regarding Geometry Shaders

    I am dealing with geometry shaders using GL_ARB_geometry_shader4 extension.

    My code goes like :

    GLfloat vertices[] =
    {
    0.5,0.25,1.0,
    0.5,0.75,1.0,
    ...
  4. Replies
    4
    Views
    1,231

    You got it right man :-) Huge mistake ! Thanks...

    You got it right man :-)
    Huge mistake !
    Thanks for the reply
  5. Replies
    4
    Views
    1,231

    1) The values in the array are concrete for sure....

    1) The values in the array are concrete for sure.

    2) The values are all within limits. I have done proper error checking in actual code

    3) I wish to render using VBO only , but if the data is...
  6. Replies
    4
    Views
    1,231

    Query regarding glCopyBufferSubData()

    I am trying to copy data within same buffer using glCopyBufferSubData().

    array[24];

    glCopyBufferSubData(GL_ARRAY_BUFFER,GL_ARRAY_BUFFER,sizeof(array)/2,0,sizeof(array)) ;
    ...
Results 1 to 6 of 6