poly to nurbs direction match

   2384   2   0
User Avatar
Member
111 posts
Joined: Dec. 2008
Offline
hello guys, need for help again.
Here is my post last time

http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=21363 [sidefx.com]

The uv problem is slovled perfectly and really thanks a lot. Now the new problem comes, the quad mesh must be transfer to nurbs patch for each primitive(face), so I use a convert node to do the job. Cause there are some pattern on it which have to be curves. I used a foreach node and a creep node to find the result.The problem is that it seems that the original polygon uv can not match the nurbs surface. The nurbs surfaces random change their directions to give a wrong result. Is it possible to get the right result? Thanks in advance!(the hip file and bgeo is attached)

Attachments:
01.jpg (115.2 KB)
02.jpg (158.9 KB)
jiujiang.zip (99.5 KB)

User Avatar
Member
8587 posts
Joined: July 2007
Online
you can do this easily in the same foreach I posted for your UV problem, there are correctly sorted points so NURBS should be correctly oriented and creep as well.

anyways, if you pretend that this is your input geometry here is the file which solves the problem

Attachments:
send_side_two_fix.hip (160.2 KB)

Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
111 posts
Joined: Dec. 2008
Offline
brilliant solution!
I really get deeper with h, thank you very much, houdini master!
  • Quick Links