eunchae Posted July 2, 2020 Share Posted July 2, 2020 Hi. I am trying to adjust the width of the curve I made. The curve was drawn using the'draw node'. But I am not sure. The center is the thickest and I want to make it thinner towards the end. What should I do? Thank you. Quote Link to comment Share on other sites More sharing options...
Atom Posted July 2, 2020 Share Posted July 2, 2020 It looks like you code is working, however, you have multiple strokes so each stoke is applying the code to itself. There are some icon buttons for flipping your ramp around, which might help, but you may want to simply redraw and think about your start and end locations. There is also a free tree HDA available in the content library that you might want to use and simply ray the results onto your sphere. 2 Quote Link to comment Share on other sites More sharing options...
eunchae Posted July 5, 2020 Author Share Posted July 5, 2020 On 2020. 7. 2. at 9:45 PM, Atom said: It looks like you code is working, however, you have multiple strokes so each stoke is applying the code to itself. There are some icon buttons for flipping your ramp around, which might help, but you may want to simply redraw and think about your start and end locations. There is also a free tree HDA available in the content library that you might want to use and simply ray the results onto your sphere. Thank you for answer. I'm not sure what content library helps me. How to turn over a ramp? Should this use foreach? Thank you. Quote Link to comment Share on other sites More sharing options...
davpe Posted July 5, 2020 Share Posted July 5, 2020 from what i see you just need to remap @curveu attribute: @curveu = fit(@curveu, 0, 1, 1, 0); // by adjusting numbers inside the brackets you drive the resulting thickness and then do your thing with @pscale and it should be it 1 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.