JulesGuerin Posted September 21, 2017 Share Posted September 21, 2017 Hi! I'm still new to houdini and thanks to some good tutorials and some kind people I'm starting having fun with it I've created a digital asset with a primitive object being extruded with color attribute, everything is working fine. Now I want to be able to control the thickness scale with the color attribute the same way it's working with the distance parameter (with local attributes). > When not contaminated by color the value should remain 1 >when contaminated the value should decrease but I would need to still be able to control the amount of thickness scale (between 0 and 1). I'm not sure what would be the process for this, I tried to set an attribute create named thickness and putting $CR in the value but it seems it's not the way it should be done. extrude_falloff.hipnc.hiplc Quote Link to comment Share on other sites More sharing options...
galagast Posted September 21, 2017 Share Posted September 21, 2017 It's a bit of a hack, but this might work: Houdini 16.0.731 Indie - extrude_falloff_2.zip I created two poly extrude states set to 0 and 1 thickness scale. Then use a wrangle to lerp the point positions based on the color.x amount. Quote Link to comment Share on other sites More sharing options...
JulesGuerin Posted September 21, 2017 Author Share Posted September 21, 2017 Hey thanks Jeff! that's a clever solution, the problem is that the extrusion is a little funky now, it doesn't extrude along normals since it's trying to interpolate points based on the color amount. hopefully there's an easier way to do it with Vex... Quote Link to comment Share on other sites More sharing options...
galagast Posted September 21, 2017 Share Posted September 21, 2017 I updated it a bit since you wanted to still have control for the thickness scale: Houdini 16.0.731 Indie - extrude_falloff_2b.zip 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.