POV-Ray : Newsgroups : povray.general : Batch/command-line render in Windows Server Time
10 Oct 2026 20:47:11 EDT (-0400)
  Batch/command-line render in Windows (Message 1 to 24 of 24)  
From: Timwi
Subject: Batch/command-line render in Windows
Date: 15 Mar 2013 13:19:29
Message: <51435821$1@news.povray.org>
As far as I can tell, the Windows version of POV-ray comes only with a GUI.

What do I need to do to get a command-line-compatible renderer?


Post a reply to this message

From: James Holsenback
Subject: Re: Batch/command-line render in Windows
Date: 15 Mar 2013 13:59:25
Message: <5143617d$1@news.povray.org>
On 03/15/2013 01:19 PM, Timwi wrote:
>
> As far as I can tell, the Windows version of POV-ray comes only with a GUI.
>
> What do I need to do to get a command-line-compatible renderer?

I don't use windows version so maybe this isn't relevant:
http://wiki.povray.org/content/Documentation:Windows_Section_3#Special_Command-Line_Options

and doing google search for: batch/command line render AND POV-Ray AND 
Windows

I found this:
http://stackoverflow.com/questions/2207472/povray-for-windows-using-the-command-line-to-render-several-pov-files


Post a reply to this message

From: Timwi
Subject: Re: Batch/command-line render in Windows
Date: 15 Mar 2013 15:03:16
Message: <51437074$1@news.povray.org>
On 15/03/2013 18:59, James Holsenback wrote:
> On 03/15/2013 01:19 PM, Timwi wrote:
>>
>> As far as I can tell, the Windows version of POV-ray comes only with a
>> GUI.
>>
>> What do I need to do to get a command-line-compatible renderer?
>
> I don't use windows version so maybe this isn't relevant:
>
http://wiki.povray.org/content/Documentation:Windows_Section_3#Special_Command-Line_Options
>
> and doing google search for: batch/command line render AND POV-Ray AND
> Windows
>
> I found this:
>
http://stackoverflow.com/questions/2207472/povray-for-windows-using-the-command-line-to-render-several-pov-files

Well, neither of those turn the GUI off. All of them open a POV-ray 
editor window, do the render (visibly!) and then exit.

This way, rendering a hundred images requires me to either run 100 GUI 
instances, or run them one after the other. In both cases, my computer 
is completely unusable for quite some time while windows keep popping up.

I’m surprised there’s no way to just *do the render*, with no GUI?

Timwi


Post a reply to this message

From: James Holsenback
Subject: Re: Batch/command-line render in Windows
Date: 15 Mar 2013 15:54:43
Message: <51437c83$1@news.povray.org>
On 03/15/2013 03:03 PM, Timwi wrote:
> On 15/03/2013 18:59, James Holsenback wrote:
>> On 03/15/2013 01:19 PM, Timwi wrote:
>>>
>>> As far as I can tell, the Windows version of POV-ray comes only with a
>>> GUI.
>>>
>>> What do I need to do to get a command-line-compatible renderer?
>>
>> I don't use windows version so maybe this isn't relevant:
>>
http://wiki.povray.org/content/Documentation:Windows_Section_3#Special_Command-Line_Options
>>
>>
>> and doing google search for: batch/command line render AND POV-Ray AND
>> Windows
>>
>> I found this:
>>
http://stackoverflow.com/questions/2207472/povray-for-windows-using-the-command-line-to-render-several-pov-files
>>
>
> Well, neither of those turn the GUI off. All of them open a POV-ray
> editor window, do the render (visibly!) and then exit.
>
> This way, rendering a hundred images requires me to either run 100 GUI
> instances, or run them one after the other. In both cases, my computer
> is completely unusable for quite some time while windows keep popping up.
>
> I’m surprised there’s no way to just *do the render*, with no GUI?
>
> Timwi
>
well what does /RENDER do when using -D


Post a reply to this message

