Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Tue Mar 19, 2024 7:25 am

All times are UTC




Post new topic Reply to topic  [ 33 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject:
PostPosted: Fri Jun 20, 2008 9:46 am 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
AndyGFX wrote:
My experiens is that call render display every 5ms is good => 200 times per sec

200 frames per second???? That's "insane" and useless. Even the better japanish eyes can not see more than 110-120 frames per second. And even worse, the occidental people just see around 60-80 frames per second.

Maybe are you mixing concepts? Raydium has 2 different callbacks for this. One for render (display) and another for ODE physics( that's automatically called around 400 times per second). Both are NOT strictly sinchronized, as long as i know.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 20, 2008 10:54 am 
Offline
User avatar

Joined: Thu Aug 24, 2006 4:06 pm
Posts: 73
Location: SLOVAKIA
About FPS, on my NV8800GTX i have without particle and shaders 1020 FPS !!! with cca 400 FPS

ODE and rendering must by synchronized !!! (or fist call ODE and then call rendering in one loop) when is't, then I need know how is possible make this one for me.


EDIT:
Quote:
That's "insane" and useless.


Why useless - because raydium is unoptimalized must have express power for all. Little example, run test6 demo and press space one by one is BOX added to scene and look on FPS - get down down down and then is engine freezed.

Absolutly first, very simple optimalization, is vieport frustum culling.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 20, 2008 11:04 am 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
about sinchro. As I know display and ode are not really synchronized. Just there is a flag or something to stop ODE before rendering ( i guess).

http://wiki.raydium.org/wiki/RaydiumApiReference#718

42.221 void raydium_ode_set_physics_freq (GLfloat freq): You can use raydium_ode_set_physics_freq to change the frequence of physical engine call. 400Hz is default.
This will change physical behaviour.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 33 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group