8
$\begingroup$

I wonder how to make pixelated censor effect (which can be animated) in Blender (Cycles or BI). In Photoshop it's quite easy (you select the area, go to Filter-->Pixelate-->Mosaic and that's all. It's still however). I want to achieve the effect from the .gif below. It'll be useful for me if I want to present a 3d naked female model turnover animation for example and I want to censor some obvious body parts :). Do I have to achieve it in the compositor or just using material nodes? Any ideas?
enter image description here enter image description here

$\endgroup$
13
$\begingroup$

Compositing can be used to create a pixelated effect. Masks can be used to control where the pixelation occurs. The animation below shows an animated pixelated window.

Suzanne censored


Steps to create a pixelated effect in an animation in Blender 2.76 w/ Cycles.

  1. Create the scene and lighting.
  2. Add an object which will act as a mask for the pixelation region. Put this object on its own layer. See How to output ID masks as seperate files for compositing?
  3. Setup render layers so the scene and the mask are generated as different layers.

render layers

  1. Use nodes for compositing in the nodes panel.
  2. Use the pixelation node to generate a version of the scene which is pixelated. Place an inpaint node before the pixelation node to ensure the pixelation works everywhere in the image. Use the mix node to combine the pixelated and original image where the mask is used to determine where it is pixelated. See the nodes setup below for an example.

node setup


The blend file for the animation is located here:

$\endgroup$
  • $\begingroup$ The setup has problems on image borders. There should be Inpaint node before the Pixelate one. $\endgroup$ – Jaroslav Jerryno Novotny Nov 30 '15 at 7:13
  • $\begingroup$ @Jerryno, updated the answers to include the Inpaint node. Thanks for the suggestion. $\endgroup$ – Ed Tate Dec 20 '15 at 3:23
  • $\begingroup$ @Jerryno the use of the inpaint node is not clear to me: blender.stackexchange.com/questions/43342/… can you explain a bit? $\endgroup$ – cegaton Dec 20 '15 at 4:31
  • $\begingroup$ @Ed Tate Very good answer. This is what I need. Sorry for accepting it so late. I had totally missed your answer, when you posted it. Thnx again! $\endgroup$ – Paul Gonet Sep 25 '16 at 19:28

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.