Blender Git Commit Log
Git Commits -> Revision ba3a0dc
Revision ba3a0dc by Hans Goudey (master) March 13, 2021, 19:13 (GMT) |
Geometry Nodes: Add "normal" attribute for face normals This commit adds a `normal` attribute on the polygon domain. Since normal data is derived data purely based off of the location of each face's vertices, it is exposed as a read-only attribute. After rB80f7f1070f17, this attribute can be interpolated to the other domains. Since this attribute is a special case compared to the others, the implementation subclasses `BuiltinAttributeProvider`. It's possible there is a better way to abstract this. Something else might also become apparent if we add similar read-only attributes. See rB2966871a7a891bf36 for why this is preferred over the previous implementation. Differential Revision: https://developer.blender.org/D10677 |
Commit Details:
Full Hash: ba3a0dc9ba91e2f55e3632a69f8671079d871a94
Parent Commit: 2966871
Lines Changed: +64, -3