Spawning water turns off incompressible fluids

About advanced scenes, and the Thyme scripting language used in Algodoo.

Spawning water turns off incompressible fluids

Postby daniels220 » Tue Oct 05, 2010 3:18 am

I've noticed that spawning water also silently sets the water "version" back to the default, which is to not use the new incompressible-fluids algorithm. For a long time I thought the new algo wasn't much of an improvement but it turns out I was never seeing it.

So, for now, can everyone please add "version := 2" to their water spawners? Like:

Code: Select all
(e)=>{
    scene.addWater({
        vecs := [e.pos];
        version := 2;
    });
}


Also, to the devs—is there a property like "SPH.defaultWaterVersion" that people could set? What about just changing the default for scene.addWater to the new version?
daniels220
 
Posts: 95
Joined: Mon Aug 31, 2009 11:30 pm

Re: Spawning water turns off incompressible fluids

Postby Rideg » Tue Oct 05, 2010 3:35 pm

Just make a sugestion that version 2 should be standard
Image
make sure to check out my work.
User avatar
Rideg
 
Posts: 948
Joined: Tue Dec 15, 2009 5:17 pm
Location: Östersund, Sweden

Re: Spawning water turns off incompressible fluids

Postby Mystery » Wed Oct 06, 2010 12:33 pm

Then that would make phun get errors.
My suggestion Update Phun
User avatar
Mystery
 
Posts: 2802
Joined: Thu Sep 03, 2009 1:16 pm
Location: Southern Australia

Re: Spawning water turns off incompressible fluids

Postby Rideg » Wed Oct 06, 2010 9:08 pm

What kind of errors? I can't see it get any errors for adding the more advanced fluid system
Image
make sure to check out my work.
User avatar
Rideg
 
Posts: 948
Joined: Tue Dec 15, 2009 5:17 pm
Location: Östersund, Sweden

Re: Spawning water turns off incompressible fluids

Postby daniels220 » Thu Oct 07, 2010 3:40 am

Well, it would make scenes behave inconsistently and lag if they depend on the incompressible-fluids algo. But that's nothing new—scenes made even in different versions of Algodoo are incompatible all the time. I will make that suggestion.
daniels220
 
Posts: 95
Joined: Mon Aug 31, 2009 11:30 pm


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 6 guests