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

Search: Search took 0.00 seconds.

  1. [QUOTE=Carmine;1252010]Congrats on solving your...

    [QUOTE=Carmine;1252010]Congrats on solving your problem.

    I still have one problem. the triangles are always filled ones irrespective of the glpolygonmode i.e GL_fill or GL_LINE. any known reason...
  2. i am using vc++ 2010 with glut. Please help.

    i am using vc++ 2010 with glut. Please help.
  3. for loop in display function not working properly

    The following function is called from the display function and the ReadCp function is updating the finalgrass vector.
    Actually the for loop is not running till the limit i.e. m<5 but it runs for...
  4. Replies
    1
    Views
    601

    [QUOTE=qawded;1252518]it is a very simple code in...

    [QUOTE=qawded;1252518]it is a very simple code in which length of lines is changed by comparing with a data in vector. Here is the code:


    SOMEONE PLEASE HELP.
  5. Replies
    1
    Views
    601

    animation not working correctly

    it is a very simple code in which length of lines is changed by comparing with a data in vector. Here is the code:


    using namespace std;
    ifstream fin("testanim.txt");

    double x,y,z;

    struct...
  6. Replies
    0
    Views
    779

    how to do animation using glut

    I am displaying a set of line using my display function as following

    void display()
    {

    glClear(GL_COLOR_BUFFER_BIT);
    glColor3f(1,0,0);
    glMatrixMode (GL_MODELVIEW);
    glLoadIdentity();...
  7. Thanx for the insult. I have figured out how to...

    Thanx for the insult. I have figured out how to do it.
  8. Please someone reply...

    Please someone reply...
  9. How to Generate a Surface using GL_TRIANGLE(i am using freeglut)

    Hello.

    Please help me generate a surface specifically using Gl_TRIANGLE for an array of three dimensional points.
    Its a cylinder. If any examples are there please give the link.i will be very...
  10. Replies
    10
    Views
    1,611

    ok thanx.. But if my display function is like...

    ok thanx..

    But if my display function is like this
    display()
    {

    draw1();
    draw2();
    draw();
  11. Replies
    10
    Views
    1,611

    Thanx for the help. I have tried to build a very...

    Thanx for the help.
    I have tried to build a very simple code in which a vertical line moves along the x axis.
    here is the code:


    #include<Myheader.txt>

    float i=0;
    void Draw() {...
  12. Replies
    10
    Views
    1,611

    actually i was talking about display function...

    actually i was talking about display function using glut.the callback function of Glutdisplayfunc . can i add a delay there?
  13. Replies
    10
    Views
    1,611

    How to give time delay for animation ....

    Hello guys....
    it will be a great help if someone can tell me how to give a pause or delay in the display function. if possible provide a link for an example -like a simple example of a point moving...
  14. ok. how to get the coordinates of that point?

    ok. how to get the coordinates of that point?
  15. Rotating an object around any desired point using mouse.

    Hello everyone.
    I want to know that how i can rotate an object about a point where I click on the screen.
    Currently I am able to rotate it about the center of the screen.

    My code is as...
  16. Replies
    8
    Views
    1,353

    Thanx for your reply. I will take care of the...

    Thanx for your reply. I will take care of the posting guidelines.
  17. Replies
    8
    Views
    1,353

    thanx for ur reply......i have a program which...

    thanx for ur reply......i have a program which has got lots of functions(graphics and non-graphics)...so for understanding the execution of it i needed to understand the order....
    actually it is a...
  18. Replies
    8
    Views
    1,353

    sorry ....the functions other than related to...

    sorry ....the functions other than related to graphics.....
  19. Replies
    8
    Views
    1,353

    So I guess the order is reshape function then...

    So I guess the order is reshape function then display then the other physics functions... am i right?
  20. Replies
    8
    Views
    1,353

    Glut Callbacks.....

    hello everyone....this may be a very basic question but I was wondering that whether the sequence in which we register our glut callbacks matter....when the program enters glut main loop which...
  21. Replies
    5
    Views
    1,683

    thanx a lot....but how can i set the full window...

    thanx a lot....but how can i set the full window as my viewport.....and if i can set a portion of it ...is there a way to mark it,,i mean sum solid boundary....i know my questions are very...
  22. Replies
    5
    Views
    1,683

    sorry but i could not undestand much...i wanted...

    sorry but i could not undestand much...i wanted to ask whether the origin is bottom left corner or otherwise...

    Thanx
  23. Replies
    5
    Views
    1,683

    opengl origin....

    i am very new to opengl ...please let me know where is the origin of opengl window....
    and by default is it orthographic projection??
Results 1 to 23 of 23