Page 1 of 1

Can I use a depth map to give detailed mask info?

PostPosted: Wed Feb 01, 2023 1:11 am
by Pro Effects MAX
I know that depth maps can be used in Fusion when I have an EXR with a Z pass, or when I render a 3D scene with the Z information.
But, using the depth map FX, I can create a depth map. Is there a way to use this depth map to mask my scene (using just the depth map with some 2D videos for VFX)?

Re: Can I use a depth map to give detailed mask info?

PostPosted: Wed Feb 01, 2023 10:27 am
by Sander de Regt
A bit of yes and a bit of no. You can use this info, but it's not a robust solution in the sense that it doesn't always give the exact same result the way renders do, but there are definitely ways to use it.
I'm not 100% sure what the output of the Depth Map FX is. If it's a b/w image you can use that to drive a bitmap mask, if it's a Z pass you'll need to reroute some of the info for it to be usable, but just like it works for some things in grading it will work for some things in Fusion.

Re: Can I use a depth map to give detailed mask info?

PostPosted: Wed Feb 01, 2023 11:27 am
by Sam Steti
Hey
I've been using DM intensively in a ongoing project and look for a way to use its info too.

Since it's supposed to work in Color, I didn't even try it in Fusion, though imho it would be 200% more relevant for it to work there than in Color where its information is used for a lot less goals in the end...

(In the same kind of thoughts, it would be cool to retrieve the track data of the Magic Mask to use it for other purposes)

Now, when you write about DM Fx, you mean you use it in Fusion (as a fusion node) ? Or you do the trick to use in Fusion what you created in the Color page ?
Because I did the second but not other way (in Fu), and I'm interested in a WF which would include the depth map in Fusion for 2D clips. So far Cryptomatte is still there for exr...