Jump to content
Lowepost

Add mask to scaled down image in DaVinci Resolve Fusion


Nicolas Hanson

Recommended Posts

I want to scale down the image and draw the shape on top of the scaled down image, sounds quite simple but I can't wrap my head around how this is processed.

I  scaled down the image with a transform node , and now I want to use a b-spline to create a mask. When I draw the shape and connect the b-spline to the media input it automatically scales down the shape. It's like it's applying the scale data from the second node (transform node). Why is this happening and how can I avoid this? I know I can add the spline after the transform (on the merge node) but that doesn't allow me to go back and change the position of the shape and the image simultaneously later on if I want that.

Edited by Nicolas Hanson
Link to comment
Share on other sites

Connecting the mask to the Effect Mask input of the MediaIn node gives me the behavior I would expect: both the mask and the footage are scaled down by the Transform node. However, there is some weirdness connecting a mask to the Effect Mask input of Transform node - the mask seems to use the un-transformed version and you get a weird amalgam output.

A workaround would be to leave the mask connected to MediaIn or to use it further downstream. For example, add a Merge. Connect the Transform to the Merge FG input, the mask to the Merge Effect Mask input, and a Background solid color (with Alpha set to 0) to the Merge BG input.

Edited by Lee Lanier
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...