Load result of ConvexDecomposition to btCompoundShape

Post Reply
felixes_jo
Posts: 4
Joined: Tue Oct 18, 2016 1:50 am

Load result of ConvexDecomposition to btCompoundShape

Post 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
felixes_jo
Posts: 4
Joined: Tue Oct 18, 2016 1:50 am

Re: Load result of ConvexDecomposition to btCompoundShape

Post 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.
AlTerz93
Posts: 6
Joined: Wed Jan 22, 2020 2:45 pm

Re: Load result of ConvexDecomposition to btCompoundShape

Post 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!!
Post Reply