MSAFluid vs. FluidSolver—Video
Posted: 18 May 2009 11:22 PM   [ Ignore ]
Avatar
RankRankRank
Joined  2008-10-28
Total Posts:  272
Sr. Member

I put together a video testing MSAFluid using Processing vs. FluidSolver using Flash.
My computer I’m using isn’t fast at all, so there is a definite difference in performance.

* Windows XP Pro desktop
* Intel Celeron Processor: 1.6GHz
* 2.0 GB RAM
* NVIDIA GeForce 8800 GT Graphics Card
* Projector: Dell 3300MP

I think Flash comes out ahead in this scenario. - Test Fail

I wrote a little more in my blog about it: http://www.cyancdesign.com/2009/05/flash-vs-processing-fluid-solver/

 Signature 

Flash files and tutorial[s] available at:

cyancdesign Tutorial Blog Posts
and
http://wiki.nuigroup.com/Documents_and_tutorials

Profile
 
 
Posted: 19 May 2009 12:18 AM   [ Ignore ]   [ # 1 ]
Avatar
RankRankRankRankRankRank
Joined  2007-04-08
Total Posts:  2415
Dedicated

Looks great man. Memo found a bug in CCV which might be why the velocity looks off on the processing version. CCV wasn’t sending the right velocities; it’s fixed on the svn version now. Not sure if that’s why the movement is weird in the processing version. I actually think the processing one is more fluid when using the mouse, but hard to tell.

 Signature 

techsparked.com for creative and emergent technology inspiration. Post your multitouch apps and projects.

Follow me on:
My Blog
Youtube
Twitter
Linkedin

Profile
 
 
Posted: 19 May 2009 12:53 AM   [ Ignore ]   [ # 2 ]
Avatar
RankRankRank
Joined  2008-10-28
Total Posts:  272
Sr. Member

That makes sense to me. I was getting zero velocity from the touchpoints in processing, but the mouse worked great.
So using the SVN files, is there a guide anywhere on how to compile CCV?
I have no clue on how to use the SVN files, I’ve been relying on the zipped up release but I’d like to know how to utilize the SVN files eventually.
I keep seeing updates to the source and I would like to be able to use it.

I have Microsoft Visual C++ 2008 Express Edition and I’ve tried using it, but I don’t even know if I can use that program or if I need to setup anything in addition to it like the Touchlib compiling tutorial I found (which I couldn’t get working either).

 Signature 

Flash files and tutorial[s] available at:

cyancdesign Tutorial Blog Posts
and
http://wiki.nuigroup.com/Documents_and_tutorials

Profile
 
 
Posted: 19 May 2009 06:32 AM   [ Ignore ]   [ # 3 ]
Avatar
RankRankRankRank
Joined  2008-06-04
Total Posts:  558
Elite

I love this app,

A few points to improve perhaps?!

Is it possible for the sliders at the top to be controlled by touch rather than mousing?

Also can the faders dissapear and reapear when a blob is held in one spot say for 5 seconds?

Also how does the code in the flash version of this app differ from the ripples.swf?  You know the blue ripples app not the one with water and boats but the other one. The reason i ask is that i would love to get this fluid solver.swf working in modul8.  The only flash app i can full functionality whilst inside modul8 is the ripples app.

Has anyone got any ideas?

Thanks.

 Signature 

}---)))@

V JAY!  http://www.v-lux.net LASER tut http://nuigroup.com/forums/viewthread/6407/

Architectural Technician and Building Surveys

http://www.jpgainsfordassociates.com

