Hi, i was wondering why the Local attribues of the Polyextrude doesn't work unless the node is set to Individual Elements. It's a know issue you're planning to fix or is an intented thing? Cause use attributes to control the extrusion is great, but in 50% of the cases is useless if you can't use with Connected Components…
Found a couple of workaround but they apply only if you're starting with a plan geometry at Y=0.
Hard to say what your problem is. Always easier to help if you post an example file showing your problem.
“Distance Scale” works fine here with “Connected Components”. “Distance Scale” is always multiplied with “Distance” so if “Distance” is 0 the extrusion will be 0. Remember to make a primitive attribute. Point attributes doesn't work with Poly Extrude.
Here's my scene (i'm following the course from Hellolux: Tea and Cookies).
The part for the extrusion start with the Point1 node, where i add a gradient based on the bounding box of the object. Then with a vop i use a ramp to control it. After that i convert the Cd attribute to Primitive (to make it work with the Polyextrude). in the Polyextrude node, as you can see, i'm using the Cd attribute to drive the extrusion based on the gradient, but it has no effect on it. If you try to switch from Connected Component to Individual Elements you'll see that the gradient will work.
I see. Not sure if Poly Extrude is supposed to give you variable extrusion depth in “Connected” mode. Correct me if I'm wrong. I would use the “Displace Along Normal” Vop in point mode instead.
Apparently in previous version (the course was made in Houdini 13) you could set up variables in the Distance paramenters. So you could set $CR or $Cd directly and this systems works. Now that all is shifting to Attributes this is no longer possible. I also found a video made by the authour providing a workaround with an attribute wrangle, using the Y position on the points, but of course this way works only if you need a shift in the Y position, cause the points don't move along their normals.
I've just started to learn Houdini so i didn't thing of Displace along normal as an alternative, i'll try as soon as possible, thanks a lot ^^