I have a composite shape (a door) in a static concave triangle mesh. The composite mesh is made up from 9 convex hulls (BSP-brushes), in this case mostly rectangular boxes.
When the object wakes up (turns cyan in debug view) in a Debug build, a massive performance drop occurs, from 64 fps down to 8 fps.
The door is (12/75/124) units tall, which i scale down by a factor of 1/8.
Massive debug performance loss with composite shape
-
- Posts: 6
- Joined: Tue Feb 17, 2009 6:32 pm
-
- Posts: 6
- Joined: Tue Feb 17, 2009 6:32 pm
Re: Massive debug performance loss with composite shape
In a different scenario with less complex surrounding geometry, the framerate drops from 140 to 60, is this to be expected?
-
- Posts: 66
- Joined: Fri Oct 12, 2007 6:28 pm
- Location: San Diego
Re: Massive debug performance loss with composite shape
It's a debug build... I'd say it's very expected.
-
- Posts: 7
- Joined: Tue Jan 27, 2009 5:47 pm
Re: Massive debug performance loss with composite shape
I noticed a ways back that the compound algorithm has a few places where it gets pretty slow, and I had to make some pretty major modifications to get it to perform better. What platform are you working on? If you can send me some sort of performance capture I might be able to help.