ValR Posted November 15, 2020 Share Posted November 15, 2020 Hi, I'm a beginner in Houdini, I tried to grow a twig where the width is controlled by a ramp. But the profile of my twig looks nothing like my ramp, I'm sure it's an easy issue, but I don't understand... Can someone have a look? Thank you! ValR twig.hip Quote Link to comment Share on other sites More sharing options...
Librarian Posted November 15, 2020 Share Posted November 15, 2020 Maybe It Helps @ValR twigM.hiplc Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted November 15, 2020 Share Posted November 15, 2020 Use a resample node, activate the curve U-attribute and use that to adjust the scale. Or take the sweep node which allows scaling along the curve. Or type this into your point wrangle: float u = vertexprimindex(0, i@vtxnum) / float(primvertexcount(0, i@primnum) - 1); Quote Link to comment Share on other sites More sharing options...
vinyvince Posted November 18, 2020 Share Posted November 18, 2020 On 15/11/2020 at 9:45 AM, ValR said: Hi, I'm a beginner in Houdini, I tried to grow a twig where the width is controlled by a ramp. But the profile of my twig looks nothing like my ramp, I'm sure it's an easy issue, but I don't understand... Can someone have a look? Thank you! ValR twig.hip Maybe you generatee your UV attribute on vertex level and not on point level. Or the other possible solutions suggested by Konstantin and Tesan Quote Link to comment Share on other sites More sharing options...
ValR Posted November 18, 2020 Author Share Posted November 18, 2020 Thank you all, I actually found out that I was using uv.x as a reference for length instead of uv.z Sorry for the stupidness! 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.