PDA

View Full Version : best depth of field plugin?


nevermetagerman
08-01-2008, 07:38 PM
i use frischluft depth of field for my post dof and it always leaves areas a llittle pixely. there are no quality settings or anything, the dof is never very clean at all. anyone know of like...whats the best depth of field plugin when using a depth map? really appreciate it.

biliousfrog
08-02-2008, 12:12 PM
Frischluft's DOF plugin is great. I expect that you're using a straight, aliased depth buffer which is why the results are pixelated. Depth buffers are usually aliased although some renderer's allow the option of anti-aliasing them. If the depth pass is aliased and the colour pass is anti-aliased the edges won't line up correctly which will cause horrible glitches.

Some people render the depth buffer at 200% and then scale it down to smooth it out. Personally, I prefer to manually create them by using matte objects and depth fog, that way you can have the exact same AA settings for the colour passes and the depth pass.

Can you post a pic of the issue you're having.

nevermetagerman
08-02-2008, 06:48 PM
thats all great advice, much appreciated B. my z-depth is AA. i render in passes in XSI but only are the tiny areas where its a little bit blurred do i see it. so i'm just going to ignore it i guess since its almost unnoticable unless you really looked. thanks again though

noxy
08-04-2008, 11:47 PM
I used to think that an antialiased depth buffer was a good thing too.
That is, until I realized that the edge pixels, when antialiased, actually moved the edge through space since they altered the luminance. Now, I always use the aliased edge, straight out of a zpass (processed in Shake), and never have a problem, even with closeups and extreme dof at 2k.
Of course, I'm using Frischluft, so can't claim to know how other filters deal with this.
Antialiased depth buffers are better for distance fog and mattes though.


Noxy

nevermetagerman
08-04-2008, 11:50 PM
thanks noxy, ill try a test of that next time.

biliousfrog
08-05-2008, 06:53 AM
I used to think that an antialiased depth buffer was a good thing too.
That is, until I realized that the edge pixels, when antialiased, actually moved the edge through space since they altered the luminance. Now, I always use the aliased edge, straight out of a zpass (processed in Shake), and never have a problem, even with closeups and extreme dof at 2k.
Of course, I'm using Frischluft, so can't claim to know how other filters deal with this.
Antialiased depth buffers are better for distance fog and mattes though.


Noxy

That's an interesting point, thanks Noxy. So do you use it at 1:1 or render at double and scale down?

noxy
08-05-2008, 09:31 PM
So far I have done everything at 1:1, and I have used it quite a lot with no problems. I wish I didn't need to use Shake to extract and adjust the zpass though, but it's something I'm willing to deal with.

Frischluft is my favorite filter for doing exactly what you want with the controls for dialing things in. I would also like to test it more with floating point files, since I love the bokeh effect you can get with blown out highlights.

Noxy

Navstar
08-07-2008, 10:19 PM
How is LensCare better than AE's own Lens Blur?

noxy
08-10-2008, 01:01 AM
this is an old image that does the explanation

http://www.frischluft.com/lenscare/quality_comparison.html

I would say that it does a similar effect, but with massively more control and detail.
You can pick where you want the focal point to be and easily choose the falloff and effects of the blur.

I haven't come up with a situation where it has performed differently than what I expected, and that's worth a lot to me.

CarlRiver
08-10-2008, 12:48 PM
this is an old image that does the explanation

http://www.frischluft.com/lenscare/quality_comparison.html

I would say that it does a similar effect, but with massively more control and detail.
You can pick where you want the focal point to be and easily choose the falloff and effects of the blur.

I haven't come up with a situation where it has performed differently than what I expected, and that's worth a lot to me.
Looks like the AE lens blur works similar to the built-in DOF of Combustion. All it does is duplicate the layer, blur it and mix the blurred and unblurred version together through the zDepth image. Thus the horrible result with glowing edges.
I recently tried out Richard Rosenman's Depth of Field Generator. It is a plugin for Photoshop but works on image sequences as well and produces phenomenal results. And it has even more features like optimizing anti-aliased zBuffers, using custom bokeh-maps and so on.

Navstar
08-11-2008, 02:06 PM
No way... those comparisons are not using CS3 AE Lens Blur. That example is using a square fast blur algorithm that looks like crap. CS3 Lens Blur looks much much better (you can define the shape of the iris as you can in frischluft).

noxy
08-12-2008, 12:22 AM
I tried using a similar scene with both Frischluft and CS3 lens blur, although lens blur has definitely improved, it is nowhere near as usable as Frischluft.
The focal picker alone is worth the price of admission.
Also, the detail in the out of focus areas looks far better with Frischluft.

For example, here is a scene with similar blur settings.

The first is with cs3 lens blur, the second with Frischluft dof

nevermetagerman
08-12-2008, 12:26 AM
yeah, i never got why photoshop's lens blur never blurred outside the edges. makes no sense.

Navstar
08-12-2008, 01:07 AM
Thanks for posting that. That's a far more realistic comparison. I see the different in the fine details and edge areas.

I'll need to buy that plug for my next project.

Kev3D
03-26-2009, 01:12 AM
Has anyone tried applying the lens blur to the depth pass and using the result to lens blur the final image and comparing the result to Frishluft's plugin?

blacknoise
03-27-2009, 02:06 PM
i can confirm that Frischluft lenscare is the best (imho) you can do most of the shots with this plugin. here are some extreme particle tests:
http://community.softimage.com/showthread.php?t=3946
XSI with Lenscare

Gaso
03-31-2009, 08:30 AM
I recently tried out Richard Rosenman's Depth of Field Generator. It is a plugin for Photoshop but works on image sequences as well and produces phenomenal results. And it has even more features like optimizing anti-aliased zBuffers, using custom bokeh-maps and so on.

I have also tried DoF Generator (known as DOF PRO these days) and I have to agree, it has a nice feature set. Spherical abberation, chromatic abberation, photometric burnout, custom bokeh maps...

On the other hand it's also the slowest, and not really suitable for video work unless you have a lot of time to spare or really high end hardware.

Here's a bokeh test I did. This single image took over five minutes to calculate with a Q6600 using all four cores. The dragonfly is a separate layer, as transparency is not supported.

Original (http://gaso.1g.fi/temp/dragonfly_nodof.jpg)
Processed (http://gaso.1g.fi/temp/dragonfly_dof.jpg)

CGTalk Moderation
03-31-2009, 08:30 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.