// Persistence of Vision Ray Tracer 3.5 // File: .pov // Desc: // Date: // Auth: Trevor G Quayle global_settings{ assumed_gamma 1.0 ambient_light 1.0 max_trace_level 250 } // // ******* I N C L U D E S ******* // #include "colors.inc" #include "textures.inc" #include "transforms.inc" // // ******* C A M E R A ******* // #include "StereoCamera.mcr" // // ******* L I G H T S ******* // light_source{ <-200,500,-500> White*1 looks_like{ sphere{0 100} pigment{rgb 1} finish{ambient 15} no_image } } // // ******* T E X T U R E S ******* // //background {color White} sky_sphere { pigment { gradient y color_map { [0.0 rgb <0.6,0.7,1.0>] [0.97 rgb <0.0,0.1,0.8>] } } } #declare M1= material{ texture{ pigment{rgb<0.6, 0.5, 0.2>} finish{ ambient 0 diffuse 0.0 brilliance 1.0 conserve_energy reflection { 0 1 fresnel on metallic 1 } } } interior{ior 15} } #declare M2= material{ texture{ pigment{rgb <1,0,0>} finish{ ambient 0 diffuse 0.5 brilliance 1.0 conserve_energy reflection { 0 1 fresnel on metallic 0 } } } interior{ior 1.5} } // // ******* O B J E C T S ******* // #declare TGQLogo= union{ torus{3,0.5 rotate x*90} cone{y*4,.5,-y*8,0} cone{-x*4,.5,x*8,0} translate y*8 scale 6 rotate 15 material{M1} } #declare MyObject= union{ object{TGQLogo} sphere{-30*y 30 material{M2}} } // // ******* S C E N E ******* // #declare LO = <0,250,-500>; #declare LA = <0,10,0>; StereoCamera (LO,LA,75,5,MyObject,on) //+W800 +H400 +A0.1