Revision d344d25 by Jacques Lucke (geometry-nodes, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 25, 2020, 14:40 (GMT) |
Geometry Nodes: simplify Attribute Math node by using a new abstraction |
Revision 8742bbd by Jacques Lucke (geometry-nodes, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 25, 2020, 14:39 (GMT) |
Nodes: simplify Math code by using new abstraction layer |
Revision 3576e66 by Jacques Lucke (geometry-nodes, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 25, 2020, 14:38 (GMT) |
Nodes: initial abstraction to simplify math node implementations Currently, implementing a node that supports math operations requires you to write a long switch statement. The goal of this abstraction is to reduce the number of these switch statements. Note, this commit adds new such long switch cases. However, in the upcoming commits existing math nodes are updated to use this abstraction, resulting in less code overall. |
Revision 044def8 by Jacques Lucke (geometry-nodes, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 25, 2020, 14:31 (GMT) |
Geometry Nodes: add utility method to create a dummy attribute reader This can be used when instead of an actual attribute, a constant value should be used. |
Revision 92d1274 by Jacques Lucke (geometry-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 25, 2020, 11:27 (GMT) |
Merge branch 'master' into geometry-nodes |
Revision 41a7415 by Hans Goudey (geometry-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 24, 2020, 22:38 (GMT) |
Geometry Nodes: Fix missing node editor redraw for active modifier When the active modifier changes, or when its node group changes, the node editor should redraw, because these actions change its context. |
Revision 8a2b329 by Hans Goudey (geometry-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 24, 2020, 21:57 (GMT) |
Geometry Nodes: Always use the active modifier for shortcuts Based on discussion with the team, summarized in T82691, it makes sense to simplify the shortcut behavior and remove the way the shortcuts currently activate on hover if there is no active modifier. This commit also removes the behavior of clearing the active modifier when you click on blank space in the modifier tab. |
Revision 268508d by Hans Goudey (geometry-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 24, 2020, 18:52 (GMT) |
Geometry Nodes: Make next modifier active when deleting Previously it was the previous modifier, but this change keeps the index of the object's active modifier consistent when deleting a modifier. |
Revision ce08a2b by Jacques Lucke (geometry-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 24, 2020, 17:12 (GMT) |
Revision 7585f55 by Jacques Lucke (geometry-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 24, 2020, 17:05 (GMT) |
Merge branch 'master' into geometry-nodes |
Revision 49f1c8e by Jacques Lucke (geometry-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 24, 2020, 13:30 (GMT) |
Geometry Nodes: remove attribute name inputs from Instancer node The node now assumes that the data is found in the "Position", "Rotation" and "Scale" attribute. Those names might change soon. |
Revision 9831362 by Jacques Lucke (geometry-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 24, 2020, 13:21 (GMT) |
Geometry Nodes: rename Join to Join Geometry |
Revision 710842c by Jacques Lucke (geometry-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 24, 2020, 10:50 (GMT) |
Geometry Nodes: only output new data from Distribute and Instance nodes This can be recombined with the original data using a Join node if necessary. |
Revision 433fcbe by Jacques Lucke (geometry-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 24, 2020, 10:42 (GMT) |
Cleanup: clang tidy |
Revision ef1ee26 by Jeroen Bakker (geometry-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 24, 2020, 07:45 (GMT) |
Fix Compilation Error GCC showed this as a warning, MSVC as an error. |
Revision 72386c6 by Hans Goudey (geometry-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 24, 2020, 03:38 (GMT) |
UI: Improvements to interaction with active modifier This commit includes these improvements to operators and how they relate to the active modifier: - Shortcuts performed while there is an active modifier will affect only that modifier. - Clicking anywhere on the empty space in a modifier's panel will make it active. - Clicking anywhere in the empty properties space will clear the active. These changes require some refactoring of object modifier code. First is splitting up the modifier property invoke callback, which now needs to be able to get the active modifier separately from the hovered modifier for the different operators. Second is a change to removing modifiers, where there is now a separate function to remove a modifier from an object's list, in order to handle changing the active. Finally the panel handler neeeds a small tweak so that this "click in panel" event can be handled afterwards. |
Revision e68e897 by Hans Goudey (geometry-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 23, 2020, 23:32 (GMT) |
Cleanup: Correct node name in definition function |
Revision 52c6d36 by Hans Goudey (geometry-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) 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. |
Revision 75a92d4 by Jacques Lucke (geometry-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) 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. |
Revision d84bf96 by Jacques Lucke (geometry-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) 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. |
|