From: Timwi
Subject: Re: Batch/command-line render in Windows
Date: 15 Mar 2013 16:49:15
Message: <5143894b$1@news.povray.org>
On 15/03/2013 20:54, James Holsenback wrote:
> On 03/15/2013 03:03 PM, Timwi wrote:
>>
>> Well, neither of those turn the GUI off. All of them open a POV-ray
>> editor window, do the render (visibly!) and then exit.
>>
>> This way, rendering a hundred images requires me to either run 100 GUI
>> instances, or run them one after the other. In both cases, my computer
>> is completely unusable for quite some time while windows keep popping up.
>>
>> I’m surprised there’s no way to just *do the render*, with no GUI?
>
> well what does /RENDER do when using -D

Whatever it does, it does not disable the GUI. I’ve already been using 
-D all this time.


Post a reply to this message

From: Cousin Ricky
Subject: Re: Batch/command-line render in Windows
Date: 15 Mar 2013 17:05:01
Message: <web.51438c1969ab0bc478641e0c0@news.povray.org>
Timwi <pov### [at] timwide> wrote:
> As far as I can tell, the Windows version of POV-ray comes only with a GUI.
>
> What do I need to do to get a command-line-compatible renderer?

I used batch files like this for Windows batch renders:
________________________________________________________________________________

setlocal
set PATH=%PATH%;"C:\Users\Ricky Callwood\AppData\Local\Programs\POV-Ray\3.7\bin"
:
start /w /min pvengine-sse2 /nr /exit +imyscenefile1.pov
start /w /min pvengine-sse2 /nr /exit +imyscenefile2.pov
start /w /min pvengine-sse2 /nr /exit +imyscenefile3.pov
start /w /min pvengine-sse2 /nr /exit 'myinifile[section1]'
start /w /min pvengine-sse2 /nr /exit 'myinifile[section2]'
start /w /min pvengine-sse2 /nr /exit 'myinifile[section3]'
:
endlocal
________________________________________________________________________________

The splash screen still showed, but it worked.  (Annoying, yes, but the POV team
has its reasons for insisting on the splash screen.)  You would set the PATH to
whatever is appropriate for your system.

Note that I used the /nr switch to keep it from wasting time loading the editor
windows.  If you don't want to lose your editor windows, you must keep one GUI
session open during the batch run and set Options | Keep Single Instance to OFF.


Post a reply to this message

From: clipka
Subject: Re: Batch/command-line render in Windows
Date: 15 Mar 2013 17:30:15
Message: <514392e7@news.povray.org>
Am 15.03.2013 20:03, schrieb Timwi:
> On 15/03/2013 18:59, James Holsenback wrote:
>> On 03/15/2013 01:19 PM, Timwi wrote:
>>>
>>> As far as I can tell, the Windows version of POV-ray comes only with a
>>> GUI.
>>>
>>> What do I need to do to get a command-line-compatible renderer?
>>
>> I don't use windows version so maybe this isn't relevant:
>>
http://wiki.povray.org/content/Documentation:Windows_Section_3#Special_Command-Line_Options
>>
>>
>> and doing google search for: batch/command line render AND POV-Ray AND
>> Windows
>>
>> I found this:
>>
http://stackoverflow.com/questions/2207472/povray-for-windows-using-the-command-line-to-render-several-pov-files
>>
>
> Well, neither of those turn the GUI off. All of them open a POV-ray
> editor window, do the render (visibly!) and then exit.
>
> This way, rendering a hundred images requires me to either run 100 GUI
> instances, or run them one after the other. In both cases, my computer
> is completely unusable for quite some time while windows keep popping up.
>
> I’m surprised there’s no way to just *do the render*, with no GUI?

There are various reasons for this, one being a series of "copyleft 
infringements": At some time various people thought it was ok to sell 
commercial software that deliberately hid the fact that the actual 
rendering was done with POV-Ray; at that point, it was decided to have 
the Windows version always fire up the GUI. (At least that's what I've 
heard tell.)

