Question

I've encountered problem with performance of loaded POD files. I'm using the ones created for online service with WebGL, so these models are pretty well detailed. The total number of models I got is large and I really want to avoid to remake them all. So, while increasing the number of models loaded in scene fps is dropping. Are there any general advices to improve performance without changing these models? I've disabled multisampling, tried to decrease textures' sizes, number of lights and other stuff like that. Also, all models are viewed by camera, so I could not use culling. These models are also different. Any suggestions?

Was it helpful?

Solution

I knew that there was something I've missed! :) saying in general, I created cocos3d template, than used my own mechanisms to add POD files. But if you will see into Scene.m there are

[self createGLBuffers];
[self releaseRedundantData];

methods in -initializeScene. And, of course, I did not use them after adding POD files. That helped to improve performance from 7 fps to 30.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top