FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

OpenGL enforce rendering speed [help please]

 


Liu
I'm writing a game and I notice that depending on the computer, the game will render at varying speeds. For those versed in OpenGL, what solutions have you used to enforce that it render at a specific speed?
adhoc
I don't know much about OpenGL yet, but after this summer.. Anyway, what you have to do is check the elapsed time between each frame and enforce a certain fps by having your program wait a bit if it's rendering too fast.

http://onesadcookie.com/Tutorials

This tutorial talks about some other stuff, but you might find some help under the "Animation and Timing" heading.
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.