Terrain vs static mesh

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
dimitrijejankov
Posts: 4
Joined: Sat Sep 01, 2012 11:14 pm

Terrain vs static mesh

Post by dimitrijejankov »

Hi how much on performance would I loose if I used a static mesh instead of a terrain for collision...
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Terrain vs static mesh

Post by Norbo »

Not much. The acceleration structures for both are pretty similar in speed compared to other costs like triangle-convex tests.

Of course, the only way to know for sure for any given circumstance is to try it out and measure.
dimitrijejankov
Posts: 4
Joined: Sat Sep 01, 2012 11:14 pm

Re: Terrain vs static mesh

Post by dimitrijejankov »

Wow, thx for the quick reply :D Ok i will do that... Oh and I know this is a bit of topic, but I wanted to thank you for this great physics engine :D
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Terrain vs static mesh

Post by Norbo »

Glad you like it :)
Post Reply