Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 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

like image 407
dm76 Avatar asked Oct 21 '25 10:10

dm76


1 Answers

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.

like image 58
dm76 Avatar answered Oct 24 '25 19:10

dm76



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!