POV-Ray : Newsgroups : povray.unofficial.patches : MegaPov's Depth Map : Re: MegaPov's Depth Map Server Time
18 Apr 2024 14:07:18 EDT (-0400)
  Re: MegaPov's Depth Map  
From: clipka
Date: 28 May 2013 19:58:43
Message: <51a544b3@news.povray.org>
Am 26.05.2013 23:39, schrieb VSector:

> I hear another approach is using povray with fog, which
> works well with spheres.  But when I use:
>
> <code>
> #include "colors.inc"
> #include "textures.inc"
> camera {
>   location <0,0,0>
>   look_at <0,0,1>
> }
> global_settings {
>   ambient_light rgb <10, 10, 10>
> }
> fog {
>   distance 10
>   color rgb<1,1,1>
>
> }
> plane {
>   <1,0,1>, 8
> }
>
> plane {
>   <-1,0,1>, 8
> }
> </code>
>
> I get only a black image.

Looks like your camera is "below" the planes (which is considered 
"inside"); using "hollow" on the planes might get you where you want to go.


Post a reply to this message

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