Teen Programmers Unite  
 

 

Return to forum top

Frame Rate in DirectX

Posted by Cortez [send private reply] at June 28, 2003, 06:14:25 AM

How do I control the frame rate in DirectX. I made some searches in google, but couldn't get anything working.

Posted by Kruptos [send private reply] at June 28, 2003, 01:58:28 PM

I may be totally off the mark but isn't frame rate controlled by how fast the program, and consequently the game loop, is running?

Posted by Neumann [send private reply] at June 28, 2003, 09:05:29 PM

Eh! I'm not all that fond of graphic programming but at first thought I think the easiest way to control the frame rate is to use the timer. Windows has some functions for high-res timer.

Posted by Cortez [send private reply] at June 29, 2003, 06:08:39 AM

I know that there're high-resolution tmier functions, i just don't know how use them...

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.