// Persistence of Vision Ray Tracer Scene Description File // File: ?.pov // Vers: 3.5 #version 3.5; #include "colors.inc" global_settings { assumed_gamma 2.1 } // ---------------------------------------- camera { location <0.0, 5, -4.0> direction 1.5*z right x*image_width/image_height look_at <0.0, 0.0, 0.0> rotate <0,90,0> } // ---------------------------------------- light_source { <0, 0, 0> // light's position (translated below) color rgb <1, 1, 1> // light's color translate <-30, 30, -30> } light_source { <0, 0, 0> // light's position (translated below) color rgb <1, 1, 1> // light's color translate <30, 30, -30> } light_source { <0, 0, 0> // light's position (translated below) color rgb <1, 1, 1> // light's color } // ---------------------------------------- plane { y, -5 texture { pigment { color rgb <0.8,0.5,0.4> } finish { diffuse 0.8 ambient 0.1 reflection 0.2 } } } // ---------------------------------------- #declare boxsiz = 3; #declare surface = isosurface { function { x*x*x*x*x*x + y*y + z*z - 1.5 } contained_by { box { <-boxsiz,-boxsiz,-boxsiz> , } } accuracy 0.0001 max_gradient 40 } object { surface texture { pigment { color rgb <0.5,0.5,0.8> } finish{ diffuse 0.8 ambient 0.1 specular 0.2 reflection { 0.2 } } } } // ---------------------------------------- object { box { <-boxsiz, -boxsiz, -boxsiz> < boxsiz, boxsiz, boxsiz> } pigment { crackle color_map { [ 0.0 color rgbf <0.9,0.9,0.9,0.9> ] [ 0.1 color rgbf <0.9,0.9,0.9,0.9> ] [ 0.1 color rgbf <1.0,1.0,1.0,1.0> ] [ 1.0 color rgbf <1.0,1.0,1.0,1.0> ] } } finish { diffuse 0.8 ambient 0.1 specular 0.2 reflection { 0.05 } } no_shadow hollow on } // ----------------------------------------