Blender Git Loki

Git Commits -> Revision 0700441

Revision 0700441 by Hans Goudey (master)
March 9, 2021, 14:27 (GMT)
Geometry Nodes: Expose "shade smooth" as an attribute

This patch exposes the "Shade Smooth" value as a boolean attribute.
This setting is exposed as a check-box in the mesh data properties,
but the value is actually stored for every face, allowing some faces
to be shaded smooth with a simple per-face control.

One bonus, this allows at least a workaround to the lack of control
of whether meshes created by nodes are shaded smooth or not: just use
an attribute fill node.

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

Commit Details:

Full Hash: 0700441578c9bb4d3f45d59183f26d3293499113
Parent Commit: eaada56
Lines Changed: +42, -4

3 Modified Paths:

/source/blender/blenkernel/intern/geometry_component_mesh.cc (+37, -1) (Diff)
/source/blender/blenkernel/intern/geometry_set_instances.cc (+4, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_join_geometry.cc (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021