Jump to: Board index » General » Fusion

Defocusing a chroma-keyed layer

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

Ignacio de La Cierva

  • Posts: 165
  • Joined: Tue Apr 26, 2016 12:20 pm

Defocusing a chroma-keyed layer

PostTue Aug 09, 2016 4:10 pm

Hi!

I'm stucked again with a starting level problem, this time with alpha management in keyed footage. Hope someone has some advice for me.

EDITED: I have a simple 3d composition, foreground layer is an ImagePlane3D with chroma keyed footage assigned to it. At some point I want to defocus that fg layer. Defocus affects all RGB and alpha channels and, as the input for the defocus node has a black background, after defocusing I get darkened edges, wider as the defocus grows in size. Old classic issue, isn't it?


I've tried to divide (un-multiply) the alpha channel before the defocus, but i'ts not working, as the divide node only affects a few pixels on the borders of the matte, and later I want to make a strong defocus effect.

This only happens with 3D composition. I've just tested it with a 2D composition (simple merge node), and you can defocus a keyed layer as much as you want witout border issues going to black. Fusion manages the alpha perfectly fine within a merge node.

I have a work around this problem, by switching to real 3D multipass depth of field effect, instead of 2D defocusing the keyed footage. That way I avoid messing with any alpha channel. But render times will explode, as strong defocus via depth of field will need a LOT of passes to render clean.

Before taking that painful work-around... Anyone to give me cue on how to defocus a keyed footage in Fusion 8 without messing the matte borders to black?

Thanks in advance!
Last edited by Ignacio de La Cierva on Tue Aug 09, 2016 4:53 pm, edited 2 times in total.
Offline

Ignacio de La Cierva

  • Posts: 165
  • Joined: Tue Apr 26, 2016 12:20 pm

Re: Defocusing a chroma-keyed layer

PostTue Aug 09, 2016 4:38 pm

edited the description of my comp.
Offline

Sander de Regt

  • Posts: 4132
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: Defocusing a chroma-keyed layer

PostTue Aug 09, 2016 6:46 pm

Can you please elaborate on how you're setting up the nodes?
Are you doing

Ld-->Chromakeyer-->defocus-->imageplane3D?
Because that shouldn't be a problem. It should work the way you want it to.
Can you perhaps share a single frame of the footage that needs to be keyed?
Usually what you describe happens if the original footage has a small black border around the edge of the frame to begin with. There shouldn't be dark edges in your key, since the key is already premultiplied. The black of the background shouldn't influence the defocus tool.
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

Ignacio de La Cierva

  • Posts: 165
  • Joined: Tue Apr 26, 2016 12:20 pm

Re: Defocusing a chroma-keyed layer

PostTue Aug 09, 2016 7:42 pm

Hi, Sander, and thanks for your interest

Yes, that's the flow I have
Load -> Key -> Defocus -> Image Plane.

I attach a frame (croped and jpg to make it fit) of both the original footage and the final comp with that weird effect.

bad matte after defocus.jpg
and this is the result after defocusing
bad matte after defocus.jpg (265.33 KiB) Viewed 2250 times

original bluescreen footage.jpg
original bluescreen footage.jpg (417.03 KiB) Viewed 2250 times


Of course, key is fine before defocusing.

Thanks!
Offline
User avatar

Chad Capeland

  • Posts: 3308
  • Joined: Mon Nov 10, 2014 9:40 pm

Re: Defocusing a chroma-keyed layer

PostTue Aug 09, 2016 10:51 pm

What's the 3Im's blend mode set to?
Chad Capeland
Indicated, LLC
www.floweffects.com
Offline

Ignacio de La Cierva

  • Posts: 165
  • Joined: Tue Apr 26, 2016 12:20 pm

Re: Defocusing a chroma-keyed layer

PostWed Aug 10, 2016 10:33 am

Thanks, Chad.

Blend mode is Additive.
Offline

Ignacio de La Cierva

  • Posts: 165
  • Joined: Tue Apr 26, 2016 12:20 pm

Re: Defocusing a chroma-keyed layer

PostWed Aug 10, 2016 11:01 pm

I had to deliver, so finally I just 2D merged the two layers and sent the comp to a single 3Dimageplane, simulating the paralax by animating position and scale of the foreground layer.

MUCH faster than trying a real depth of field defocusing with lot of passes.

Thanks for the help anyway!
Offline

Sander de Regt

  • Posts: 4132
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: Defocusing a chroma-keyed layer

PostWed Aug 10, 2016 11:09 pm

Just wondering: if you merged the two together and did the fake parallax there, then why did you need to put it on a Imageplane 3D after that?
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

Ignacio de La Cierva

  • Posts: 165
  • Joined: Tue Apr 26, 2016 12:20 pm

Re: Defocusing a chroma-keyed layer

PostThu Aug 11, 2016 10:51 am

Yeah, I could leave only the letters on 3D and then merge the 3Drender output with this background composition. Sure. This other approach was the shortest way from the composition I already had.

No big difference, I think.
Offline
User avatar

Eric Westphal

  • Posts: 215
  • Joined: Thu Nov 20, 2014 1:59 pm

Re: Defocusing a chroma-keyed layer

PostMon Aug 15, 2016 7:38 pm

Just curious....when you have the element(s) on 3d image planes,
why not let the 3D Renderer handle DOF by activating accumulation effects?
my hovercraft is full of eels.

Return to Fusion

Who is online

Users browsing this forum: No registered users and 11 guests