How to antialias Mist pass?

I use mist pass as the depth map for making DoF, but very-very sharp mist pass causes a lot of artifacts on a final image. So, is there any way to smooth it?

  • Antialising in blender render is switched on (x16 full sample)
  • No blur is acceptable. Have tryed a lot of variatons. Looks a bit better, but not a decision at all.

Thanks!

Perhaps an image of the problem would help?

Increasing your image size would work – doubling or even quadrupling it, then doing your composite, then scaling the entire thing down. Of course this also increases the render time significantly…

Yes, benu, the best result, I’ve got was to scale image up and down several times in fusion. Will try to render scaled image, when’ll have enough time.

Another decision I’m playing with now - is to vectorize every frame of mist and rasterize it back. Brings pretty good result.

What do you mean by vectorise?

It would really help if you could post an image, or the blend-file, or otherwise more-clearly describe exactly how you are trying to use Mist.

2 3pointEdit : I mean, that converting every frame of mist seq to vector graphics brings accurate antialiasing.

This is my mist. The problem is in sharp edges.

wow, could u plz make a short tutorial, how to use mist pass az Z-value instead of the image-Z value (it would be really helpful, i searched for it everywhere, but everybody just talks about it)

Re-tep

I used it for a depth dof blur via nodes, will look for my thread later.