POVRAY for windows:使用命令行渲染多个 pov 文件
我正在尝试自动渲染几个 pov 文件,所以我做了一个简单的 在 for 循环中运行所有 pov(pvengine.exe...等)的脚本。
然而,这不起作用,因为 GUI 编辑器总是出现,所以我有 在下一个启动之前手动关闭它。通过看这个 论坛和谷歌,显然没有办法关闭编辑器 vai 命令 行...(是吗?)
所以,我想到的唯一其他方法是使用编辑器中的文件队列。 有没有办法从命令行使用该功能?
提前干杯并非常感谢! 大卫
更新:
我发现了这个: http://news.povray.org/povray.animations/message/%3C47324428%40news.povray.org%3E/#%3C47324428%40news.povray.org%3E 但这不起作用
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 line ?
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我注意到右键单击的 Windows 上下文菜单有一个针对 pov 文件的“渲染并退出”,因此我查看了它启动的命令:
其中 %1 是正在渲染的文件。
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:
where %1 is the file being rendered.
Windows 文档中的 命令行选项 列出了
/EXIT
和/RENDER
您需要的选项。Command-Line Options in the Windows documentation lists the
/EXIT
and/RENDER
options that you need.