Blender Git Loki

Git Commits -> Revision f9cbb90

Revision f9cbb90 by Lukas Toenne (master)
October 13, 2014, 17:58 (GMT)
Integrated limits for volume preservation in stretch-to constraints.

Currently the volume variation feature in stretch constraints is
unlimited. This has to be compensated by riggers by adding scale limit
constraints, but these are unaware of the stretch orientation and can
lead to flipping. Also the stretch calculation itself is not working
properly and can lead to collapsing volume.

The patch fixes this with several modifications:
- Interpret the volume variation factor as exponent, which works better
with large values for artistic purposes.
- Add integrated limits to the volume "bulge" factor, so secondary
constraints for compensation become unnecessary
- Add a smoothness factor to make limits less visible.

Eventually a generic volume preservation constraint would be nicer,
because multiple constraints currently implement volume variation of
their own. This feature could actually work very nicely independent from
other constraint features.

Differential Revision: https://developer.blender.org/D826

Commit Details:

Full Hash: f9cbb908a3fbd73970920def8356993b9e016d1d
Parent Commit: af346f9
Lines Changed: +95, -9

4 Modified Paths:

/release/scripts/startup/bl_ui/properties_constraint.py (+14, -0) (Diff)
/source/blender/blenkernel/intern/constraint.c (+45, -8) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+11, -1) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+25, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021