messipte Posted September 27, 2017 Share Posted September 27, 2017 (edited) Hi i'm still very new to houdini so sorry for the noob question. I want to create a stem with leaves attached to them, I created the stem and used the tangentv in order to attach the leaves, now I'd like to rotate each point by a certain angle, and i'm stuck. Tried with pointvop and matrix, had no success, I guess it could be possible with quaternions but still, I can't figure out how to do this simple thing... Can someone help me ? Thanks ! Edited September 28, 2017 by messipte added picture Quote Link to comment Share on other sites More sharing options...
violalyu Posted September 28, 2017 Share Posted September 28, 2017 Hi Mess, A quick thought would be perhaps normalize the tangentv and add a random normalized unit vector and normalize it again and multiply it by the original magnitude? Hope it helps. Quote Link to comment Share on other sites More sharing options...
messipte Posted September 28, 2017 Author Share Posted September 28, 2017 (edited) Thank you violalyu, but I want them to rotate by a specified angle while remaining attached to the stem, and not random. I added a pic. Edited September 28, 2017 by messipte Quote Link to comment Share on other sites More sharing options...
f1480187 Posted September 28, 2017 Share Posted September 28, 2017 (edited) Matrices was a right direction: curve_frame.hipnc Note that PolyFrame node may fail to output any tangents if the input curve is a straight vertical line. Edited September 28, 2017 by f1480187 PolyFrame note Quote Link to comment Share on other sites More sharing options...
messipte Posted September 28, 2017 Author Share Posted September 28, 2017 Thank you so much f1480187 !!! Will study this deeply Quote Link to comment Share on other sites More sharing options...
messipte Posted October 1, 2017 Author Share Posted October 1, 2017 Your setup works really great, but it will take time to me to figure out everything... Thank you again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.