bretik 3 Posted September 27, 2019 Does anyone know if it's possible to use @pscale for vellum grain? I mean to create it on "Grain Source" and pass it to a "Vellum Configure Grain". To a "grain size" probably? Thanks. BK Share this post Link to post Share on other sites
tamagochy 71 Posted September 27, 2019 When you're using vellum grain sop it makes it automatically. Without this attribute grains doesn't work. Share this post Link to post Share on other sites
Sepu 263 Posted September 27, 2019 You can always overwrite @pscale after the vellum grain source. Add a wrangle after such as f@pscale = fit01(rand(@ptnum), .05, .1); or whatever and it should work. 1 Share this post Link to post Share on other sites
bretik 3 Posted September 27, 2019 Thanks Tamagochy, So how you do for example the random size of vellum grain? Share this post Link to post Share on other sites
bretik 3 Posted September 27, 2019 Ok, I get it. Thanks Guys. Share this post Link to post Share on other sites
tamagochy 71 Posted September 30, 2019 You can make it random if you go inside vellum grain and disable uniform scale at grain sop. Share this post Link to post Share on other sites
stephenhalker 0 Posted September 23, 2020 Hey everyone, I'm very new to Vellum grains. I did a vellumConstraints_grain and then randomized @pscale in a wrangle on the first output before throwing it into the Vellum Solver. (I found that I could only randomize the scale down... when I randomize it to higher pscales, the grains would explode because of self collisions) QUESTION: Now I'm looking at the simulation, and it looks like I've got gaps between the grains. (probably due to the pscale shift, right?). what should I do to fix this? pscalegrains.hipnc Share this post Link to post Share on other sites
tamagochy 71 Posted September 24, 2020 Make constraints after randomizing pscale, not before. But you will get the gaps because constraints not rigid. Share this post Link to post Share on other sites