Page 1 of 1

Load result of ConvexDecomposition to btCompoundShape

Posted: Tue Oct 18, 2016 2:13 am
by felixes_jo
Hi Everyone,

I just started learning Bullet this week. I would like to do simple convex objects stacking. After reading a lot of post, I decided to use ConvexDecomposition tool, which generates .wrl file.
I would like to know if there is a prebuild function or easy way to load this .wrl file into btCompoundShape?

I thought it would be much faster rather than redoing the ConvexDecomposition for each runtime.
I couldn't find this information anywhere.

Thanks for your help

Re: Load result of ConvexDecomposition to btCompoundShape

Posted: Tue Oct 18, 2016 5:46 pm
by felixes_jo
Nevermind, I had written a ConvexDecomposition tool that is based on btHACDCompoundShape.h and ConvexDecomposition Demo.
Now I can generate .bcs file that can be easily loaded into BtCompoundShape.

Re: Load result of ConvexDecomposition to btCompoundShape

Posted: Fri May 15, 2020 8:19 pm
by AlTerz93
Hi!
Can I ask you how did you generate the .bcs file and than how do you load it?

Thank you very much!!