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

Search: Search took 0.00 seconds.

  1. Probably you have not defined the vertex...

    Probably you have not defined the vertex positions properly
  2. Replies
    3
    Views
    1,473

    Requirements are not clear. Do you want to...

    Requirements are not clear. Do you want to implement the needle and stuff. if that is the case then you must get it designed by some graphics designer before you implement it in opengl. You will ...
  3. Replies
    5
    Views
    2,079

    Keep those meshes that are not moving in one vao...

    Keep those meshes that are not moving in one vao and those that are moving in other. Use different translation matrix for those meshes that needs to be moved.
  4. Replies
    3
    Views
    1,250

    Glut is a windowing toolkit and will help in...

    Glut is a windowing toolkit and will help in creating an opengl window where you can draw. All of mentioned libraries are nothing but headers .lib and dll files. You can link your app with them and...
  5. Replies
    3
    Views
    1,142

    you should read some tutorials on game engine...

    you should read some tutorials on game engine programming first. Try to find "lwjgl game programming " on YouTube. For the time being just forget that it is java. Just listen and try to digest...
  6. Thread: xz-plane Grid

    by mahmad
    Replies
    2
    Views
    1,428

    Thanks. I made it.1688

    Thanks. I made it.1688
  7. Replies
    1
    Views
    1,324

    Try these guidelines...

    Try these guidelines
    http://web.cs.wpi.edu/~gogo/courses/mingw/
  8. Thread: xz-plane Grid

    by mahmad
    Replies
    2
    Views
    1,428

    xz-plane Grid

    I need some guidance on how i should draw a grid in opengl . I am using programmable pipeline

    1685
  9. Found the issue. Posted on forum. Surprised to...

    Found the issue. Posted on forum. Surprised to see such behavior due to small typo in the vertex shader.
  10. I have found the issue in vertex shader....a...

    I have found the issue in vertex shader....a small typo wasted 4 hours :(

    Replaced
    gl_Position = vec4(vert,0.0);
    with
    gl_Position = vec4(vert,1.0);
  11. Color Interpolation Not working [Help required]

    I have implemented a simple triangle program but somehow triangle is drawn in a single color which is color of first vertex.

    Code is like this

    GLfloat positions[] = {

    0.0f, 0.0f,0.0f,...
  12. Replies
    4
    Views
    2,328

    Thanks for the answer. When i use same program...

    Thanks for the answer. When i use same program with Glut it does not work and i have to set glMatrixMode and gluPerspective as well. Is it that glfw does that for me behind the scene?
  13. Replies
    4
    Views
    2,328

    How this code is working?

    I am a little bit confused on how this application is working. I have neither created any shader nor used any MODAL VIEW Matrix in program below but it still renders successfully. Can anyone help me?...
Results 1 to 13 of 13