UV Rotation between 2 vectors ?

   2217   1   0
User Avatar
Member
1112 posts
Joined: Aug. 2008
Offline
Hello

I want to rotate each primitive in my geo so the “center” points line up in 90 degree intervales by using acos from the calculated normal on the current prim with a standard (0,1,0) normal. but obviously im doing it wrong.

Anyone have any input in what i am doing wrong ?

Attachments:
UV_Rotation.hipnc (115.8 KB)

/M

Personal Houdini test videos, http://vimeo.com/magnusl3d/ [vimeo.com]
User Avatar
Member
1112 posts
Joined: Aug. 2008
Offline
Solved it and added some more features to it aswell, like clipping the ends.

Attachments:
UV_Rotation2.hipnc (212.1 KB)

/M

Personal Houdini test videos, http://vimeo.com/magnusl3d/ [vimeo.com]
  • Quick Links