POV-Ray : Newsgroups : povray.general : Feature request : Re: Feature request Server Time
19 Nov 2024 11:32:11 EST (-0500)
  Re: Feature request  
From: Micha Riser
Date: 4 Mar 2002 15:58:37
Message: <3c83dffc@news.povray.org>
Timothy R. Cook wrote:

> "Timothy R. Cook" wrote:
>> Fog bounding objects.  I.e. fog only in this hollow cube.  Kinda like
>> media, but quicker, and without the scattering of light.

You mean like this:

#include "colors.inc"

  camera {
    location  <-20, 20, -20>
    look_at <20,20,20>
  }
  
  background { color SkyBlue }
  
  plane { y, -10
    pigment {
      checker color Yellow color Green
      scale 20
    }
  }
  
  box { <0, 0, 0>, <40,40,40>
    pigment { Clear }
    inverse
  }
  
  sphere { <-100, 150, 200>,  20
    pigment { Green }
    finish { phong 1.0 phong_size 20 }
  }
  sphere { <100, 25, 100>, 30
    pigment { Blue }
    finish { phong 1.0 phong_size 20 }
  }
  light_source { <100, 120, 40> color White}
  fog {
    distance 25
    color rgb 0.6
  }


> 
> Also ...why is this message in some old thread?
> 

It show up correctly here, so it might be your news reader.

- Micha


Post a reply to this message

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