// Persistence of Vision Ray Tracer Scene Description File // File: ?.pov // Vers: 3.6 // Desc: Image Map Example // Date: mm/dd/yy // Auth: ? // #version 3.6; #include "colors.inc" global_settings { assumed_gamma 1.0 } // ---------------------------------------- camera { location <0.0, 3.0, -8.0> direction 2*z right x*image_width/image_height look_at <-0.3, 1.2, -3.0> } sky_sphere { pigment { gradient y color_map { [0.3 color White] [1 color Blue] } } scale 0.6 rotate <40,0,0> translate <0,0,5> } // An area light (creates soft shadows) // WARNING: This special light can significantly slow down rendering times! light_source { 0*x // light's position (translated below) color rgb 1.0 // light's color area_light <-2, 0, -2> <2, 0, 2> // lights spread out across this distance (x * z) 40, 40 // total number of lights in grid (4x*4z = 16 lights) adaptive 0 // 0,1,2,3... jitter // adds random softening of light circular // make the shape of the light circular orient // orient light translate <0, 30, -0> // position of light } plane { z, 0 texture { pigment { image_map { png "confplot_126-3.png" interpolate 0 // smooth it once // don't tile image, just one copy } // transform it to unit-size (-1 to +1) translate -0.6*(x+y) // center on the origin translate -0.5*(z) // center on the origin scale 2 // make it unit-sized } finish { ambient 0.1 //reflection 0.4 } } rotate <90,50,-20> scale 2.1 translate <0,-1.2,0> } #include "groel.inc"