Blender Git Loki

Git Commits -> Revision 4e9b17d

Revision 4e9b17d by Mai Lavelle (master)
February 21, 2017, 12:24 (GMT)
Cycles: Speedup by avoiding extra calculations in noise texture when unneeded

Noise texture is now faster when the color socket is unused. Potential for
speedup spotted by @nutel.

Some performance results:

Render Time Before After Difference
Gooseberry benchmark 47:51.34 45:55.57 -4%
Koro 12:24.92 12:18.46 -0.8%
Simple cube (Color socket) 48.53 48.72 +0.3%
Simple cube (Fac socket) 48.74 32.78 -32.7%
Goethe displacement 1:21.18 1:08.47 -15.6%
Cycles brick displacement 3:02.38 2:16.76 -25.0%
Large displacement scene 23:54.12 20:09.62 -15.6%

Reviewed By: sergey

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

Commit Details:

Full Hash: 4e9b17da4ca7b0b77b796080217af495b9bd180b
Parent Commit: 34a502c
Lines Changed: +19, -27

1 Modified Path:

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