Regenerate Object Mask / Magic Mask issues

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

Ps-Eng

  • Posts: 1
  • Joined: Mon Apr 22, 2024 6:40 pm
  • Real Name: Steveland Peters

Regenerate Object Mask / Magic Mask issues

PostMon Apr 22, 2024 6:55 pm

System Details
  • Resolve Studio Version = 18.6.6
  • OS Version = CentOS Linux release 7.9.2009 (Core)
  • System Model = DELL, Precision 7920 Tower, 2017
  • Installed GPU = 2x Nvidia RTX A5000 with 24564MiB of video ram for a total of 49128MiB.
  • Nvidia Driver = 550.54.14

Noticing what appears to be a bug in DaVinci Resolve when regenerating object masks where there are object masks in more than one compound node on the same clip.

Setup:
  • 2 compound nodes on the same clip each with an object mask inside
  • Both object masks are tracked, but show a red line indicating that they need to be regenerated
  • One the clip, select "Regenerate Object Mask" > "Selected Clip" (or "All Clips")
  • Only one of the object masks is regenerated
  • To regenerate the other object mask(s) you need to go to that specific node and select "Regenerate Object Mask"


For projects that are making extensive use of magic mask, there are often shots that lose the masks even when "Regenerate Object Mask > All Clips" was run immediately beforehand.

We also tested selecting all the magic mask shots (using the clips filter) and then deleting the render cache for those selected clips right before using the regenerate option and the results were the same.

The issue shots are not always the same.

It does not make a difference if the "Magic Mask - Object" is used within a compound clip or not, if there is more than one node with an Object Magic Mask, the "Regenerate Object Mask" option only regenerates the first mask. However, if run a second time (at least with 3 magic mask nodes in the main grade), it regenerates both the second and third magic mask.

If the Magic Masks are inside compound nodes this seems to get more complicated and dependent on which node is selected. Run from the main grade level, the second time running "Regenerate" will only generate one more magic mask and must be run a third time for the third magic mask. It is also important to note that if "Regenerate Object Mask" is selected on a node that has a fully generated object mask it will not regenerate others within the clip. There is also a case where if you are inside a compound node that has the magic mask already generated, it will not regenerate magic masks outside of the compound node (in other compound nodes for example) regardless of which node is selected. You must exit the compound node and regenerate from the main node graph. However, If you have a magic mask at the parent level and select that node to regenerate selected clip or all clips then Resolve will step into each of the compound nodes and regenerate all the magic masks on the clip.

To make things a little more complex, let's take this following example:
  • 2 clips, each clip has 2 compound nodes with a magic mask in each and a node at the parent level with a magic mask.
  • If I select a node without a magic mask in clip 1 and click regenerate, then Resolve will only regenerate the magic mask in the first compound node for each clip.
  • If I select the node in the master node graph of clip 1 with the magic mask, then Resolve will regenerate all the magic masks on clip 1, but only the magic mask within the first compound node on clip 2.

Are there any suggestions for fixing this? or upcoming changes that will resolve issues with magic mask?

Thank you,

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], Marc Wielage, pmdevita and 113 guests