POV-Ray : Newsgroups : povray.advanced-users : Depth output from POVray Server Time
27 Dec 2024 05:02:08 EST (-0500)
  Depth output from POVray (Message 1 to 10 of 23)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Simen Kvaal
Subject: Depth output from POVray
Date: 21 Sep 1999 09:07:13
Message: <37e78301@news.povray.org>
Hi there.

Is there any way to make POV-ray output the depth to a file, instead of the
actual renders? That is, can POV output a Z-buffer sort of thing for import
in other programs?

Simen.


Post a reply to this message

From: Nieminen Juha
Subject: Re: Depth output from POVray
Date: 21 Sep 1999 09:14:44
Message: <37e784c4@news.povray.org>
This is a VFAQ. Anyone willing to write a comprehensive answer to this so
that I can put it on the page?

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Ron Parker
Subject: Re: Depth output from POVray
Date: 21 Sep 1999 11:31:31
Message: <slrn7uf96j.v8.parkerr@ron.gwmicro.com>
On 21 Sep 1999 09:14:44 -0400, Nieminen Juha wrote:
>  This is a VFAQ. Anyone willing to write a comprehensive answer to this so
>that I can put it on the page?

Someone wrote a whole chapter about this in a Waite Group book on making
SIRDS.  I could try to summarize the two methods they mentioned there, since I
have a copy of the book (probably now out of print) or I could just break down
and rewrite the patch I had for POV 2.2 that added this capability without any
serious scenefile modifications (or someone else could - it's just a tiny change
to determine_apparent_colour).


Post a reply to this message

From: ingo
Subject: Re: Depth output from POVray
Date: 21 Sep 1999 12:33:30
Message: <37e7b35a@news.povray.org>
Ron Parker <par### [at] fwicom> schreef in berichtnieuws
slr### [at] rongwmicrocom...
> On 21 Sep 1999 09:14:44 -0400, Nieminen Juha wrote:
> >  This is a VFAQ. Anyone willing to write a comprehensive answer to
this so
> >that I can put it on the page?
>
> Someone wrote a whole chapter about this in a Waite Group book on
making
> SIRDS ....

What is / are SIRDS ?

Ingo


Post a reply to this message

From: Ron Parker
Subject: Re: Depth output from POVray
Date: 21 Sep 1999 12:40:18
Message: <37e7b4f2@news.povray.org>
On Tue, 21 Sep 1999 18:33:36 +0200, ingo wrote:
>Ron Parker <par### [at] fwicom> schreef in berichtnieuws
>slr### [at] rongwmicrocom...
>> On 21 Sep 1999 09:14:44 -0400, Nieminen Juha wrote:
>> >  This is a VFAQ. Anyone willing to write a comprehensive answer to
>this so
>> >that I can put it on the page?
>>
>> Someone wrote a whole chapter about this in a Waite Group book on
>making
>> SIRDS ....
>
>What is / are SIRDS ?

Single Image Random Dot Stereograms.  Often known by the trademarked
name "Magic Eye."


Post a reply to this message

From: Peter Popov
Subject: Re: Depth output from POVray
Date: 21 Sep 1999 18:46:48
Message: <WgroNzmOZ7X2FDK=ETYWw3peFcbG@4ax.com>
On Tue, 21 Sep 1999 15:09:19 +0200, "Simen Kvaal"
<sim### [at] studentmatnatuiono> wrote:

>Hi there.
>
>Is there any way to make POV-ray output the depth to a file, instead of the
>actual renders? That is, can POV output a Z-buffer sort of thing for import
>in other programs?
>
>Simen.

A quick and dirty way is to place the whole scene in a union, give it
a white pigment, an ambient of 1 and diffuse 0, and use black fog to
dim the distant objects. Works quite well for me.


Peter Popov
ICQ: 15002700


Post a reply to this message

From: Bob Hughes
Subject: Re: Depth output from POVray
Date: 21 Sep 1999 21:17:05
Message: <37e82e11@news.povray.org>
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

Peter Popov <pet### [at] usanet> wrote in message
news:WgroNzmOZ7X2FDK=ETYWw3peFcbG@4ax.com...
> On Tue, 21 Sep 1999 15:09:19 +0200, "Simen Kvaal"
> <sim### [at] studentmatnatuiono> wrote:
>
> >Hi there.
> >
> >Is there any way to make POV-ray output the depth to a file,
instead of the
> >actual renders? That is, can POV output a Z-buffer sort of thing
for import
> >in other programs?
> >
> >Simen.
>
> A quick and dirty way is to place the whole scene in a union, give
it
> a white pigment, an ambient of 1 and diffuse 0, and use black fog to
> dim the distant objects. Works quite well for me.
>
>
> Peter Popov
> ICQ: 15002700


Post a reply to this message

From: TonyB
Subject: Re: Depth output from POVray
Date: 21 Sep 1999 21:29:59
Message: <37e83117@news.povray.org>
>A quick and dirty way is to place the whole scene in a union, give it
>a white pigment, an ambient of 1 and diffuse 0, and use black fog to
>dim the distant objects. Works quite well for me.


And what do you use it for? How would using this improve my scenes?


Post a reply to this message

From: Peter Popov
Subject: Re: Depth output from POVray
Date: 22 Sep 1999 04:25:50
Message: <7ZHoN30Y7JoT=URFG+w9p7XL5DM6@4ax.com>
On Tue, 21 Sep 1999 20:24:27 -0400, "TonyB"
<ben### [at] panamaphoenixnet> wrote:

>>A quick and dirty way is to place the whole scene in a union, give it
>>a white pigment, an ambient of 1 and diffuse 0, and use black fog to
>>dim the distant objects. Works quite well for me.
>
>
>And what do you use it for? How would using this improve my scenes?
>
You can use it as a selection in PSP, for example, apply gaussian blur
and have a cheap focal blur. Faster and smoother than POV's, though
not as accurate. Or you could desaturate the image with distance to
get a Rennaissance painting look. Such things.


Peter Popov
ICQ: 15002700


Post a reply to this message

From: Peter Popov
Subject: Re: Depth output from POVray
Date: 22 Sep 1999 04:27:41
Message: <V5LoN5TatESKTQfzmmjrCp0Po8Ya@4ax.com>
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.


Peter Popov
ICQ: 15002700


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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