Horde3D http://horde3d.org/forums/ |
|
How to set constant FPS? http://horde3d.org/forums/viewtopic.php?f=2&t=1120 |
Page 1 of 1 |
Author: | Irdis [ 12.03.2010, 15:05 ] |
Post subject: | How to set constant FPS? |
Is it possible to set desired fps from program and not from drivers via v-sync? I want to set constant fps because otherwise there is a lot of screen tearing and camera animation is not smooth. |
Author: | phoenix64 [ 12.03.2010, 15:37 ] |
Post subject: | Re: How to set constant FPS? |
My code for that: http://github.com/mgottschlag/PeakEngin ... imiter.hpp http://github.com/mgottschlag/PeakEngin ... imiter.cpp Simply measure the elapsed time and wait for the next frame. Or you could set vsync. |
Author: | Irdis [ 15.03.2010, 09:52 ] |
Post subject: | Re: How to set constant FPS? |
phoenix64 wrote: My code for that: http://github.com/mgottschlag/PeakEngin ... imiter.hpp http://github.com/mgottschlag/PeakEngin ... imiter.cpp Simply measure the elapsed time and wait for the next frame. Or you could set vsync. Thanks alot, phoenix64. I'll try to implement it ![]() |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |