Jump to content

orientation of copied object to match the normal of the destination of copy to points


anicg

Recommended Posts

I'm try to orient the pyramid object to follow the normals of the tube, each pyramid should face where the normal (of the primitive on the tube) is facing. Polyframe on the pyramid doesn't help. Now they are all facing the same way. The last image with the red arrows shows where the pyramids should be pointing. (there is a hip file at the end)

tube.JPG

object to copy.JPG

normal;s.JPG

copy to points.JPG

 

copy to points1.JPG

should be.JPG

orientation in copy to point.hiplc

Edited by anicg
Link to comment
Share on other sites

Hi there,

 

First of all, your N attribute need to be on point class instead of vertex. So in your normal sop adjust construct to add normal on points.

Second, if you are using pack sop to get the center point make sure you transfer N to the points. Cause the pack won't transfer attributes automatically.

 

Cheers,

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