This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/blenkernel
Hans Goudey ba3a0dc9ba 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
2021-03-13 14:13:16 -05:00
..
2020-12-16 16:26:23 +11:00
2021-01-04 17:38:11 +11:00
2021-02-10 09:38:24 +11:00
2021-02-13 17:44:51 +11:00
2020-12-16 16:26:23 +11:00
2020-12-16 16:26:23 +11:00
2020-10-01 14:29:45 +02:00
2020-12-15 17:19:55 +01:00
2020-12-15 12:01:45 +01:00
2021-02-17 14:50:08 +11:00
2021-03-02 16:53:56 +01:00
2020-12-16 16:26:23 +11:00
2020-12-16 16:26:23 +11:00
2021-02-26 16:55:58 +11:00