We are about to switch to a new forum software. Until then we have removed the registration on this forum.
hi everybody, i am working on an opengl sketch that shows an animation with flat polygons floating from left to right and a 3d bottle (retained pshape) moving from top to bottom.
when i run the sketch with uncapped framerate i consistently get about 300 fps. the framerate never drops below 250 in this case.
when i run the sketch with the framerate capped at 30 fps (which is my aim) i get a framerate jumping between 20 and 30 fps.
i would like to cap the framerate at 30 fps and it should never drop below 28 fps. to my understanding this should work as i get the 300 fps when running uncapped. can anyone explain me why the framerate is getting so low when capped at 30 fps if it can be 300 fps when uncapped?