These nodes make it easier to switch between vector attributes and
float attributes.
Example usage:
Differential D10308
Geometry Nodes: Add Combine and Separate XYZ nodes for attributes Authored by Wannes Malfait (Wannes) on Feb 4 2021, 4:48 PM.
Details These nodes make it easier to switch between vector attributes and Example usage:
Diff Detail
Event TimelineComment Actions This looks quite good already, I just added a couple of notes inline.
Comment Actions Like Jacques said, the patch already looks pretty good. My comments are more on the "cleanup" side of things.
Comment Actions
Comment Actions Lots of places currently assume that the only domain is "point" currently, but I think we should consider addressing that.
Now that I've written that it's clear it's outside the scope of this patch. Something to address soon though, or we're going to end up with more and more places to fix. For now, it would be good to add a comment that at least says "for now" /* The result domain is always point for now. */ const AttributeDomain result_domain = ATTR_DOMAIN_POINT; Since we're not really using separate domains yet it's not essential right now, but it's one fewer thing to fix down the line.
Comment Actions
Comment Actions Looks good to me! Made a test manipulating some coordinates of scattered points | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||