Best Practise: 3000 cylinders with different dimensions

Post Reply
toson
Posts: 1
Joined: Mon Feb 18, 2013 11:47 am

Best Practise: 3000 cylinders with different dimensions

Post by toson » Mon Feb 18, 2013 12:08 pm

Hi!

I'm running simulations with ~3000 cylinders or ellipsoids. For now they
all have the same dimensions, but they should have normal distributed
variations. Can I still re-use the shape objects and scale the bodies
or does every body need its own shape?

MaxDZ8
Posts: 149
Joined: Fri Jun 24, 2011 8:53 am

Re: Best Practise: 3000 cylinders with different dimensions

Post by MaxDZ8 » Tue Feb 19, 2013 6:55 pm

There's btUniformScalingShape. I never used it though so I cannot say how much you're going to save. That's of course taking for granted you need this optimization in the first place.

Post Reply