If I select “More Types” in the long list, Rhino hangs. (No dialog appears.)
And a feature request:
Is there (Or can we have?) a “random material” that allows the user to specify a material that only consists of links to “other materials”? When that “random material” is used it applies the sub materials randomly to an object set? Would be great.
Thanks for reporting RH-96842 Materials: “More Types…” hangs Rhino 9
on the random material request.. That is interesting. One thing we could try is a script that will change the material of a layer named Random from a set of materials.
Just create a material that consist of a n-long-list of materials (that are already present in the list of materials). When applying that material it just randomly chooses from the n specified materials. Should be quite simple.
Got it, the first iteration used Random in the material name but that was a little obtrusive. Instead it now uses the Tag property with the name Random, add the Tag to get materials into the Random Set.
But to me it seems a bit awkward. It is sort of hidden and hard to manage. (I’m not used to using tags.)
What I would like to have is a new material type that act as a container for other materials. From 1 to n materials. And they can have percentual weights 0-100%.
So that material would look like this:
Random Seed: 45698 Button: (Reseed)
Material List:
20 - stone_01_mat
25 - stone_02_mat
30 - grass_01_mat
25 - grass_02_mat
button: (+ add new material)
Applying this material to a set of object would randomly distribute these materials to the objects applied to. And preferably applying the same material unchanged would not change materials until the user changes the random seed. (If doable, of course if the selected objects change, then distribution changes as well.)
This is fantastic for mapping objects (like a terrace out of slabs, a wall of stones) so that it is more realistic.
Additional option is to add random material mapping directions as well:
20 stone_01_mat Random mapping direction (x) checkbox (y) checkbox (z) checkbox