6
$\begingroup$

How do you move blender line sets from the initial layer they were created on to another layer?

$\endgroup$
3
  • $\begingroup$ What kind of layer do you mean? Renderlayer? $\endgroup$
    – gandalf3
    Commented Apr 28, 2015 at 6:29
  • $\begingroup$ Yes, render layer. $\endgroup$
    – 1Up
    Commented Apr 28, 2015 at 6:56
  • $\begingroup$ I'm writing an answer, sadly there is no quick and easy option to do this, so you have to do some compositing $\endgroup$
    – J Sargent
    Commented Apr 28, 2015 at 11:44

2 Answers 2

6
$\begingroup$

Sadly this is not possible by default, however here is an effective workaround


Under the Render Layers tab there is a checkbox that enables/disables it for that layer. And no, this does not render the Freestly pass if you just set it by itself on a new render layer.

Freestyle Checkbox

Using this we will be able to (with come complex compositing) get just the Freestyle pass.

Start by adding a new Render Layer and unchecking the Freestyle checkbox. When you render now, you should get two images, one with freestyle and one without. This is exactly what we need for the next step, which will be done in the compositor.

In the compositor, add another Render Layer node by selecting the already present one and pressing Shift+D. Change the dropdown on the bottom of it to the second render layer. Now add a Color Mix node and set it to Subtract and connect it as shown.

Freestyle Subtract

Now we have a basic image we can work with:

Subtracted render layers

Now replicate this node setup to take this image and make it useable:

Freestyle image preperation

(Basic Math node set to Multiply with a value of 10, and a color mix node set to black and white with the math node input driving the factor.)

Now we have our image to use as the factor to mix the rendered image with a black (or any other) color. Add another color mix node, connect the output of the nodes we just added to the factor input, change the top color to black, and connect the plain render layer image output to the bottom color input. You should now have a node setup like this:

Final node setup

(I added the blur node to make the Freestlye lines less sharp, but it is completely optional)

Your render should now be complete, you can now access just the freestlye render:

Just Freestyle

And can use that to customize how it is used in your final image.

Final Result

$\endgroup$
2
  • 1
    $\begingroup$ Great answer and very helpful. Thank you very much. $\endgroup$
    – 1Up
    Commented Apr 28, 2015 at 20:29
  • $\begingroup$ @1Up No problem :) $\endgroup$
    – J Sargent
    Commented Apr 28, 2015 at 20:58
2
$\begingroup$

Use the line set copy and paste commands. They are available in a pull-down menu just below the plus and minus buttons next to the list of line sets.

enter image description here

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .