ChazS Posted November 11, 2018 Share Posted November 11, 2018 Hi, I'm trying to randomize the uniform scale of some spheres which are being copied to points. However, nothing I've tried is working. The best result is using a transform node, but all the spheres merely scale to the first parameter and ignore any type of randomization. The attached file currently has an app wrangle using some vex to randomize pscale that was defined in an att created node, but it's throwing errors I don't understand how to fix. Thanks in advance... wk5_terrain-02.hipnc Quote Link to comment Share on other sites More sharing options...
symek Posted November 12, 2018 Share Posted November 12, 2018 @pscale = fit01(random(@ptnum), 100.0, 300.0); 1 Quote Link to comment Share on other sites More sharing options...
ChazS Posted November 14, 2018 Author Share Posted November 14, 2018 Thanks Symek, that fixed it. I've only been learning code & scripting for a little while, but long enough that I should've caught that syntactical error sooner. 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.