Blender Git Loki

Git Commits -> Revision 3a6d629

Revision 3a6d629 by Jacques Lucke (master)
February 17, 2021, 11:13 (GMT)
Cycles: support accessing custom mesh attributes

This makes custom mesh attributes available in Cycles. Typically,
these attributes are generated by Geometry Nodes, but they can also
be created with a Python script.

* The `subdivision` code path is not yet supported.
* This does not make vertex weights and some other builtin attributes
available in Cycles, even though they are accesible in Geometry Nodes.
All attributes generated in Geometry Nodes should be accessible though.
* In some cases memory consumption could be removed by not storing all
attributes in floats. E.g. booleans and integer attributes for which
all values are within a certain range, could be stored in less than
4 bytes per element.

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

Commit Details:

Full Hash: 3a6d6299d7a0f2a6a156bce6731a0b29804d911d
Parent Commit: 9419452
Lines Changed: +128, -0

1 Modified Path:

/intern/cycles/blender/blender_mesh.cpp (+128, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021