Blender Git Commit Log

Git Commits -> Revision a1167e9

Revision a1167e9 by Omar Emara (master)
September 10, 2021, 12:25 (GMT)
BLI: Add Cycles compatible Perlin noise

This patch adds new Perlin noise functions to BLI. The noises are compatible
with the shading texture noises in EEVEE, SVM, and OSL.

The existing Jenkins hash functions couldn't be used because they are not
compatible with the shading implementations and an attempt at adjusting the
implementation will break compatibility in various areas of Blender. So the
simplest approach is to reimplement the relevant hashing functions inside the
noise module itself.

Additionally, this patch also adds a minimal float4 structure to use in the
interface of the noise functions.

Reviewed By: JacquesLucke

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

Commit Details:

Full Hash: a1167e910a22077a6738edc3ee8e57ab4d5d62dd
Parent Commit: 60cfdf0
Lines Changed: +854, -0

3 Added Paths:

/source/blender/blenlib/BLI_float4.hh (+86, -0) (View)
/source/blender/blenlib/BLI_noise.hh (+72, -0) (View)
/source/blender/blenlib/intern/noise.cc (+693, -0) (View)

1 Modified Path:

/source/blender/blenlib/CMakeLists.txt (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021