POV-Ray : Newsgroups : povray.general : Depth Maps : Re: Depth Maps Server Time
7 Aug 2024 05:14:26 EDT (-0400)
  Re: Depth Maps  
From: Ron Parker
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

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