damighost Posted December 1, 2019 Share Posted December 1, 2019 Hi guys Ive been struggling to get my head around making similar leaves like the ones in the pictures. Any suggestions? I cant seem to make the leaves 'lay down' similar to how a hair groom would be combed or a feather system would lay the leaves down. Damien leaf_001.obj leaves.hiplc Quote Link to comment Share on other sites More sharing options...
ThomasPara Posted December 2, 2019 Share Posted December 2, 2019 leaves_fix.hiplc 1 2 Quote Link to comment Share on other sites More sharing options...
damighost Posted December 2, 2019 Author Share Posted December 2, 2019 Thomas! omg, you are an absolute legend. Thanks so much for this! I am so interested to see how you set up your wrangle and am dissecting it now. I owe you a beer!! Damien Quote Link to comment Share on other sites More sharing options...
ThomasPara Posted December 2, 2019 Share Posted December 2, 2019 thanks, np Quote Link to comment Share on other sites More sharing options...
AntoineSfx Posted December 2, 2019 Share Posted December 2, 2019 *If* you're not too comfortable with the vector math, you can use this simpler wrangle, after setting the normals on the sphere v@up=set(0,1,0); also, you can add a transform on the leaves (rotate x by 90 + some amount) to have the leave slightly rotate away from the sphere. The orientation is totally defined by two vectors (N and up), and you can easily set them explicitly (if you want to point at something), but there are many ways to set the orientation https://www.sidefx.com/docs/houdini/copy/instanceattrs.html Thomas' answer is better if you need more control, or for example if you need to change @orient over time, because quaternions are better at interpolating the orientation in 3d. 1 Quote Link to comment Share on other sites More sharing options...
damighost Posted December 2, 2019 Author Share Posted December 2, 2019 Thanks @AntoineSfx Ive been reading up on that page but was a bit stumped with all the applications to be honest. Thanks for the info, i will try it out as well! I was thinking about the N and up but got confused as how to implement. Its so damn fun. Damien 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.