Blender Git Loki

Git Commits -> Revision 4468c34

Revision 4468c34 by Charlie Jolly (master)
October 25, 2021, 21:54 (GMT)
Geometry Nodes: Optimise Voronoi texture node

This patch improves performance by only assigning
or calculating data for connected sockets.

It is recommended that artists use the lowest dimensions setting
for noise based textures. E.g. Use 2D instead of 3D where possible.

Using a scoped timer and single thread on 256,000 points.
Smooth F1 3D : Debug build
Timer 'Optimised' took 9.39991 s
Timer 'Normal' took 16.1531 s

This optimisation is only for GN and not shaders.

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

Commit Details:

Full Hash: 4468c343787471df8a7a71ceb066301d2eaa6dc6
Parent Commit: 348b5f9
Lines Changed: +512, -175

2 Modified Paths:

/source/blender/blenlib/intern/noise.cc (+151, -53) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_voronoi.cc (+361, -122) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021