Blender Git Commit Log

Git Commits -> Revision 881881f

Revision 881881f by Lukas Toenne (hair_system)
August 6, 2014, 12:42 (GMT)
Fix and nicer code structure for the smoothing algorithm.

This was requiring careful index checks outside the actual iterators and
was prone to causing invalid memory access. Now the iterators use
"walker" struct definitions witch handle the details of the data access.

Note that currently the bending springs are broken, this will be fixed
in a separate commit.

Commit Details:

Full Hash: 881881fa397a6f49076332e8544a001e74a453b3
Parent Commit: 41c7818
Lines Changed: +207, -182

7 Modified Paths:

/source/blender/editors/space_view3d/drawhair.c (+33, -33) (Diff)
/source/blender/hair/HAIR_capi.cpp (+51, -58) (Diff)
/source/blender/hair/HAIR_capi.h (+8, -7) (Diff)
/source/blender/hair/intern/HAIR_debug.h (+1, -1) (Diff)
/source/blender/hair/intern/HAIR_smoothing.h (+75, -66) (Diff)
/source/blender/hair/intern/HAIR_solver.cpp (+16, -17) (Diff)
/source/blender/hair/intern/HAIR_solver.h (+23, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021