There actually still exists an old Windows command-line version of 
POV-Ray, but it has not been maintained for quite.

The last word hasn't been spoken on this issue though, and chances are 
the command-line-only version will see a revival.


Post a reply to this message

From: Timwi
Subject: Re: Batch/command-line render in Windows
Date: 16 Mar 2013 11:55:08
Message: <514495dc$1@news.povray.org>
On 15/03/2013 22:30, clipka wrote:
> Am 15.03.2013 20:03, schrieb Timwi:
>> Well, neither of those turn the GUI off. All of them open a POV-ray
>> editor window, do the render (visibly!) and then exit.
>>
>> This way, rendering a hundred images requires me to either run 100 GUI
>> instances, or run them one after the other. In both cases, my computer
>> is completely unusable for quite some time while windows keep popping up.
>>
>> I’m surprised there’s no way to just *do the render*, with no GUI?
>
> There are various reasons for this, one being a series of "copyleft
> infringements": At some time various people thought it was ok to sell
> commercial software that deliberately hid the fact that the actual
> rendering was done with POV-Ray; at that point, it was decided to have
> the Windows version always fire up the GUI. (At least that's what I've
> heard tell.)

Surely the correct response to that is to sue the perpetrator, not to 
massively inconvenience all Windows users...

Timwi


Post a reply to this message

From: clipka
Subject: Re: Batch/command-line render in Windows
Date: 16 Mar 2013 13:28:01
Message: <5144aba1$1@news.povray.org>
Am 16.03.2013 16:55, schrieb Timwi:
> On 15/03/2013 22:30, clipka wrote:
>> Am 15.03.2013 20:03, schrieb Timwi:
>>> Well, neither of those turn the GUI off. All of them open a POV-ray
>>> editor window, do the render (visibly!) and then exit.
>>>
>>> This way, rendering a hundred images requires me to either run 100 GUI
>>> instances, or run them one after the other. In both cases, my computer
>>> is completely unusable for quite some time while windows keep popping
>>> up.
>>>
>>> I’m surprised there’s no way to just *do the render*, with no GUI?
>>
>> There are various reasons for this, one being a series of "copyleft
>> infringements": At some time various people thought it was ok to sell
>> commercial software that deliberately hid the fact that the actual
>> rendering was done with POV-Ray; at that point, it was decided to have
>> the Windows version always fire up the GUI. (At least that's what I've
>> heard tell.)
>
> Surely the correct response to that is to sue the perpetrator, not to
> massively inconvenience all Windows users...

Lawsuits were filed, as a matter of fact - but law is slow to take 
effect, and it didn't help that the copyleft concept was still 
comparatively new back then. (Not to mention that quite a lot of money 
had to be thrown at those lawsuits to fight them through; AFAIK the last 
of them was still ongoing at the end of the POV-Ray 3.7 beta phase, and 
one of the problems slowing down 3.7 development in those days was that 
Thorsten was working hard to make the necessary money to keep those 
lawsuits running.)

As for "massively" inconveniencing "all" Windows users: Most Windows 
users have been happy to run their renders from within the GUI, and 
Windows never really made batch processing easy anyway, so people 
requiring batch processing would typically turn towards Linux in the 
first place.


Times are changing, and judging past decisions based on today's 
circumstances is cheap, and moot besides if the decision is already 
being revised. As I said, we're likely to see a revival of the 
command-line-only POV-Ray version for Windows.


Post a reply to this message

