This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Framerate question


Framerate question

Postby Kak » Apr 11, 2009 @ 11:39am

Hi!

is it possible to have OnNextFrame called 300 times a second or only 1 time a second? (I mean not synched with the display, which seems the default behaviour)

TIA
Kak
User avatar
Kak
pm Member
 
Posts: 291
Joined: Jul 26, 2003 @ 12:24pm
Location: Zannarkand, Spira


Postby edge » Apr 15, 2009 @ 6:43pm

Hi,

You can adjust the maxfps setting in the OnFrameworkConfig callback of the framework. This setting can be adjusted later (during runtime) in ecd.maincfg->maxfps. This will have influence on how many times OnNextFrame is called.

To get the highest amount of fps possible on your device, set maxfps to 0 and smartfps to false.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Kak » Apr 18, 2009 @ 9:21am

User avatar
Kak
pm Member
 
Posts: 291
Joined: Jul 26, 2003 @ 12:24pm
Location: Zannarkand, Spira


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron