POV-Ray : Newsgroups : povray.unofficial.patches : f_output_depth non-linear - but what? : f_output_depth non-linear - but what? Server Time
19 Apr 2024 12:33:08 EDT (-0400)
  f_output_depth non-linear - but what?  
From: Paco
Date: 21 Sep 2009 05:45:00
Message: <web.4ab74a31bf54fa92ea2377910@news.povray.org>
I've been trying to get depth information from a scene using both the raw
f_output_depth feature as well as the PP_Depth macro. Here are some of the
samples:

Actual depth      pixel value
25                     35
50                     53
100                    72
150                    88

This is based on using a depth range of 0->1500

This is obviously non-linear - but not referenced anywhere in the documentation
and I can't find it via google. Does anyone know how the conversion from the
actual distance from the camera to the object is converted into a value in
f_output_depth???


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.