frame rate

Youll need to be a little less vague before we can understand what youre trying to accomplish.
 
I wanna animate a cube.
I do it, by use of Translation Matrix.
Now, How can I set fps ( frame per second ) = 30 fps.
Thanks.
If my english sentences are terrible,I am sorry.
 
I guess you would use a timer (or even Environment.TickCount) to record the time one frame, and make your program wait until the current time is over that plus 1000 / 30 (= 33) before continuing.
 
Back
Top