iphone ogl-es low fps
iphone ogl-es low fps
I ported my pc game to iphone, using ogl-es opengl 1.x driver, it's running, but the fps is low, about 15 fps. I use xcode tools to check, the sceneManager->drawAll() spent a lot of time. The gpu is 6%.
Any suggestion to improve the performance?
Any suggestion to improve the performance?
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: iphone ogl-es low fps
There's good chances that you find some simple settings, which help in this situation. Simply because the driver is not yet fully tested. But far better chances are, that it is due to your scene setup. So maybe tell us, which settings you chose for the device setup, and what you render in your scene.
Re: iphone ogl-es low fps
I draw an oct tree scene, and about 4 character animation. The total triangle number is 27k, the drawAll spent time is about 30-52 ms. the game logic needs some time, so the fps is about 15.
My setting is: OPENGL es 1.1, screen size: 1024x768, the device is ipad 3, landscape mode, the retina mode is disabled. I use an old version of ogl-es, about 20 days ago, the lastest revision 4509 is worse, only 9fps. I can tell you the revision number later.
My setting is: OPENGL es 1.1, screen size: 1024x768, the device is ipad 3, landscape mode, the retina mode is disabled. I use an old version of ogl-es, about 20 days ago, the lastest revision 4509 is worse, only 9fps. I can tell you the revision number later.
Re: iphone ogl-es low fps
Octree takes a lot of cpu. Not really a good choice on a mobile.
Re: iphone ogl-es low fps
Any suggestions for scenes on Mobile?
Re: iphone ogl-es low fps
Compare the octree with a normal scene node that's been set to EHM_STATIC.
Re: iphone ogl-es low fps
I just tried to use normal node, not octree. A little slower than octree, now we have 13 fps. Octree is 15fps.
Re: iphone ogl-es low fps
How many FPS do you have with animation disabled?
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Re: iphone ogl-es low fps
After I hide the 4 character animations, it's better. Sometimes it's 30fps. But at some places, it's still 15-17 fps, maybe it's scene animation affected it.
Re: iphone ogl-es low fps
OpenGL ES chips are slow for following reasons.
1) Draw call limitations.
2) Transferring large data to GPU.
1) Draw call limitations.
2) Transferring large data to GPU.
IrrNaCl - Irrlicht Port for Google Chrome Native Client - Demo
Iyan 3D - Make your own 3d animation using your iOS Device
Iyan 3D - Make your own 3d animation using your iOS Device
Re: iphone ogl-es low fps
Have you verified you are using hardware vertex buffers?