[Durian-svn] [4110] 64 random presets

campbell institute at blender.org
Sun May 30 01:48:59 CEST 2010


Revision: 4110
          https://blenderinstitute.dyndns.org/durian-svn/?do=log&project=durian&path=/&rev=4110
Author:   campbell
Date:     2010-05-30 01:48:59 +0200 (Sun, 30 May 2010)
Log Message:
-----------
64 random presets

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

Modified: pro/scripts/modules/finals_config.py
===================================================================
--- pro/scripts/modules/finals_config.py	2010-05-29 23:12:31 UTC (rev 4109)
+++ pro/scripts/modules/finals_config.py	2010-05-29 23:48:59 UTC (rev 4110)
@@ -165,355 +165,592 @@
             hairutils.load_hair_weights(f, psys)
             f.close()
 
-        def sintal_preset_hair_run():
-            
-            '''
-            When changing settings here BE VERY CAREFUL!
-            since its re-used
-            '''
-            psys.cloth.settings.structural_stiffness= 12.0 # good overall value to control stiffness, 12 is needed for running up stairs
-            psys.cloth.settings.pin_stiffness = 0.5 # above 0.6 can become unstable!
-            psys.cloth.settings.bending_stiffness = 80.0
 
-            psys.cloth.settings.spring_damping = 30.0 # doesnt seem to do much
-            psys.cloth.settings.air_damping = 2.5 # good way to dampen hair
 
-            psys.cloth.settings.mass = 0.015 # was 0.01
-            psys.cloth.settings.internal_friction = 0.1 # 0.9 makes hair too symmatrical
 
-        # one setting to rule them all!
-        # sintal_preset_hair_run()
-        if 0:
-            
-            # PASS 1
-            def sintal_preset_0():
-                psys.cloth.settings.structural_stiffness= 34.842172
-                psys.cloth.settings.pin_stiffness= 0.325494
-                psys.cloth.settings.bending_stiffness= 6.181651
-                psys.cloth.settings.spring_damping= 10.728032
-                psys.cloth.settings.air_damping= 0.106006
-                psys.cloth.settings.mass= 0.043183
-                psys.cloth.settings.internal_friction= 0.830935
 
-            def sintal_preset_1():
-                psys.cloth.settings.structural_stiffness= 4.247962
-                psys.cloth.settings.pin_stiffness= 0.314050
-                psys.cloth.settings.bending_stiffness= 67.461915
-                psys.cloth.settings.spring_damping= 27.600531
-                psys.cloth.settings.air_damping= 0.899747
-                psys.cloth.settings.mass= 0.095244
-                psys.cloth.settings.internal_friction= 0.565265
 
-            def sintal_preset_2():
-                psys.cloth.settings.structural_stiffness= 22.175351
-                psys.cloth.settings.pin_stiffness= 0.524531
-                psys.cloth.settings.bending_stiffness= 58.052639
-                psys.cloth.settings.spring_damping= 37.233306
-                psys.cloth.settings.air_damping= 1.725317
-                psys.cloth.settings.mass= 0.081011
-                psys.cloth.settings.internal_friction= 0.809613
+        def sintal_preset_0():
+            psys.cloth.settings.structural_stiffness= 33.521093
+            psys.cloth.settings.pin_stiffness= 0.576953
+            psys.cloth.settings.bending_stiffness= 147.405405
+            psys.cloth.settings.spring_damping= 35.956302
+            psys.cloth.settings.air_damping= 1.549872
+            psys.cloth.settings.mass= 0.063398
+            psys.cloth.settings.internal_friction= 0.027390
 
-            def sintal_preset_3():
-                psys.cloth.settings.structural_stiffness= 10.235273
-                psys.cloth.settings.pin_stiffness= 0.760074
-                psys.cloth.settings.bending_stiffness= 154.354119
-                psys.cloth.settings.spring_damping= 4.448911
-                psys.cloth.settings.air_damping= 0.343445
-                psys.cloth.settings.mass= 0.014469
-                psys.cloth.settings.internal_friction= 0.352974
+        def sintal_preset_1():
+            psys.cloth.settings.structural_stiffness= 20.291401
+            psys.cloth.settings.pin_stiffness= 0.968402
+            psys.cloth.settings.bending_stiffness= 150.799313
+            psys.cloth.settings.spring_damping= 1.176799
+            psys.cloth.settings.air_damping= 4.106781
+            psys.cloth.settings.mass= 0.029765
+            psys.cloth.settings.internal_friction= 0.716243
 
-            def sintal_preset_4():
-                psys.cloth.settings.structural_stiffness= 35.495883
-                psys.cloth.settings.pin_stiffness= 0.471697
-                psys.cloth.settings.bending_stiffness= 92.088022
-                psys.cloth.settings.spring_damping= 5.535391
-                psys.cloth.settings.air_damping= 2.019423
-                psys.cloth.settings.mass= 0.042530
-                psys.cloth.settings.internal_friction= 0.883838
+        def sintal_preset_2():
+            psys.cloth.settings.structural_stiffness= 32.077361
+            psys.cloth.settings.pin_stiffness= 0.686350
+            psys.cloth.settings.bending_stiffness= 0.538703
+            psys.cloth.settings.spring_damping= 39.858409
+            psys.cloth.settings.air_damping= 1.287963
+            psys.cloth.settings.mass= 0.017366
+            psys.cloth.settings.internal_friction= 0.410585
 
