POV-Ray : Newsgroups : povray.general : Command line render w/o editor Server Time
31 Oct 2024 19:28:42 EDT (-0400)
  Command line render w/o editor (Message 1 to 9 of 9)  
From: Keroltarr
Subject: Command line render w/o editor
Date: 4 Jun 2005 14:05:01
Message: <web.42a1ecf95724c076f916bbf30@news.povray.org>
Howdy folks,

I hope this is the correct forum for this question.

How do I render an image to a file without displaying the povray program
window.
I especially don't want to see an editor or message window.

I want to call PVEngine.exe from another program via the command line.
I basically need a CL switch that turns off POV-Ray's GUI.

is this possible?
LewyT


Post a reply to this message

From: Florian Brucker
Subject: Re: Command line render w/o editor
Date: 4 Jun 2005 22:17:54
Message: <42a260d2$1@news.povray.org>
> How do I render an image to a file without displaying the povray
> program window.
It's been some time since I used the Windows version, which I guess
you're using, but /RENDER should be the command line option you're
searching for.

HTH,
Florian
-- 
camera{look_at-y*10location<8,-3,-8>*10}#local a=0;#while(a<999)sphere{
#local _=.01*a-4.99;#local p=a*.01-5;#local c=.01*a-4.995;<sin(p*pi)*5p
*10pow(p,5)*.01>sin(c*c*c*.1)+1pigment{rgb 3}}#local a=a+1;#end
/******** http://www.torfbold.com ******** http://www.imp.org ********/


Post a reply to this message

From: Matthias Weißer
Subject: Re: Command line render w/o editor
Date: 5 Jun 2005 16:35:40
Message: <42a3621c$1@news.povray.org>
Florian Brucker schrieb:
>> How do I render an image to a file without displaying the povray
>> program window.
> It's been some time since I used the Windows version, which I guess
> you're using, but /RENDER should be the command line option you're
> searching for.

AFAIK the GUI comes up always even when using the /RENDER switch. I have 
compiled my own version within cygwin under windows from the generic 
sources to get a version without GUI to do my batch jobs.

-- 

mat### [at] matweide
http://www.matwei.de


Post a reply to this message

From: Alain
Subject: Re: Command line render w/o editor
Date: 5 Jun 2005 17:26:51
Message: <42a36e1b$1@news.povray.org>

> Florian Brucker schrieb:
> 
>>> How do I render an image to a file without displaying the povray
>>> program window.
>>
>> It's been some time since I used the Windows version, which I guess
>> you're using, but /RENDER should be the command line option you're
>> searching for.
> 
> 
> AFAIK the GUI comes up always even when using the /RENDER switch. I have 
> compiled my own version within cygwin under windows from the generic 
> sources to get a version without GUI to do my batch jobs.
> 
It could be possible to pass by a shortcut and start minimized.

Alain


Post a reply to this message

From: Tim Nikias
Subject: Re: Command line render w/o editor
Date: 5 Jun 2005 18:06:37
Message: <42a3776d@news.povray.org>
This might be of interest:

http://www-public.tu-bs.de:8080/~y0013390/povcyg/index.html

Regards,
Tim

-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>


Post a reply to this message

From: Keroltarr
Subject: Re: Command line render w/o editor
Date: 10 Jun 2005 11:15:00
Message: <web.42a9adee439c09e1f916bbf30@news.povray.org>
Hey,

Thank you folks, for all the suggestions.

Here is a more detailed description of what I want to do:
I am writing a game and I use POVRAY to create most of the images for it.
I had an idea that if I could just distribute the source (.pov;.inc) files
and have the install program generate the images on the fly I could save
a lot of space in the download.

I suspect I'll have to do something with the sourcecode to do what I want.
I also need to check what the legalities are in this situation.
But that is still far in the future; my game is still in its infancy.

thanks,
LewyT


Post a reply to this message

From: Warp
Subject: Re: Command line render w/o editor
Date: 10 Jun 2005 14:50:48
Message: <42a9e108@news.povray.org>
Keroltarr <ker### [at] hotmailcom> wrote:
> I suspect I'll have to do something with the sourcecode to do what I want.
> I also need to check what the legalities are in this situation.

  I think you should distribute just the images. You'll run badly into
the distribution license of POV-Ray if you try to do what you described.

-- 
                                                          - Warp


Post a reply to this message

From: Keroltarr
Subject: Re: Command line render w/o editor
Date: 15 Jun 2005 19:20:00
Message: <web.42b0b703439c09e1f916bbf30@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> Keroltarr <ker### [at] hotmailcom> wrote:
> > I suspect I'll have to do something with the sourcecode to do what I want.
> > I also need to check what the legalities are in this situation.
>
>   I think you should distribute just the images. You'll run badly into
> the distribution license of POV-Ray if you try to do what you described.
>
> --
>                                                           - Warp

Thanks for the info,

I'll probably just distribute the images like you say.
I may look into some kind of compressed format or perhaps
make the install program download the images durring the install process.

later,
Keroltarr


Post a reply to this message

From: Warp
Subject: Re: Command line render w/o editor
Date: 16 Jun 2005 00:46:50
Message: <42b1043a@news.povray.org>
Keroltarr <ker### [at] hotmailcom> wrote:
> I may look into some kind of compressed format

  If the images must be lossless, PNG is basically your only choice
(look for the programs advpng, pngcrush and optipng to get them slightly
smaller).
  If the images may be lossy, JPG is naturally the answer. Use a software
like the gimp to fine-tune the compression parameters (gimp shows you
in real-time the resulting image). There's also a program called jpegoptim
to recompress existing jpeg files smaller (without any change in the
image itself).

-- 
                                                          - Warp


Post a reply to this message

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