Reorganizing hair dynamics UI layout a bit to make settings slightly

more intuitive.

Also removed a couple of unused or useless features from the UI:
* collider friction is unused and replaced in favor of true collision
* spring damping refers to structural springs (stretch), which is
  not noticable in hair due to extreme stiffness atm.
* pressure factors are not sure since this feature is too unstable atm.

Conflicts:
	release/scripts/startup/bl_ui/properties_particle.py
This commit is contained in:
Lukas Tönne 2014-10-30 15:10:34 +01:00
parent edc9baaae4
commit a351e8b6ef

@ -308,30 +308,38 @@ class PARTICLE_PT_hair_dynamics(ParticleButtonsPanel, Panel):
layout.enabled = psys.use_hair_dynamics and psys.point_cache.is_baked is False layout.enabled = psys.use_hair_dynamics and psys.point_cache.is_baked is False
split = layout.split() split = layout.column()
col = split.column() col = split.column()
col.label(text="Material:") col.label(text="Structure")
sub = col.column(align=True) col.prop(cloth, "mass")
sub.prop(cloth, "pin_stiffness", text="Stiffness") sub = col.row(align=True)
sub.prop(cloth, "mass") sub.prop(cloth, "bending_stiffness", text="Stiffness")
sub.prop(cloth, "bending_stiffness", text="Bending") sub.prop(cloth, "bending_damping", text="Damping")
sub.prop(cloth, "internal_friction", slider=True) # XXX has no noticable effect with stiff hair structure springs
sub.prop(cloth, "collider_friction", slider=True) #col.prop(cloth, "spring_damping", text="Damping")
sub.prop(cloth, "pressure", slider=True)
sub.prop(cloth, "pressure_threshold", slider=True)
sub.separator() split.separator()
sub.prop(cloth, "voxel_resolution")
col = split.column() col = split.column()
col.label(text="Damping:") col.label(text="Volume")
sub = col.column(align=True) col.prop(cloth, "air_damping", text="Air Drag")
sub.prop(cloth, "spring_damping", text="Spring") col.prop(cloth, "internal_friction", slider=True)
sub.prop(cloth, "air_damping", text="Air") sub = col.row(align=True)
sub.prop(cloth, "bending_damping", text="Bending") # XXX disabled due to stability issues
#sub.prop(cloth, "pressure", slider=True, text="Pressure")
#sub.prop(cloth, "pressure_threshold", slider=True, text="Threshold")
col.prop(cloth, "voxel_resolution")
split.separator()
col = split.column()
col.label(text="Pinning")
col.prop(cloth, "pin_stiffness", text="Goal Strength")
split.separator()
col = split.column()
col.label(text="Quality:") col.label(text="Quality:")
col.prop(cloth, "quality", text="Steps", slider=True) col.prop(cloth, "quality", text="Steps", slider=True)