Blender Git Commit Log

Git Commits -> Revision 5bd822d

Revision 5bd822d by Hans Goudey (master)
January 11, 2021, 17:42 (GMT)
Geometry Nodes Point Distribution: Align points to face normals

This patch makes the point distribute node write to the "rotation"
attribute with the normal of each face at each distributed point.
The "normal" attribute is also created with the triangle normal
at each point.

The conversion from the triangle normal to an Euler rotation is somewhat
arbitrary, since we only have one direction vector. For a more flexible
rotation for each point, the "Align Rotation to Vector" node can be used
in the future.

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

Commit Details:

Full Hash: 5bd822dc46f60da4b7de125f2d559fa16d781787
Parent Commit: 2a8b987
Lines Changed: +50, -7

1 Modified Path:

/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc (+50, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021