POV-Ray : Newsgroups : povray.windows : Raining over wet floor: any way to EXECute anything after each Run? Server Time: 1 Oct 2020 02:14:48 GMT
  Raining over wet floor: any way to EXECute anything after each Run? (Message 8 to 17 of 17)  
<<< Previous 7 Messages Goto Initial 10 Messages
From: clipka
Subject: Re: Raining over wet floor: any way to EXECute anything after each Run?
Date: 7 Jan 2011 23:02:28
Message: <4d279b84$1@news.povray.org>
Am 07.01.2011 17:48, schrieb syntotic:
>> Neither; but we happily recommend to volunteer for the vacant position
>> of Rewriter Of The Docs :-P
>
> WHAT!? So more experimentation to make the Post_Scene_Command= documentation
> work? Then go and rewrite the docs. What about the original programmers hiring a
> rewritting team since it is them who know all hidden assumptions and rationales?

As you may have noticed, no money is charged for the development, 
distribution, or service of POV-Ray, so there is no budget to hire even 
a single professional documentation (re-)writer, let alone a team. Just 
like with the development of the software /per se/, documentation 
therefore depends on volunteers. As does development and maintenance, 
sample scenes, platform ports, project websites, and other fancy stuff 
enthusiastic software developers tend to be less enthusiastic about...


Post a reply to this message

From: syntotic
Subject: Re: Raining over wet floor: any way to EXECute anything after each Run?
Date: 10 Jan 2011 00:55:01
Message: <web.4d2a57edd22ae2fc631654b30@news.povray.org>
Post_Scene_Command= is simply NOT WORKING. It is in an INI file, tried
combinations quotes/escapes, menu options (should be free to run anything),
combinations of pre and post and abort/fatal commands, but POV RAY displays
POV-Ray is executing another process.... _TWICE_, and hangs. The image window
says it is just about to complete, between 92% and 99% and stops. I am just
trying to open the notepad.exe for now and the command works well from the start
button Run... The message window should display only ONE executing message but
it tries to execute twice, the first seemingly OK or ignored. Also tried all
ISAQUF combinations... I d like to have this command working before adding
animation and frame options or even write any utility.


Post a reply to this message

From: clipka
Subject: Re: Raining over wet floor: any way to EXECute anything after each Run?
Date: 10 Jan 2011 07:50:58
Message: <4d2aba62$1@news.povray.org>
Am 10.01.2011 01:50, schrieb syntotic:
> Post_Scene_Command= is simply NOT WORKING. It is in an INI file, tried
> combinations quotes/escapes, menu options (should be free to run anything),
> combinations of pre and post and abort/fatal commands, but POV RAY displays
> POV-Ray is executing another process.... _TWICE_, and hangs. The image window
> says it is just about to complete, between 92% and 99% and stops. I am just
> trying to open the notepad.exe for now and the command works well from the start
> button Run... The message window should display only ONE executing message but
> it tries to execute twice, the first seemingly OK or ignored. Also tried all
> ISAQUF combinations... I d like to have this command working before adding
> animation and frame options or even write any utility.

I suggest trying it with a .BAT file first, something simple like

   echo "Kilroy was here!" >> test.txt

Notepad.exe /may/ be problematic because it doesn't auto-close.
As for the stuff being run twice, that might be nothing more than a 
duplicate message. If all is well, you should see just one line in test.txt.


Post a reply to this message

From: syntotic
Subject: Re: Raining over wet floor: any way to EXECute anything after each Run?
Date: 11 Jan 2011 22:55:00
Message: <web.4d2cdf90d22ae2fcc4a147790@news.povray.org>
No, it is not working. Already tried all three INI, master, PVENGINE, resolution
INI, and it does not work. Notepad IS the standard for process execute in
Windows, it does not fail. In the master INI under general it is simply ignored,
in the other two the program crashes.

Of course by now I think it impossible to get a simple Dev-C++ prj file to
compile this... but then I suspect I will get the same expression error I got
the last time I attempted my own compilation in Visual Studio.

I and others ONLY need the Post_Scene_Command= directive to work to be on track.
It is far easier for a utility to check out if single instance/close on
completion POV Ray is working or not. You do not even need to disabled the
splash window. But only if after rendering POV-Ray can correctly execute the
command.


Post a reply to this message

From: clipka
Subject: Re: Raining over wet floor: any way to EXECute anything after each Run?
Date: 12 Jan 2011 01:11:28
Message: <4d2cffc0$1@news.povray.org>
Am 11.01.2011 23:54, schrieb syntotic:
> No, it is not working. Already tried all three INI, master, PVENGINE, resolution
> INI, and it does not work. Notepad IS the standard for process execute in
> Windows, it does not fail. In the master INI under general it is simply ignored,
> in the other two the program crashes.

So /did/ you try running a batch file? (You might actually need to call 
cmd.exe)


Post a reply to this message

From: syntotic
Subject: Re: Raining over wet floor: any way to EXECute anything after each Run?
Date: 13 Jan 2011 01:55:00
Message: <web.4d2e5b4dd22ae2fc321ad23c0@news.povray.org>
> So /did/ you try running a batch file? (You might actually need to call
> cmd.exe)

Same problem, have to leave the program with a crash after a freeze. Now I tried
Continue_Trace=On and Test_Abort=On plus error control commands and nothing, I
still have to leave the program with a crash after a freeze.


Post a reply to this message

From: syntotic
Subject: Re: Raining over wet floor: any way to EXECute anything after each Run?
Date: 13 Jan 2011 05:30:01
Message: <web.4d2e8d2fd22ae2fc631654b30@news.povray.org>
> So /did/ you try running a batch file? (You might actually need to call
> cmd.exe)

Same problem, I have to leave the program with a crash after a freeze. Also
tried Continue_Trace=On and Test_Abort=On with the same result, I have to leave
the program with a crash after a freeze.


Post a reply to this message

From: syntotic
Subject: Re: Raining over wet floor: any way to EXECute anything after each Run?
Date: 13 Jan 2011 09:10:01
Message: <web.4d2ec03ad22ae2fc631654b30@news.povray.org>
This posting is posted NYC, EST, 4:04, 1/13/2011.


Post a reply to this message

From: syntotic
Subject: Re: Raining over wet floor: any way to EXECute anything after each Run?
Date: 16 Jan 2011 01:50:01
Message: <web.4d324e57d22ae2fcd40affea0@news.povray.org>
INDEED, it works with Pre_Scene_Command= as the only line in an INI file
(reading other settings from the general INI files), but only _ONCE_. The second
application process has to be closed before POV Ray renders anything. Next
invocation Run runs the second process but then POV Ray freezes and I have to
leave with a crash after the freeze. It does not seem enough to establish a
production line, though maybe with autoclose and a complex secondary process...
Server time is 01:44 NYC EST is 8:47.


Post a reply to this message

From: clipka
Subject: Re: Raining over wet floor: any way to EXECute anything after each Run?
Date: 17 Jan 2011 05:59:01
Message: <4d33daa5$1@news.povray.org>
Am 16.01.2011 02:48, schrieb syntotic:
> INDEED, it works with Pre_Scene_Command= as the only line in an INI file
> (reading other settings from the general INI files), but only _ONCE_. The second
> application process has to be closed before POV Ray renders anything.

Why, yes - of course. The idea behind it is that the Pre_Scene_Command 
might modify some .inc file, convert input image files, or some such - 
something that has to be /completed/ before the scene is to be rendered.


Post a reply to this message

<<< Previous 7 Messages Goto Initial 10 Messages

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