开发者

POVRAY for windows: using the command line to render several pov files

I am trying to automate the rendering of several pov files so I made a simple script that runs all the pov (pvengine.exe...etc) in a for loop.

However, this doesn't work since the GUI editor always comes up so that I have to manually close it down before the next one can start. By looking on this forum and google, there is apparently no way to shut the editor vai the command line...(is that right?)

So, the only other way I thought about is to use the file queue in the editor. Is there a way of using that feature from the command li开发者_运维技巧ne ?

Cheers and many thanks in advance ! David


UPDATE:

I found this: http://news.povray.org/povray.animations/message/%3C47324428%40news.povray.org%3E/#%3C47324428%40news.povray.org%3E but it doesn't work


I noticed that the Windows contextual menu for the right-click has a "render and exit" for pov files so I looked at the command it launches for that which is:

pvengine.exe /EXIT /RENDER "%1"

where %1 is the file being rendered.


Command-Line Options in the Windows documentation lists the /EXIT and /RENDER options that you need.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