/* BlendPixelsB.pov Blurs an image by averaging 9 pigment instances (3x3 pixels). Command line options: +fng +f +a0.01 +am2 +r3 +w? +h? +w? = your input image +h? = your input image height */ #version 3.7; global_settings{assumed_gamma 2.2} #default{ finish{ ambient 1 } } camera{ orthographic right x*2 up y*2 location -z*2 look_at 0 scale 1 } #declare PgImage = pigment{ image_pattern{ "YourImageFile.png" interpolate 2 } scale 2 translate -1 } plane{ z, 0 pigment{ average pigment_map{ #for(Y, -1, 1) #for(X, -1, 1) [1 PgImage translate ] #end #end } } }