[Bf-blender-cvs] [1377d74] soc-2014-fluid: high res smoke colors fixed

Roman Pogribnyi noreply at git.blender.org
Fri Nov 14 14:42:11 CET 2014


Commit: 1377d74cb5eb76f3813bf97060411e0df6c4fbc0
Author: Roman Pogribnyi
Date:   Fri Nov 14 14:41:43 2014 +0100
Branches: soc-2014-fluid
https://developer.blender.org/rB1377d74cb5eb76f3813bf97060411e0df6c4fbc0

high res smoke colors fixed

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

M	intern/smoke/intern/scenarios/smoke.h

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

diff --git a/intern/smoke/intern/scenarios/smoke.h b/intern/smoke/intern/scenarios/smoke.h
index 4f238c4..9822257 100644
--- a/intern/smoke/intern/scenarios/smoke.h
+++ b/intern/smoke/intern/scenarios/smoke.h
@@ -221,6 +221,10 @@ const string smoke_step_high = "def sim_step_high(t):\n\
     sPos *= 2.0 \n\
   for substep in range(upres):  \n\
     advectSemiLagrange(flags=xl_flags, vel=xl_vel, grid=xl_density, order=$ADVECT_ORDER$)  \n\
+    if manta_using_colors:\n\
+      advectSemiLagrange(flags=xl_flags, vel=xl_vel, grid=color_r_high, order=$ADVECT_ORDER$)\n\
+      advectSemiLagrange(flags=xl_flags, vel=xl_vel, grid=color_g_high, order=$ADVECT_ORDER$)\n\
+      advectSemiLagrange(flags=xl_flags, vel=xl_vel, grid=color_b_high, order=$ADVECT_ORDER$)\n\
 \n\
   xl.step()\n";




More information about the Bf-blender-cvs mailing list