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: waqar ahmad

Search: Search took 0.00 seconds.

  1. tm_sec Error time function doesn't reading memory to get time

    if i will not use ( _CRT_SECURE_NO_WARNINGS) it gives error




    #ifdef _MSC_VER
    #define _CRT_SECURE_NO_WARNINGS
    #endif

    #include<iostream>
  2. I have designed a analog clock. How to run this clock using system time.

    How to implement timing function in it:



    #include<iostream>
    #include<windows.h>
    #include<gl/GLU.h>
    #include<gl/GL.h>
    #include<glut.h>
    #include<math.h>
  3. Thanks you very much. This one is my latest code:...

    Thanks you very much. This one is my latest code:




    #include<glut.h>

    GLfloat angle = 160.0;
    GLfloat angle2 = 200.0;
  4. I am juct trying to move legs method ...

    I am juct trying to move legs method



    #include<glut.h>

    GLfloat xRotated = 0.0;
    GLfloat yRotated = 0.0;
    GLfloat zRotated = 0.0;
  5. How to do this in opengl? Any idea

    How to do this in opengl? Any idea
  6. How to give a walking effect to legs in opengl?

    i am designing a walking dinosaur any body please tell me how to move legs ?
  7. how to rotate a line in Opengl ? Simplest way

    how to rotate a line in Opengl ? Simplest way
  8. [QUOTE=GClements;1251789]Your problem is caused...

    [QUOTE=GClements;1251789]Your problem is caused by calling glutSwapBuffers() at the end of secondsLine(), when it should be called at the very end of your display function. Anything drawn after the...
  9. i have added rotation in secondsLine function and...

    i have added rotation in secondsLine function and i am calling this function in Drawcircle. it is displaying rotating line but when it refreshes for rotation does not display Code in DrawCircle...
  10. How to rotate a method without disturbing another mathod

    Hello all i am building a analog clock i am calling secondsLine function in DrawCircle function. it is rotating secongLine but not displaying DrawCircle Function code. and how can i rotate different...
Results 1 to 10 of 10