» DoF & SSAO
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

DoF & SSAO

effect
Credits: Martins Upitis, ported by antokhio

about

Mega thanks to Martins Upitis made available this samples online.
devlog-martinsh.blogspot.com

ported and adopted by antokhio

make sure tfx labeled martins upitis in help patch v4 may take another SSAO for somereason

notes about DoF:
for manual focus to work make sure u are setting up Focus Distance (first pin on shader)

download

DoF&SSAO.zip
14.08.15 [14:05 UTC] by antokhio | 0 downloads

lecloneur 14/08/2015 - 14:07

well done !

Noir 14/08/2015 - 15:18

thx for sharing

u7angel 17/08/2015 - 13:49

hey anton,

the SSAO seems not working here

lecloneur 17/08/2015 - 19:25

@u7angel, drag and drop the tfx from the folder. There is a SSAO file already in addon pack and vvvv is using this one by default instead of Anton's one.

guest 18/08/2015 - 00:46

nice DoF..
it could be cool to add a default focus value
so when there's no object in the field of view
we keep the focus on a desired point?

timpernagel 04/09/2015 - 18:27

@guest just have a look inside the inspector. there ar tons of hidden parameters.

Meierhans 09/11/2015 - 16:46

I just discovered these little gems, amazing how fast, clean and easy they work. And they only need depth channel, great. Thank you for porting Antokhio, that is so useful!

I got one question about the DOF autofocus: I like it, but it does adjust very quickly, nearly instantly, when a new object comes into center of view. Is there a way to adjust the speed of this? I studied to code of the shader but got lost.

And another question: In case one would want to use both, would it make any sense speedwise - if possible - to merge them into one shader?

antokhio 10/11/2015 - 11:16

the autofocus has to be done with compute shader, I haven't really needed it for my purpose need to add that one piece...

subplexus 01/04/2016 - 09:03

These are fantastic! Thanks antokhio!

Got some great results instantly here!

One thing I'm struggling with using your (BEAUTIFUL!) DOF: when in autofocus mode, the actual focus area is really nice and tight, literally a hairs-breadth. I'm aiming for the "looking at something incredibly tiny" effect, so this is exactly the look I need.. I'm sort of with Meierhans on the subject of jumpy focus however, so I want to use manual control. The problem I have in manual mode is that I can't seem to get any near-blur working? Thanks to the useful blur highlighting mode you've built in I can get the far-start and far-end where I like them, but everything in front is in focus no matter what input i give the near-start and near-end controls... Using the highlighting mode, this area just stays orange no matter what I do? :(

Am I missing something here?

Again, thanks for such awesome and resource-light effects! Props!

antokhio 01/04/2016 - 22:36

Hey man! This is a straight port, so code is't mine originally, i rember i had same trouble however, if u use manual mode be sure to unhide in inspektor ALL the params specially the FIRST one. Lemme know if u still struggle after checking them out...

subplexus 02/04/2016 - 17:25

Brilliant! Turns out you're right! Cracked it, thanks! :)

anonymous user login

Shoutbox

~3d ago

joreg: END OF SHOUTBOX! As this page has is now legacy, it will no longer feature new content. For latest news, see: blog

~23d ago

joreg: vvvvTv S0204 is out: Custom Widgets with Dear ImGui: https://youtube.com/live/nrXfpn5V9h0

~23d ago

joreg: New user registration is currently disabled as we're moving to a new login provider: https://visualprogramming.net/blog/2024/reclaiming-vvvv.org/

~1mth ago

joreg: vvvvTv S02E03 is out: Logging: https://youtube.com/live/OpUrJjTXBxM

~1mth ago

~1mth ago

joreg: Follow TobyK on his Advent of Code: https://www.twitch.tv/tobyklight

~1mth ago

joreg: vvvvTv S02E02 is out: Saving & Loading UI State: https://www.youtube.com/live/GJQGVxA1pIQ

~1mth ago

joreg: We now have a presence on LinkedIn: https://www.linkedin.com/company/vvvv-group

~2mth ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~2mth ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/