// Persistence of Vision Ray Tracer Scene Description File // Twilight POV special compile // File: TWClean.pov // Vers: 3.5t1 // Desc: Basic Scene Example // Date: 10/03/02 // Auth: Jeff M. Thomas // #include "colors.inc" #include "skies.inc" #include "logo.inc" global_settings { assumed_gamma 1.0 } // ---------------------------------------- camera { location <0.0, 0.5, -3> direction 1.5*z right x*image_width/image_height look_at <0.0, 0.0, 0.0> } sky_sphere { S_Cloud2 } light_source { <0, 0, 0> // light's position (translated below) color rgb <1, 1, 1> // light's color translate <-30, 30, -30> } plane { y, -1 pigment { color rgb <0.7,0.5,0.3> } } // ---------------------------------------- // a CSG object defined as a function #declare fn_object_logo= function { object { // Povray_Logo is defined in "logo.inc" Povray_Logo } } #declare fn_surface= function { pigment { granite color_map { [0 rgb 0.0][.6 rgb 0.1][.7 rgb 0.2][1 rgb .9] } scale .4 } } #declare iso= isosurface { // the logo function is used to define the isosurface, and it is modified by the granite based // pigment function, causing it's surface to be distorted. The result is that the lighter parts // of the pigment will raise the surface of the object. function { fn_object_logo(x,y,z)+(fn_surface(x,y,z).gray*.03) } contained_by { box { -1.2, 1.2 } } accuracy 0.001 max_gradient 2 pigment { granite color_map { [0 rgb 1.0][.5 rgb 0.8][.7 rgb <1,0.7,0.7>][1 rgb <1,0.3,0.3>] } scale .4 } } object{ iso }