Virtual attributes.
Custom contexts and fields allow you to do this right now. Only usage designs are needed.
The proposal is design and involves the creation of the ability to create attributes used by the node. For example node:
SelfSort{
input : Attribute-Value<any type>, Attribute-Compair<bool type>
output : Attribute-Value
}
As well as the virtual attribute node:
SelfSort_Index_A{
output : Attribute-Index<int>
}
SelfSort_Index_B{
output : Attribute-Index<int>
}
Their essence: the SelfSort node will do several nested loops, in which it will iterate over Index_A and Index_B and get the Attribute-Compair value. As a result, for example, when comparing, the result for each Index_A will return the first value greater than it Or:
SelfSort_Index_A{
output : Attribute-Index<int>
}
SelfSort_Pick{
output : Attribute-Value<any type>
}
Now for each Index_A in the loop of the SelfSort node, the first true value will be selected, and the corresponding attribute will fall into the SelfSort_Pick node for the next comparison.
Tasks:
- Virtual attributes assigned to the nodes that use them.
- Ability to nest virtual attributes (for example, sorting inside another).
1 Comment
Sounds like this idea blender.community/c/rightclickselect/5jhbbc/