// ClothRay example: nappe.pov // Christophe Bouffartigue (tofbouf@free.fr) #version unofficial MegaPov 0.7; #include "clothutil.inc" #macro WriteClothFile(nomfile, n1, n2, nlng, ks, ht) #debug "\nWriting new .cth file\n" #fopen file nomfile write #write(file, n1, ",", n2, ",", nlng, ",", ks, ",\n") #local l1 = nlng*(n1-1); #local l2 = nlng*(n2-1); #local st = seed(1234); #local i=0; #while (i, color rgb <.9, .85, .4> scale <1/10, 1/10, 1> } finish { ambient .3 diffuse .7 } } } camera {location <30, 10, -90> angle 30 look_at 0*x } light_source { 10000*y, color rgb 1.2 rotate -x*30 rotate y*45 } object { Drapeau }