X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1096e457376f243fcf99384aa760563cf4869d0..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/samples/splash/press.pov?ds=sidebyside diff --git a/samples/splash/press.pov b/samples/splash/press.pov index 093285781d..78eeea89bb 100644 --- a/samples/splash/press.pov +++ b/samples/splash/press.pov @@ -11,7 +11,9 @@ #version 3.6; -// Rendering options : +FN +W80 +H60 +AM1 +A0.05 +R5 +J0 +KFF99 +// Rendering options : +FT +W80 +H60 +AM1 +A0.05 +R5 +J0 +KFF500 +// Produced TGA images converted to MPG with good old (1993) CMPEG tool +// Conversion : cmpeg.exe -v1 ipb.ctl frames.lst press.mpg #include "colors.inc" #include "rad_def.inc" @@ -58,18 +60,24 @@ camera{ orthographic look_at .5 location .5-z right 1.05*x up 1.05*y } #end object{ Objects[ Counter ] } }; - - #declare X0=Counter/(Items+1); + + #declare Pause=0.1; + #declare X0=(Counter+Pause)/(Items+2); #declare Y0=0; - #declare X1=(Counter+1)/(Items+1); + #declare X1=(Counter+1)/(Items+2); #declare Y1=1; - #declare X2=(Counter+2)/(Items+1); + #declare X2=(Counter+2-Pause)/(Items+2); #declare Y2=0; - #declare increase=f_line(clock,X0,Y0,X1,Y1); - #declare decrease=f_line(clock,X1,Y1,X2,Y2); + #declare C1=f_line(clock,0,0,3/4,1); + #declare C2=(Items+1)/(Items+2); + #declare C3=f_line(clock,1/4,0,1,1); + #declare C=max(min(C1,C2),C3); + + #declare increase=f_line(C,X0,Y0,X1,Y1); + #declare decrease=f_line(C,X1,Y1,X2,Y2); #declare change=min(increase,decrease); - #declare level=max(change,0); + #declare level=min(max(change,0),1); object{ Objects[ Counter ]