|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I am trying to use the Pre/Post Scene Commands in an INI file but I can't
get them to work. Do they work in OS X or am I doing something wrong? Any
advice would be greatly appreciated. I am attempting to shell out to the
OS to create a file before the rendering begins and overwrite it after it
finishes.
Pre_Scene_Command=printf "working" > ../../povProj/status2.txt
Post_Scene_Command=printf "done" > ../../povProj/status2.txt
I don't know a lot of UNIX but these lines do work when pasted into the
terminal. I apologize if this has been asked before. I am new to the
list (just signed up) and I couldn't find any past references to it.
chris
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <web.41b2288184e29a8d70217cea0@news.povray.org> , "chris morgan"
<iso### [at] yahoocom> wrote:
> I am trying to use the Pre/Post Scene Commands in an INI file but I can't
> get them to work. Do they work in OS X or am I doing something wrong? Any
You cannot access the Unix command-line from a regular Mac application. If
you want to control POV-Ray via the command-line, I would recommend to
compile a Unix command-line version and not use the GUI version.
Thorsten
____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg
I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thanks, Thorsten, for your rapid response to my question. As a follow up,
perhaps I could ask another question: do the post/pre commands do anything
presently on the Mac version? For instance, could they launch a script via
applescript? I am just trying to explore other ways of signaling another
applescript that a rendering job is complete so that I can start another
job. This can probably all be done in applescript but having POV-Ray
signal when it was done seemed the easiest and most direct approach.
Thanks again, Chris
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <web.41b24233905a531a70217cea0@news.povray.org> , "chris morgan"
<iso### [at] yahoocom> wrote:
> do the post/pre commands do anything
> presently on the Mac version?
No, sorry!
> I am just trying to explore other ways of signaling another
> applescript that a rendering job is complete so that I can start another
> job.
There is currently no way AppleScript can start a render, sorry!
Thorsten
PS: Both features do have a rather high priority on the Mac GUI todo list,
check again when 3.6.2 comes out in a few month, maybe I will have had the
time to add it until then. It isn't all that much to do on the Mac side...
____________________________________________________
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thorsten,
Thanks for the info and thanks for letting me know where in the todo list
these GUI features stand. I am looking forward to version 3.6.2 especially
if you have time to add these features but I know how busy you must be!
Actually, I can start a Render job using Applescript by sending the
keyboard shortcut with the following GUI code.
tell application "System Events"
tell process "POV-Ray Mac 3.6"
keystroke "r" using {command down}
end tell
end tell
So starting a render job isn't a problem for me, but knowing when the job is
over is hard to find out. I have even tried having POV-Ray write a file
saying "done" and having Applescript check it periodically but POV-Ray
would write it before it was done rendering completely.
Anyway, at present I am trying to install the command line UNIX version and
since I am having a few problems with that I am going to post a message on
the Unix message board. Thanks again,
Chris
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |