Blender Git Loki

Git Commits -> Revision 80f7f10

Revision 80f7f10 by Hans Goudey (master)
March 9, 2021, 18:39 (GMT)
Geometry Nodes: Add Attribute interpolation for polygon domains

This commit adds interpolation to and from attribute on the polygon
domain. Interpolation is done automatically when a node uses attributes
on two different domains. The following are the new interpolations and
corresponding simple test cases:
- **Point to Polygon**: Painting the shade smooth attribute in weight
paint mode
- **Polygon to Point**: Moving points along a normal based on the
material index
- **Polygon to Corner**: Scaling a UV map with the material index
before sampling a texture

{F9881516}

This is also necessary for an improved implementation of the `normal`
attribute.

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

Commit Details:

Full Hash: 80f7f1070f177ae543f2fa35dd5d458e87ff30c1
Parent Commit: 9965868
Lines Changed: +167, -0

1 Modified Path:

/source/blender/blenkernel/intern/geometry_component_mesh.cc (+167, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021