Angles between two vectors in noodles?

trying to aling some grids along a spline in noodles
is it possible to calculate vector2points(3d) ?
maybe derive it from lookat ?

there is a very elegant way to find the rotation between two vectors using quaternion math. should not be too hard to implement in a shader. hlsl quaternion math ops are floating around somewhere on vvvv.org:

http://lolengine.net/blog/2013/09/18/beautiful-maths-quaternion-from-vectors

btw. in VL (current alpha) this is available as the AlignTo and AlignBetween nodes. they are patched, you can have a look at them.

oh i see
might there be a sollution using available gpu nodes ?
btw is there a plan to push vl patching into gpu ?

solved with lookat

rotate along spline 0.v4p (28.2 KB)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.