Blender Git Commit Log

Git Commits -> Revision 04387f4

Revision 04387f4 by Ton Roosendaal (master)
November 29, 2005, 21:44 (GMT)
Bugfix #3493

Replaced sqrt() with the safe version sasqrt() in anisotropic.
the formula (1 - n*n) should not give negative values for n = dotproduct
of normals, but float inaccuracy can make negative zeros, as we know!

This solves, hopefully, last annoying "blotches" in hair!

Commit Details:

Full Hash: 04387f403facc61434186572afdc529ecd247c34
SVN Revision: 5976
Parent Commit: e2723d6
Lines Changed: +11, -12

1 Modified Path:

/source/blender/render/intern/source/rendercore.c (+11, -12) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021