6
$\begingroup$

I've read that the Edge post processing effect from Blender Internal is Z based, and something similar can be done in the compositor. Can anyone suggest a setup for this, or have any ideas on how it would be done?

I'm looking for something other than Freestyle or BlenderNPR edge nodes. Scripting is fine.

$\endgroup$
4
+25
$\begingroup$

This probably isn't the answer you are looking for, but you could always render out using BI at the end of production, with a 'shadeless' white material applied in the render-layer settings as the material override (applies to all objects when rendered) Also, set the world colour as 100% white as well.

renderlayer settings

render result

result render

This would then allow you to composite the rendered image or sequence of images ontop of your cycles render, you can use a colour mix -> multiply so that only the black 'edge' is applied to the cycles render.

$\endgroup$
2
  • $\begingroup$ Thank you. This does work, but still not quite what I'm looking for. Even if I automate it, making another scene adds too much overhead. $\endgroup$ – Ascalon Nov 19 '15 at 0:50
  • $\begingroup$ Yeah I know what you mean. The more complicated the setup the more than can go wrong. I guess the only other thing I could think of would be to research further specifically how the blender internal edge effect works, then you might be closer to finding a way to replicate it. Possibly contact the developer too, it's all a lot of work though. $\endgroup$ – Tim Bahrij Nov 22 '15 at 9:08
1
$\begingroup$

There's an excellent post explaining how in details, on the excellent BlenderNPR with a .blend you can download and use the node group in you own compositions.

$\endgroup$
3
  • $\begingroup$ Thanks! I am familiar with BlenderNPR edge nodes. It's based primarily on Filters, although it does use Z to some extent. But as far as I understand, it's very different functionally from Edge, and does not have the Threshold effect of Edge. Edge nodes is also fairly heavy, and difficult to get clean. I'm trying to reproduce Edge to have something a bit simpler, although it would be less powerful. $\endgroup$ – Ascalon Oct 28 '15 at 22:22
  • $\begingroup$ I assume you've already tried with freestyle too ? $\endgroup$ – Aleph Oct 29 '15 at 14:36
  • $\begingroup$ Yep! Freestyle is the main thing I'm using, but it can't handle intersections. I'm looking for something to plug those gaps. Edge Nodes works for a lot of things, but requires you to to tweak it's settings for almost every frame, especially if things move a lot. Whereas Edge in BI gives clean and consistent results all the time, but I'm using Cycles. $\endgroup$ – Ascalon Oct 29 '15 at 15:41

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.