Blender Git Loki

Git Commits -> Revision 093bfb9

Revision 093bfb9 by Bastien Montagne (compositor-2016)
June 8, 2016, 19:45 (GMT)
Dynapaint: fix use of normal normalization in dynamicPaint_generateBakeData().

Vertex's normal is always normalized - and its conversion from short to float should not change that!
On the other hand, linear interpolation of three normals **does not give a normalized vector**
(unless all three inputs are exactly the same).

Also, minor optimization, avoid recomputing that interpolated normal twice for each PaintUVPoint.

Commit Details:

Full Hash: 093bfb941af2620ee36a7fffe61d4cb1e840607f
Parent Commit: 314cf40
Committed By: Jeroen Bakker
Lines Changed: +27, -37

1 Modified Path:

/source/blender/blenkernel/intern/dynamicpaint.c (+27, -37) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021