POV-Ray : Newsgroups : povray.general : Wanted: Air and Water : Re: Wanted: Air and Water Server Time
18 May 2024 23:57:11 EDT (-0400)
  Re: Wanted: Air and Water  
From: Thomas de Groot
Date: 12 Feb 2016 03:09:23
Message: <56bd9333$1@news.povray.org>
On 12-2-2016 7:34, Sven Littkowski wrote:
> UPDATE
>
> For the air, I am using now successlessly the code below: it is just dark.
>

Try this:

cylinder // Air
{
  < 0.0, 0.0,  0.0 > < 0.0, 0.0, 5.000 > 1.500
  hollow
  pigment {rgbt 1}
  interior
  {
   media
   {
    scattering
    {
     3
     < 1.0, 0.7, 0.5 >/1000
     extinction 1.0
    }
   }
  }
  scale 1000
}

(1) Note the scaling of the cylinder /and/ of the scattering.
(2) I changed the scattering colour
(3) The cylinder needs a transparent pigment

-- 
Thomas


Post a reply to this message

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