Nudel
18-03-2007 15:58:56
Im trying to add a lot of ~5k poly objects into a scene. Ogre can handle about 1 million polys at 75fps but if i use createStaticGeometry with meshShapes, fps drops to 75 with only 300k polys. I tried to put the terrain, created by a heightmap shape, and the objects into different groups using body->setGroup() and disable collisions between the terrain group and the object group using terrainGroup->noCollisionWith(objectGroup). This, however, caused no performance improvement.
What can I do to optimize a large amount of high poly static geometries with mesh shapes? All objects are placed onto a terrain so their bounding boxes intersect, but i do not need collisions between the objects and the terrain or between objects and other objects. Theyre only needed for raycasts and between dynamicBodies and static objects.
What can I do to optimize a large amount of high poly static geometries with mesh shapes? All objects are placed onto a terrain so their bounding boxes intersect, but i do not need collisions between the objects and the terrain or between objects and other objects. Theyre only needed for raycasts and between dynamicBodies and static objects.