[Durian-svn] [2456] added a cloth setting for scene 02

william institute at blender.org
Mon Apr 26 18:21:12 CEST 2010


Revision: 2456
          https://blenderinstitute.dyndns.org/durian-svn/?do=log&project=durian&path=/&rev=2456
Author:   william
Date:     2010-04-26 18:21:12 +0200 (Mon, 26 Apr 2010)
Log Message:
-----------
added a cloth setting for scene 02

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

Modified: pro/scripts/modules/finals_config.py
===================================================================
--- pro/scripts/modules/finals_config.py	2010-04-26 16:07:52 UTC (rev 2455)
+++ pro/scripts/modules/finals_config.py	2010-04-26 16:21:12 UTC (rev 2456)
@@ -9,7 +9,7 @@
 import os
 
 
-def setup(baked=False, pre_roll=0):
+def setup(baked=False, pre_roll=40):
     
     def replace_group(group_name, groups_from):
         group = bpy.data.groups[group_name]
@@ -94,10 +94,25 @@
             psys.cloth.settings.air_damping = 3.0
             psys.cloth.settings.mass = 0.1 # was 0.01
 
-            psys.settings.child_nbr = 40
-            psys.settings.draw_step = 3
+        elif base_name.startswith("02_d"):
+            psys.cloth.settings.pin_stiffness = 0.1
+            psys.cloth.settings.mass = 0.6 # was 0.01
+            psys.cloth.settings.bending_stiffness = 6
 
+            psys.cloth.settings.internal_friction = 0.985
+            psys.cloth.settings.collider_friction = 0.993
 
+            
+            
+            psys.cloth.settings.spring_damping = 36.0
+            psys.cloth.settings.air_damping = 2
+
+            psys.cloth.settings.quality = 30
+            psys.point_cache.step = 5
+            
+
+
+
         if not baked:
             cache_path_from, cache_path_to = pointcache_dirs(psys.point_cache)
             print("finals_config.py: configuring sintel's hair, (NEEDS BACKING)")



More information about the Durian-svn mailing list