onrdbandit
Programmer
howdy,
I am working on an app that somes physics problems i.e. projectile trajectory etc. and I want to generate simple animations from these calculations.
I have the necessary code to draw the frames to a TCanvas, but I need to detect the screen refreshing, so I can copy the buffered images to the visible TCanvas without "tearing" the images.
Without properly timing the TCanvas->Refresh() function calls, the animation is impossible to see.
thanks in advance
onrdbandit
I am working on an app that somes physics problems i.e. projectile trajectory etc. and I want to generate simple animations from these calculations.
I have the necessary code to draw the frames to a TCanvas, but I need to detect the screen refreshing, so I can copy the buffered images to the visible TCanvas without "tearing" the images.
Without properly timing the TCanvas->Refresh() function calls, the animation is impossible to see.
thanks in advance
onrdbandit