Particle Fluids in Real Time with OpenCL

A real-time demonstration of particla fluids using OpenCL (GPU hardware acceleration):

enjalot writes:

Gentlemen, behold! (Ladies too). At last I have something to show! My advisor and I have finally gotten to a point in our implementation of our Real Time Particle System that it can see the light of day. We have been working on an OpenCL implementation of the SPH method for simulating real time fluids. At this point it looks pretty good, which is the scientific way of saying there is still a lot of work to do. Take a look at the video to see it in action inside the Blender Game Engine!

Link


  • Coen

    Nice!!

  • http://www.youtube.com/onjofilms FloridaJo

    lol, look at how many Starbucks it takes to keep a programmer fueled.

  • http://www.medborgarplatsen.com Martin Lindelöf

    awesome xmas present.

  • http://www.raubkopictures.de/ Scott

    This is way too good news!

  • http://whimsycoll.com Whimsy Collective

    This is exciting news especially in the 2011!

    Hope that we can use opencl in regular fuild and particles systems with Bullet MiniCL.

  • Breg

    Very impressive. Thank you for your efforts and for giving us a peek at it. I hope it get’s into the next release.

  • dono

    wow, impressive ! Is it intersting that GPU hardware acceleration would be possible for rendering in blender ?

  • Rickyblender

    Will this be a special plugin or built and is it to be part of 2.5 and only for BGE?

    look very nice with real time!

    happy 2.5

  • bgenoob

    Expect a flood of newbies in BGE forums asking “How can I made Opencl water NOW” lol

  • http://www.youtube.com/rorkimaru/ rorkimaru

    Huge coffee budget

    Also great work =D

  • Enjanist

    Is it the MacBook Pro 13 powered by Nvidia or Intel? In fact, i don’t even know if Intel GMA is programmable. :)

    Thank you Enja

  • Brian L.

    Lot of computers, lot of coffee, and lot of good news for particle fluids. Thanks, Enja!

  • claas

    maybe know people see the advantage of looking into openCL.
    This is a great area of application.

    Fluids can be so slow to work with and this really seems to speed
    up the process.

    Good job Enjalot.

  • http://www.mookie3d.weebly.com mookie

    Why developing BGE instead of Blender physics system?

  • http://bulletphysics.org Erwin Coumans

    For fluids (SPH etc) iso-surface generation is the biggest challenge, so it would be great if you come up with a fast solution.

    We are actively working on using OpenCL (and DirectCompute) for GPU acceleration in Bullet, so if your work is under a permissive license (Zlib/MIT/BSD) please consider contributing to Bullet.

    Thanks and Happy 2011!
    Erwin

  • http://www.mookie3d.weebly.com mookie

    One question though – let’s say OpenCL can support (at least now) only BGE. Your simulations reminds of fluid simulation but it will never create a surface I guess? Or will it be possible to use BGE “fluid” instead of fluid with domains etc?

  • RNS

    LightWave 10 is also impressive too;for blender upgrade graphic card is need.

  • http://digitaldraw.wordpress.com/ aws357

    This + Bullet >> Lagoa Multiphysics

    Could be used for all sort of things…

    Don’t use this stuff for games only.

    Maybe Ton & al. could use that in their next open movie (as an incentive to add this in blender asap).

  • Jame

    Too AWESOME! Keep up the great work, it looks amazing!

  • dane

    wow, that is looking fantastic, I look forward to having this tool added to my already packed arsenal of media tools

  • claas

    question is how the BGE stuff can be transfered into tangible mesh.

  • http://enja.org enjalot

    Thanks for the kind words everyone!
    To answer a few questions:

    coffee: everyone knows that a programmer’s primary function is to process coffee into code

    BGE vs. Blender: This is a project for my master’s thesis which is concerned with creating educational games for the sciences, so my primary focus is the BGE. It is open source code so hopefully others will help it cross over

    License + Bullet: I plan to do either MIT or BSD. I’m doing my best to develop the library standalone so it is not limited to just the BGE. As my skill and understanding increases I’m looking towards Bullet, but right now my library is still a research project in its infancy.

    Mesh: Another student in my group is exploring methods for surface extraction (can be done as part of SPH algorithm) and other surface rendering techniques. One thing to keep in mind is that if the real-time restriction is lifted (for rendering frames) then existing surface generation techniques can also work

    @Enjanist (great name) this macbook pro is powered by nvidia and you are correct, onboard intel gpu’s can’t support OpenCL. (intel does have an alpha version of an OpenCL implementation)

    again, thanks and I’m glad you guys are excited! I look forward to posting again soon ;)

  • wuntung

    awesome work!

  • http://3d-synthesis.com ROUBAL

    Very impressive ! Great work !

  • TxRx

    Well done! That is some awesome work right there!

  • slimsimm

    Nice work man! Way to represent for the noles and Blender. When I worked at the high magnetic field lab at FSU they never let me use blender. Its good to see you working with it :P

  • Scott

    Hello,
    When will this be ready? I can use it now on a project simulating water through a long Sewer system.
    Do you have an Addon I can install now in Blender 2.57b?

    Thank you,
    Scott

  • erikals

    the coolest and most wanted Blender feature for us VFX guys,… keep codeing!!
    beeeutiful :] :] :]

  • Scott

    Does anyone know when the new Fluid Surface will be ready?

    Thanks
    Scott