|
![](/i/fill.gif) |
"Tom Melly" <pov### [at] tomandlu co uk> wrote:
> <snip>
>
> Could be fun - can someone remind me, can pov construct and execute external
> commands?
Hi,
I don` t know.
but you could write a file (command.txt) with povray, with just one line:
myprogram.exe
-----------
Then you run a small programm in wxbasic or whatever:
//--------------- pseudocode
while(1)
fopen command.txt as #1
line input thecommand
if right(thecommand,3) = "exe" then
shell(thecommand) //-- execute the line as an external program
end
fclose #1
deletefile("command.txt") //-- delete file to avoid repeated execution
sleep(5)
end while
//-- end ---------- pseudocode
Greets, Mark
Post a reply to this message
|
![](/i/fill.gif) |