POV-Ray : Newsgroups : povray.windows : how to compile and run .pov through console Server Time
6 Oct 2024 09:40:52 EDT (-0400)
  how to compile and run .pov through console (Message 1 to 6 of 6)  
From: Saket
Subject: how to compile and run .pov through console
Date: 3 Oct 2013 03:25:01
Message: <web.524d1bbf39cd21085e3891c60@news.povray.org>
Hi all

I am using Pov-Ray in Windows plateform as (Windows8).

I need to compile and run my "test.pov" file through console (i.e. cmd). I had
gone through the documentation entitled "Command Line Options" but I didn't got
the necessary steps as :

1. To start Pov-Ray Engine from console.
2. To setup the requirement for rendering window (via .INI) from console.
3. To compile and run the ".pov" again from console application (or cmd) in
Windows.

I will be greatly thankfull to you with for the kind reply.


Post a reply to this message

From: Alain
Subject: Re: how to compile and run .pov through console
Date: 3 Oct 2013 20:54:17
Message: <524e11b9@news.povray.org>

> Hi all
>
> I am using Pov-Ray in Windows plateform as (Windows8).
>
> I need to compile and run my "test.pov" file through console (i.e. cmd). I had
> gone through the documentation entitled "Command Line Options" but I didn't got
> the necessary steps as :
>
> 1. To start Pov-Ray Engine from console.
> 2. To setup the requirement for rendering window (via .INI) from console.
> 3. To compile and run the ".pov" again from console application (or cmd) in
> Windows.
>
> I will be greatly thankfull to you with for the kind reply.
>
>

The .POV file is not compiled but interpreted.

 From the console or command line, you only need a line with pvengine.exe.
In this case, it's normaly followed by the .INI file that will set the 
.POV file to render and the required options, or simply with the part 
and name of the .POV file and some settings as the desired resolution 
and AA settings.

The Windows version of POV-Ray will always display the editor. There is 
NO switch to prevent that.

If you don't want the editor/GUI to be present, you should get the 
Unix/Limux version and compile it yourself.


Post a reply to this message

From: Christian Froeschlin
Subject: Re: how to compile and run .pov through console
Date: 4 Oct 2013 09:31:55
Message: <524ec34b$1@news.povray.org>
Alain wrote:

> The Windows version of POV-Ray will always display the editor. There is 
> NO switch to prevent that.

As far as I understand this is to prevent another application from
easily incorporating POV-Ray without acknowledgement or credit, while
still supporting such use.

However, presenting the full-blown GUI to some unsuspecting 3rd party
app user seems a bit like overkill (and can also be quite annoying for
pov users running batch scripts in the background). Would it be an
alternative to simply show a reduced splash screen in the Windows 
notification area (some nifty rendered image or animation, maybe
320 x 240 reading "Powered by POV-Ray rendering engine")?


Post a reply to this message

From: Samuel Benge
Subject: Re: how to compile and run .pov through console
Date: 4 Oct 2013 15:50:00
Message: <web.524f1b6156d3f8487579b7ac0@news.povray.org>
Alain <kua### [at] videotronca> wrote:
> The Windows version of POV-Ray will always display the editor. There is
> NO switch to prevent that.

I wish there was such a switch :( I'd like to render imagery using POV-Ray
directly from my own C++ programs. I do not always want the editor, and would
not want any popups. There must be /some/ other way to avoid potential
plagiarism! At least give us the option to keep a "session" open, so that the
editor doesn't need to be opened/closed constantly. (Does such an option already
exist?) Also, a way to feed a scene-file into the render engine without using a
physical ASCII file would be nice :)

Sam


Post a reply to this message

From: Chris Cason
Subject: Re: how to compile and run .pov through console
Date: 4 Oct 2013 15:53:02
Message: <524f1c9e$1@news.povray.org>
On 5/10/2013 05:47, Samuel Benge wrote:
> plagiarism! At least give us the option to keep a "session" open, so that the
> editor doesn't need to be opened/closed constantly. (Does such an option already
> exist?)

Yes, it does and IIRC always has (or at least goes back around 15 years).

It's even in the documentation ...

-- Chris


Post a reply to this message

From: clipka
Subject: Re: how to compile and run .pov through console
Date: 9 Nov 2013 12:38:54
Message: <527e732e$1@news.povray.org>
Am 04.10.2013 15:31, schrieb Christian Froeschlin:
> Alain wrote:
>
>> The Windows version of POV-Ray will always display the editor. There
>> is NO switch to prevent that.
>
> As far as I understand this is to prevent another application from
> easily incorporating POV-Ray without acknowledgement or credit, while
> still supporting such use.

That's what I heard, too, and the old POV-Ray license explicitly forbade 
releasing a patch to suppress that part of the code.

However, with POV-Ray 3.7.0 now released under the AGPL, that 
restriction is gone for good, and we can probably expect future versions 
to provide a "silent" mode - either as an official feature, or at least 
as an unofficial patch.


Post a reply to this message

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