Files
test2/source/blender/blenkernel/intern
Hans Goudey f117ea2624 Geometry Nodes: Expose vertex normals as an attribute
This attribute exposes mesh vertex normals as a `vertex_normal`
attribute for use with nodes. Since the normal vector stored in
vertices is only a cache of data computable from the surrounding faces,
the attribute is read-only. A proper error message for attempting to
write this attribute is part of T85749. A write-only normal attribute
will likely come later, most likely called `corner_normal`.

The normals are recomputed before reading if they are marked dirty.
This involves const write-access to the mesh, protected by the mutex
stored in `Mesh_Runtime`. This is essential for correct behavior after
nodes like "Edge Split" or nodes that adjust the position attribute.

Ref T84297, T85880, T86206

Differential Revision: https://developer.blender.org/D10541
2021-03-05 15:16:25 -06:00
..
2021-02-15 15:30:17 +01:00
2020-11-06 12:32:54 +11:00
2021-03-03 12:23:02 +01:00
2020-11-06 12:32:54 +11:00
2020-10-14 15:12:40 +11:00
2021-02-05 19:08:14 -08:00
2021-02-20 15:38:14 +11:00
2020-09-09 16:36:57 +02:00
2020-12-16 21:03:42 -07:00
2021-02-10 17:48:49 +01:00
2021-03-05 14:44:28 +11:00
2020-11-20 11:39:22 +11:00
2021-02-13 17:44:51 +11:00
2021-02-24 15:53:03 +11:00
2021-02-17 14:50:08 +11:00
2021-01-13 13:21:29 +11:00
2021-03-05 17:35:35 +01:00
2020-08-08 13:38:00 +10:00
2021-03-02 16:53:56 +01:00
2020-10-22 17:08:37 -04:00
2021-03-04 16:58:03 +11:00
2020-10-11 13:00:49 -04:00
2020-12-07 13:25:53 +11:00
2021-02-13 17:40:03 +11:00
2021-02-13 15:23:49 -08:00