OpenCL Particles in Blender Game Engine

enjalot
Posts: 3
Joined: Thu Jul 01, 2010 6:58 pm

OpenCL Particles in Blender Game Engine

Post by enjalot »

Hello all,

I'm in the early stages of adding OpenCL Particle systems to the Blender Game Engine:
http://enja.org/2010/06/30/blender-game ... n-the-mix/

This is my summer project for my Master's degree, and it should turn into thesis work. Right now I'm just getting past technical competence by getting opencl/opengl to interop in Blender and building with CMake. I'm going to look at Bullet's physics, and I read that work is being started on OpenCL acceleration for Bullet.

As I'm just jumping into the community I'm trying to reach out! Perhaps I can avoid duplicating work or be kept up with the latest developments. I appreciate any feedback or insights you share!
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: OpenCL Particles in Blender Game Engine

Post by Erwin Coumans »

Hi Enja,

That looks very cool. http://github.com/enjalot/EnjaParticles only mentions Android, or does it also work on Windows?

Yes, we are experimenting with GPU acceleration of Bullet through OpenCL cross-platform and DirectCompute. There is some OpenCL work in two branches (OpenCL and AmdGpuCloth), and we plan to move things to the trunk/public release.

We are also working on OgreKit: a cross-platform open source standalone replacement of BGE, using Ogre and Bullet, that can load .blend files. It also uses CMake as build system.
It might be fun to integrate your OpenCL particles in there too. See http://gamekit.googlecode.com

Thanks!
Erwin
enjalot
Posts: 3
Joined: Thu Jul 01, 2010 6:58 pm

Re: OpenCL Particles in Blender Game Engine

Post by enjalot »

Hey Erwin,

The main code is Mac/Linux right now (I don't have windows at the moment), the Android stuff was just something I played around with at first.

Thanks for the links! I'll check out those branches, as well as the OgreKit soon!
Ian