How to Render the Earth with POV-Ray

 
Using the code below you can render the Earth and change the viewing perspective. The Earth "skin" is provided below. This skin is wrapped around a sphere in POV-Ray. Also check out the Resource link for more details.

Earth-1.pov (POV-Ray Code)


#include "colors.inc"
    

#default {finish{ambient 0
diffuse 1
specular 0
reflection 0}}
 
      
camera {
  location <15,0,0>
  sky   <1,1,0>
   look_at <0,0,0>
         rotate <40,40,40>
         }

 

sphere { <0,0,0> 6.378   
          texture {
               pigment{
                  image_map {
                     gif "earthmap1k.gif"
                     map_type 1  // Esfera 
                     interpolate 0
                  }
               }
            }    
         scale<1.03,1,1.03>
         rotate <03,120,-23>
}
        
        
light_source {
  <1000,0,0>
  color White 
  parallel
  shadowless
  point_at <0, 0, 0>
  rotate <0,0,0>
}

 

Earth's Skin

Required Image: http://www.midnightkite.com/PlanetPovray/earthmap1k.gif