28 FPS with particle system added to Tutorial06?

View previous topic View next topic Go down

28 FPS with particle system added to Tutorial06?

Post  yarri on 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?



Thanks,
--yarri

yarri

Posts : 81
Join date : 2009-04-10

View user profile

Back to top Go down

Re: 28 FPS with particle system added to Tutorial06?

Post  sio2interactive on Mon Apr 20, 2009 2:17 am

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

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

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

View user profile http://sio2interactive.com

Back to top Go down

Re: 28 FPS with particle system added to Tutorial06?

Post  yarri on 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

View user profile

Back to top Go down

Re: 28 FPS with particle system added to Tutorial06?

Post  sio2interactive on Tue Apr 21, 2009 1:17 am

lemme know the result!

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

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

View user profile http://sio2interactive.com

Back to top Go down

Re: 28 FPS with particle system added to Tutorial06?

Post  yarri on 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

View user profile

Back to top Go down

Re: 28 FPS with particle system added to Tutorial06?

Post  yarri on 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

View user profile

Back to top Go down

Re: 28 FPS with particle system added to Tutorial06?

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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