FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

28 FPS with particle system added to Tutorial06?

2 posters

Go down

28 FPS with particle system added to Tutorial06? Empty 28 FPS with particle system added to Tutorial06?

Post  yarri Sun Apr 19, 2009 9:40 pm

Hi, I'm getting a 50% drop if FPS on device to 28FPS when adding particle systems to a physic enabled scene from Tutorial06. If the particle system is culled, it jumps back up. This is the particle system code from Tutorial12, btw. Any tips on how to improve the fps? Less particles, of course... but how about using png (or pvr?) instead of tga? Or something else?

28 FPS with particle system added to Tutorial06? 3n1br

Thanks,
--yarri

yarri

Posts : 81
Join date : 2009-04-10

Back to top Go down

28 FPS with particle system added to Tutorial06? Empty Re: 28 FPS with particle system added to Tutorial06?

Post  sio2interactive Mon Apr 20, 2009 2:17 am

Use shark to do some profiling and check where the bottleneck is...
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 44
Location : Shanghai

http://sio2interactive.com

Back to top Go down

28 FPS with particle system added to Tutorial06? Empty Re: 28 FPS with particle system added to Tutorial06?

Post  yarri Tue Apr 21, 2009 1:11 am

Looks like Bullet btSimulationIslandManager::buildIslands() is the culprit, time to dig into Bullet specs...

--yarri

yarri

Posts : 81
Join date : 2009-04-10

Back to top Go down

28 FPS with particle system added to Tutorial06? Empty Re: 28 FPS with particle system added to Tutorial06?

Post  sio2interactive Tue Apr 21, 2009 1:17 am

lemme know the result!
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 44
Location : Shanghai

http://sio2interactive.com

Back to top Go down

28 FPS with particle system added to Tutorial06? Empty Re: 28 FPS with particle system added to Tutorial06?

Post  yarri Tue Apr 21, 2009 1:40 am

I'll profile more tomorrow, the Oolong guys seem to be feeding Erwin profiling data... how can I enable CProfileManager::DumpAll() in SIO2?

http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=2832&p=11306&hilit=profiling#p11306

--yarri

yarri

Posts : 81
Join date : 2009-04-10

Back to top Go down

28 FPS with particle system added to Tutorial06? Empty Re: 28 FPS with particle system added to Tutorial06?

Post  yarri Tue Apr 28, 2009 10:14 am

Hi, I'm getting 35fps on the Physics thread now...

The gcc -O2 optimization along with the -fno-regmove should be the default Bullet setting for Release configuration, see this thread:
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=3225&start=15

--yarri

yarri

Posts : 81
Join date : 2009-04-10

Back to top Go down

28 FPS with particle system added to Tutorial06? Empty Re: 28 FPS with particle system added to Tutorial06?

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum