Psyop / Cryptomatte

Cryptomatte Nuke plugin, Fusion plugin, sample images, and specification
BSD 3-Clause "New" or "Revised" License
632 stars 151 forks source link

Metadata manifest has way more objects than the ones visible in camera. #149

Open MacbethReyes opened 2 years ago

MacbethReyes commented 2 years ago

Hi ! I have performance issues inside Nuke with scenes with a lot of objects, I guess this is expected, but to my surprise even in shots when only 3 or 4 objects are visible in camera, the manifest includes ALL the objects of the scene 100000 to be exact, is hitting the limit I guess.

Is this normal ? Or is something going wrong in my setup, I was expecting that only the objects inside the frustum of the camera will be inside the metadata manifest.

Anyhow Nuke gets very very slow when this happens, even if the read node is not being used at all, as soon as you put a read node with a huge metadata manifest inside Nuke, it gets slower, my guess is that Nuke is not very good at handling huge metadatas.

Thanks a lot in advance! Any info will be appreciated.

tanant commented 2 years ago

I'm not sure about the manifest generation, but in Nuke i've seen major slowdown from nuke having to parse large amounts of material in the EXR header (like, 100mb sized exr headers..) irrespective of it being for cryptomatte or for some other data.