POV-Ray : Newsgroups : povray.newusers : How to run POV-Ray from command line : Re: How to run POV-Ray from command line Server Time
20 May 2024 14:56:54 EDT (-0400)
  Re: How to run POV-Ray from command line  
From: Alain
Date: 5 Oct 2007 15:42:51
Message: <470693bb$1@news.povray.org>
Pahidla nous apporta ses lumieres en ce 2007/10/05 00:28:
> Hi,
> 
> I can't seem to find the most elementary info on how to run POV-Ray from
> command line in Windows.
> 
> I have finally figure out that I can do something like:
> 
> "C:Program FilesPOV-Ray for Windows v3.6binpvengine.exe" +W160 +H90
> "C:pgpavraybox.pov"  /EXIT
> 
> ....but I stumbled across the +W160 type options by accident, the /EXIT
> options in the documentation, not sure how I solved the "I/O restictions"
> issue and don't know how to suppress the display window and produce PNG
> output, and many other options.
> 
> Is there a coherent source on this? (My guess is that I am terrible at
> looking for stuff.)
> 
> Many thanks in advance.
> 
> Pahidla
> 
> 
The Windows version is not meant to run from the command line alone.
You can add a /minimized switch to start it minimized.

You can add "-d" to suppress the display window.
If you never want the display window, you can add this to povray.ini on a 
separate line.

To output as PNG, add "+fn" to the command line.

To always output as PNG, add "+fn" to povray.ini. You can add this alone on any 
line.
Easy way to do it: In the menu line, look for "Tools" and select "Edid master 
POVRAY.INI"

You can set the image resolution to any size and proportion you want. Don't 
forget to also set the camera aspect ratio acordingly if you use an aspect ratio 
other than 4:3. If you regularly use particular resolutions and some other 
settings, you can add them to the "quickres.ini" file.

-- 
Alain
-------------------------------------------------
No matter how much you do, you never do enough.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.