1

I was intrigued by this photo from Wikimedia commons

and inspired to create this similar structure

Front and back views of chapel

in Blender. Each brick in my model is a separate mesh, and in many cases, they are separate objects as well. I'm working on a means of using a model such as this one to create masonry textures like this one

that are not found in the usual texture repositories. To make the texture more realistic, I'd like to create a set of materials, in this case, brick hues, and have an automated method to randomly assign a different one of the elements in the set of materials to each successive mesh. Is there such a tool available, or do I have to do this manually for each of the 1000 or so meshes?

brasshat
  • 5,446
  • 7
  • 23
  • 44
  • The random output of the object info node will give you a random value per-object. If you plug it into a colorramp you can easily customize it to a set of picked colors – gandalf3 Dec 14 '15 at 06:39
  • Except that I specifically asked "without using nodes....", although I understand that in the absence of other factors, I may have to deal with nodes.... – brasshat Dec 14 '15 at 06:44
  • Ah, my bad. May I ask why you want to avoid using nodes? (you can set this up in the properties editor if it makes any difference) – gandalf3 Dec 14 '15 at 06:46
  • No particularly good reason. My use of Blender is primarily in support of a game which employs user created content, but has it's own game and rendering engine, so I've not yet taken the time to build a skillset using nodes. So if there' a way to avoid nodes at the moment, my preference is to take it. – brasshat Dec 14 '15 at 06:52
  • Perhaps object color or vertex colors might be of interest – gandalf3 Dec 14 '15 at 06:59
  • You could also try a textured texture paint brush. It is kind of far-fetched. – Mörkö Dec 14 '15 at 07:16
  • I wrote an addon a while ago that distributes materials randomly between objects, islands or vertex groups. Could help you there: https://www.youtube.com/watch?v=PgIUrZ8S1_Q

    https://github.com/Tlousky/blender_scripts/blob/master/random_material_assigners/random_material_assigner_per_face_new_features.py

    – TLousky Dec 14 '15 at 07:24
  • @Tamir, if you want to add the information about the object assigner, and change your comment to an answer, I'll accept it. Between the two items, they are exactly what I was looking for. – brasshat Dec 14 '15 at 09:02
  • A possible workaround could be to make a small random selection, extend to linked and assign one material to the slected faces, then repeat the process for each material. Obiuvsly it would be faster if you would be able to join all the brick in one mesh. – Carlo Dec 14 '15 at 15:10

0 Answers0