Composite wire renders?

Hi all,
I’m having a go at using the compositor to create a wire render but I’m not sure if this is possible. The idea I have is to render the model with a white/clay material and save the image, then re-render with a wire material and overlay that wire render on the solid render and use the z-depth information to mask out ‘wire’ that we shouldn’t be able to see.

Am I barking up the wrong tree? This is the first time I’ve really used the compositor node’s so I’m not sure what’s possible and what isn’t.

I’ve attached a blender with my starting point; using a sphere (I’ve got a plane in there out of view of the camera; it’s there basically as a place holder to make sure the base material doesn’t get deleted).



wire_comp.blend (219 KB)

If you want to render the wireframe on a solid model you don’t need to do it with nodes.


Hi Richard, thanks for the link - Kernods method works really well but I am still hoping to find a solution using the compositor. Just feels like there should be a way of doing it there!

Unfortunately blenders wire material dose not play nicely with material/compositing nodes.

That is a nice tutorial by Kernon!

I’m gonna have to try that out.

what i’ve done in the past is take a screenshot in editmode, set to edge select.
then, in the gimp, select the wireframe, inverse selection, and overlay the wire on the original render.
the benefit of that method is you can have the curved edges from the subsurf, if you turn on the button to project the wireframe down to the surface, if you get what i’m trying to say.

Why not just use edge render?

Why not just use edge render?

If you watch Kernon’s video, he explains why.