-            def sintal_preset_5():
-                psys.cloth.settings.structural_stiffness= 4.426312
-                psys.cloth.settings.pin_stiffness= 0.562971
-                psys.cloth.settings.bending_stiffness= 127.978040
-                psys.cloth.settings.spring_damping= 0.961237
-                psys.cloth.settings.air_damping= 4.121240
-                psys.cloth.settings.mass= 0.007018
-                psys.cloth.settings.internal_friction= 0.726404
+        def sintal_preset_3():
+            psys.cloth.settings.structural_stiffness= 23.435615
+            psys.cloth.settings.pin_stiffness= 0.468392
+            psys.cloth.settings.bending_stiffness= 136.217476
+            psys.cloth.settings.spring_damping= 6.716567
+            psys.cloth.settings.air_damping= 4.283623
+            psys.cloth.settings.mass= 0.091672
+            psys.cloth.settings.internal_friction= 0.745196
 
-            def sintal_preset_6():
-                psys.cloth.settings.structural_stiffness= 8.235972
-                psys.cloth.settings.pin_stiffness= 0.530574
-                psys.cloth.settings.bending_stiffness= 70.926150
-                psys.cloth.settings.spring_damping= 34.262581
-                psys.cloth.settings.air_damping= 0.960725
-                psys.cloth.settings.mass= 0.056708
-                psys.cloth.settings.internal_friction= 0.469111
+        def sintal_preset_4():
+            psys.cloth.settings.structural_stiffness= 11.282034
+            psys.cloth.settings.pin_stiffness= 0.413611
+            psys.cloth.settings.bending_stiffness= 2.801168
+            psys.cloth.settings.spring_damping= 45.360058
+            psys.cloth.settings.air_damping= 2.066540
+            psys.cloth.settings.mass= 0.015330
+            psys.cloth.settings.internal_friction= 0.038317
 
-            def sintal_preset_7():
-                psys.cloth.settings.structural_stiffness= 14.000082
-                psys.cloth.settings.pin_stiffness= 0.782709
-                psys.cloth.settings.bending_stiffness= 166.839052
-                psys.cloth.settings.spring_damping= 5.493323
-                psys.cloth.settings.air_damping= 4.890513
-                psys.cloth.settings.mass= 0.063491
-                psys.cloth.settings.internal_friction= 0.603489
+        def sintal_preset_5():
+            psys.cloth.settings.structural_stiffness= 26.970148
+            psys.cloth.settings.pin_stiffness= 0.109981
+            psys.cloth.settings.bending_stiffness= 137.294795
+            psys.cloth.settings.spring_damping= 47.821687
+            psys.cloth.settings.air_damping= 2.300595
+            psys.cloth.settings.mass= 0.006854
+            psys.cloth.settings.internal_friction= 0.895546
 
-            def sintal_preset_8():
-                psys.cloth.settings.structural_stiffness= 37.684594
-                psys.cloth.settings.pin_stiffness= 1.330531
-                psys.cloth.settings.bending_stiffness= 18.253555
-                psys.cloth.settings.spring_damping= 0.257134
-                psys.cloth.settings.air_damping= 0.657556
-                psys.cloth.settings.mass= 0.028089
-                psys.cloth.settings.internal_friction= 0.043132
+        def sintal_preset_6():
+            psys.cloth.settings.structural_stiffness= 20.182258
+            psys.cloth.settings.pin_stiffness= 0.834196
+            psys.cloth.settings.bending_stiffness= 126.480641
+            psys.cloth.settings.spring_damping= 14.482337
+            psys.cloth.settings.air_damping= 4.818418
+            psys.cloth.settings.mass= 0.054198
+            psys.cloth.settings.internal_friction= 0.101439
 
-            def sintal_preset_9():
-                psys.cloth.settings.structural_stiffness= 4.590340
-                psys.cloth.settings.pin_stiffness= 1.022655
-                psys.cloth.settings.bending_stiffness= 48.396537
-                psys.cloth.settings.spring_damping= 3.357247
-                psys.cloth.settings.air_damping= 4.480608
-                psys.cloth.settings.mass= 0.059139
-                psys.cloth.settings.internal_friction= 0.194198
+        def sintal_preset_7():
+            psys.cloth.settings.structural_stiffness= 24.527506
+            psys.cloth.settings.pin_stiffness= 0.804795
+            psys.cloth.settings.bending_stiffness= 109.188882
+            psys.cloth.settings.spring_damping= 44.257200
+            psys.cloth.settings.air_damping= 0.206064
+            psys.cloth.settings.mass= 0.094492
+            psys.cloth.settings.internal_friction= 0.168946
 
-            def sintal_preset_10():
-                psys.cloth.settings.structural_stiffness= 3.254883
-                psys.cloth.settings.pin_stiffness= 0.845415
-                psys.cloth.settings.bending_stiffness= 160.195551
-                psys.cloth.settings.spring_damping= 27.294362
-                psys.cloth.settings.air_damping= 4.721024
-                psys.cloth.settings.mass= 0.041178
-                psys.cloth.settings.internal_friction= 0.626918
+        def sintal_preset_8():
+            psys.cloth.settings.structural_stiffness= 7.957973
+            psys.cloth.settings.pin_stiffness= 0.891550
+            psys.cloth.settings.bending_stiffness= 126.071570
+            psys.cloth.settings.spring_damping= 43.073833
+            psys.cloth.settings.air_damping= 1.771296
+            psys.cloth.settings.mass= 0.003076
+            psys.cloth.settings.internal_friction= 0.889549
 

@@ Diff output truncated at 10240 characters. @@


More information about the Durian-svn mailing list