How to make animation with a lot of facess?

I need to make the animation with a lot of shapes and facess in the 3d viewer. It works fine in Wireframe mode. But if I set up the shading viewer mode, it works very slow. Is it possible to increase performance of 3D viewer in Shading mode?

Thanks.

cheng's picture

How to make animation ?
Can you gave some sourcecode?