Blender Git Loki

Git Commits -> Revision d632ef7

Revision d632ef7 by Sergey Sharybin (master)
January 30, 2015, 20:49 (GMT)
Cycles: Use fast math functions in hair BSDF

Precision of the fast functions seems to be enough in there and
since the code was heavily using inverse trigonometric functions
this change gives few percent speedup on Victor's hair.

From the tests files from ctests storage doesn't have any meaningful
difference, hair on Victor is all below 4% absolute error and only
few pixels are exceeding 1% absolute difference.

In any case, let it be as it is currently so it allows us to have
fast math file in sources for it's further evaluation and possible
usage in other areas as well.

Commit Details:

Full Hash: d632ef7c66399bef4686673ae344cbad2a887c2a
Parent Commit: dc1043d
Lines Changed: +43, -32

1 Modified Path:

/intern/cycles/kernel/closure/bsdf_hair.h (+43, -32) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021