Profile
 
 
Posted: 19 May 2009 11:15 AM   [ Ignore ]   [ # 4 ]
Avatar
RankRankRank
Joined  2008-10-28
Total Posts:  272
Sr. Member

LOL. what do ya know, compiling instructions:
http://nuicode.com/projects/tbeta/wiki/Compiling_instructions

 Signature 

Flash files and tutorial[s] available at:

cyancdesign Tutorial Blog Posts
and
http://wiki.nuigroup.com/Documents_and_tutorials

Profile
 
 
Posted: 19 May 2009 01:07 PM   [ Ignore ]   [ # 5 ]
Avatar
RankRankRankRank
Joined  2006-11-09
Total Posts:  1221
Administrator

really great comparison idea and research smile

I’d have to side with seth on this tho since java has more direct access it should perform better… and seems to run smooth on other videos so look like issue with input.

still amazing tho to see flash 10 doing these things esp on that hardware 1.6 celeron that thing has like 128kb die cache compared to 8mb now :/

keep up the great work we gotta make some more of these wink

 Signature 

NUI Group Community - Admin/Founder
Profile: http://nuigroup.com/member/1
Skype: naturalui

Profile
 
 
Posted: 19 May 2009 01:26 PM   [ Ignore ]   [ # 6 ]
Avatar
RankRankRank
Joined  2008-10-28
Total Posts:  272
Sr. Member

I’m hoping tonight when I get home I can get the SVN files compiled for CCV and get a fully functioning MSAFluid up and running to get a proper test recorded.

 Signature 

Flash files and tutorial[s] available at:

cyancdesign Tutorial Blog Posts
and
http://wiki.nuigroup.com/Documents_and_tutorials

Profile
 
 
Posted: 19 May 2009 02:36 PM   [ Ignore ]   [ # 7 ]
Rank
Joined  2009-03-08
Total Posts:  11
New Member

Ok, here’s your problem:

the unedited version of MSA fluid for Processing was made for the MSA remote (using an iPhone screen)
that’s why it looks odd. ...

if you dig in the code you’ll see he multiplies all velocities by 0.02, reducing them to almost nothing (because the iPhone screen is so small!)
change that multiplication to 1 or more and you’ll get it’s full feature

hope that helped
I love the tweaks they made to fluid for flash, but it’s no doubt it runs 10x faster under java smile

Profile
 
 
Posted: 19 May 2009 08:36 PM   [ Ignore ]   [ # 8 ]
Avatar
RankRankRank
Joined  2008-10-28
Total Posts:  272
Sr. Member

theigor, Christian, Seth, you are all absolutely right. MSAFluid rans circles around FluidSolver in performance.
It is a setting the the TUIO library section in the MSAFluid example.

 Signature 

Flash files and tutorial[s] available at:

cyancdesign Tutorial Blog Posts
and
http://wiki.nuigroup.com/Documents_and_tutorials

Profile
 
 
Posted: 26 May 2009 03:53 PM   [ Ignore ]   [ # 9 ]
Rank
Joined  2009-01-22
Total Posts:  74
New Member

um, where can i download the Multi-Touch app??

Thanks.

 Signature 

JCKD Website Designers

Profile
 
 
Posted: 26 May 2009 04:26 PM   [ Ignore ]   [ # 10 ]
Avatar
RankRankRank
Joined  2008-10-28
Total Posts:  272
Sr. Member

At Seth’s website:
http://sethsandler.com/technology-multitouch/super-cool-multitouch-actionscript-fluid-solver/

 Signature 

Flash files and tutorial[s] available at:

cyancdesign Tutorial Blog Posts
and
http://wiki.nuigroup.com/Documents_and_tutorials

Profile
 
 
Posted: 26 May 2009 05:03 PM   [ Ignore ]   [ # 11 ]
Avatar
RankRankRankRankRankRank
Joined  2007-04-08
Total Posts:  2415
Dedicated

And here: http://nuigroup.com/forums/viewthread/5587/ smile

 Signature 

techsparked.com for creative and emergent technology inspiration. Post your multitouch apps and projects.

Follow me on:
My Blog
Youtube
Twitter
Linkedin

Profile
 
 
Posted: 27 May 2009 06:34 AM   [ Ignore ]   [ # 12 ]
Rank
Joined  2009-01-22
Total Posts:  74
New Member

YAY

thanks, i can’t wait to try it out rasberry

 Signature 

JCKD Website Designers

Profile
 
 
Posted: 27 May 2009 06:52 AM   [ Ignore ]   [ # 13 ]
Rank
Joined  2009-01-22
Total Posts:  74
New Member
I unzipped the files from seth’s blog, start tbeta, (CCV doesn’t recognise my webcam :@) and start the FLOSC gateway. Then i open ‘FluidSolver\bin\index.html’.

With the mouse, it works perfectly. When i touch, however, nothing happens :(

Whats the problem??

 Signature 

JCKD Website Designers

Profile
 
 
Posted: 27 May 2009 07:14 AM   [ Ignore ]   [ # 14 ]
Rank
Joined  2009-01-22
Total Posts:  74
New Member

EDIT: After opening it in ‘Flash Movie Player’, it now shows circles wherever i touch, but nothing else :(

 Signature 

JCKD Website Designers

Profile