Jump to content

Control width parameter in Nurbs Curve


ITdreamer

Recommended Posts

Hi

I've created a Nurbs Curve, connected Carve Sop to it, and animated the U parameter to create the illusion of growing. After that I created width attribute with AttributeCreate SOP. Rendered, and got a good looking stripe. The question is, how can I control the width parameter according to the U parameter of the point on the curve? I need to create a stripe, which is thin at the start and at the end of the curve, but thick in the middle of the curve. I need that to create a growing grass or leafs. Here is the illustration:

0_127cf_ab9754d2_L.jpg

Thanks a lot

Width_Test.hip

Edited by ITdreamer
Link to comment
Share on other sites

hi!

this is a method that i like, but it's only one of many method you can use do control the width attribute.

for shure there are more intuitive way to control this.

you give the "shape" to the curve using the curve in the channel editor, and you can animate the global width using the width parameter. you found the controls in the blue colored node.

really hope this helps!

Width_Test_menoz.hipnc

Link to comment
Share on other sites

Thanks a lot, good idea.

maybe you could use the lenght of the curve to modify the width, so when the lenght is zero width is zero too, and as the lenght grows, the width grows too..

how can i find the lenght of the curve? i cannot remember how this colud be done.. :huh:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...