Blender Git Loki

Blender Git "temp-geometry-nodes-distribute-points-cleanup" branch commits.

Page: 4 / 15

November 27, 2020, 18:25 (GMT)
Theme: Update shader node color to match socket color

Related to T82689

Reviewed by Brecht
November 27, 2020, 18:07 (GMT)
UI: Update node socket colors

Note: This also changes the Shader socket color, to match "Shading" in the Outliner.

Theme update for shader nodes will be committed separately.

Related to T82689
November 27, 2020, 18:06 (GMT)
Geometry Nodes: Fix building in Mac
November 27, 2020, 17:21 (GMT)
Geometry Nodes: Support exposing string sockets to the modifier

Create a string IDProperty in the modifier initialized with the socket's
default value.
November 27, 2020, 11:17 (GMT)
Fix generating to many points on dense meshes
November 26, 2020, 23:04 (GMT)
Add seed input for scatter node
November 26, 2020, 22:06 (GMT)
Merge branch 'geometry-nodes' into geometry-nodes-distribute-points
November 26, 2020, 21:52 (GMT)
Geometry Nodes: fix when vertex group exists but there are no MDeformVerts yet

The `mesh->dvert` array is only allocated when needed. Just creating a new vertex
group without any vertices in it, does not trigger the allocation.
November 26, 2020, 21:47 (GMT)
WIP posion attribute map point removal
November 26, 2020, 21:07 (GMT)
Merge branch 'geometry-nodes' into geometry-nodes-distribute-points
November 26, 2020, 17:49 (GMT)
Geometry Nodes: Use ID template node group selector in the modifier

This puts the same controls as in the node editor header
in the modifier panel.
November 26, 2020, 17:37 (GMT)
Geometry Nodes: use attribute span api in Join Geometry node

Copying over attributes from the original geometries to the new
geometry only takes ca. a third of the time compared to before.
November 26, 2020, 17:22 (GMT)
Geometry Nodes: use attribute span api in random attribute node

This results in a ~30% speedup. The execution time is bounded
by the random number generator here.
November 26, 2020, 17:20 (GMT)
Cleanup: correct comment
November 26, 2020, 17:12 (GMT)
Geometry Nodes: use attribute span api in attribute math node

For a simple add operation, this results in a 3-4x speedup.
November 26, 2020, 17:11 (GMT)
Geometry Nodes: support accessing attributes with spans

Before, attributes could only be accessed via setter and getter functions.
While this works well, it can be cumbersome and slow.
It would be better if most code could just operate on the underlying
attribute array directly. The issue is that some attributes are currently
not stored in plain arrays (e.g. vertex positions, vertex groups, ...).

This patch implements a solution where these "special" attributes are
converted into a temporary array for easy access and then copied
back into their correct form after all modifications are done.

Attribute accessors now have a `get_span` and `apply_span` method,
which can be used exactly for that purpose. In the case of attributes
that are plain arrays internally, only small constant overhead is added.
November 26, 2020, 17:03 (GMT)
Geometry Nodes: protect object from instancing itself directly

This is not a perfect check, because it does not check instances recursivly.
However, it helps protect us from the most common mistake.
November 26, 2020, 14:33 (GMT)
Geometry Nodes: maintain some more data in the Join node

Material indices and smooth states are not destroyed anymore.
If the two incoming meshes use different materials, the materials of
the first input will be used. This is obviously not ideal, because the
second input might change its material.

In the future we want to handle that differently and keep both materials,
but for now this is consistent with the boolean node.
November 26, 2020, 13:46 (GMT)
WIP changes to point dist node
November 26, 2020, 12:46 (GMT)
Geometry Nodes: update normals after transforming mesh

This is not done in `BKE_mesh_transform`.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021