Mist Pass in Nuke

Hi, i know this is a blenderforum, but since i am trying to use blenders mist pass i thought i might try.
I am trying to make a mask out of the mist pass to color correct the helicopter in the background.
I did that with the background trees using the depth pass, which i can grade as i want to define the mask.
I cant use the depth pass for the helicopter, because its rendered with motion blur and the depth pass is not antialiased resulting in pixelnoise in the rotor blades. So i thought i use the mist pass, but i cant grade it like the depth pass. The two helicopter seem to be too close in values. Any suggestions ?

Using the black/white point control to spread the values so that they differ more ?

unfortunaltely that doesnt help.

I have not used Nuke for many years but ColorLookUp tool rings a bell.

Hello pmeg !

Yeah there are some differences between mist and Z pass.
Z pass is for each pixel the distance to the camera, so expect some values that goes from 0 to the far clip of your camera basically, so much higher than 1…

Mist on the other hand is an arbitrary distance that you can define in the world settings and that range is remapped from 0 to 1.

So first you obviously need very different values to extract your matte from the Z or the mist pass. And secondly it really depends how you exported said mist pass. If you used 16bits per pixel or even better 32bits, there should be enough value information to separate both helicopters.
But if you exported the mist pass in 8bits using jpeg or png it’s possible that there isn’t enough value information …

Anyway, did you tried exporting the cryptomatte passes ? it’s probably much better to isolate a mask unless you really want to use the mist to create aerial perspective…

Hope that helps !

2 Likes

Thanks guys. Good idea with the cryptomatte. Unfortunately both are the same collection instance …
Changed the mistpass near/far and now i got more control and its 32 bit.
But for some reason the mistpass is empty where there are transparent surfaces(windows). Arrrrghhh
I dont know the color lookup node, but will check it out. I am just a hobby blenderer so its just for fun.
Is there a way to use the depth pass with motionblur ? i might try just to blur it.

Can’t test right now and not sure why it’s doing that but… But you can use a material override for the whole pass (nothing transparent) since it doesn’t matter for thr mist pass anyway (unless u have displacements ) then u have can override the transparent objects