|
![](/i/fill.gif) |
On 1-12-2013 14:24, Rudi wrote:
> // The name of the pics is si101 to si200
>
> // They are all in the directory Temp3, where also the this fil is.
> // If I render just one pic, all works well
> // but something doesen't work, when I try to render the 100 pics.
> // Strange is, it worked, years ago, with an older pov Version
> // Can someone help me?
>
>
> camera{ location -z*10.1 look_at <0,0,0>
> }
>
> light_source{ <20,20,50> rgb <1,1,1> }
>
>
>
>
> #declare Count = 0;
> #while (Count <= 9)
>
> #declare X = Count ;
>
> #declare anzahl = 200-(X*10);
>
>
>
> #declare Bount = 0;
> #while (Bount <=9)
>
> #declare Y = Bount ;
>
> #declare name = anzahl -Y ;
>
>
>
> box {<-1,-1,-.001>,<1,1,.001>
>
> // one pic to render
> // pigment {image_map {png "Temp3\si100.png" map_type 0 interpolate 2 }
>
> pigment {image_map {png concat ("Temp3\si",str(name,0,0),".png") map_type
> 0 interpolate 2 }
> scale 2
> translate <1,1,0> }
>
>
> finish {ambient 1 }
>
> scale <1.333,1,.1>
> scale <.47,.47,.1>
> translate <(4.5*1.333)-Y*1.333,X-4.5,0> }
>
>
> background {color rgb <.9,.9,.9>}
>
>
> #declare Bount = Bount + 1 ;
> #end
>
> #declare Count = Count + 1 ;
> #end
>
I think you should try this (double backslash):
pigment {image_map {png concat ("Temp3\\si",str(name,0,0),".png")
map_type 0 interpolate 2 }
Thomas
Post a reply to this message
|
![](/i/fill.gif) |