Blender Git Loki

Git Commits -> Revision 2b38770

September 3, 2021, 04:00 (GMT)
Add initial normal node

In contrast with the read-only "normal" attribute on the face domain,
this node gives normalized values for every mesh domain, including
edges and corners. This is preferrable since it's much more predictable
to work with.

The implementation is a little more complicated than I would like,
but could be improved with const access to lazy calculation of normals
on meshes, which is something I've been planning to work on anyway.

Commit Details:

Full Hash: 2b38770ebd47c958f357753fef46f18ed6c34cb5
Parent Commit: 5a96096
Lines Changed: +205, -0

1 Added Path:

/source/blender/nodes/geometry/nodes/node_geo_input_normal.cc (+199, -0) (View)

6 Modified Paths:

/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/NOD_geometry.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021