Camera (DOF) - recreating an after effects tutorial

Moderator: SecondMan

User avatar
DeanPhillips1991
Posts: 8
Joined: Thu Sep 12, 2019 6:06 pm

Camera (DOF) - recreating an after effects tutorial

#1

Post by DeanPhillips1991 » Mon Oct 07, 2019 2:52 pm

Hey all,

I'm trying to recreate this video

A big part of that is having blur control on the camera, however, in the settings, I can't for the life of me find a way to do this?

Is it possible?

Thanks so much

User avatar
Midgardsormr
Fusionator
Posts: 1213
Joined: Wed Nov 26, 2014 8:04 pm
Answers: 3
Location: Los Angeles, CA, USA
Been thanked: 94 times
Contact:

Re: Camera (DOF) - recreating an after effects tutorial

#2

Post by Midgardsormr » Mon Oct 07, 2019 4:26 pm

In the Renderer3D node, enable Accumulation Effects (OpenGL Renderer only).

You'll probably need to turn the Quality way up, beyond the cap of the slider. I usually start it at around 20.

In the Camera3D node, spin down Control Visibility and tick Plane of Focus to be able to see a widget for your focus distance.

Image

User avatar
DeanPhillips1991
Posts: 8
Joined: Thu Sep 12, 2019 6:06 pm

Re: Camera (DOF) - recreating an after effects tutorial

#3

Post by DeanPhillips1991 » Tue Oct 08, 2019 3:50 pm

Midgardsormr wrote:
Mon Oct 07, 2019 4:26 pm
In the Renderer3D node, enable Accumulation Effects (OpenGL Renderer only).

You'll probably need to turn the Quality way up, beyond the cap of the slider. I usually start it at around 20.

In the Camera3D node, spin down Control Visibility and tick Plane of Focus to be able to see a widget for your focus distance.

Image
Thanks so much for that - almost managed to get it working.

My MacBook was having a heck of a challenge (I've got the latest 15-inch model with everything upgraded to the max) so wasn't able to do it too well in Fusion.

Ended up having to use After effects, which was really easy/fast. Hopefully, once I get my head around cameras, and use my PC instead for it, I'll be able to use Fusion to do it in the future instead.

User avatar
theotheo
Fusionista
Posts: 312
Joined: Thu Aug 07, 2014 8:35 am
Answers: 2
Been thanked: 20 times

Re: Camera (DOF) - recreating an after effects tutorial

#4

Post by theotheo » Tue Oct 08, 2019 11:57 pm

For single planar surface depth of field effects; just use the variblur and a ramp instead. Faster and cleaner.

User avatar
SirEdric
Fusionator
Posts: 1959
Joined: Tue Aug 05, 2014 10:04 am
Answers: 4
Real name: Eric Westphal
Been thanked: 135 times
Contact:

Re: Camera (DOF) - recreating an after effects tutorial

#5

Post by SirEdric » Wed Oct 09, 2019 11:16 am

Now that was fun...:-)
You do not have the required permissions to view the files attached to this post.

User avatar
gez
Fusioneer
Posts: 143
Joined: Mon Jul 16, 2018 6:21 pm
Location: Argentina
Been thanked: 17 times
Contact:

Re: Camera (DOF) - recreating an after effects tutorial

#6

Post by gez » Sun Oct 13, 2019 3:14 pm

SirEdric wrote:
Wed Oct 09, 2019 11:16 am
Now that was fun...:-)
Neat! It's always nice to see these real-life examples.

I noticed that the quality slider has to be raised quite a lot in order to have a soft, lens-blur-like, effect.
Tried with 20 as Bryan suggested, but it didn't seem enough, so I took it to 100. Did the work, but I noticed some flickering in the rendered frames (some frames got slightly darker for some reason).
Is there an explanation for that? Bug? Some OpenGL issue with my videocard?.

User avatar
SirEdric
Fusionator
Posts: 1959
Joined: Tue Aug 05, 2014 10:04 am
Answers: 4
Real name: Eric Westphal
Been thanked: 135 times
Contact:

Re: Camera (DOF) - recreating an after effects tutorial

#7

Post by SirEdric » Sun Oct 13, 2019 9:24 pm

In general I should have scaled the entire scene by a factor of at least 10.
The camera is rather close to the 'paper', leaving not really a lot of space for subtle DoF.
In terms of the flickering....that's odd.
Is it really in the rendering, or do you have Normalize enabled in the view?

User avatar
Midgardsormr
Fusionator
Posts: 1213
Joined: Wed Nov 26, 2014 8:04 pm
Answers: 3
Location: Los Angeles, CA, USA
Been thanked: 94 times
Contact:

Re: Camera (DOF) - recreating an after effects tutorial

#8

Post by Midgardsormr » Mon Oct 14, 2019 7:32 am

gez wrote:
Sun Oct 13, 2019 3:14 pm
I noticed that the quality slider has to be raised quite a lot in order to have a soft, lens-blur-like, effect.
Tried with 20 as Bryan suggested, but it didn't seem enough, so I took it to 100.
In my screenshot above my Quality slider was set at 70. Shallower effects require more quality. I've gone as high as 120 for particle fireflies, but obviously the rendering the same image 120 times kills the render speed.

If the scene is small, that flicker might be jitter from inaccurate float values.

User avatar
gez
Fusioneer
Posts: 143
Joined: Mon Jul 16, 2018 6:21 pm
Location: Argentina
Been thanked: 17 times
Contact:

Re: Camera (DOF) - recreating an after effects tutorial

#9

Post by gez » Tue Oct 15, 2019 11:50 am

Midgardsormr wrote:
Mon Oct 14, 2019 7:32 am
If the scene is small, that flicker might be jitter from inaccurate float values.
You nailed it. Switched to full floats and no more flickering.
Midgardsormr wrote:
Mon Oct 14, 2019 7:32 am
Shallower effects require more quality. I've gone as high as 120 for particle fireflies, but obviously the rendering the same image 120 times kills the render speed.
Yes, that's what I thought. It seems like this particular example would benefit from using a defocus node on z-depth instead of using accumulation effects.
A single plane makes it easier as you don't get the occlussions that usually make the z-blur approach fail.
For particles, though...

User avatar
French_Fry
Fusionista
Posts: 331
Joined: Tue Aug 05, 2014 8:04 am
Location: Nashville, TN
Contact:

Re: Camera (DOF) - recreating an after effects tutorial

#10

Post by French_Fry » Tue Oct 15, 2019 1:31 pm

Kind of on topic, but kind of not: what type of trick do the cameras use in Unity or Unreal use to get real-time DOF and motionblur? Seems like both of those at decent quality really kick Fusion in the teeth as far as render times. Curious as to how they approach it, if anyone knows..