#include "colors.inc" // The include files contain #include "shapes.inc" // pre-defined scene elements #include "textures.inc" global_settings { // uncomment this section to do radiosity /* assumed_gamma 1 radiosity { pretrace_start 0.08 pretrace_end 0.02 count 50 error_bound 0.5 recursion_limit 1 } */ // end section on radiosity } camera { location <0, 2, -8> look_at <0, 1, 2> } sphere { <0, 1, 2>, 2 texture { pigment { Blue_Agate // Pre-defined from textures.inc scale 4 // Scale by the same amount in all // directions } finish {Shiny ambient 0} // This finish defined in textures.inc } } sphere { <4, 1, 2>, 1 texture { pigment { // color rgb <1.0 1.0 1.0>*2.5 // uncomment this to do radiosity granite // uncomment this to do raytracing scale 4 // uncomment this to do raytracing } finish {Shiny} // uncomment this to do raytracing // finish{diffuse 1.0 ambient 1.0} // uncomment this to do radiosity } } // uncomment this section to do radiostiy /* sphere { // sky for radiosity <0, 0, 0>, 1 texture { pigment { gradient y color_map { [0.0 color rgb < 0.2 0.2 1 >] [0.3 color rgb < 0 0 0 >] } } finish { diffuse 0 ambient 1 } } scale 10000 hollow on no_shadow } */ // end of section to uncomment to do radiosity plane { <0, 1, 0>, -1 pigment { DMFWood3 // Pre-defined from textures.inc scale 4 // Scale by the same amount in all // directions } finish{ambient 0} } // uncomment these to do raytracing light_source { <2, 4, -3> color White} light_source { <-2, 4, -3> color White}