POV-Ray : Newsgroups : povray.general : Post_Frame_Command Troubles Server Time
2 Aug 2024 20:18:52 EDT (-0400)
  Post_Frame_Command Troubles (Message 5 to 14 of 14)  
<<< Previous 4 Messages Goto Initial 10 Messages
From: How Camp
Subject: Re: Post_Frame_Command Troubles
Date: 21 Sep 2004 13:16:29
Message: <lnn0l0d16v4du9jgmjc2j0bupoe06dolto@4ax.com>
On Sat, 18 Sep 2004 18:07:56 -0500, "Hughes, B."
<bob### [at] charternet> wrote:

>I'm not doing much POVing these days but I think you might need to use 
>quotation marks around the file name. Did you try a complete path to it yet?

Hmm, tried both, no no avail.

>Yoiks! this happened two weeks ago, I see now. Sorry for the delayed reply. 

Heh, that's alright.  I rather figured this thread was deceased, so I
appreciate your response.

Interestingly enough, it appears that the exact same .ini file *does*
work using 3.5, but fails with 3.6.

Here are the exact files I used:

-----
test.pov
-----

camera {
  location  <0.0, 0.5, -4.0>
  direction 1.5*z
  right     x*image_width/image_height
  look_at   <0.0, 0.0,  0.0>
}

light_source {
  <-30, 30, -30>
  color rgb <1, 1, 1>
}

sphere {
  0.0, 1
  texture {
    pigment {
      color rgb 1
    }
  }
}


-----
recursion.ini
-----

[640x240, No AA]
Width=640
Height=240
Antialias=Off

[640x240, AA 0.3]
Width=640
Height=240
Antialias=On
Antialias_Threshold=0.3

[640x240, Recursive]
Width=640
Height=240
Antialias=Off
Post_Frame_Command=test.bat


-----
test.bat
-----

dir


-----

Once again, I've made sure that 'starting external files' is allowed,
and there are no read/write restrictions.

Now that I'm relatively certain this isn't me screwing up the syntax,
what else could be going doing wrong?

Anyone care to confirm, or am I just way out-to-lunch?

- How


Post a reply to this message

From: Hughes, B 
Subject: Re: Post_Frame_Command Troubles
Date: 21 Sep 2004 14:42:53
Message: <4150762d@news.povray.org>
Checking on this here, using a testcmd.ini I already had, I'm seeing POV go 
unresponsive.

I sure thought this feature was fixed up okay, since I remember being able 
to use it correctly in 3.6 before. Only thing I remember being discussed was 
the usage of quotes or not. Seems the various versions of Windows handled it 
differently; now I'm using XP HE SP2, if that makes any difference. 
Unfortunately, I didn't check on this after the last release of POV-Ray so I 
don't know if it changed something.

With any luck something will be figured out by someone. Guess I'll be trying 
other things to see what happens in the meantime, but I've already tried 
each  Pre and Post, Frame and Scene, Command=cmd.exe /c dir   (or /k) with 
and without quotes around the string. There's a 'POV-Ray is creating another 
process' message and then it stops responding, every time.

BTW, I can't check using version 3.5 yet. I didn't think it could run a file 
without starting the command processor (cmd.exe or command.com) but you seem 
to say it'll run the file test.bat, alone, without it. My cmd.exe appears to 
have been updated by SP2, dated 8/4/2004 and showing a slightly larger file 
size than the previous one.

Bob H.


Post a reply to this message

From: How Camp
Subject: Re: Post_Frame_Command Troubles
Date: 21 Sep 2004 14:48:38
Message: <dnt0l0tk8iqh53m9rosn8ophcj60i19srn@4ax.com>
On Tue, 21 Sep 2004 13:42:46 -0500, "Hughes, B."
<bob### [at] charternet> wrote:

