[Durian-svn] [4581] Bendiness correction was not being applied to shadow hair.

brecht institute at blender.org
Sat Jun 5 20:50:47 CEST 2010


Revision: 4581
          https://blenderinstitute.dyndns.org/durian-svn/?do=log&project=durian&path=/&rev=4581
Author:   brecht
Date:     2010-06-05 20:50:47 +0200 (Sat, 05 Jun 2010)
Log Message:
-----------
Bendiness correction was not being applied to shadow hair.

Modified Paths:
--------------
    pro/scripts/modules/finals_config.py

Modified: pro/scripts/modules/finals_config.py
===================================================================
--- pro/scripts/modules/finals_config.py	2010-06-05 18:32:14 UTC (rev 4580)
+++ pro/scripts/modules/finals_config.py	2010-06-05 18:50:47 UTC (rev 4581)
@@ -129,7 +129,12 @@
             # so it uses the pointcache
             psys.hair_dynamics = sim
 
+            # bendiness fixing (sync with hair_emit!!!)
+            psys.cloth.settings.fix_bending_factor = 1.0
+            psys.cloth.settings.fix_bending_falloff = 1.0
+            psys.cloth.settings.fix_bending_offset = 4
 
+
     # obj = bpy.data.objects.get("GEO-sintel_hair_emit")
     # if obj:
     for obj in [obj for obj_name, obj in object_items if obj_name == "GEO-sintel_hair_emit"]:
@@ -147,7 +152,7 @@
         psys.cloth.settings.pin_stiffness = 0.2
         psys.cloth.settings.pre_roll = pre_roll # this is very important
 
-        # bendiness fixing
+        # bendiness fixing (sync with hair_shad!!!)
         psys.cloth.settings.fix_bending_factor = 1.0
         psys.cloth.settings.fix_bending_falloff = 1.0
         psys.cloth.settings.fix_bending_offset = 4



More information about the Durian-svn mailing list