POV-Ray : Newsgroups : povray.general : Depth Maps Server Time
7 Aug 2024 03:21:04 EDT (-0400)
  Depth Maps (Message 11 to 20 of 28)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 8 Messages >>>
From:
Subject: Re: Depth Maps
Date: 9 Jan 2002 07:14:38
Message: <ruco3uo8tohkslqiucalnai4k27hcvih96@4ax.com>
On Wed, 9 Jan 2002 07:08:19 -0500, "Chris Howie" <cra### [at] yahoocom>
wrote:
> It would still be nice if POV-Ray implemented this, though.

what is wrong with MegaPOV ?

ABX


Post a reply to this message

From: Chris Howie
Subject: Re: Depth Maps
Date: 9 Jan 2002 07:16:35
Message: <3c3c34a3$1@news.povray.org>
Nothing.  But not having to download another file to use this feature would
be handy.

__________________
Chris Howie
cra### [at] yahoocom
http://winimizer.virtualave.net


Post a reply to this message

From:
Subject: Re: Depth Maps
Date: 9 Jan 2002 07:25:07
Message: <fddo3u4njajcnpi0lgedk717j95kf23akd@4ax.com>
On Wed, 9 Jan 2002 07:16:28 -0500, "Chris Howie" <cra### [at] yahoocom>
wrote:
> Nothing.  But not having to download another file to use this feature would
> be handy.

downloading is a nature of IT community
patches are a nature of POV community
wishes are a nature of users

;-)

ABX


Post a reply to this message

From: Jaime Vives Piqueres
Subject: Re: Depth Maps
Date: 9 Jan 2002 07:27:24
Message: <3c3c372c@news.povray.org>
Err.. hmmm... sorry, but IMHO, it is possible with any version of POV-Ray 
having gradient pattern. I've done this in the past with great success... 

  You only have to texture your whole scene with a gradient from white to 
black, along the direction of the camera view (this may require a bit of 
good and old trial&error scaling and translating the gradient). Use a 
finish with ambient 1 and diffuse 0, and no lights. Simple, isn't?

-- 
Jaime Vives Piqueres

La Persistencia de la Ignorancia
http://www.ignorancia.org


Post a reply to this message

From: Simon Adameit
Subject: Re: Depth Maps
Date: 9 Jan 2002 09:43:38
Message: <3c3c571a$1@news.povray.org>
>   Err.. hmmm... sorry, but IMHO, it is possible with any version of
POV-Ray
> having gradient pattern. I've done this in the past with great success...
>
>   You only have to texture your whole scene with a gradient from white to
> black, along the direction of the camera view (this may require a bit of
> good and old trial&error scaling and translating the gradient). Use a
> finish with ambient 1 and diffuse 0, and no lights. Simple, isn't?
>

If you want to get the distance to the camera you should use a spherical
pattern.

--
#local T=text{ttf"timrom.ttf""Simon Adameit".01,0}#local Y=1;#while(Y>-1)
#local X=0;#while(X<7)#local O=trace(T<X,Y><X,Y>+z);cylinder{<X-3,Y,5>*.01
<X-3,Y,5>*.01+5e-3,5e-5pigment{rgb 25*O}}#debug chr(83-(O.x=0)*51)#local
X=X+.05;#end#debug"\n"#local Y=Y-.05;#end


Post a reply to this message

From: Ron Parker
Subject: Re: Depth Maps
Date: 9 Jan 2002 11:15:48
Message: <slrna3or5l.ivf.ron.parker@fwi.com>
On Wed, 9 Jan 2002 15:42:01 +0100, Simon Adameit wrote:
> >   Err.. hmmm... sorry, but IMHO, it is possible with any version of
> POV-Ray
>> having gradient pattern. I've done this in the past with great success...
>>
>>   You only have to texture your whole scene with a gradient from white to
>> black, along the direction of the camera view (this may require a bit of
>> good and old trial&error scaling and translating the gradient). Use a
>> finish with ambient 1 and diffuse 0, and no lights. Simple, isn't?
>>
> 
> If you want to get the distance to the camera you should use a spherical
> pattern.

Except you really don't want the distance to the camera for stereograms.
It ends up looking funny.

-- 
#local R=<7084844682857967,0787982,826975826580>;#macro L(P)concat(#while(P)chr(
mod(P,100)),#local P=P/100;#end"")#end background{rgb 1}text{ttf L(R.x)L(R.y)0,0
translate<-.8,0,-1>}text{ttf L(R.x)L(R.z)0,0translate<-1.6,-.75,-1>}sphere{z/9e3
4/26/2001finish{reflection 1}}//ron.parker@povray.org My opinions, nobody else's


Post a reply to this message

From: Chris Howie
Subject: Re: Depth Maps
Date: 9 Jan 2002 16:21:34
Message: <3c3cb45e@news.povray.org>
Anyway, the reason that I would like it implemented in POV-Ray is so that
programs like Moray would be obligated to provide support for it.

__________________
Chris Howie
cra### [at] yahoocom
http://winimizer.virtualave.net


Post a reply to this message

From: Chris Howie
Subject: Re: Depth Maps
Date: 9 Jan 2002 16:23:16
Message: <3c3cb4c4@news.povray.org>
>   MegaPov supports this.

Yep, I just made a whole stack of stereograms.  Thanks, guys.  =)

__________________
Chris Howie
cra### [at] yahoocom
http://winimizer.virtualave.net


Post a reply to this message

From: Chris Howie
Subject: Re: Depth Maps
Date: 10 Jan 2002 08:51:53
Message: <3c3d9c79$1@news.povray.org>
>   Err.. hmmm... sorry, but IMHO, it is possible with any version of
POV-Ray
> having gradient pattern. I've done this in the past with great success...

Sure, you CAN, but to keep the gradients consistent, you need a depth map
generator.

Not to mention that doing it that way is much longer and more challenging.

__________________
Chris Howie
cra### [at] yahoocom
http://winimizer.virtualave.net


Post a reply to this message

From:
Subject: Re: Depth Maps
Date: 10 Jan 2002 09:11:23
Message: <p58r3us36gk2ipteqqn3hf1or8q2seb7jh@4ax.com>
On Thu, 10 Jan 2002 08:51:46 -0500, "Chris Howie" <cra### [at] yahoocom>
wrote:
> Not to mention that doing it that way is much longer and more challenging.

Not exactly. With features of 3.5 (or MegaPOV) it could be done with one smart
macro.

ABX


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 8 Messages >>>

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