Blender Git Commit Log

Git Commits -> Revision e5b1839

Revision e5b1839 by Alexander Gavrilov (master)
October 17, 2018, 14:55 (GMT)
Shrinkwrap: implement the use of smooth normals in constraint & modifier.

- Use smooth normals to displace in Above Surface mode.
- Add an option to align an axis to the normal in the constraint.

I've seen people request the alignment feature, and it seems useful.
For the actual aligning I use the damped track logic.

In order to conveniently keep mesh data needed for normal
computation together, a new data structure is introduced.

Reviewers: mont29

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

Commit Details:

Full Hash: e5b18390fa591c8b37b9ef9884611b2888bab188
Parent Commit: d31ea3b
Lines Changed: +354, -234

9 Modified Paths:

/release/scripts/startup/bl_ui/properties_constraint.py (+7, -0) (Diff)
/source/blender/blenkernel/BKE_shrinkwrap.h (+21, -18) (Diff)
/source/blender/blenkernel/intern/constraint.c (+57, -47) (Diff)
/source/blender/blenkernel/intern/shrinkwrap.c (+217, -129) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+12, -0) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+4, -1) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+26, -35) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_shrinkwrap.c (+8, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021