I haven't been actively AVSing for over a year, but recently I've been asked to do FX for a live performance for a friend's band. So...
I'm writing a little AVSTrans library with arrays, vectors, lots of shortcuts and keyboard/mouse functions. Everything is going smoothly so far, except for one simple function - an FPS counter.
For some reason, the old formula:
doesn't work for me. I get very inaccurate and quantized, widely spaced values - as if AVS is having rounding errors.fps=1/gettime(time);time=gettime(0);
Has something changed in AVS while I was absent? Is there a better way? Am I doing something wrong?