June 17th, 2007,12:39 AM
>>Also is there any kind of way to make a real Defocus with some lens hexagonal effect
I believe the Defocus node only uses disks for lens artifacts but you can gain more control over this by using the Convolve Filter. It will allow you to use a second input as the shape of the artifact so you have full control over it.
>>My last question is, what kind of zdepth should I have? White in backgound and black in foreground or the oposite of that?
Depending on where your z channel comes from (Maya, 3dsMax, PRMan, self made, etc) and how the near and far values coretae to each other you will have to adjust the "math" knob in the ZBlur node accordingly. I.e. if you normalize your z channel (which you may have implied with your first sentence) to give far values the value of '1' and near ones the value of '0' than set the "math" knob to "far=1".
Check the "focal-plane setup" to make life easier when setting up the dof.
I found that sometimes the "distance" value for the math knob behaves strangely but when I then normalized the values manually with a grade node and used the "far=1" setting it worked fine.
hope this helps.
cheers,
frank