POV-Ray : Newsgroups : povray.binaries.images : image : Re: image Server Time
2 Aug 2024 12:19:09 EDT (-0400)
  Re: image  
From: Gail Shaw
Date: 5 Nov 2007 23:41:21
Message: <472ff071@news.povray.org>
"alphaQuad" <alp### [at] earthlinknet> wrote in message
news:web.472f6d7d2a06dfe9c51101a30@news.povray.org...

Added a line that may help.

I usually do this with fog. See below.

>
> sphere { <0,0,0>, 2000.0
> interior_texture {
>  // ior 1.5
>     pigment {
>       gradient y
>         color_map {
>           [0.0 rgbf <0.6,0.7,1.0,1>]
>           [1 rgbf <0.4,0.5,0.8,1>]
>         }

        scale 2000

>     }
>     finish { ambient 1 diffuse 0 }
> }
> texture {
>    pigment {
>          rgb 0
>          transmit 1
>     }
>     //finish { ambient 1 diffuse 0 }
>   }
> }
>

// to prevent the fog going forever
sphere {
 0,2000
 pigment {rgbf 1}
 inverse
}

fog {
 rgb <0.2,0.2,0.4>
 fog_type 1
 distance 2400
}

fog {
 rgb <0.6,0.5,0.7>*0.8
 fog_type 2
 fog_offset 0
 fog_alt 300
 distance 2000
}

light_group {
 light_source {
  <5000,1500,5000>
  <0.8,0.75,0.7>*2
 }
 sphere {
  0,1
  pigment {
   image_map {
    png "Moon.png"
    map_type 1
    interpolate 2
   }
  }
  finish {ambient 0 brilliance 2}
  scale 300
  rotate z*20
  translate <-600,450,7000>
 }
 global_lights off
}


Post a reply to this message

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