PDA

View Full Version : Update Window



07-11-2003, 03:12 AM
Hello,

I get 15 points (x,y,z) per second and I want to show the progress in a window (more and more points in the window).

If I call the glutMainLoop, i can't come back in the program flow. But I have to calculate a new point in the next turn before I have to update the window.

program idea:

calculate 1 point -> update window with all other points -> calculate next 1 point -> ...

can anyone give me a hint to solve this problem?

Thanks ToP

Rob Fletcher
07-11-2003, 03:38 AM
Hi

Use the idle function for this ...

Rob