Port vector rotate node to geo attributes.
Request by @Simon Thommes (simonthommes)
Differential D11042
Geometry Nodes: Add Attribute Vector Rotate node Authored by Charlie Jolly (charlie) on Apr 21 2021, 7:54 PM.
Details Port vector rotate node to geo attributes. Request by @Simon Thommes (simonthommes)
Diff Detail
Event TimelineComment Actions Can all of the inputs be as attributes? That's always really handy. Is there also Euler rotation instead of Axis angle as an option? Comment Actions Yes, the same options as the other Vector Rotate node. Do you mean attribute inputs by default? Comment Actions Not necessarily by default but just as an option. You can't bend things properly without having them as attributes is all. Comment Actions Thanks for adding this! This node unfortunately really highlights the issue that we still have in the attribute workflow with switching between attributes and regular values. The inputs here should really all be possible to switch, so for now I don't really see a better option. To this node itself:
Comment Actions Yes the node can be quite tall because of the type selector enums. I don't think useful defaults and functionality should be removed because of the UI issues. Like you said, that can be addressed with a better UI design.
Comment Actions Other than a few minor comments, I think this looks good. Also, I think the "Invert" input should be second to last, right before "Result". Before it was at the top because it was a property rather than a socket.
Comment Actions The code looks quite good, nice job. Also, with just of testing I can tell this node is really powerful! Just some final minor tweaks here. Some warnings:
Comment Actions Address comments and fix warning. I was passing VMutableArray and saving instead of passing MutableSpan. Comment Actions Apart from the related UI issue of type changing that we have to address separately this looks look to go for me now, will be nice to have this in master! Comment Actions The code looks great!
Comment Actions Pushed rB93933ee8bbed but accidentally removed the line referencing the diff. Differential Revision: https://developer.blender.org/D11042 | ||||||||||||||||||||||||||||||||||||||||||||||