Page 1 of 1

Massive debug performance loss with composite shape

Posted: Fri Feb 20, 2009 11:59 pm
by heeen
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.

Re: Massive debug performance loss with composite shape

Posted: Sat Feb 21, 2009 12:14 am
by heeen
In a different scenario with less complex surrounding geometry, the framerate drops from 140 to 60, is this to be expected?

Re: Massive debug performance loss with composite shape

Posted: Tue Feb 24, 2009 6:40 pm
by reltham
It's a debug build... I'd say it's very expected.

Re: Massive debug performance loss with composite shape

Posted: Wed Feb 25, 2009 10:55 pm
by bdawson_left
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.