// Sample scene. // 'yuqk textSecreteRotation.pov +w600 +h800 +p +mv3.8' global_settings{ assumed_gamma 1 } #declare VarOrthoMult = 12.0/max(image_width/image_height,image_height/image_width); #declare Camera01z = camera { orthographic location <0,0,-2> direction z right VarOrthoMult*x*max(1,image_width/image_height) up VarOrthoMult*y*max(1,image_height/image_width) } #declare Txt00 = text { ttf "/home/pokorny/Fonts/LiberationMono-Regular.ttf" // Liberation fonts usually ship with Linux distributions. // Use command: 'fc-list | grep LiberationMono' to find // the location on your computer. "AAAAAAAAAA", 1e-6, <0,0,0> pigment { rgb <.7,.3,.1> } translate <-3.0,+.25,0> } #declare Txt01 = text { ttf "/home/pokorny/Fonts/LiberationMono-Regular.ttf" "BBBBBBBBBB", 1e-6, <-1.2,0,0> pigment { rgb <.7,.3,.1> } translate <+2.5,-.75,0.0> } #declare Txt02 = text { ttf "/home/pokorny/Fonts/LiberationMono-Regular.ttf" "CCCCCCCCCC", 1e-6, <-0.6,+1.0,0> pigment { rgb <.7,.3,.1> } translate <-4.0,-4.8,0> } #declare Txt03 = text { ttf "/home/pokorny/Fonts/LiberationMono-Regular.ttf" "DDDDDDDDDD", 1e-6, <-0.6,-1.0,0> pigment { rgb <.7,.3,.1> } translate <+3.5,+4.2,0> } #declare Fn = function { pattern { bool_object { Txt00 Txt01 Txt02 Txt03 } } } plane { -z 0 pigment { #if (1) bool_object { Txt00 Txt01 Txt02 Txt03 } #else function { Fn(x,y,z) } #end } finish { emission 1 } } camera { Camera01z } sphere { 0, 0.5 pigment { rgbt <1,0,0,0.7> } finish { emission 1 } }