POV-Ray : Newsgroups : povray.newusers : Controlling animation from within pov file Server Time
4 Nov 2024 17:30:20 EST (-0500)
  Controlling animation from within pov file (Message 1 to 4 of 4)  
From: Kaveh
Subject: Controlling animation from within pov file
Date: 15 Aug 2003 16:13:20
Message: <1fzr400.7sndjy1q98mt4N%kaveh@delete_this.focalimage.com>
I am running povray on Mac OS X, under Unix command line.

So far I have been creating animations by using the command line, not
.ini files. 

Is it possible for the .pov file to decide whether an animation is run
and the number of frames, etc? For instance is it possible for the .pov
file to write out an .ini file and read it back again?

The reason for this is I want the user to make changes in one place
only, not two. 

I am using makefile, so I can program that to run several stages if
necessary.

Any comments appreciated.

-- 
Kaveh


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Controlling animation from within pov file
Date: 16 Aug 2003 01:56:52
Message: <3f3dc7a4$1@news.povray.org>
In article <1fzr400.7sndjy1q98mt4N%kaveh@delete_this.focalimage.com> , 
kav### [at] delete_thisfocalimagecom (Kaveh) wrote:

> Is it possible for the .pov file to decide whether an animation is run
> and the number of frames, etc?

The answer can be found in the manual of POV-Ray 3.5, section 6.1.3.4.2 :
<http://www.povray.org/documentation/view/137/>

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Christopher James Huff
Subject: Re: Controlling animation from within pov file
Date: 16 Aug 2003 11:50:19
Message: <cjameshuff-EB9F9F.10471716082003@netplex.aussie.org>
In article <1fzr400.7sndjy1q98mt4N%kaveh@delete_this.focalimage.com>,
 kav### [at] delete_thisfocalimagecom (Kaveh) wrote:

> Is it possible for the .pov file to decide whether an animation is run
> and the number of frames, etc? For instance is it possible for the .pov
> file to write out an .ini file and read it back again?

No. At least, not in the same render. You could write an .ini file to be 
used for subsequent renders, but this is more awkward...you would have 
to edit the file, render, and then render again to start rendering the 
animation.


> The reason for this is I want the user to make changes in one place
> only, not two. 

You could use an external shell script, which would limit you to Unix 
systems. You've mentioned you use Mac OS X, you haven't said anything 
about the possibility of using other systems. Or you could combine the 
approaches...use a simple shell script to automate the double-render 
method. Users on other systems would just have to do this manually.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: Kaveh
Subject: Re: Controlling animation from within pov file
Date: 16 Aug 2003 18:21:09
Message: <1fzsvjo.ndextuvszqdsN%kaveh@delete_this.focalimage.com>
Christopher James Huff <cja### [at] earthlinknet> wrote:

[...]

> > The reason for this is I want the user to make changes in one place
> > only, not two. 
> 
> You could use an external shell script, which would limit you to Unix
> systems. You've mentioned you use Mac OS X, you haven't said anything
> about the possibility of using other systems. Or you could combine the
> approaches...use a simple shell script to automate the double-render 
> method. Users on other systems would just have to do this manually.

Thanks. I might work on the shell script. Simpler would be to just use a
different shell command when I want animation, i.e. back to square one.

Thanks all.

-- 
Kaveh


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.