PDA

View Full Version : How to compose a DoF with zCoverage?


Throbberwocky
11-16-2005, 12:44 PM
Hi there,

I'm a little bit lost with z-buffers and z-coverages.

Let's assume we rendered a beauty pass, a correct zdepth pass (non antialiased), a coverage pass and additionally a label pass (I don't know if it's really needed though).

Now if I would like to create a nice zBlur in Shake without ugly halo effects and jagged edges, how would I have to compose those passes?

I searched the forums and didn't find any hints. I tried around myself and didn't manage to get satisfying results. Can anybody give me a hint?

Thanks a lot in advance ...

love2exelere8
11-17-2005, 02:25 AM
what do u mean by a coverage and label pass?

anyway, if u have a z-depth pass u can use an IDifocus node or an IBlur node. For both nodes u connect the image u want to blur in the left input and the z-depth pass into the right intput.

cheers

janimatic
11-17-2005, 02:01 PM
talking about using zdepth only, i would suggest this :
don't set a too high defocus/blur value,
tune the contrast of the control image instead (imply that u use zSlice + IDefocus instead of zDefocus though)
You can use fcheck to get the optimal z keying values (or zView viewer script + pixel analyser but i found fcheck more handy for this.. check the command line on fcheck)
I noticed the aliasing artifact appear when the blur/defocus values are set too high, it must be possible to fix it by tuning the control image contast ..

CGTalk Moderation
11-17-2005, 02:01 PM
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.