POV-Ray : Newsgroups : povray.general : Call POV Ray to render a script without showing rendering window : Re: Call POV Ray to render a script without showing rendering window Server Time
30 Jul 2024 10:22:33 EDT (-0400)
  Re: Call POV Ray to render a script without showing rendering window  
From: Alain
Date: 12 Mar 2009 16:54:53
Message: <49b9769d$1@news.povray.org>
Christian Froeschlin nous illumina en ce 2009-03-12 12:28 -->
> Mueen Nawaz wrote:
> 
>>     Sure. Use the -D command line option:
>>
>> povray -D filename.pov
> 
> Under Windows use
> 
>   pvengine -D /Exit filename.pov
> 
> Although you can prevent the display window you will always
> see the editor window pop up. AFAIK there is no way to prevent
> that short of compiling your own version of POV-Ray.

Why are so many obcessed with the /exit switch? Do you want the splash to pop up 
with EVERY render? Do you want to take the time to load the programm for EVERY 
render? I guess not.
Just keep POV-Ray open and, optionaly, minimised. Just set "keep single 
instance" checked. Then, you just use:

pvengine -D filename.pov

No splash after the first time. If it was minimised, it will stay minimised.

And, when you are finished with the whole cession, issue

pvengine /exit

to close POV-Ray.

The cession can look like this:
1 - Start the terrain generator.
2 - Call a shortcut to start POV-Ray minimised.
3 - Generate a terrain
4 - Call POV-Ray to render the terrain
5 - display the terrain
6 - Repeat 3 trough 6 as needed
7 - Close POV-Ray
8 - Exit the terrain generator.

-- 
Alain
-------------------------------------------------
Politicians are like socks - they smell bad and should be changed often.


Post a reply to this message

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