bullet on GPU

lemonriver
Posts: 23
Joined: Thu Dec 30, 2010 4:04 am
Location: Hangzhou China

bullet on GPU

Post by lemonriver »

Where can I find some tutorials on OpenCL programming with bullet ?
User avatar
dphil
Posts: 237
Joined: Tue Jun 29, 2010 10:27 pm

Re: bullet on GPU

Post by dphil »

Nowhere :) . Best thing you can do is go over the CL demos in the latest bullet release. Granted it can be a challenge to figure out exactly how they are doing what they do, but ideally a user of the bullet engine wouldn't really need to know or care much about these inner workings once OpenCL gets a formal integration into the engine (bullet 3.xx?).

You can also check out plain OpenCL tutorials. I found http://www.macresearch.org/opencl to be a great resource in this regard (granted, it's mac-centric).
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: bullet on GPU

Post by Erwin Coumans »

Currently, there are some small OpenCL and DirectCompute (DX11) cloth and particle demos in

bullet-2.78/Demos/OpenCLClothDemo and Bullet/Demos
bullet-2.78/Demos/DX11ClothDemo

We are doing R&D in GPU acceleration for the rigid body physics pipeline, and this will be released in Bullet 3.x. No release date yet: "when its done".
Thanks,
Erwin
lemonriver
Posts: 23
Joined: Thu Dec 30, 2010 4:04 am
Location: Hangzhou China

Re: bullet on GPU

Post by lemonriver »

Thank Erwin and dphil :)
I find it difficult to rewrite narrow-phase or broad-phase classes to support GPU acceleration for me :(
Should I wait until the appearance of bullet 3.x or change my concentration to some other engine? I wonder -_-///