From: Patrick Elliott
Subject: Re: Batch/command-line render in Windows
Date: 16 Mar 2013 14:24:33
Message: <5144b8e1$1@news.povray.org>
On 3/16/2013 10:27 AM, clipka wrote:
> Am 16.03.2013 16:55, schrieb Timwi:
>> On 15/03/2013 22:30, clipka wrote:
>>> Am 15.03.2013 20:03, schrieb Timwi:
>>>> Well, neither of those turn the GUI off. All of them open a POV-ray
>>>> editor window, do the render (visibly!) and then exit.
>>>>
>>>> This way, rendering a hundred images requires me to either run 100 GUI
>>>> instances, or run them one after the other. In both cases, my computer
>>>> is completely unusable for quite some time while windows keep popping
>>>> up.
>>>>
>>>> I’m surprised there’s no way to just *do the render*, with no GUI?
>>>
>>> There are various reasons for this, one being a series of "copyleft
>>> infringements": At some time various people thought it was ok to sell
>>> commercial software that deliberately hid the fact that the actual
>>> rendering was done with POV-Ray; at that point, it was decided to have
>>> the Windows version always fire up the GUI. (At least that's what I've
>>> heard tell.)
>>
>> Surely the correct response to that is to sue the perpetrator, not to
>> massively inconvenience all Windows users...
>
> Lawsuits were filed, as a matter of fact - but law is slow to take
> effect, and it didn't help that the copyleft concept was still
> comparatively new back then. (Not to mention that quite a lot of money
> had to be thrown at those lawsuits to fight them through; AFAIK the last
> of them was still ongoing at the end of the POV-Ray 3.7 beta phase, and
> one of the problems slowing down 3.7 development in those days was that
> Thorsten was working hard to make the necessary money to keep those
> lawsuits running.)
>
> As for "massively" inconveniencing "all" Windows users: Most Windows
> users have been happy to run their renders from within the GUI, and
> Windows never really made batch processing easy anyway, so people
> requiring batch processing would typically turn towards Linux in the
> first place.
>
>
> Times are changing, and judging past decisions based on today's
> circumstances is cheap, and moot besides if the decision is already
> being revised. As I said, we're likely to see a revival of the
> command-line-only POV-Ray version for Windows.
>
Of course, there is also the "alternative", which is to have the GUI, 
but allow for a "batch" processing queue. I could see a case where even 
working on something in the GUI could either branch a new instance, to 
run a quick test render, while the queue is still running, or insert it 
as "next in line" (possibly less useful, given the render times involved 
in many cases). This would, in effect, not only allow work with it was 
doing other things, if needed, but also provide a clear list of what was 
"up and coming", which a person could halt, edit, rearrange, etc. None 
of which is exactly plausible using a pure "batch from command line" 
solution.


Post a reply to this message

From: Alain
Subject: Re: Batch/command-line render in Windows
Date: 16 Mar 2013 19:47:04
Message: <51450478$1@news.povray.org>
Le 13-03-15 17:01, Cousin Ricky a écrit :
> Timwi <pov### [at] timwide> wrote:
>> As far as I can tell, the Windows version of POV-ray comes only with a GUI.
>>
>> What do I need to do to get a command-line-compatible renderer?
>
> I used batch files like this for Windows batch renders:
> ________________________________________________________________________________
>
> setlocal
> set PATH=%PATH%;"C:\Users\Ricky Callwood\AppData\Local\Programs\POV-Ray\3.7\bin"
> :
> start /w /min pvengine-sse2 /nr /exit +imyscenefile1.pov
> start /w /min pvengine-sse2 /nr /exit +imyscenefile2.pov
> start /w /min pvengine-sse2 /nr /exit +imyscenefile3.pov
> start /w /min pvengine-sse2 /nr /exit 'myinifile[section1]'
> start /w /min pvengine-sse2 /nr /exit 'myinifile[section2]'
> start /w /min pvengine-sse2 /nr /exit 'myinifile[section3]'
> :
> endlocal
> ________________________________________________________________________________
>
> The splash screen still showed, but it worked.  (Annoying, yes, but the POV team
> has its reasons for insisting on the splash screen.)  You would set the PATH to
> whatever is appropriate for your system.
>
> Note that I used the /nr switch to keep it from wasting time loading the editor
> windows.  If you don't want to lose your editor windows, you must keep one GUI
> session open during the batch run and set Options | Keep Single Instance to OFF.
>
>
>

