XNA Game Development Forums
2012/05/21 19:07:58 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: FPS question  (Read 1471 times)
XNASorcerer
Newbie
*
Offline Offline

Posts: 25



View Profile
« on: 2007/04/28 12:37:25 »

Lately I notice that some XNA projects are a lot more fast than others. For example this one: http://www.codeplex.com/xnadevru/Wiki/View.aspx?title=ChunkedLOD

When I run it over here, I get between 270 and 310 fps. But if I start a new empty project, the biggest fps the I get is 60. Does anyone knows the reason for that and how can change it?

Thanks
Logged
EclipsE
Full Member
***
Offline Offline

Posts: 111


View Profile
« Reply #1 on: 2007/04/28 13:01:18 »

It's because VSync was turned on and the frame is updating only 60 FPS because your monitors refresh rate is 60 Hz. Look in help how to disable VSync  Smiley
btw, VSync is disabled in fullscreen mode
Logged
XNASorcerer
Newbie
*
Offline Offline

Posts: 25



View Profile
« Reply #2 on: 2007/04/28 15:23:19 »

It's because VSync was turned on and the frame is updating only 60 FPS because your monitors refresh rate is 60 Hz. Look in help how to disable VSync  Smiley
btw, VSync is disabled in fullscreen mode

Thanks. This line did the job.

Code:
graphics.SynchronizeWithVerticalRetrace = false;
Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Huge FPS drop after Tutorial 9 Hazy Mind 3D Engine chaoscentral 13 4262 Last post 2006/10/15 20:50:10
by mikeschuld
Question about Getting 2D screen coordinates General Discussion DaphydTheBard 6 2463 Last post 2007/02/27 03:23:36
by DaphydTheBard
Question: Texturing Terrain General Discussion Ashe 1 2340 Last post 2007/03/17 10:28:36
by DaphydTheBard
Question about getting rotation angles from Quaternions... General Discussion DaphydTheBard 7 3134 Last post 2007/03/20 07:27:20
by DaphydTheBard
Array Question General Discussion LucianX 11 3352 Last post 2007/04/13 04:51:19
by Nemo Krad
Tutorial 3 help... new question i believe Hazy Mind XNA Engine hansonc 9 3127 Last post 2007/05/15 01:32:01
by BackwardsBoxers
Question about loading textures General Discussion nicknz 2 1962 Last post 2007/04/23 05:36:17
by EclipsE
tutorial 3 sprite question Hazy Mind 3D Engine precious roy 2 2733 Last post 2009/10/18 08:53:11
by Wekbaite73
HMObject design question Hazy Mind XNA Engine jdowling 1 1267 Last post 2007/05/11 23:05:38
by Tiago
Thanks And A question Hazy Mind XNA Engine zachaller 3 1567 Last post 2007/06/19 03:36:22
by Nemo Krad
Question About Packing Maps into one file? General Discussion jaypaul 0 1562 Last post 2009/06/03 05:12:47
by jaypaul
Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.686 seconds with 19 queries.