Question on converting curves for use as hair guides

   10586   3   1
User Avatar
Member
295 posts
Joined: Oct. 2008
Offline
I'm trying to import in a set of curves from Modo to use as hair guides with the Fur SOP.

I created a sphere in modo, then added hair guides to the top 3 rows of polygons. Modo adds 1 guide per point on the selected geometry. I exported all of this as an obj file. The curves get turned into polygons, but the curve cv points appear to be in the right place. See the second image attachment.

Then I used a foreach loop to unroll the polygon (using ends sop), deleted the last edge (dissolve sop), then converted to 3rd order NURBs curve. It seems pretty darn close to what was in modo.

Then I feed this as the guides to a fur sop. However, as you can see things, don't quite work (see 1st attachment image). The black lines is the fur adjusted, the light grey is the templated guide curves. Anyone have any ideas what's wrong with this? I'm attached the hip file if that helps. It looks like there's something that's causing them to be flipped around? I'm sure there's something silly and obvious that I'm missing, I just don't know what yet.

Attachments:
hair test3.hipnc (109.8 KB)
hair-test-wip8.jpg (187.9 KB)
hair-test-wip8a.jpg (171.6 KB)

Houdini Models [learning3dfromscratch.blogspot.com]
User Avatar
Staff
334 posts
Joined: July 2005
Offline
jimc
However, as you can see things, don't quite work (see 1st attachment image). The black lines is the fur adjusted, the light grey is the templated guide curves. Anyone have any ideas what's wrong with this? I'm attached the hip file if that helps. It looks like there's something that's causing them to be flipped around? I'm sure there's something silly and obvious that I'm missing, I just don't know what yet.

For guide hairs, the first vertex represents the root and the last vertex represents the tip. Your geometry has these reversed. Applying a Reverse SOP on the guide hairs should fix the problem.
User Avatar
Member
295 posts
Joined: Oct. 2008
Offline
Awesome, thanks for this! I'll try this later on this afternoon and post back how it goes.
Houdini Models [learning3dfromscratch.blogspot.com]
User Avatar
Member
295 posts
Joined: Oct. 2008
Offline
Sorry for the late reply. So this fixed it just fine. The guides from Modo come in perfectly now. However….
When I apply the Fur Dynamics, and then run the simulation, the hair “ends” seem to just keep on falling, making the hair longer and longer. I think the problem is that there's some attribute I'm missing, but I'm not sure what it is. If it helps I'll post the scene later on when i get the chance.
Houdini Models [learning3dfromscratch.blogspot.com]
  • Quick Links