gojade Posted February 27, 2018 Share Posted February 27, 2018 (edited) Hi there, I got a question regarding voronoi pieces: I want to scale them dynamically (by an animated noise map for example). When using a foreach loop with a transform inside with CEX,.. pivots, the pieces each scale fine, but all at he same time. I my idea was to use color for the scale, but for this each piece should have a different color. Now the problem is that I cant color the whole pieces, but their invidual points/primitives only when using attribtransfer (regardles if its in an own for each...). Well I hope you know what I mean. Thanks, Best Jan vornoi_scale_test1.hip Edited February 27, 2018 by gojade file upload Quote Link to comment Share on other sites More sharing options...
vtrvtr Posted February 27, 2018 Share Posted February 27, 2018 You can get random colors with a assemble + color node However, I couldn't make your transform method there works. But you can use an expression like this to access the attribute, "s" in this case, in the primitive. This hinges on the fact all primitives have the same attribute Quote Link to comment Share on other sites More sharing options...
nuki Posted February 27, 2018 Share Posted February 27, 2018 (edited) You could use a 4d noise, using the scale attribute as the w component. For your setup, if you promote the $CR attribute to a detail attribute you should then be able to use that as a scale. Random_Piece_Scale_mk_v001.hip Edited February 27, 2018 by nuki Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.