POV-Ray : Newsgroups : povray.advanced-users : Depth output from POVray : Re: Depth output from POVray Server Time
30 Jul 2024 16:25:10 EDT (-0400)
  Re: Depth output from POVray  
From: Bob Hughes
Date: 22 Sep 1999 17:33:08
Message: <37e94b14@news.povray.org>
Interesting to know. Thanks guys.

Bob

Ron Parker <par### [at] fwicom> wrote in message
news:37e8d66e@news.povray.org...
> On Wed, 22 Sep 1999 11:26:54 +0300, Peter Popov wrote:
> >On Tue, 21 Sep 1999 20:16:01 -0500, "Bob Hughes" <inv### [at] aolcom>
> >wrote:
> >
> >>Think I'd use a gradient z pigment instead.  I have one RDS
(random
> >>dot stereogram, not RayDreamStudio) program here that accepts the
> >>depth info in Bmp images which I suppose might be simple color
> >>shifting, not sure.  I need to dust it off and give it a try.
> >>
> >>Bob
> >
> >A linear gradient will give a very inaccurate result in points not
> >directly in front of the camera. I sometimes use a spherical
pigment.
> >The problem is that it's hard to get its scale right, especially if
> >you have a ground plane, but for indoor or single object scenes it
is
> >the best choice.
>
> When I wrote my patch I originally wrote it to take the length of
> the eye ray (analogous to a spherical gradient) but it seemed to
> warp the resulting scene.  When I switched to a linear gradient
> (length of eye ray dotted with camera direction vector) it flattened
> out.
>
> Another thing that can help, if your SIRDS program supports it (I
> have one that does) is to use hf_gray_16.


Post a reply to this message

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