// Persistence of Vision Ray Tracer Scene Description File // File: CAT_examp_04.pov // Vers: 3.6.1 // Desc: Basic tutorial file for the CAT macro // Date: November 2007 // Auth: B Gimeno #include "colors.inc" #include "transforms.inc" #include "shapes.inc" global_settings { assumed_gamma 1.0 } // -------------------- UNIVERSE -------------------------------------------------------- camera { orthographic location <0,15,-249> look_at <0,15,0> direction z*5 } light_source { <-45,90,-70> colour White parallel point_at <0,0,0> fade_power 2 fade_distance 90 } light_source { <45,45,-60> colour White*.5 parallel point_at <0,0,0> fade_power 2 fade_distance 90 shadowless } // ------------------------------------------------------------------------------------ #declare My_Thing = difference { box {<-15,0,-15>, <15,30,15> } cylinder {<-20,15,0>,<20,15,0>,12} cylinder {<0,-1,0>,<0,31,0>,12 } cylinder {<0,15,-20>,<0,15,20>,12 } pigment {White filter .75} scale <1,1,.9> } object { My_Thing rotate y*0 translate <0,0,0> scale <1,1,1> } // ------------------------------------------------------------------------------------ #include "cat.mcr" CAT_Save (My_Thing,12,on,"test06.txt") object { CAT_Load("test06.txt",7,1) rotate y*0 translate <0,0,0> pigment {White} }