|
|
Christian Froeschlin wrote:
> stbenge wrote:
>
>> I'm having to use +kff1215752192, which should be enough time for
>> solving the maze.
>
> ah, I think you didn't mention before that you were running
> povray in a continuous animation loop. Now I see how you are
> trying to do it. I was assuming you executed povray once for
> each new frame, in which case you could have used command
> line parameter (but probably end up with a lot less fps).
I wish I knew how to execute POV-Ray from the command line. I know how
to use the command line, but I cannot seem to get my program to find
POV. Simply typing system("start pvengine etc..."); won't work. I get a
message telling me that 'pvengine' was not found :( 'pvengine.exe' also
does not work. I spent hours looking up a way to find the path of an
.exe by name alone, but got nowhere at all.
> In your case you indeed need a form of synchronization mechanism
> and clipkas suggestion should work for that. If the time you need
> to write to the inc file is significantly less than the time you
> need to render one frame, you can simplify it to writing a marker
> file "parse_finished" at the end of the scene, having the C++
> program wait for the appearance of that file, write the inc
> and remove the marker file.
Another good suggestion! I'll have to implement it soon. Thanks!
Post a reply to this message
|
|