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 »

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 »

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