Can I use compound shapes with GPU in bullet 2.80?

Xuhai.Tang
Posts: 16
Joined: Wed Feb 23, 2011 4:54 pm

Can I use compound shapes with GPU in bullet 2.80?

Post by Xuhai.Tang »

The example using GPU and convex hull shapes is shown in "...\Extras\RigidBodyGpuPipeline\". But I want to use compound shapes with GPU. Is it possible?

Thank you in advance.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Can I use compound shapes with GPU in bullet 2.80?

Post by Erwin Coumans »

The OpenCL RigidBodyGpuPipeline is work-in-progress and limited to (approximate) convex shapes at the moment. It can be added with small effort.

Can you describe how/for what application you like to use compound shapes on GPU?
Thanks,
Erwin
RBD
Posts: 141
Joined: Tue Sep 16, 2008 11:31 am

Re: Can I use compound shapes with GPU in bullet 2.80?

Post by RBD »

Beyond games, even when doing non-real-time physics simulations for FX, one would still want to use the fastest physics engine possible (GPU) to reduce the simulation time (which ideally would also enable preview in real-time). Compound shapes are the only way to simulate non-convex active rigid bodies at this time.