Jump to content

Recommended Posts

Hey all,

Trying to wrap my head around this... thought it was going to be easy until I got into it. I'm tying to randomize each level in a copy transform in my setup. I get close but I end up randomizing all prims instead of each level.

I attached  the hipfile.

iter02.jpg.4fd88723a3f2f6a3f5bd702b47707766.jpg

 

jl_iterLevel_01.hip

Please Help,

Thanks!

Share this post


Link to post
Share on other sites

Sounds like your for-each is running over each prim rather than each level. You can add an "assemble" sop before the for-each and try selecting "for-each named primitive" from the tab menu. Or just check the "Piece attribute" parameter and set the appropriate attribute name. 

Share this post


Link to post
Share on other sites

Another option can be randomizing the scale of each level and adding it on top of the current stack. The current height of the stack can be measured to calculate the right offset.

jl_iterLevel_01_X.hipnc

  • Thanks 1

Share this post


Link to post
Share on other sites
7 minutes ago, Aizatulin said:

Another option can be randomizing the scale of each level and adding it on top of the current stack. The current height of the stack can be measured to calculate the right offset.

jl_iterLevel_01_X.hipnc

This is exactly what I was thinking! Thanks for taking a look I really appreciate it!

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×