3
$\begingroup$

In some cases I want to have the Ray Tracing-render and the Freestyle-render seperated, so I can post-process it in Photoshop. It seems to be that the Freestyle lines are placed onto the render after the Ray Tracing renderprocess. So my question is

Is it possible to delete Freestyle lines after rendering?

$\endgroup$
  • 4
    $\begingroup$ Use separate render layer. Set a material override for all objects to be white shadeless (for example) and enable freestyle for this layer. $\endgroup$ – Jaroslav Jerryno Novotny Sep 5 '18 at 19:14
  • 2
    $\begingroup$ As mentioned in blender.stackexchange.com/a/105536/29586 you can render just the freestyle lines on a render layer by disabling all the other elements (environment, surfaces, hair). You can then combine them in the compositor or manipulate as separate layers. $\endgroup$ – Rich Sedman Sep 5 '18 at 22:03
5
+50
$\begingroup$

The first thing you have to do is enable freestyle and create a new render layer(I called it lines). Next, you can delete the line set for the default RenderLayer and add one for the lines layer.

enter image description here

You can then enable transparency and(on the lines RenderLayer) disable use Environment, AO, Surfaces, and Hair.

enter image description here

If you render now it will render two RenderLayers, one with your scene and one with only the lines. You can switch between them at the bottom of the UV/Image Editor(after it renders). Then, if you then switch to the node editor and enter the compositor and check Use Nodes, you can duplicate the Render Layers node and set the duplicated one to the lines RenderLayer. You can then connect both of their outputs to two file output nodes and select the output destination(Remember to give them names). It will then output the lines and rendered image separately.

enter image description here

$\endgroup$
  • 1
    $\begingroup$ ... and, you might add: if jspr selects 'OpenEXR MultiLayer' as their output format, and has installed a Multichannel EXR plug-in for their Photoshop, they won't need to go to the compositor to direct their file output. The Blender [Render Layers and Passes] will automatically be saved as channels in a single file per frame, and can be imported to Photoshop [Layer Groups and Layers] using the plug-in.. $\endgroup$ – Robin Betts Sep 6 '18 at 6:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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