// Persistence of Vision Ray Tracer Scene Description File // File: caldemo.pov // Vers: 3.5 // Desc: calendar demo file // Date: 21/11/01 // Auth: T Melly // #version 3.5; #include "colors.inc" global_settings { assumed_gamma 1.0 } // ---------------------------------------- /* Params for MakeCal: Year = Gregorian Year [int] Month = Gregorian Month [int 1 -12] CalXOff = space between dates [num] CalYoff = space between rows [num] CalFont = font to use [string] CalExt = extrusion on text object [num] CalSpace = inter-char spacing [num] DayOff = day off-set, [num] 0=sunday, 1=monday, ... 6=saturday CenterOff = [num] adjust for centering of heading */ #include "cal.inc" union{ MakeCal(2001,11, 1.5,1, "c:/windows/fonts/timesbi.ttf", 1,0,6, 13) pigment{Black} translate x*-6 translate y*4 } // ---------------------------------------- camera { location <0, 2, -12.0> look_at <0.0, 0.0, 0.0> } light_source { 0*x // light's position (translated below) color rgb <1,1,1> // light's color translate <-20, 40, -20> } // ---------------------------------------- // Create an infinite sphere around scene and allow any pigment on it #include "skies.inc" object{O_Cloud1 inverse} sky_sphere { pigment { gradient y color_map { [0.0 color blue 0.5] [0.5 color rgb <0.7,0.7,1.0>] [1.0 color blue 0.5] } } }