Depth Of Field in Jitter
Hello, is this possible to achieve DOF effect in Jitter Open GL. I am looking for implementation that is fast for real time interactive presentation. Thanks a million
See depth of field via shader here:
https://cycling74.com/forums/linearized-depth-buffer-values-for-depth-of-field
Pedro, thank you! Your implementation of DOF is excellent! I am getting speeds of up to 45fps with real time animation. Thank you.
Did you manage to get this working with video? Trying to create depth of field within a live video feed.
That would be feasible but you would need to build or obtain some sort of depth mask...
Okay, thanks for the feed back. I'll look into it
Do have any advise on how I would go about doing this? I have never really done this kind of thing before.
What he is saying is that you cant create depth out of a 2d image. Without acces to depth information your only bet is to emulate it with a mask as Pedro suggests or use a kinect or similar device for the live feed...
Never mind, apparently it is possible...
wow mind blown...
https://www.youtube.com/watch?v=9BOdng9MpzU
https://www.youtube.com/watch?v=JtK4cTLlUko
If someone is interrested, i made a fake DOF for 2d video some days ago.
I am currently having some issues with Pedros example for DOF. It is *beautiful* when running on my Macbook, but on my Windows machine, the op.absdiff.jxs shader seems to be outputting something different... I'm curious if anyone has some guidance for getting this patch to run properly on both machines. Below are some reference images taken from identical patches on startup.

