porting Bullet to GPU using OpenCL

manjeet
Posts: 1
Joined: Mon Aug 09, 2010 5:25 pm

porting Bullet to GPU using OpenCL

Post by manjeet »

Hi everyone,
I am doing a project on porting some of the bullet functions to GPU. Iam a beginner at this, with a little knowledge of OpenCL, where should I begin. If anyone could please give a small eg; or a small code in this context, it would b really helpful.

thank you
Manjeet Sudhanshu

email: sudhanshu.manjeet@gmail.com
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: porting Bullet to GPU using OpenCL

Post by Erwin Coumans »

There is some OpenCL code already in Bullet.

See the cloth simulation in Bullet-2.77/Demos/OpenCLClothDemo. It works under WIndows and Mac OSX, if you have a recent OpenCL SDK installed.

There is also some work-in-progress OpenCL code in a branch: see http://code.google.com/p/bullet/source/ ... hes/OpenCL
We are working on more OpenCL/DIrectCompute acceleration.
Thanks,
Erwin