Jump to content
Sign in to follow this  
logix1390

Orienting copied objects

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

Share this post


Link to post
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

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
Sign in to follow this  

×