Jump to content

extrude link to primitive position


jodokub

Recommended Posts

hi everybody,

i am just at the beginner level and i am searching for some expression or maybe there is also a other way for solving this problem.

i would like to modell a shaped grid and and have for each primitive a different inset value of extrudtion linked to the position.

i am sure there must be a way to link my inset value of my extrude node to the y position of my primitive.

for better understanding i attached a jpg of my viewport.

so there should be more extruding for the "higher" primitives.:)

it would be totaly nice if someone have time for this question.

thanx a lot

jodokub

post-6566-130011311764_thumb.jpg

Link to comment
Share on other sites

Hi jodokub,

One way to try: Perhaps use the $BBY variable to drive the extrusion distance?

1. Create an attribute, call it something like exheight, and put $BBY into the value.

2. Place it just after you deform your mesh to give it height.

3. Use an attribute promote sop to promote exheight from point to primitive.

4. In your extrude SOP, use the $EXHEIGHT for the extrusion depth in the Translate Z paramater.

I don't have Houdini open at the moment to check, but I think that should work.

Hope it helps,

Matt.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...