// Persistence of Vision Ray Tracer Scene Description File // File: ?.pov // Vers: 3.6 // Desc: Basic Scene Example // Date: mm/dd/yy // Auth: ? // #version 3.6; #include "colors.inc" global_settings { assumed_gamma 1.0 } // ---------------------------------------- camera { location <0.0, 0.5, 30.0> direction 1.5*z right x*image_width/image_height look_at <0.0, 0.0, 0.0> } light_source { <0, 0, 0> // light's position (translated below) color rgb <1, 1, 1> // light's color translate <-30, 30, 30> } // ---------------------------------------- #declare earth_tex = texture { pigment { image_map { jpeg "nasa_blue_marble.jpg" // the file to read (iff/tga/gif/png/jpeg/tiff/sys) map_type 1 // 0=planar, 1=spherical, 2=cylindrical, 5=torus interpolate 2 // 0=none, 1=linear, 2=bilinear, 4=normalized distance once // for no repetitive tiling } } normal { bump_map { // uses image color or index as bumpiness jpeg "earthbump_usgs.jpg" // the file to read (iff/tga/gif/png/jpeg/tiff/sys) map_type 1 // 0=planar, 1=spherical, 2=cylindrical, 5=torus interpolate 2 // 0=none, 1=linear, 2=bilinear, 4=normalized distance // once // for no repetitive tiling // [use_color | use_index] bump_size 2.5 // 0...3 } // bump_map } } #declare earthclouds_tex1 = texture { pigment { bozo turbulence 0.55 octaves 6 omega 0.7 lambda 2 color_map { [0.0 0.1 color rgb <1, 1, 1> color rgb <0.95, 0.95, 0.95>] [0.1 0.5 color rgb <0.85, 0.85, 0.85> color rgbt <1, 1, 1, 1>] [0.5 1.0 color rgbt <1, 1, 1, 1> color rgbt <1, 1, 1, 1>] } scale <3, 1.5,3> translate 0.5*x } finish { // (---surface finish---) ambient 0.1 diffuse 0.5 reflection 0 specular 0 } } #declare clouds = 1; #if (clouds) #declare earth = union { sphere { 0, 6.378 texture{earth_tex}} sphere { 0, 1.01*6.378 texture{earthclouds_tex}} scale <1,6.3568/6.378,1> rotate 20*y /*rotate 23.45*z*/} #else #declare earth = sphere { 0, 6.378 texture{earth_tex} scale <1,6.3568/6.378,1> rotate 20*y /*rotate 23.45*z*/} #end object { earth }