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$
3
  • $\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
    Commented Jul 16, 2014 at 15:36
  • $\begingroup$ You can directly set the material of a face. api docs $\endgroup$ Commented Jul 16, 2014 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$ Commented Jul 17, 2014 at 7:17

1 Answer 1

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 .