// Persistence of Vision Ray Tracer Scene Description File // File: tbk+.pov // Vers: 3.6 // Desc: a cube of 001s (was 1000 originally, hence the name... // Date: 27 Sept 2010 (dx at 43 1/3) // 19 Feb 2012 // Auth: dookie x // //#include "grasspatch.inc" #include "metals.inc" #include "colors.inc" //#include "stormyrd.pov" //#include "sand.pov" //#include "../skullobj.pov" //#include "psky5mod.pov" #include "onetireb.pov" //#include "tallbik4.pov" //plane { y, -0.0 texture{SandTex}} // ---------------------------------------- // create a regular point light source light_source { 0*x // light's position (translated below) color rgb <1,1,1> // light's color translate <56, 30, 50> } light_source { 0*x // light's position (translated below) color rgb <1,1,1> // light's color translate <-56, 30, -50> } light_source { 0*x // light's position (translated below) color rgb <1,1,1> // light's color translate <-56, 30, 50> } light_source { 0*x // light's position (translated below) color rgb <1,1,1> // light's color translate <56, 30, -50> } camera {right 16/9*x location <73,23,63> look_at <0.0, 18.0, 0.0>} //front fiddled again // ---------------------------------------- // macros can have parameters and are useful for 'programming' scenes #macro makeTallBike(culla) #declare FrameTex=pigment{color rgb <.2*Looper,.2*Looper2,.2*AltiLooper>}; object{Tallbike001 scale .095 rotate <0,0,90> translate<6*Looper,1.2+7*AltiLooper,8.1*Looper2> } #end #declare Looper=0; #while (Looper<6) #declare Looper2=0; #while (Looper2<6) #declare AltiLooper=0; #while (AltiLooper<6) #declare FrameTex=pigment{color rgb <.2*Looper,.2*Looper2,.2*AltiLooper>}; object{makeTallBike(FrameTex) translate }//end object #declare AltiLooper=AltiLooper+1; #end #declare Looper2=Looper2+1; #end #declare Looper=Looper+1; #end /* ^ | y | | x <---\ \ \ v z */