Page 1 of 1

Best Practise: 3000 cylinders with different dimensions

Posted: Mon Feb 18, 2013 12:08 pm
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?

Re: Best Practise: 3000 cylinders with different dimensions

Posted: Tue Feb 19, 2013 6:55 pm
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.