Jump to content

Recommended Posts

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

 

leaves01.png

leaves02.png

leaf_001.obj

leaves.hiplc

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

*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. 

 

  • Thanks 1

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×