Blender Git Commit Log
Git Commits -> Revision bc0d55e
Revision bc0d55e by Mattias Fredriksson (master) August 5, 2021, 23:34 (GMT) |
Fix: Avoid floating point error in some mesh primitive nodes Some mesh primitives created using geometry nodes use loops to create vertices and accumulates positions/angles in FP variables. This allows rounding errors to accumulate and can introduce significant errors. To minimize changes from original implementation, variables allowing errors to accumulate are replaced by: delta * index. Affected Mesh Primitives nodes are Line, Grid, Cylinder, Circle, Cone, and UV-Sphere. Differential Revision: https://developer.blender.org/D12136 |
Commit Details:
Full Hash: bc0d55e724a27fba61a93cc95f2cc48e205e1cd8
Parent Commit: 263fa40
Committed By: Hans Goudey
Lines Changed: +20, -27
5 Modified Paths:
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_circle.cc (+5, -5) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cone.cc (+2, -3) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_grid.cc (+6, -8) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_line.cc (+1, -3) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_uv_sphere.cc (+6, -8) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cone.cc (+2, -3) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_grid.cc (+6, -8) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_line.cc (+1, -3) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_uv_sphere.cc (+6, -8) (Diff)