0
$\begingroup$

Recently I asked this question and got a very nice answer:

What is the easiest way to smooth the intersection of two planes?

However, now I would like to use a different material for each face. Could anybody help me on how to do this? Written in python script would be best.

Thanks, Mojmir.

$\endgroup$
  • $\begingroup$ Would you be willing to use a subdivision surface with "control loops" ? youtube.com/watch?v=aQZ5ZAldzu4 (I couldn't find a text article that explains the technique in my time quota). Solving it in python would require about 30 minutes of analytic geometry and 30 minutes of futzing with bmesh. $\endgroup$ – Mutant Bob Jul 16 '14 at 15:36
  • $\begingroup$ You can directly set the material of a face. api docs $\endgroup$ – pink vertex Jul 16 '14 at 16:43
  • $\begingroup$ pink vertex: Yes that is true but how do I select the face? Where are they located I was trying but they are not as edges. One cannot do obj.data.faces[i] like with edges obj.data.edges[i] $\endgroup$ – Blender Pirate Jul 17 '14 at 7:17
1
$\begingroup$

No script here but this is a possible node setup: enter image description here

to get this: enter image description here

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.