Jump to content

Leaves on objects


Recommended Posts

*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
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...