2
$\begingroup$

I'm looking to create the effect of sliding a window across my scene and to have everything in that window rendered black & white. (Everything outside the window will still render via color channels).

I've considered multiple layers, multiple cameras and using a glassy material, and have tried the last of these directly. (It didn't have the desired effect).

I imagine the solution could be one of a few things: maybe rendering a black and white camera at the same time as rendering a color channel camera and later splicing the scenes together in editor?; or maybe slowly switching from one scene to another (as if a panel effect)?

My thanks in advance for any tips!

$\endgroup$
  • 5
    $\begingroup$ You'll save yourself a lot of (render) time if you create any type of mask for your window (roto, id material pass or whatever) and use the compositor or any other image application to desaturate that area only. $\endgroup$ – brockmann Nov 8 '17 at 22:10
  • $\begingroup$ @brockmann - Thanks very much; this was an excellent pointer. I think I've got something that's working now. $\endgroup$ – Colin Conwell Nov 9 '17 at 21:04
  • $\begingroup$ Nice. Can you post your approach as an answer? $\endgroup$ – brockmann Nov 9 '17 at 21:06
  • $\begingroup$ Posted! Let me know if the answer is sufficiently clear. $\endgroup$ – Colin Conwell Nov 10 '17 at 3:53
2
$\begingroup$

My solution was as follows:

Riffing off one of many excellent tutorials by OneMinuteVideoTutorials on YouTube, I used a plane with a transparent material that I linked to a Material ID in node editor.

The first step is assigning the transparent material a Material ID (Material > Settings > Pass Index), and then enabling Material Index passes (Render Layer > Passes > Material Index).

The effect can then be achieved using the following combination of nodes: Node Combo

Notice that the effect is contingent on the saturation in the Hue Saturation Value node being set to 0.

| improve this answer | |
$\endgroup$

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.