Jump to content

Orienting copied objects


logix1390

Recommended Posts

Hello, 

So i have a roof and I want to make some wooden pillars on the inside of this roof. My method is to basically copy the pillars to the centroid line of each side of the roof. I know the copy sop looks at the normals for orientation so I made sure my normals are aligned the right way before I copy. However, The copy is still not respecting the orientation of the normals. I have been trying to figure this one out for 2 days now. Im sure im missing something easy here... I will attach some pictures and my scene file to show you what I mean. 

Thank you.

pillar_orientation_roof.hip

are_aligned.jpg

not_aligned.jpg

Link to comment
Share on other sites

The copy SOP has a heirarchy of attributes it reads in, orient being the foremost, N and up if orient is not present, etc.  N alone is not enough to define orientation in most cases, usually you pair it with an up vector attribute as well

http://www.sidefx.com/docs/houdini16.0/copy/instanceattrs

You can use a polyframe SOP to generate N and up attribs from curves

pillar_orientation_roof_FIX.hip

  • Like 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...