Hi, I am using FPSAnimator in a video player I’ve been building. The video player can display up to 4 videos at a time. Currently the FPSAnimator does not seem to do this correctly and I need access the FPSAnimator code to base my own changes off it. Where can I find that code? Sorry if this is obvious.
It’s in src/classes/com/sun/opengl/util/FPSAnimator.java in the JOGL source tree.
the FPSAnimator is a nice feature, but it is creating quite unregular frame-times…
for example these are the seconds between frames when i set it to 50fps.
0.014594271
0.01951505
0.025543574
0.020369654
0.016637866
0.020516931
0.023647484
0.014382631
0.017594536
0.028522571
0.019465587
without the FPSAnimator the rendering runs at about 120fps ang gives these frametimes:
0.00950652
0.008766827
0.009087512
0.009713232
0.009283419
0.011250359
0.009477623
0.00879149
0.009114867
0.008689367
you can see that there are not so large differences between the frames.