|
|
"m@b" <sai### [at] googlemailcom> wrote:
> On 17/07/2023 12:07 AM, Josh English wrote:
> > On 7/16/2023 9:31 AM, m@b wrote:
> >> On 15/07/2023 6:43 PM, Josh English wrote:
> >>>
> >>> Since I'm using Windows, I can't use a Post_Scene_Command, so I
> >>> thought I could use Python.
> >>
> >> It doesn't answer your question but you can do Post_Scene_Command
> >> using a windows batch file, here is my setup:
> >>
> >> In the ini file:
> >>
> >> Output_File_Name=D:\Files\POV-Ray\ANI0\PovRay0.png
> >> Post_Scene_Command=D:\Files\POV-Ray\Bats\PostScene2.bat
> >>
> >
> > I don't think about batch files, but how do you get the
> > Post_Scene_Command to trigger? It's disabled on the windows version. At
> > least it's never worked for me.
> >
>
> Could it be something in the options menu?
> "Disable starting other programs"??
Yes There is!
It's under Options: Script I/O Restrictions: Disable Starting other Programs
In the example above the 'Post_Scene_Command' could equal any program ya need
not just a bat file.
That program can return an error code, that is caught with with
Post_Scene_Return=s; There are lot of variables that POV can sent to that
program & several things that an error can do. You can find them starting with
3.2.6.1 String Substitution in Shell Commands in widows doc.
I use Post_Frame_Command a while back to make 3d animations. I wrote a program
that would by pass two images then on the third it would rename it and delete
the other two. The POV code make two images left & right and take those two to
make the third.
The fun part is getting the program I wrote and POV to work together.
Have Fun!!
Post a reply to this message
|
|