Hi all,
I try to apply a material to several objects, but trying to change the color for every object using a gradient. I cannot get it to work, only one material is applied to the custom preview… Any ideas?
Script_Colors.gh (13.9 KB)
Thanks!
Hi all,
I try to apply a material to several objects, but trying to change the color for every object using a gradient. I cannot get it to work, only one material is applied to the custom preview… Any ideas?
Script_Colors.gh (13.9 KB)
Thanks!
I don’t know what happens in the parakeet component but without it it seems to work fine:
colors.gh (12 KB)
Thanks!
Indeed, but I would like to use the texture feature…Is there a workaround to create a material with a texture using other components?
So your goal is to use the gradient colors in combination with a texture?
Indeed. I should have been more clear about that, sorry.
Goal is to have (bake) many objects with a certain texture and variations in colour.
Within Rhino I can do this by adding a texture and decreasing the transparency. Not ideal either, but it works.
I wonder if I can get this to work within GH (I forgot about the transparency thing, to be honest…)
In Rhino 8 it should be possible by baking the objects with material set to object and then add the texture in Rhino to all of the baked materials.
colors.gh (12.5 KB)
boxes_with_texture.3dm (1.6 MB)
Thanks a lot!
I haven’t made the switch yet…Should look into it, but making the switch probably takes some time (reinstall plugins etc)
Ok, setting up v8 worked very well. It works, though still need to set textures manually (not a lot of work, when selecting all materials together). It doesn’t work with substance materials though (can’t have it all). Would be nice to have a texture component in GH.