POV-Ray : Newsgroups : povray.advanced-users : depth map? : Re: depth map? Server Time
24 Apr 2024 05:28:41 EDT (-0400)
  Re: depth map?  
From: Marvin
Date: 12 May 2009 05:40:01
Message: <web.4a0942cf3a6933703f8cf8140@news.povray.org>
Alain <ele### [at] netscapenet> wrote:
> Marvin nous illumina en ce 2009-05-08 09:49 -->
> > "Sidney Cadot" <sid### [at] jigsawnl> wrote:
> >> Chris, Thibaut, Clipka,
> >>
> >>
> >> Thanks for your excellent suggestions. I wasn't aware of the mega-pov
> >> post-processing feature or the "trace" feature in povray. I will experiment a
> >> bit, this will probably work out -- both approaches seem promising.
> >>
> >> Regards, Sidney
> >
> > Sidney,
> >
> > I've been thinking about this thread and what is explained on
> > http://www.wowvx.com/create/Format.aspx
> >
> > Depth map may allow creating of 2D-plus-Depth image.
> >
> > Is there a way to extract "Declypse" information from POV-Ray model?

> You can't with a single image.
> What you can do:
> - Render only the background then the foreground.
> - Render twice from two different points of view shifted left and right.
>
> For the depth map, just render the scene with all textures replaced by a single
> gradient oriented toward the camera. The gradient direction goes from the
> look_at to the camera location, black for far, white for close.

Could you please give an example of a texture with grayscale gradient oriented
towards the camera?

Regards,
Marvin


Post a reply to this message

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