art3mis Posted December 3, 2018 Share Posted December 3, 2018 Hi I have a simple cube copied to a circle in a CopyToPoints SOP. I want to scale these cubes dynamically based on a custom point attribute, lets call it @age. How would I accomplish this? cubes_orient_to_line.hipnc Quote Link to comment Share on other sites More sharing options...
Martin B Posted December 3, 2018 Share Posted December 3, 2018 (edited) If your points have a float @pscale atribute then CopyToPoints will automatically scale to that amount. I think it will also work with vector called @scale, and scale them in x/y/z. Make a pointWrangle and try either of the below to see it working f@pscale = rand(@ptnum); v@scale = rand(@ptnum); Edited December 3, 2018 by Martin B Quote Link to comment Share on other sites More sharing options...
toadstorm Posted December 3, 2018 Share Posted December 3, 2018 http://www.sidefx.com/docs/houdini/copy/instanceattrs.html cubes_orient_to_line_toadstorm.hipnc 1 Quote Link to comment Share on other sites More sharing options...
art3mis Posted December 3, 2018 Author Share Posted December 3, 2018 Thanks guys! 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.