PDA

View Full Version : Random material per object script



meatycheesyboy
08-09-2017, 05:36 PM
Hey everyone,

I have a project that involves text that is made up of hundreds of individual 3d icons (like a word cloud). I need each icon to have a different material. Everything is in one layer so I need each set of connected polygon groups to have a different material, if that makes sense. Does anyone know of a script that can randomly assign the materials?

Thanks

Sensei
08-09-2017, 06:09 PM
http://globalmaterials.trueart.eu

meatycheesyboy
08-09-2017, 06:45 PM
Thanks Sensei but I'm not sure this does what I am asking for.

Each connected poly group needs to be a different surface so I can export the file as an obj for use in a different program. Global materials looks like it deals with mess editing materials that are already assigned.

I tried unique surface here: http://www.pixsim.co.uk/ but it didn't actually assign any polygons to the newly created surfaces, it just made hundreds of new empty surfaces.

meatycheesyboy
08-09-2017, 06:50 PM
nvm, I think I spoke too soon. Unique Surface did work, it just didn't assign random colors to the surfaces like it said it would.