>BTW, I can't check using version 3.5 yet. I didn't think it could run a file 
>without starting the command processor (cmd.exe or command.com) but you seem 
>to say it'll run the file test.bat, alone, without it. My cmd.exe appears to 
>have been updated by SP2, dated 8/4/2004 and showing a slightly larger file 
>size than the previous one.

Right, I can run test.bat directly.  The machine I'm currently sitting
at has SP1, but I'll check at home (with SP2) this evening, if
possible.

Thanks for looking into this, Bob.

- How


Post a reply to this message

From: Stephen
Subject: Re: Post_Frame_Command Troubles
Date: 22 Sep 2004 10:40:00
Message: <web.41518e7e49e3cb9671087b900@news.povray.org>
How Camp <kro### [at] hotmailcom> wrote:
> I have a simple scene - one camera, one light, one sphere.  In my
> corresponding .ini file, I have the following line:
>
> Post_Frame_Command=test.bat
>
> My silly little brain seems to envision that when Povray is finished
> rendering this particular frame, it will happily run test.bat (located
> in the same directory).
>
> Test.bat is nothing exciting - I replaced my actual batch file with
> something like this:
>
> dir
>
> I can run test.bat myself, and I've checked to make sure Povray is
> allowed to start other programs, etc.  Yet when I run my scene, it
> renders fine, and then Povray seems to hang...  I eventually have to
> kill it by hand.  It gets mostly through printing the frame's stats in
> the status window, but that's all.
>
> How am I misusing (and misunderstanding) the post_frame_command?
>
> This is on WinXP, if it really makes any difference.  I'm assuming
> it's my fault, though, not my OS.
>
> - How

This brought back memories. Firstly I think you need to include the path
e.g. Post_Frame_Command=c:test.bat

Secondly do not use Post_Frame_Return=? Or it does not work.

Make sure that your permissions are set;

Disable starting other programmes not selected

Stephen


Post a reply to this message

From: How Camp
Subject: Re: Post_Frame_Command Troubles
Date: 22 Sep 2004 14:20:12
Message: <4dg3l0ls4loo56od1690h7opl6rftgng4d@4ax.com>
On Wed, 22 Sep 2004 10:38:54 EDT, "Stephen"
<mca### [at] hotmailcom> wrote:

>This brought back memories. Firstly I think you need to include the path
>e.g. Post_Frame_Command=c:test.bat

Tried, both with and without.  Povray 3.5 works fine (with and without
the full path), but 3.6 does not.

>Secondly do not use Post_Frame_Return=? Or it does not work.

I haven't tried Post_Frame_Return, but it really won't do me any good,
regardless.  Do you mean it hangs Povray in the same manner?

>Make sure that your permissions are set;

>Disable starting other programmes not selected

Again, I've checked these several times, and this is not the issue.
It just seems like Post_Frame_Return is broken in 3.6...?

- How


Post a reply to this message

From: Stephen
Subject: Re: Post_Frame_Command Troubles
Date: 23 Sep 2004 04:45:00
Message: <web.41528ca349e3cb9671087b900@news.povray.org>
How Camp <kro### [at] hotmailcom> wrote:

> Tried, both with and without.  Povray 3.5 works fine (with and without
> the full path), but 3.6 does not.

This INI file worked for me using Ver 3.6. I downloaded it today at work.

Final_Clock=1
Final_Frame=2
Post_Frame_Command=c:test.bat
Post_Frame_Return=I
Input_File_Name=test.pov


>
> >Secondly do not use Post_Frame_Return=? Or it does not work.
>
> I haven't tried Post_Frame_Return, but it really won't do me any good,
> regardless.  Do you mean it hangs Povray in the same manner?

Well Post_Frame_Return works now, all it seamed to do was stop the batch
file running. PovRay still rendered.

> >Make sure that your permissions are set;

> >Disable starting other programmes not selected
>
> Again, I've checked these several times, and this is not the issue.

I bet you did :-}

> It just seems like Post_Frame_Return is broken in 3.6...?
>
> - How


