How would I do a basic Timer for regulating frame rate? December 22, 2014 10:46PM | Registered: 9 years ago Posts: 5 |
Re: How would I do a basic Timer for regulating frame rate? December 24, 2014 03:02AM | Registered: 13 years ago Posts: 363 |
Re: How would I do a basic Timer for regulating frame rate? December 24, 2014 04:13AM | Registered: 9 years ago Posts: 5 |
Ah, great! I wasn't aware that it is/was already regulating the frame rate, but 60 was my ideal target so bonus! :)Quote
owen
I think the framerate is locked at 60 but you can use this function to check the time that has passed each frame.#include// Needed for gettime and ticks_to_millisecs float temp=ticks_to_millisecs(gettime());
Re: How would I do a basic Timer for regulating frame rate? December 24, 2014 04:23AM | Registered: 13 years ago Posts: 363 |
Re: How would I do a basic Timer for regulating frame rate? December 24, 2014 09:26AM | Registered: 13 years ago Posts: 37 |
Re: How would I do a basic Timer for regulating frame rate? December 24, 2014 01:00PM | Registered: 13 years ago Posts: 363 |
Re: How would I do a basic Timer for regulating frame rate? December 24, 2014 02:03PM | Registered: 10 years ago Posts: 45 |
Quote
oibaf
The screen framerate depends on the video mode:
480i: 29.97 FPS
480p: 59.94 FPS
576i: 25 FPS
Re: How would I do a basic Timer for regulating frame rate? December 24, 2014 07:51PM | Registered: 13 years ago Posts: 37 |
Re: How would I do a basic Timer for regulating frame rate? December 25, 2014 03:39AM | Registered: 10 years ago Posts: 45 |