Blender Git Loki

Git Commits -> Revision aa6c922

Revision aa6c922 by Erik Abrahamsson (master)
November 27, 2021, 18:06 (GMT)
Geometry Nodes: Optimize Cube primitive vertex calculation

This patch gets rid of the O(N^3) complexity
of calculate_vertices. Execution time of the node is
reduced from 250ms to 140ms with 500^3 vertices.
In the future edge calculations could be done manually
and reduce the execution time even further.

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

Commit Details:

Full Hash: aa6c922d99f7ae170f652ffd87dc852afda0af76
Parent Commit: d2f4fb6
Lines Changed: +27, -13

1 Modified Path:

/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cube.cc (+27, -13) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021