Jump to content
Sign in to follow this  
Juzwa

Curve to polygon?

Recommended Posts

Hi, 

So I decided that I want to model this in Houdini. It might be painful at the beginning but I want to start using Houdini more on a daily basis. 

I need a folded rolled piece of cloth, something like this:

Folded Rolled Cloth

So at first I thought that bend sop will help. But unfortunately it does some weird bending and I dont have enough control to roll the cloth together. It just creates a curly shape.

So my other idea is to start with curves! Ok owesome, but can I somehow convert curve shapes into polygons?

 

Share this post


Link to post
Share on other sites

The Curve SOP in Houdini actually creates polygons by default, so you could actually just draw a rough poly curve and smooth it to get the right shape, but it's really no problem to start with NURBS. In that case, I would immediately follow the curve with a Convert SOP, then a PolyExtrude to get the base surface, followed by another PolyExtrude for thickness, just extrude along local Z axis in both. Remember to tick off the Output Front parameter in the first PolyExtrude though, otherwise the second won't work properly. 

Share this post


Link to post
Share on other sites

You can build surfaces from curves using rail, sweep, and skin. I attached a .hip that shows one way of doing this. Just a warning I am new to vex wrangles so it's probably not the best vex code and none of the parameters are bound.

RolledCarpet.hiplc

RolledCloth.JPG

  • Like 1

Share this post


Link to post
Share on other sites

I like Aaron's skinning of the carpet. I found a spiral unrolling line on the forum and mixed those two HIP files together to produce a 1st draft of a red carpet unrolling. You control the radius by simply sizing the cylinder inside the rolling_line_source.

Untitled-1.jpg

ap_rollout_red_carpet.hiplc

Edited by Atom
  • Like 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×