Jump to content
guptaaa98

Copy to points randomize scale houdini 16.5

Recommended Posts

Hi,

Im stuck at place where I have copied to points a set of spheres and I want to randomize it on the basis of $PT? I tried to make an attribute by the name of id but it is not working

Share this post


Link to post
Share on other sites

make a pointwrangle on your points, before the copy to points sop and write:

@pscale = fit01(rand(@ptnum),chf("min"),chf("max"));

And push the little icon on the right to get the sliders

Share this post


Link to post
Share on other sites

You can also use the Attribute Randomize SOP to create the pscale attribute, and it has some nice built in options.

AttributeRandomize.png.eea6085089b33c4b391ea997a8882f11.png

Edited by DaJuice

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

×