POV-Ray : Newsgroups : povray.newusers : Depth render (dumb question) Server Time
31 Jul 2024 06:23:06 EDT (-0400)
  Depth render (dumb question) (Message 1 to 3 of 3)  
From: Tek
Subject: Depth render (dumb question)
Date: 31 Dec 2002 15:27:22
Message: <3e11fdaa$1@news.povray.org>
I'm sure there's a way to make pov render a depth image of a scene (i.e. where
each pixel is coloured according to how far away it is, not according to
lighting and textures), but I've just looked through the pov docs and I can't
find any options to do it!

Is it possible? Or will I have to fake it using fog?

Cheers.

--
Tek
http://www.evilsuperbrain.com


Post a reply to this message

From: Warp
Subject: Re: Depth render (dumb question)
Date: 31 Dec 2002 17:29:57
Message: <3e121a65@news.povray.org>
Tek <tek### [at] evilsuperbraincom> wrote:
> Is it possible? Or will I have to fake it using fog?

  It's not directly possible in the official POV-Ray. You'll have to either
simulate it (with textures or fog) or use a patched version (AFAIK there's
no such patch for 3.5 yet available, but MegaPOV 0.7, which is based on
POV-Ray 3.1 supports this).

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Tek
Subject: Re: Depth render (dumb question)
Date: 31 Dec 2002 18:06:24
Message: <3e1222f0@news.povray.org>
Doh! I must have remembered it from megapov! I'm using textures for now, but
I'll use megapov if I want to do it on a complex scene :)

Thanks for your help.

--
Tek
http://www.evilsuperbrain.com


Warp <war### [at] tagpovrayorg> wrote in message news:3e121a65@news.povray.org...
> Tek <tek### [at] evilsuperbraincom> wrote:
> > Is it possible? Or will I have to fake it using fog?
>
>   It's not directly possible in the official POV-Ray. You'll have to either
> simulate it (with textures or fog) or use a patched version (AFAIK there's
> no such patch for 3.5 yet available, but MegaPOV 0.7, which is based on
> POV-Ray 3.1 supports this).
>
> --
> #macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
> [1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
> -1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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