Blender Git Loki

Git Commits -> Revision 425e706

Revision 425e706 by Jacques Lucke (master)
January 21, 2021, 15:49 (GMT)
Geometry Nodes: new Attribute Sample Texture node

This node allows sampling a texture for every vertex based on some
mapping attribute. Typical attribute names are the name of a uv map
(e.g. "UVMap") and "position". However, every attribute that can be
converted to a vector implicitly is supported.

It should be noted that as of right now, uv map attributes can only be
accessed after a Point Distribute node.

Ref T82584.

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

Commit Details:

Full Hash: 425e706921a8f986921b8b9c429874fed98e9a10
Parent Commit: a92ebab
Lines Changed: +141, -0

1 Added Path:

/source/blender/nodes/geometry/nodes/node_geo_attribute_sample_texture.cc (+107, -0) (View)

10 Modified Paths:

/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_attribute_access.hh (+3, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+13, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/NOD_geometry.h (+1, -0) (Diff)
/source/blender/nodes/NOD_geometry_exec.hh (+2, -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