zdeph maps


#1

How can I make zdeph maps for deph of field effect?
Regards


#2

F10 > Render Elements > Add… > Z depth > Render! :wink:


#3

I experienced lots of problems with this method when rendering planes with opacity maps(ie PFlow facing particles or billboards).
Another way would be applying a distance falloff to both diffuse and selfillumination and deleting any lighting(and reflection/refraction) from the scene, but keeping the opacity maps.


#4

Yes, there is this problem in the Z with planes with opacity maps.

Just to add, if your using mental ray and max2008 you can use the Card Opacity shader to solve this problem, it’s part of the Production Shaders and needs to be unlocked as mr. Zap said in his blog: http://mentalraytips.blogspot.com/2007/10/production-shaders-hidden-treasures-of.html


#5

hi

or you use the ba_raylenght shader from binary alchemy. Then can you make your own z-Depth Shader with include reflection & refraction.

gmrf-Tread: Look here: http://forum.german-mentalray-wiki.info/viewtopic.php?p=1278#1278

mfg
hot chip


#6

mil gracias muchachos!!


#7

final render has opacity clipping from the z depth render element as well - very handy


#8

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.