Jump to content

Random Extrude Distance


dfmn

Recommended Posts

So I'm trying to figure out how to do a random distance on the PolyExtrude but with no luck.

I thought it would be simple with just a rand($PR) expression...

 

I found some old example files and they use that expression but the polyextrude is different so I guess its an older version of the extrude.

 

Any one that has an idea how to do this in H15?

 

Cheers!

 

 

Link to comment
Share on other sites

Yep, the new polyextrude uses attributes rather than local variables. On the 'local control' tab you'll find toggles to enable attribute overrides for various properties. To randomise the distance, turn on 'zscale', and make sure you have a randomized @zscale attribute on the primitives feeding the extrude.

 

Attached 2 ways to do this, one with a prim wrangle, the other with an attribute randomize sop.

 

rand_polyextrude.hipnc

  • Like 6
Link to comment
Share on other sites

Matt you're the man!

 

Thanks!

 

Yep, the new polyextrude uses attributes rather than local variables. On the 'local control' tab you'll find toggles to enable attribute overrides for various properties. To randomise the distance, turn on 'zscale', and make sure you have a randomized @zscale attribute on the primitives feeding the extrude.

 

Attached 2 ways to do this, one with a prim wrangle, the other with an attribute randomize sop.

 

attachicon.gifrand_polyextrude.hipnc

Edited by dfmn
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...