|
|
ok, thank you both, I'll try using animation.
i'm new user in pov-ray.
I'll just add here your answer from the general forum for someone who search
similar question:
Alain <kua### [at] videotronca> wrote:
> > hey.
> >
> > I want to render several images from other views by while loop.
> > how can I save image from camera? can I do it in while loop?
> >
> >
> > please give me an short example
> >
> >
>
> No. A given scene can have only a single camera.
>
> What can be used to do what you seems to want is the use of the
> animation feature.
>
> In this case, you can use a #switch() #case()#break #end construct as
> follow:
> You need a #case() clause for each camera definition you want.
>
> #switch(frame_number)
> #case(1) // camera for the first view
> #break
> #case(2) // camera for the second view
> #break
> #case(...)
>
> Then, you start your render using +kffn where "n" stand for the number
> of views you want.
>
> "frame_number" is a builtin variable that evaluate to zero for a single
> image, or a value that depend on the current frame been rendered if
> rendering an animation. In that later case, it start at 1 unless you set
> the first frame's number to something else.
>
> You'll end up with a serie of images consecutively numbered.
Post a reply to this message
|
|