Blender Git Commits

Blender Git "geometry-nodes-point-separate-node" branch commits.

Page: 5 / 14

November 23, 2020, 23:32 (GMT)
Cleanup: Correct node name in definition function
November 23, 2020, 22:01 (GMT)
Geometry Nodes: Initial implementation for attribute math node

This provide a simple implementation for basic math operations. Add,
subtract, multiple, and divide are implemented so far. Domain
interpolation is not implemented yet either.

This commit also adds two "Type" options to the node for choosing
explicitly whether to use an attribute or a float value as one of the
inputs. It is not possible to use two floats as inputs, because that
would be a regular math node.

Some cleanup to avoid some code duplication will come in a future
commit.
November 23, 2020, 18:13 (GMT)
Geometry Nodes: new Join node

This node creates a new geometry based on two incoming geometries.
In the future the node ui can be extended to support more than two inputs.

The output geometry will have all the attributes of the inputs.
If both inputs have non-matching set of attributes, missing data is either
interpolated, type cast or zeroed.

Ref T82786.
November 23, 2020, 18:05 (GMT)
Geometry Nodes: improve geometry component

* It now knows its own component type.
* Add virtual method to check if the component is empty.
* Add virtual methods to find all attribute names.
* Support adding existing components to a geometry set.
November 23, 2020, 18:02 (GMT)
Geometry Nodes: disable random attribute node when name is empty
November 23, 2020, 15:47 (GMT)
Geometry Nodes: duplicate referenced data layers in attribute api
November 23, 2020, 11:03 (GMT)
Cleanup: improve naming convention for geometry node exec functions
November 23, 2020, 03:17 (GMT)
Geometry Nodes: Add boilerplate code for attribute math node

This code doesn't actually do anything, but it provides a base for an
implementation and exposes the the necessary interface to the UI.
November 23, 2020, 01:55 (GMT)
Cleanup: Doxygen section formatting

Generally doxygen headers are title case and are styled like prose
rather than code.
November 22, 2020, 20:01 (GMT)
Merge branch 'master' into geometry-nodes
November 20, 2020, 21:01 (GMT)
Merge branch 'master' into geometry-nodes
November 20, 2020, 20:20 (GMT)
Geometry Nodes: Switch boolean node inputs

This changes the meaning of the order of the two geometry input sockets
to match the existing boolean modifier. The first socket is now the base
mesh and the second socket is the "cutter" geometry.
November 20, 2020, 20:10 (GMT)
Cleanup: Use nullptr instead of NULL in C++ code
November 20, 2020, 19:29 (GMT)
Geomtetry Nodes: Set node editor context from the active modifier

Similar to how the node editor context works for materials, this commit
makes the node group displayed in the node editor depend on the active
object and its active modifier. To keep the node group from changing,
just pin the node group in the header.

There are still missing updates when switching the modifier's node group.
November 20, 2020, 19:22 (GMT)
Geometry Nodes: Expose the active modifier to the UI

This exposes the operator to set the active modifier as the type icon
in the header of the modifier panels. Tweaks to the widget drawing
code were necessary to use the red alert for non-emboss operator
buttons. Then, the panel for the active modifier gets a border around it
(which currently uses the property search theme color), requiring
an "active property" field in the PanelType struct.
November 20, 2020, 18:02 (GMT)
Geometry Nodes: improve boolean node when not both inputs are connected

Previously, it was always outputting an empty geometry in that case.
This was confusing because e.g. the output of a union operation
with a single non-empty mesh is also non-empty.
November 20, 2020, 17:47 (GMT)
Geometry Nodes: use attribute name inputs in point instance node

This will probably not stay exactly like this, because it looks a bit ugly.
Adding this now, because it increases flexibility a lot and allows me
to test the attribute api a bit more.
November 20, 2020, 17:23 (GMT)
Geometry Nodes: combine Vertex and Point domains

Originally, there were technical reasons for why two different domains
were used. Those reasons have been lost unfortunately, and there
don't seem to be any issues with combining the domains now.

This reduces confusion when users have to select the domain type
in enums.
November 20, 2020, 17:10 (GMT)
Geometry Nodes: initial support for implicitly type casting attributes

Those allows e.g. float attributes to be accessed as if they were vector attributes.
November 20, 2020, 16:45 (GMT)
Geometry Nodes: simplify point instancer node
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021