A simple question:
WHY always add /exit in each command lines? Why not remove all /exit but 
the last? That way, you start the first scene, when it's finished, you 
start the second, without the splash screen. You also can save a little 
time as you don't need to reload and initiate POV-Ray for each render.


Alain


Post a reply to this message

From: Cousin Ricky
Subject: Re: Batch/command-line render in Windows
Date: 18 Mar 2013 09:25:00
Message: <web.5147155c69ab0bc478641e0c0@news.povray.org>
Alain <kua### [at] videotronca> wrote:
> A simple question:
> WHY always add /exit in each command lines? Why not remove all /exit but
> the last? That way, you start the first scene, when it's finished, you
> start the second, without the splash screen. You also can save a little
> time as you don't need to reload and initiate POV-Ray for each render.

It's been many years since I did the experimentation and settled on that
combination of switches, but I seem to recall having twenty instances open up
simultaneously on my poor computer.  Nowadays, I avoid Windoze for the sake of
my mental health, so I'm not about to start experimenting again.


Post a reply to this message

From: Timwi
Subject: Re: Batch/command-line render in Windows
Date: 20 Mar 2013 12:03:23
Message: <5149ddcb@news.povray.org>
On 16/03/2013 18:27, clipka wrote:
>
> As for "massively" inconveniencing "all" Windows users: Most Windows
> users have been happy to run their renders from within the GUI, and
> Windows never really made batch processing easy anyway, so people
> requiring batch processing would typically turn towards Linux in the
> first place.

