I’m trying the 3.0 build from yesterday. I managed to align the Y axis of the instanced object to the curve tangent, any ideas on how to rotate the instances around local Y accordingly to the curve tilt?
Though they currently share the same socket, the difference between an angle and a regular direction vector is extremely important. In your example you have a the rotation plugged into the “Vector” input, just watch out for that.
Ahhh thanks, I suspected that was something related to what the vector socket represented. And completely forgot that I could use Normal. I’m not at my PC now, but I assume that the tilt of the curve directly controls the normal direction right? Otherwise I would still need to rotate the normal.
Just to make sure I understood the issue:
Let’s say that I want to control the roll of the elements with an arbitrary value(constant field) and not with the curve tilt.
Could I rotate ( just like I wrongly tried to do with the rotation directly) the normal with an “vector rotate” around the tangent vector before aligning the instance rotation to the normal? It would be legal since in this case, I would rotate a direction vector (the normal) and not a Rotation vector, correct?
EDIT:
I tried myself, It works, I managed to add global offset to the tilt:
How could we get attributes from different indeces now?
E.g. if We want to mix the Positions 0 - 20 with the positions 40 - 60, how would we do it?
I guess we could use split geometry a number of times and use Attribute Transfer but that seems cumbersome and unintuitive. Also I’m not sure how AT would work without setting new attribute names.
I feel all the input nodes should also have an Index input in order to achieve this, or am I missing a more obvious way?
And I am waiting for mesh data being prevented when Realize (Realize Instances node / applying the modifier), or at least some workaround, until then I can’t use GNs unfortunately.
If He’ll add dash density, dash opacity and wires thickness (Separate for fields and Geo) controls that will be the perfect balance between quick customization and simplicity IMHO.
Does anyone knows if i the current 3.0 build is there the possibility to make instances inherit instancer attributes?
In my case I’m instancing objects on a curve and I would like to store the curve point position (or just position z component) on each point of instanced geometry. I would then realize instances and move some points on each realized instance accordingly to the z height of the point on which the realized instance was originally instanced.
The Best I could do is select just the base points and just set the position z to 0, but I actually want to move a bunch of points higher than the base as well and transform them by a specific amount without flattening everything.
No, inherit instances isn’t possible.
But you can instance your curve, move it down and instance on the curve instance. If you need the instances on the curve, you have to make the curve instances real.