Skip to main content.
  1. Defocus node with external renderers
    1. Indigo test
    2. How was this made?
    3. Why?
    4. Conclusion

Defocus node with external renderers

Blender now has a node based rendering system and one of the nodes is Defocus.

top

Indigo test

I made a very quick test with Indigo. Here is the image without defocus:

before defocus node

And after defocus node:

With defocus

top

How was this made?

Defocus is image based so all you need is an image input and Z-buffer input. Image input is easy. Just export to renderer, save image and get it back to blender with image node.

We can have Z-buffer for that image by letting Blender to render that for us. Just like normal use of Defocus node.

Here is the setup:

Defocus settings

top

Why?

Why would you want to use defocus node if renderer has that ability allready? One reason could be speed. Because Defocus is image based, the scene complexity does not affect to the processing time.

top

Conclusion

In order to work the output of the external renderer must of course match to the Blender's internal renderer. There seems to be some artifacts in the defocused images (jagged edges). It is possible that could be fixed by using larger images.