Only opinionated Linux users can seriously think that :(

There is nothing about Windows that makes command-line stuff like batch 
processing *so* hard that it would be worth it to install, run and learn 
Linux. I’m a normal Windows user and I just want to render a thousand 
POV-ray images — it should be possible to just run a command line to do 
this.

Timwi


Post a reply to this message

From: Timwi
Subject: Re: Batch/command-line render in Windows
Date: 20 Mar 2013 12:10:48
Message: <5149df88$1@news.povray.org>
On 17/03/2013 00:47, Alain wrote:
>
> A simple question:
> WHY always add /exit in each command lines? Why not remove all /exit but
> the last? That way, you start the first scene, when it's finished, you
> start the second, without the splash screen. You also can save a little
> time as you don't need to reload and initiate POV-Ray for each render.

It would be a nice compromise if that were possible, however POV-ray 
still pops up and steals focus if you do that. (Plus POV-ray makes this 
unnecessarily difficult: You have to know when it’s finished rendering 
so that you can start the next render. It doesn’t support multiple 
simultaneous renderings in a single instance. And you can’t pass any of 
the options like image size on the command-line. You have to set up the 
GUI the right way.)

Timwi


Post a reply to this message

From: Cousin Ricky
Subject: Re: Batch/command-line render in Windows
Date: 20 Mar 2013 12:55:01
Message: <web.5149e76c69ab0bc478641e0c0@news.povray.org>
Timwi <pov### [at] timwide> wrote:
> It would be a nice compromise if that were possible, however POV-ray
> still pops up and steals focus if you do that. (Plus POV-ray makes this
> unnecessarily difficult: You have to know when it’s finished rendering
> so that you can start the next render.

The batch file I posted does serial rendering unattended.

> It doesn’t support multiple
> simultaneous renderings in a single instance.

It does, however, support multiple instances.  (In the Options menu, uncheck
Keep Single Instance.)  Whether it /loads/ multiple instances I cannot answer,
since my technical knowledge of Windows stalled in 1995.  With POV-Ray 3.7's SMP
support, though, it shouldn't matter whether your renders are serial or
parallel.

> And you can’t pass any of
> the options like image size on the command-line. You have to set up the
> GUI the right way.)

You most certainly can do that on the command line.  Have you tried the +W and
+H options?


Post a reply to this message

From: Cousin Ricky
Subject: Re: Batch/command-line render in Windows
Date: 20 Mar 2013 13:15:00
Message: <web.5149edc169ab0bc478641e0c0@news.povray.org>
Timwi <pov### [at] timwide> wrote:
> On 16/03/2013 18:27, clipka wrote:
> >
> > As for "massively" inconveniencing "all" Windows users: Most Windows
> > users have been happy to run their renders from within the GUI, and
> > Windows never really made batch processing easy anyway, so people
> > requiring batch processing would typically turn towards Linux in the
> > first place.
>
> Only opinionated Linux users can seriously think that :(

Call me opinionated, then.

> There is nothing about Windows that makes command-line stuff like batch
> processing *so* hard that it would be worth it to install, run and learn
> Linux.

I used to hate Unix.  Then I got a job working with IBM's AIX operating system,
and it grew on me.  Working with a Windows PC, I found myself downloading Gnu
tools to do the things I took for granted with AIX (and still not able to use
those tools as effectively as under a Unix-like system).  Then when my XP system
crashed, I upgraded to the super-duper fantabulous Windows 7, which I'm sure has
taken months off my life expectancy.  With Micro$haft's concept of
"user-friendly" driving me batty, and me downloading Gnu tools anyway, I figured
I might as well try Linux.

I'm much happier with Linux.  But I believe in freedom of religion, and one has
the right to choose Windows.


Post a reply to this message

From: Stephen
Subject: Re: Batch/command-line render in Windows
Date: 20 Mar 2013 13:27:30
Message: <5149f182$1@news.povray.org>
On 20/03/2013 4:44 PM, Cousin Ricky wrote:
> It does, however, support multiple instances.  (In the Options menu, uncheck
> Keep Single Instance.)

By the bye, with Keep Single Instance, checked. You can run an instance 
of the 64 bit and an instance of the 32 bit RC7 versions at the same time.

-- 
Regards
     Stephen


Post a reply to this message

From: Timwi
Subject: Re: Batch/command-line render in Windows
Date: 21 Mar 2013 07:28:03
Message: <514aeec3$1@news.povray.org>
On 20/03/2013 17:44, Cousin Ricky wrote:
> Timwi <pov### [at] timwide> wrote:
>> It would be a nice compromise if that were possible, however POV-ray
>> still pops up and steals focus if you do that. (Plus POV-ray makes this
>> unnecessarily difficult: You have to know when it’s finished rendering
>> so that you can start the next render.
>
> The batch file I posted does serial rendering unattended.

So does mine. Yours still pops up a needless GUI for every new render.

> It does, however, support multiple instances.

I am well aware of that.

>> And you can’t pass any of
>> the options like image size on the command-line. You have to set up the
>> GUI the right way.)
>
> You most certainly can do that on the command line.

Not if it’s already running and you have Keep Single Instance turned ON. 
Otherwise, how did you think I am rendering right now?

Timwi


Post a reply to this message

From: Anthony D  Baye
Subject: Re: Batch/command-line render in Windows
Date: 21 Mar 2013 16:05:02
Message: <web.514b678f69ab0bc4d97ee2b90@news.povray.org>
Timwi <pov### [at] timwide> wrote:
> As far as I can tell, the Windows version of POV-ray comes only with a GUI.
>
> What do I need to do to get a command-line-compatible renderer?

there is a way to get around this:

What you do is turn your sequential files that you would normally render with a
..bat file into .inc files then you put them into an array in a new file, like so
--

#declare render_queue =
array [num] {
"file1.inc",
"file2,inc",
....
"file(num-1).inc"
}

include render_queue[frame_number]

I haven't tested it, but I think it should work; although it might pose problems
for batch rendering animations...

If each file you were rendering had it's own .ini file, it might work.

Regards,
A.D.B.


Post a reply to this message

From: clipka
Subject: Re: Batch/command-line render in Windows
Date: 25 Mar 2013 08:48:58
Message: <515047ba$1@news.povray.org>
Am 20.03.2013 17:03, schrieb Timwi:
> On 16/03/2013 18:27, clipka wrote:
>>
>> As for "massively" inconveniencing "all" Windows users: Most Windows
>> users have been happy to run their renders from within the GUI, and
>> Windows never really made batch processing easy anyway, so people
>> requiring batch processing would typically turn towards Linux in the
>> first place.
>
> Only opinionated Linux users can seriously think that :(

That statement of yours can easily be disproven: I'm a mouse-pushing 
Microsoft addict, who even appreciates some of their products, and I 
personally think that for desktop systems GNU/Linux is still no serious 
alternative to Windows; and I'm a layman when it comes to administering 
a Linux system (even though I'm a professional software developer), to 
the point that I detest administering Linux systems. But when there's 
serious batch processing to do, I'd take Linux any time, and even go 
through the hassle of setting up a system myself.

So there exists at least one person who seriously thinks what I wrote, 
and isn't an opinionated Linux user.

> There is nothing about Windows that makes command-line stuff like batch
> processing *so* hard that it would be worth it to install, run and learn
> Linux.

Believe me, there is.

> I’m a normal Windows user and I just want to render a thousand
> POV-ray images — it should be possible to just run a command line to do
> this.

For rendering a thousand images, the typical approach would be to set 
this thing up as an animation job.

I'm not saying that users such as you don't exist. But they're far from 
"all" Windows users, and they're not "massively" inconvenienced.


Post a reply to this message

From: clipka
Subject: Re: Batch/command-line render in Windows
Date: 25 Mar 2013 08:51:10
Message: <5150483e@news.povray.org>
Am 20.03.2013 17:10, schrieb Timwi:

> It would be a nice compromise if that were possible, however POV-ray
> still pops up and steals focus if you do that. (Plus POV-ray makes this
> unnecessarily difficult: You have to know when it’s finished rendering
> so that you can start the next render. It doesn’t support multiple
> simultaneous renderings in a single instance. And you can’t pass any of
> the options like image size on the command-line. You have to set up the
> GUI the right way.)

Did you ever try the File Queue feature?


Post a reply to this message

From: clipka
Subject: Re: Batch/command-line render in Windows
Date: 25 Mar 2013 08:54:49
Message: <51504919$1@news.povray.org>
Am 20.03.2013 17:44, schrieb Cousin Ricky:

>> It doesn’t support multiple
>> simultaneous renderings in a single instance.
>
> It does, however, support multiple instances.  (In the Options menu, uncheck
> Keep Single Instance.)  Whether it /loads/ multiple instances I cannot answer,
> since my technical knowledge of Windows stalled in 1995.  With POV-Ray 3.7's SMP
> support, though, it shouldn't matter whether your renders are serial or
> parallel.

Well, it does: Throwing all the computing power at a single render at a 
time is far more memory-efficient than splitting up the power between 
multiple renders. It's probably also faster, as you don't end up with 
multiple instances fighting for space in the processor caches.


Post a reply to this message

From: Patrick Elliott
Subject: Re: Batch/command-line render in Windows
Date: 27 Mar 2013 00:14:21
Message: <5152721d$1@news.povray.org>
On 3/25/2013 5:48 AM, clipka wrote:
> Am 20.03.2013 17:03, schrieb Timwi:
>> On 16/03/2013 18:27, clipka wrote:
>>>
>>> As for "massively" inconveniencing "all" Windows users: Most Windows
>>> users have been happy to run their renders from within the GUI, and
>>> Windows never really made batch processing easy anyway, so people
>>> requiring batch processing would typically turn towards Linux in the
>>> first place.
>>
>> Only opinionated Linux users can seriously think that :(
>
> That statement of yours can easily be disproven: I'm a mouse-pushing
> Microsoft addict, who even appreciates some of their products, and I
> personally think that for desktop systems GNU/Linux is still no serious
> alternative to Windows; and I'm a layman when it comes to administering
> a Linux system (even though I'm a professional software developer), to
> the point that I detest administering Linux systems. But when there's
> serious batch processing to do, I'd take Linux any time, and even go
> through the hassle of setting up a system myself.
>
> So there exists at least one person who seriously thinks what I wrote,
> and isn't an opinionated Linux user.
>
>> There is nothing about Windows that makes command-line stuff like batch
>> processing *so* hard that it would be worth it to install, run and learn
>> Linux.
>
Well, other than just about everything complex you need to do with 
windows batch needing either a) windows scripting, and/or b) small 
utility commands, which are just plain missing (and, frankly, when 
something as ancient as the old 4DOS command.com replacement would be a 
massive improvement to cmd.com, by itself, this is saying a lot. lol)

Batch hasn't changed since DOS 1.0, or something, for the most part, but 
we don't even have the command set that came "with" DOS3.3, never mind 
6.0, or any of the third party tools that extended it. Its purely pathetic.

The rest of windows.. has some things that are just bad, because they 
are not configurable, or won't let you do specific things, or make 
"guesses" about what you intend, that are just wrong. On the other hand, 
a lot of stuff does work, a lot better, like auto-mounting.

However, I would lay odds that if I plugged my HP 4500 printer into 
Linux, I could use it to scan documents. I have spent two days doing 
everything short of uninstalling my virus/firewall software, removing 
all the drivers, and then reinstalling the printer drivers, trying to 
get it to do jack all other than freeze up, trying to talk to the 
scanner, without even showing a dialog. Its probably AVG causing the 
problem, but.. I am reluctant to do an uninstall/reinstall to fix it, 
and, at this point, since I don't scan often anyway, I am not sure its 
worth the effort.

So..
GUI - Linux needs work.

Command prompt/batch - For anything semi-complicated, either Linux, or 
find an old copy of DOS 6.0, or the like, and install all the crap they 
decided we don't need any more.

Hardware compatibility - Windows will a) install wrong drivers, if it 
can't find the right ones, b) won't always install them right, c) you 
get bloody insane things, like your virus scanner actually interfering 
with USB ports. o.O But, when it works, detection is flawless, mounting 
is immediate, and you don't need to do any complex shit to make it work. 
Linux - if it can't figure out what something is, it won't work 
"period". If its mountable, you might have to monkey with some files, to 
automount it (this is getting better though), but, when it does know how 
to talk to the hardware, its **completely** flawless, as near as I can 
see, with no odd quirks, bugs, strange conflicts, or any of the, "Gosh! 
I don't know what this thing is, so lets just mark it as "unknown" and 
not even look for a driver, since, after all, Microsoft doesn't have an 
exhaustive list of drivers you can download, or even an exhaustive list 
of working generic drivers, which actually can tell how to use the 
hardware to full advantage.

So, yeah.. If you like pretty, and easy, Linux still has a ways to go, 
in most cases. If you want things to bloody work, out of the box, 
without having to hunt to driver disks, monkey with anti-virus bugs, and 
otherwise chase down solutions, which may not even exist, when things 
*do* go wrong.. good luck with Microsoft. lol


Post a reply to this message

From: Timwi
Subject: Re: Batch/command-line render in Windows
Date: 15 Apr 2013 07:49:10
Message: <516be936@news.povray.org>
On 25/03/2013 13:51, clipka wrote:
>
> Did you ever try the File Queue feature?

Ahaaa! Why did no-one mention this? :) In future if I need to render 
multiple files on ONE machine, I’ll use this. Thanks!

However, those few weeks ago when I posted this, I wrote code to split 
the workload across 4 computers. I had each computer report each 
completed render to a “server” which would then shell out new work to 
render, thus ensuring that the 4 computers don’t unnecessarily render 
the same stuff multiple times. The File Queue feature’s usefulness is 
limited in this scenario.

I looked at 
http://wiki.povray.org/content/Documentation:Windows_Section_3 (which, 
inexplicably, isn’t titled “Command-line options”, which would be the 
obviously most sensible title), and it seems there’s no way to use the 
File Queue feature from the command line. Therefore, I cannot automate 
File Queue renders. :(

Timwi


Post a reply to this message

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