ITdreamer Posted August 31, 2008 Share Posted August 31, 2008 (edited) 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: Thanks a lot Width_Test.hip Edited August 31, 2008 by ITdreamer Quote Link to comment Share on other sites More sharing options...
MENOZ Posted August 31, 2008 Share Posted August 31, 2008 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 Quote Link to comment Share on other sites More sharing options...
ITdreamer Posted August 31, 2008 Author Share Posted August 31, 2008 Thanks a lot, good idea. Quote Link to comment Share on other sites More sharing options...
MENOZ Posted September 1, 2008 Share Posted September 1, 2008 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.. Quote Link to comment Share on other sites More sharing options...
GallenWolf Posted September 2, 2008 Share Posted September 2, 2008 how can i find the lenght of the curve? Measure sop? GW Quote Link to comment Share on other sites More sharing options...
Jason Posted September 2, 2008 Share Posted September 2, 2008 Measure sop? ...and/or the arclen() expression might be good for you too. http://www.sidefx.com/docs/houdini9.5/expressions/arclen Quote Link to comment Share on other sites More sharing options...
MENOZ Posted September 2, 2008 Share Posted September 2, 2008 thanks a lot! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.