1 of 2
1
MSAFluid - Fluid solver built in Processing
Posted: 09 April 2009 03:33 AM   [ Ignore ]
Avatar
RankRank
Joined  2008-06-26
Total Posts:  243
Member

hey folks, for those interrested in fluid simulation: Memo did it again and inplemented nicely Stam’s methods in a cool Processing Fluid Solver. Cool stuff since you can run it on OSX, Windows and Linux. Best off: he allready implemented TUIO so that we can play around… Infos and code on Memos site: http://www.memo.tv/msafluid_for_processing

A short video (could not ressist):

If somebody would like to volunteer and help us to integrate this stuff in Quartz Composer - don’t hesitate to give me a PM…

Cheers,

 Signature 

Sandor Rozsa
--
http://www.xtuio.com - home of uniTUIO: bringing MultiTouch in the 3’rd dimension
http://www.cd-cologne.de - my company homepage

Profile
 
 
Posted: 09 April 2009 03:51 AM   [ Ignore ]   [ # 1 ]
Avatar
RankRankRankRankRankRank
Joined  2007-04-08
Total Posts:  2539
Dedicated

Yeah, memo’s work is great.

You can get the c++ version here: http://code.google.com/p/ofxmsaof/source/browse/#svn/trunk/ofxMSAFluid/src
It works great with openframeworks.

 Signature 

MTmini, MTbiggie, & Audiotouch creator & Community Core Vision Co-founder

Follow on:
My Blog | Facebook | Twitter | Youtube

Profile
 
 
Posted: 09 April 2009 08:18 AM   [ Ignore ]   [ # 2 ]
Avatar
RankRankRankRank
Joined  2008-04-30
Total Posts:  612
Elite

Impressive stuff indeed! Ill try and see how easy it is to integrate into my processing framework.

 Signature 

MT4j - Multi-Touch for Java!

Profile
 
 
Posted: 09 April 2009 02:45 PM   [ Ignore ]   [ # 3 ]
Avatar
RankRankRankRank
Joined  2007-09-18
Total Posts:  882
Moderator

Superfluid will smash you !

 Signature 

How many touches can you simultaneously perform ? 
Coming soon : EveryWall MT / Multi LaserPointers / MT SMS Wall
le WIKI en Français

Profile
 
 
Posted: 09 April 2009 03:55 PM   [ Ignore ]   [ # 4 ]
Avatar
RankRank
Joined  2008-06-26
Total Posts:  243
Member
jimihertz - 09 April 2009 02:45 PM

Superfluid will smash you !

LOL - Jimi, just knowing superflow (Nvidia) but more than curious about superfluid

 Signature 

Sandor Rozsa
--
http://www.xtuio.com - home of uniTUIO: bringing MultiTouch in the 3’rd dimension
http://www.cd-cologne.de - my company homepage

Profile
 
 
Posted: 09 April 2009 09:28 PM   [ Ignore ]   [ # 5 ]
Avatar
RankRankRankRank
Joined  2007-09-18
Total Posts:  882
Moderator

Ever heard about MSA Fluids ?
Ever had particles on your water screen ?

Mad scientist Memo Akten wields the immeasurable Power Processing Particles (PPP) and is one of the most powerful entities within the Multitouch Universe; he has created the MSAFluid , a tools that gives to any multitouch user access to limitless fluid & particles energies .

That’s insane ! Please Stop Memo ! Call Superfluid !

 Signature 

How many touches can you simultaneously perform ? 
Coming soon : EveryWall MT / Multi LaserPointers / MT SMS Wall
le WIKI en Français

Profile
 
 
Posted: 09 April 2009 10:18 PM   [ Ignore ]   [ # 6 ]
Avatar
RankRankRankRankRankRank
Joined  2007-04-08
Total Posts:  2539
Dedicated

Jimi that is too awesome! Is that all MSA fluid or a combination of stuff? I’d like to get this in c++ asap. smile

 Signature 

MTmini, MTbiggie, & Audiotouch creator & Community Core Vision Co-founder

Follow on:
My Blog | Facebook | Twitter | Youtube

Profile
 
 
Posted: 10 April 2009 03:33 AM   [ Ignore ]   [ # 7 ]
Avatar
Rank
Joined  2009-02-25
Total Posts:  25
New Member

nice vid Jimi rasberry btw what tracker are you using? The velocity values seem a bit off - mainly when you stop moving your fingers but leave them on the surface, the velocity should drop back to zero. It’s not a big deal, as actually the effect is quite nice… but just an observation…

Profile
 
 
Posted: 10 April 2009 03:42 AM   [ Ignore ]   [ # 8 ]
Avatar
RankRank
Joined  2008-06-26
Total Posts:  243
Member

@Seth: you want that stuff in C? Allright: here you go with “superflow” grin I never got that compiled on OSX, only on Windows so if you can manage that - don’t hesitate wink

http://developer.download.nvidia.com/SDK/9.5/Samples/gpgpu_samples.html

Check out also the other CUDA examples if you have a supported graphic card…

@Memo - i suppose Jimi is using tBeta. I wrote you a comment about some tracker related things in your blog…

@Jimi - sh**** no vimeo here on my old notebook ;-((( Have to wait till i can see that…

 Signature 

Sandor Rozsa
--
http://www.xtuio.com - home of uniTUIO: bringing MultiTouch in the 3’rd dimension
http://www.cd-cologne.de - my company homepage

Profile
 
 
Posted: 10 April 2009 03:51 AM   [ Ignore ]   [ # 9 ]
Avatar
Rank
Joined  2007-07-13
Total Posts:  71
New Member

Awesome!

Profile
 
 
Posted: 10 April 2009 04:11 AM   [ Ignore ]   [ # 10 ]
Avatar
Rank
Joined  2009-02-25
Total Posts:  25
New Member

@sandor
I just replied to your post on my site, lots of valid points - and quite important ones about trackers actually! (some issues with cursor velocities).

Indeed solving these kind of fluids on the GPU is really the way to go in this day and age. I’d looked into it a while ago, but it was all Cg / CUDA etc. and I didn’t have time to convert to GLSL, and with openCL just round the corner I’m just waiting for that to get into gpgpu. The superflow example does look nicely packaged though, will have a peek thanks wink

@Seth
The processing MSAFluid is a straight port of my C++ ofxMSAFluid for ofw. In the processing MSAFluidTuioDemo there is also a simple particle system to show how to read fluid velocities and use them for other purposes (e.g. update particle positions). Porting this to C++ should be relatively straightforward. The source for that too is in the download (not in MSAFluid, but the sample processing demos). If you do port the demo lemme know, i’d be curious to see the exact performance difference.

Profile
 
 
Posted: 10 April 2009 04:17 AM   [ Ignore ]   [ # 11 ]
Avatar
RankRank
Joined  2008-04-22
Total Posts:  204
Member

Daim, thats jaw dropping fluid system demo, awesome awesome awesome!!!

 Signature 

sharathpatali.wordpress.com

Profile
 
 
Posted: 10 April 2009 04:19 AM   [ Ignore ]   [ # 12 ]
Avatar
RankRankRankRank
Joined  2007-09-18
Total Posts:  882
Moderator

the Touchlib show
i used Touchlib (runnin’ @ 100fps) cos’ Tbeta don’t send accel and velocity TUIO messages

It’s MSA Fluid, i “tweaked” some params to enable Superfluid to perform, that’s y when you stop moving your fingers,the effect is quite nice

 Signature 

How many touches can you simultaneously perform ? 
Coming soon : EveryWall MT / Multi LaserPointers / MT SMS Wall
le WIKI en Français

Profile
 
 
Posted: 10 April 2009 04:25 AM   [ Ignore ]   [ # 13 ]
Avatar
Rank
Joined  2009-02-25
Total Posts:  25
New Member

ah ok, yea the effect is nice, wasn’t sure if it was a desired feature or a bug ‘feature’ rasberry

Profile
 
 
Posted: 10 April 2009 12:21 PM   [ Ignore ]   [ # 14 ]
Avatar
RankRankRankRankRankRank
Joined  2007-04-08
Total Posts:  2539
Dedicated

Hehe. I liked the tweaked parameters a bit. Almost looked like plasma pong in a way.

Memo, are these the same classes as your MSAFluid c++ ones? I’m hoping to play with those in OF soon smile

 Signature 

MTmini, MTbiggie, & Audiotouch creator & Community Core Vision Co-founder

Follow on:
My Blog | Facebook | Twitter | Youtube

Profile
 
 
Posted: 10 April 2009 01:21 PM   [ Ignore ]   [ # 15 ]
Avatar
Rank
Joined  2009-02-25
Total Posts:  25
New Member

Hey Seth, yup fluid code is the same, but you’ll need to port the particle code from the processing demo if you want that too (shouldnt be too problematic).

now when are you gonna update tbeta with those cursor velocities? wink

Profile
 
 
   
1 of 2
1