-
Recreating D.O.F.
Hi everyone,
i’ve been searching a way to use the “DOF” data from a camera to apply a special effect on my comp, the intensity of the effect depending of the DOF value of each elements position (and with no blur).
And, in the same kind of idea, i’m looking for a way to analyse a nested comp (checking layer visibilty, checking it’s position relative to the camera)in order to recreate a grayscale version of it depending on it’s distance from the camera. (thus a layer would become a plain white / gray of a ramp from gray/black to gray/white) while preserving the pixels opacity value (so if a forground layer have transparency spots, to be able to get the grayscale value of the layer behind it).
I don’t know if i’m really clear, but, if you can think of a way to expression this kind of stuff, be my guest, as my research have yet failed to give any significant results.
Thanks !