Tim Nelson Posted February 24, 2010 Share Posted February 24, 2010 I want to do something like the material by element modifier, but without attaching all of my instances into a single editable polygon. Is there a way to do that? Basically I want 4 or 5 different intensities of diffuse map to be applied to a bunch of instanced objects. I guess I could do a random select script, and manually assign them to different materials. But I don't think that would give me as good of results since I'm trying to do 4 or 5 types. Link to comment Share on other sites More sharing options...
Chad Warner Posted February 24, 2010 Share Posted February 24, 2010 How about this script: http://www.cg-source.com/multitexture.php It says it works with ids or objects. or quizzys: http://www.3idee.nl/3d/php/script.php?id=4 Link to comment Share on other sites More sharing options...
Dave Buchhofer Posted February 25, 2010 Share Posted February 25, 2010 Does it need to be instanced, or will reference work? how editable does it need to be.. If references are ok, and editability other than randomizing isn't much of an issue.. a 1-2line script can set it up for you Link to comment Share on other sites More sharing options...
Dave Buchhofer Posted February 25, 2010 Share Posted February 25, 2010 there is also a built in multi material texture since 2010, but it only works with scanline/mental ray so far Link to comment Share on other sites More sharing options...
dpcaltdcah Posted February 25, 2010 Share Posted February 25, 2010 select all of the objects you want to randomly assign materials to and use this script: "for obj in selection do obj.material = meditMaterials[random 1 5]" where the #'s 1 and 5 are the numbers of the slots in your material editor that contain the materials you want to use(they're numbered L to R on each row and top to bottom). So if you had the 5 materials you wanted to assign and they are in in slots 2-6 you'd change that to say [random 2 6] or whatever. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now