Stephen


Post a reply to this message

From: How Camp
Subject: Re: Post_Frame_Command Troubles
Date: 24 Sep 2004 18:16:31
Message: <a079l0p3pet3p5qpvcpp72hkl35eevdauu@4ax.com>
On Thu, 23 Sep 2004 04:43:15 EDT, "Stephen"
<mca### [at] hotmailcom> wrote:

>Well Post_Frame_Return works now, all it seamed to do was stop the batch
>file running. PovRay still rendered.

I'm not sure I understand what you're trying to say (blush).  I agree,
Povray renders fine... but when Post_Frame_Command is reached, the
program seems to lock up.  Post_Frame_Return (present or not) doesn't
have any effect.

When you say 'stop the batch file running', do you mean you Povray
didn't freeze up for you?

>> It just seems like Post_Frame_Return is broken in 3.6...?

Sorry, I meant Post_Frame_Command, here.  Post_Frame_Return is
somewhat irrelevant in this case.

- How


Post a reply to this message

From: How Camp
Subject: Re: Post_Frame_Command Troubles
Date: 24 Sep 2004 18:25:21
Message: <kj79l0t9phiuenqhm6anlbahigiahhcpjm@4ax.com>
On Tue, 21 Sep 2004 13:42:46 -0500, "Hughes, B."
<bob### [at] charternet> wrote:

>I sure thought this feature was fixed up okay, since I remember being able 
>to use it correctly in 3.6 before. Only thing I remember being discussed was 
>the usage of quotes or not. Seems the various versions of Windows handled it 
>differently;

Bob (or anyone else), do you recall where this discussion took place?
I  am still trying to get more info on the problem here, but I can't
find any reference to this phenomenon in the beta-test group.  Can you
point me to the right location?

- How


Post a reply to this message

From: Stephen
Subject: Re: Post_Frame_Command Troubles
Date: 25 Sep 2004 04:15:00
Message: <web.415527d649e3cb966f11478c0@news.povray.org>
How Camp <kro### [at] hotmailcom> wrote:
> On Thu, 23 Sep 2004 04:43:15 EDT, "Stephen"
> <mca### [at] hotmailcom> wrote:
>
> >Well Post_Frame_Return works now, all it seamed to do was stop the batch
> >file running. PovRay still rendered.
>
> I'm not sure I understand what you're trying to say (blush).  I agree,
> Povray renders fine... but when Post_Frame_Command is reached, the
> program seems to lock up.  Post_Frame_Return (present or not) doesn't
> have any effect.
>
> When you say 'stop the batch file running', do you mean you Povray
> didn't freeze up for you?
>
> >> It just seems like Post_Frame_Return is broken in 3.6...?
>
> Sorry, I meant Post_Frame_Command, here.  Post_Frame_Return is
> somewhat irrelevant in this case.
>
> - How


How
Don't blush I was being inconsistant. When I had problems on my system,
Povay just ignored the Post_Frame_Command as if it was not there. PovRay
did not freeze on me. As for when these discussions went on it must have
been over a year ago. I remember trying to write a water simulation around

Stephen


Post a reply to this message

From: How Camp
Subject: Re: Post_Frame_Command Troubles
Date: 28 Sep 2004 17:42:09
Message: <uimjl01rfppqasl9tcr7oso7fr6sf2jckp@4ax.com>
On Sat, 25 Sep 2004 04:09:58 EDT, "Stephen"
<mca### [at] hotmailcom> wrote:

>Povay just ignored the Post_Frame_Command as if it was not there. PovRay
>did not freeze on me. As for when these discussions went on it must have
>been over a year ago. I remember trying to write a water simulation around


Ah, so if I understand you correctly, these tests were done prior to
v3.6.  The problems we are seeing seem to be present in 3.6, but not
in 3.5.

- How


Post a reply to this message

<<< Previous 4 Messages Goto Initial 10 Messages

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