I have a really simple scene with a trimesh (~4000 triangles) and as many spheres as we want (we can add a new sphere left-clicking on the terrain). ODE handles collisions between spheres and ground, and there’s also some shadowmapping. You can try all this downloading this file: megaupload.com/?d=9Y3EAFPD (sorry, I do not have a server, so I had to use megaupload for just 45Kb)
The code is quite ugly, I just mixed three examples in that file (the chessboard demo, an ODE example and shadowmapping). Spheres are not really spheres but boxes, so they don’t roll forever. That’s not a problem.
I seriously need to know if this is a natural limit for Panda3D or if I’m doing something wrong (which is quite probable!). When I reach 60 spheres, I get 26fps. That’s not much. If that’s a ‘natural limit’, I should forget about any kind of post-processing or complex AI.
Is it because of Panda3D? Is it because of Python? Is it ODE? Is it my code? I just don’t know, but I wish it were my code, because I really would like to use Panda for this project.