Polyextrude Distance Scale
8473 9 0- Homer0
- Member
- 6 posts
- Joined: 5月 2016
- Offline
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.
Found a couple of workaround but they apply only if you're starting with a plan geometry at Y=0.
- bonsak
- Member
- 459 posts
- Joined: 10月 2011
- Offline
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.
-b
“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.
-b
- Homer0
- Member
- 6 posts
- Joined: 5月 2016
- Offline
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.
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.
- bonsak
- Member
- 459 posts
- Joined: 10月 2011
- Offline
- Homer0
- Member
- 6 posts
- Joined: 5月 2016
- Offline
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 ^^
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 ^^
- Werner Ziemerink
- Member
- 1268 posts
- Joined: 3月 2014
- Offline
- gasanoff
- Member
- 14 posts
- Joined: 11月 2016
- Offline
Feels like it does not work anymore (wth)
there is no Z scale in
reference is not helpful
http://www.sidefx.com/docs/houdini/nodes/sop/polyextrude [www.sidefx.com]
basically same tutorials, same workflow,
tried Rohan's video
might be missing something
Indie 16.5.473
there is no Z scale in
reference is not helpful
http://www.sidefx.com/docs/houdini/nodes/sop/polyextrude [www.sidefx.com]
basically same tutorials, same workflow,
tried Rohan's video
might be missing something
Indie 16.5.473
- vusta
- Member
- 555 posts
- Joined: 2月 2017
- Offline
- gasanoff
- Member
- 14 posts
- Joined: 11月 2016
- Offline
- redpaw
- Member
- 75 posts
- Joined:
- Offline
While its annoying that this node doesn't just work with connected faces.. its a simple post fix:
- drop a rest before the extrude
- then do your extrude
- After drop a pointVop and set up a ramp to mix back to the rest position based on your ramp values
- drop a Fuse if you are ramping back to zero and want to consolidate your points
-
- Quick Links