[Bf-blender-cvs] [fef6791] fluid-mantaflow: use smaller randomness factor for now

Sebastián Barschkis noreply at git.blender.org
Wed Jun 8 00:27:46 CEST 2016


Commit: fef67913f220f489cfc2823e498ef97975c8e041
Author: Sebastián Barschkis
Date:   Fri Jun 3 20:05:41 2016 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rBfef67913f220f489cfc2823e498ef97975c8e041

use smaller randomness factor for now

===================================================================

M	intern/mantaflow/intern/strings/liquid_script.h

===================================================================

diff --git a/intern/mantaflow/intern/strings/liquid_script.h b/intern/mantaflow/intern/strings/liquid_script.h
index 40e4ab9..fc5a858 100644
--- a/intern/mantaflow/intern/strings/liquid_script.h
+++ b/intern/mantaflow/intern/strings/liquid_script.h
@@ -89,7 +89,7 @@ def manta_step(start_frame):\n\
     if (start_frame == 1):\n\
         phi.copyFrom(phiTemp)\n\
         flags.updateFromLevelset(phi)\n\
-        sampleLevelsetWithParticles( phi=phi, flags=flags, parts=pp, discretization=2, randomness=0.4 )\n\
+        sampleLevelsetWithParticles( phi=phi, flags=flags, parts=pp, discretization=2, randomness=0.01 )\n\
         mapGridToPartsVec3(source=vel, parts=pp, target=pVel )\n\
         phi.save('/Users/sbarschkis/Desktop/phi.uni')\n\
     \n\




More information about the Bf-blender-cvs mailing list