|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
the programm that I use, creates 2 reference *.inc files and separate *.pov
files for every frame for every framestep. So if I want to make an animation
of 40 sec. I end up with 1000 *.pov files and 2 *.inc files.
How can I automate this in povray so that first file 0001 is rendered, then
0002, ect....?
Look at batch opparation, made a batch file, located in the bin dir. of
povray and next to it a sample pov scene + the 2 inc files:
"pvengine.exe +H640 +W480 +A0.3 +sample_scene_0000.pov +000Otest.bmp "
But when running batch file povray starts up, and when repeting it while
povray is open it prompts me with the following poup message:
"Only /EDIT and /RENDER may be passed to previous instance"
So any ideas how I would set up such a batch sequence (have little
experience with batch files, and povray). (And prefer a solution where I
don't have to edit all 1000 files to include some line of code)
Thx
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
crz wrote:
> "pvengine.exe +H640 +W480 +A0.3 +sample_scene_0000.pov +000Otest.bmp "
>
> But when running batch file povray starts up, and when repeting it while
> povray is open it prompts me with the following poup message:
>
> "Only /EDIT and /RENDER may be passed to previous instance"
the solution is to add a "/exit" to the batchfile. this tells povray to
close after rendering the image. simple, isn't it? ;)
ciao,
Marc
Post a reply to this message
|
|
| |
| |
|
|
From: crz
Subject: Re: automate a render sequence (batch operation)
Date: 19 Mar 2004 12:07:56
Message: <405b28ec@news.povray.org>
|
|
|
| |
| |
|
|
Tried that but it doesn't render the scene. It prompts me with the following
text (in the blue bottom info field of povray):
--------------------------------------
Possible command line errror: unknown switch '0000.pov'
command line error: problem with command line or INI file
return from renderer eith error status
---------------------------------------
the batch file I use now states:
pvengine.exe +H512 +W384 +A0.3 +0000.pov +000Otest.bmp /exit (is this the
correct writing, cause it just starts and then closes without rendering
pvengine.exe +H512 +W384 +A0.3 +0000.pov +000Otest.bmp "/exit" (withone
should it be, cause this one gives me the stated message above)
is there something wrong with the writing of this file or the location (the
file works when i render via the gui myself)
PS. when asking it on my eporters programme newsgroup I got this reply, but
am not sure if that is the same solution (command-line) with the batch
operation or something different:
--------------
Yes. You can then render all of them automatically using POV-Ray
command-line (or GUI),
--------------
greetz
"Marc Roth" <mar### [at] rothconsultcom> wrote in message
news:405b0e09$1@news.povray.org...
> crz wrote:
> > "pvengine.exe +H640 +W480 +A0.3 +sample_scene_0000.pov +000Otest.bmp "
> >
> > But when running batch file povray starts up, and when repeting it while
> > povray is open it prompts me with the following poup message:
> >
> > "Only /EDIT and /RENDER may be passed to previous instance"
>
> the solution is to add a "/exit" to the batchfile. this tells povray to
> close after rendering the image. simple, isn't it? ;)
>
> ciao,
> Marc
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"crz" <chr### [at] 3rdmillenniumnl> wrote in message
news:405b28ec@news.povray.org...
> Tried that but it doesn't render the scene. It prompts me with the
following
> text (in the blue bottom info field of povray):
> --------------------------------------
> Possible command line errror: unknown switch '0000.pov'
> command line error: problem with command line or INI file
>
> return from renderer eith error status
> ---------------------------------------
> the batch file I use now states:
> pvengine.exe +H512 +W384 +A0.3 +0000.pov +000Otest.bmp /exit (is this the
> correct writing, cause it just starts and then closes without rendering
You don't have the input file switch +i or +I before the 0000.pov and the
output switch is incorrect too, should be +o or +O then test.bmp. Also, file
names without any switches will be taken to mean an INI settings file.
Bob H.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
thx, now it works
"Hughes, B." <omn### [at] charternet> wrote in message
news:405b32ce$1@news.povray.org...
> "crz" <chr### [at] 3rdmillenniumnl> wrote in message
> news:405b28ec@news.povray.org...
> > Tried that but it doesn't render the scene. It prompts me with the
> following
> > text (in the blue bottom info field of povray):
> > --------------------------------------
> > Possible command line errror: unknown switch '0000.pov'
> > command line error: problem with command line or INI file
> >
> > return from renderer eith error status
> > ---------------------------------------
> > the batch file I use now states:
> > pvengine.exe +H512 +W384 +A0.3 +0000.pov +000Otest.bmp /exit (is this
the
> > correct writing, cause it just starts and then closes without rendering
>
> You don't have the input file switch +i or +I before the 0000.pov and the
> output switch is incorrect too, should be +o or +O then test.bmp. Also,
file
> names without any switches will be taken to mean an INI settings file.
>
> Bob H.
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |