July 4th, 2005

stream

Moon coloring

/
By accident, I found the following color map makes a good moon coloring:


pigment {
  bozo
  turbulence .8
  color_map {
    [0.0 color White filter 1]
    [0.1 color White]
    [0.6 color White filter 1]
  }
}


I used it like this to make a moon:





#include "colors.inc" 

#macro Moon2()
sphere { , 1
  pigment {
    bozo
    turbulence .8
    color_map {
      [0.0 color White filter 1]
      [0.1 color White ]
      [0.6 color White filter 1]
    }
  }
}
#end

camera { location  look_at  angle 15 }
object { Moon2() translate  scale 5 }
light_source {  color  }