Blender Git Loki

Blender Git "temp-geometry-nodes-attribute-domain-conversion" branch commits.

January 25, 2021, 05:07 (GMT)
Start implementing attribute domain conversions

This doesn't compile, and it isn't even close to finished, but it's a
start at basic domain conversion, which are generally simple operations
that just depend on the topology of the mesh.

Next steps are creating a new attribute with the calculated
values, and more importantly templating this to work with
different attribute types.
January 24, 2021, 03:31 (GMT)
Add integer attribute support in some places
January 24, 2021, 00:41 (GMT)
Merge branch 'master' into temp-geometry-nodes-material-index-attribute
January 24, 2021, 00:19 (GMT)
Merge branch 'master' into temp-geometry-nodes-material-index-attribute
January 23, 2021, 20:32 (GMT)
Add material index attribute
January 22, 2021, 22:17 (GMT)
Cleanup and improve comments
January 22, 2021, 22:08 (GMT)
Remove special handling of normals from point distribution
January 22, 2021, 21:23 (GMT)
Refactor the "normal" attribute reading and writing
January 22, 2021, 18:09 (GMT)
Merge branch 'master' into temp-geometry-nodes-normal-attribute
January 22, 2021, 14:14 (GMT)
Test derived normals write attribute
January 22, 2021, 13:20 (GMT)
Merge branch 'master' into temp-geometry-nodes-normal-attribute
January 22, 2021, 00:07 (GMT)
Geometry Nodes: Support the "normal" attribute

The `normal` attribute is a bit special for a few reasons:
- It has the special CD_NORMAL custom data type even though
it is just a float3.
- It is sometimes stored in the `MVert` array as a vector of
shorts instead of in a separate custom data layer.
- The custom data layer does not have a default name, so we
can't count on addressing it by name.
- It can exist on multiple domains, meaning that polys, vertices,
and corners can all have the "normal" attribute.

All of these combined raise a lot of questions about how to properly
support reading and writing from this attribute. The whole idea that
it should be valid to address an attribute with the same name on
multiple domains is challenging for the attribute code.

This branch currently supports reading normals stored in the `MVert`
layer and in `CD_NORMAL` layers. I'm not at all sure that this is the
ideal way of dealing with this situation, but it's a start.
Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021