|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
One cooler features of the windoze app was the queue-- you could render a
big slew of files at once. I think for the moment I'm going to be using
the command version from apt-get, and that's one thing i miss.
Any tips on approximating that feature?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Greg M. Johnson wrote:
> One cooler features of the windoze app was the queue-- you could render a
> big slew of files at once. I think for the moment I'm going to be using
> the command version from apt-get, and that's one thing i miss.
>
> Any tips on approximating that feature?
If you're using x86 Linux (and depending on your pain threshold), the
Windows Povray GUI will work under Wine (http://www.winehq.org). I havn't
tried to benchmark rendering speeds for Povray under Wine versus to a
native Linux Povray, though, so it may just be faster to write a shell
script to do the batch renderings.
Mike K
--
http://povray.tashcorp.net
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I'am using standart make, Makefile may look like this:
all: persp01.ppm persp02.ppm persp03.ppm
Resolution = +w1950 +h1380
POV_Dir = /usr/local/POV
POV = povray
Include = +l$(POV_Dir)/3.5/include
POV_Flags_share = $(Include) +fp +v $(Resolution) +mb2 +wl0 +gdebug.log
POV_Flags = $(POV_Flags_share) -a +d +p +sp8
POV_Flags = $(POV_Flags_share) +a +d +p
#POV_Flags = $(POV_Flags_share) +a
Includes = scene.inc
%.ppm: %.pov $(Includes)
$(POV) $(POV_Flags) +i$< +o$@ +gsstat.$@
clean:
rm -f *.ppm *.ppm.stat *~
Greg M. Johnson wrote:
> One cooler features of the windoze app was the queue-- you could render a
> big slew of files at once. I think for the moment I'm going to be using
> the command version from apt-get, and that's one thing i miss.
>
> Any tips on approximating that feature?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Vaclav Cermak wrote:
>
> I'am using standart make, Makefile may look like this:
>
> all: persp01.ppm persp02.ppm persp03.ppm
>
I apologize that I don't know what you're referring to our how I could use
this to implement an answer to my question.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>> I'am using standart make, Makefile may look like this:
> I apologize that I don't know what you're referring to our how I could use
> this to implement an answer to my question.
No Problem, Mike. Nobody I know likes Makefiles. They're evil :)
If you want to dive into it, try
http://www.gnu.org/software/make/manual/html_chapter/make_toc.html
About your original problem: You can always use your shell's programming
abilities, e.g.
$ for scene in \
scene1.pov scene2.pov scene3.pov scene4.pov; \
do \
povray $scene -p; \
done
Of course you can put that command into one-line all by itself (leave
out the '\').
A more easy-to-use solution would be a little script. I'd be happy to
help you with that, but I'd need to know some more infos about how it
should work.
Regards,
Florian
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Maybe something like http://www.drqueue.org/ could be used - it doesn't
support POV "out of the box", but from reading the blurb on the page, it
should be pretty easy to set up - with the bonus of being able to tie
multiple machines into the queuing system to distribute the rendering of
individual frames.
Jim
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
This (small) script will set up a dynamic que, that is you can add more
files to the que after the job has been started, by using a while loop
instead of for. I don't have POVRay working yet, so I haven't tested it
with that, but I've tested it with a simple echo command to verify that the
loop does work and send out the commands properly.
#! /bin/bash
# Begin que
POVCOMMAND=foo
QUEFILE=bar
while [ -s "$QUEFILE" ]; do
"$POVCOMMAND" "$(head -n 1 "$QUEFILE")" && sed -i 1d "$QUEFILE"
done
# End que
The quefile should consist of the source that you're rendering, one job per
line, nothing else. If you have your quefile set up and running, and at the
last minute want to add another job to the que, adding something to the last
position is as simple as "echo [sourcefile] >> [quefile]" replace the text
in [brackets] with the appropriate text, of course. Actually, you can get a
lot of control if you assign "bash -c" to POVCOMMAND, and the lines in
QUEFILE would be the same commands you'd type out in the command line
normally. A little more work, but a whole lot more control.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |