Filipe Xavier
08-03-2004, 11:10 AM
Hi people,
I have added an OpenGL interface to an old mathematical program that I had before. It has a loop system and in each iteration, part of the program calculates and the results are shown in the OpenGL visualization in realtime.
Due to an unknown reason, the next iteration of the loop only goes on if I hit a key or move the mouse around. I have no idea why it's happening and I was wondering, maybe I could trick the computer simulating that a key is pressed at each iteration, so it wouldn't be up to the user pressing a key to get the whole process working.
Any ideas, thoughts or suggestions?
Thanks
I have added an OpenGL interface to an old mathematical program that I had before. It has a loop system and in each iteration, part of the program calculates and the results are shown in the OpenGL visualization in realtime.
Due to an unknown reason, the next iteration of the loop only goes on if I hit a key or move the mouse around. I have no idea why it's happening and I was wondering, maybe I could trick the computer simulating that a key is pressed at each iteration, so it wouldn't be up to the user pressing a key to get the whole process working.
Any ideas, thoughts or suggestions?
Thanks