Defining up vector for copy sop

   4942   2   1
User Avatar
Member
2 posts
Joined: March 2014
Offline
Hi,

The copy node it tries to align the primitive to the templates normals. However this can have side effects as there can be rotation around the axis of the normal. Is there a way of specifying the up vector for the normal so that the rotation is fully defined?
I know copy has rotate attributes but coding them were not as intuitive.

I attached an example which shows the problem and what I'm trying to achieve.

Attachments:
copyrotate.hipnc (73.3 KB)

User Avatar
Member
84 posts
Joined: May 2012
Offline
here you go,

you can add an up vector on from the same point sop on the particle tab, (or as well specify it with a createattrib.. its the same)

also define your normals and up before you transform and just make sure you dont recompute normals with your transform node.

here is the fix in your file.

Attachments:
copyrotate_154_fix.hipnc (73.4 KB)

User Avatar
Member
2 posts
Joined: March 2014
Offline
Thanks!

That's exactly what I was looking for.
  • Quick Links