[Bf-python] depth map with inverted z-buffer

lynx.abraxas at freenet.de lynx.abraxas at freenet.de
Sun Aug 5 20:41:10 CEST 2012


On 02/08/12 23:18:56, lynx.abraxas at freenet.de wrote:
> Is  it  possible  to  create  a  depth  map  (as  this demonstrated e.g. here:
> https://sites.google.com/site/paprmh/zbuf_float) with  an  inverted  z‐buffer?
> I.e.  that  the resulting image of e.g. suzanne shows the z‐buffer of the back
> of her head although the camera sees her from the front?

Just found out how to do this for single objcets:
Under  Material  disable!  Transparency  and  choose  "Invert  Z  Depth" under
Options.

But how can one achieve this for a whole scene in which objects  overlap  from
the view of the camera?

Thanks for any help or hints
Lynx



More information about the Bf-python mailing list