POV-Ray : Newsgroups : povray.newusers : exit povray Server Time
1 Nov 2024 21:19:21 EDT (-0400)
  exit povray (Message 1 to 10 of 10)  
From: thor egn
Subject: exit povray
Date: 6 Jan 2005 05:10:00
Message: <web.41dd0dc4e4a3e2ae166c45e10@news.povray.org>
hello
IS somebody can tell me how to make an automatic exit of povray at the end
of the render.
thanks


Post a reply to this message

From: Tim Nikias
Subject: Re: exit povray
Date: 6 Jan 2005 07:32:27
Message: <41dd2fdb@news.povray.org>
If you're using the Windows version, select the "Render" menu, then "On
completion..." and then "Exit POV-Ray". For other OS, I've got no clue.

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


Post a reply to this message

From: Oleguer Vilella
Subject: Re: exit povray
Date: 6 Jan 2005 10:05:32
Message: <41dd53bc@news.povray.org>
And if you want to set off the computer?




mensaje news:41dd2fdb@news.povray.org...
> If you're using the Windows version, select the "Render" menu, then "On
> completion..." and then "Exit POV-Ray". For other OS, I've got no clue.
>
> -- 
> "Tim Nikias v2.0"
> Homepage: <http://www.nolights.de>
>
>


Post a reply to this message

From: Tim Nikias
Subject: Re: exit povray
Date: 6 Jan 2005 10:17:44
Message: <41dd5698$1@news.povray.org>
> And if you want to set off the computer?

Not possible as far as I know. If I remember correctly, there's a freeware
application called "Poweroff". You might be able to run that via
post_render-command, but that's just a guess, I've got no experience with
using the pre- and post_render commands.

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


Post a reply to this message

From: Florian Brucker
Subject: Re: exit povray
Date: 6 Jan 2005 10:23:11
Message: <41dd57df@news.povray.org>
> And if you want to set off the computer?
Depends on you're OS. Using Linux, something like the following should 
be working (from any Konsole/Shell/Term):

$ povray -with -your -options && shutdown -h now

(Provided that you're user is allowed to shut down the system). Make 
sure you're not using the "Pause after render" switch, e.g. by stating 
"-p" in POV's command line.

F'up2 povray.unix set

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: Oleguer Vilella
Subject: Re: exit povray
Date: 6 Jan 2005 10:37:25
Message: <41dd5b35$1@news.povray.org>
Yes, I have Linux but I'm starting to learn it. I'm used work with Windows.
Thanks Tim and Florian.

Regards,
Oleguer





















mensaje news:41dd5698$1@news.povray.org...
>> And if you want to set off the computer?
>
> Not possible as far as I know. If I remember correctly, there's a freeware
> application called "Poweroff". You might be able to run that via
> post_render-command, but that's just a guess, I've got no experience with
> using the pre- and post_render commands.
>
> -- 
> "Tim Nikias v2.0"
> Homepage: <http://www.nolights.de>
>
>


Post a reply to this message

From: Eero Ahonen
Subject: Re: exit povray
Date: 7 Jan 2005 08:19:45
Message: <41de8c71@news.povray.org>
Oleguer Vilella wrote:
> Yes, I have Linux but I'm starting to learn it. I'm used work with Windows.
> Thanks Tim and Florian.
> 
> Regards,
> Oleguer
> 

How about:
povray +Iimage.pov +Oimage.png +H640 +W480 +A0.3 -D -P >render.log; 
shutdown -h now

This will firstly run POV-Ray without showing the image while rendering 
(writing the information to a file called render.log) and quitting after 
render. Secondly, after POV-Ray has finished (or crashed) the computer 
will be shut down (your user has to has permission for full shutdown, 
naturally). If you'll want a shutdown only after a successfull render, 
replace the ";" with "&&". On the other hand, if you'll want a shutdown 
only if rendering fails, replace the ";" with "||".

-- 
-Aero


Post a reply to this message

From: Oleguer Vilella
Subject: Re: exit povray
Date: 7 Jan 2005 13:56:43
Message: <41dedb6b@news.povray.org>
It works indifferently with Linux and Windows?
Well, I have to tray it only.

Thanks,
Oleguer



news:41de8c71@news.povray.org...
> Oleguer Vilella wrote:
>> Yes, I have Linux but I'm starting to learn it. I'm used work with 
>> Windows.
>> Thanks Tim and Florian.
>>
>> Regards,
>> Oleguer
>>
>
> How about:
> povray +Iimage.pov +Oimage.png +H640 +W480 +A0.3 -D -P >render.log; 
> shutdown -h now
>
> This will firstly run POV-Ray without showing the image while rendering 
> (writing the information to a file called render.log) and quitting after 
> render. Secondly, after POV-Ray has finished (or crashed) the computer 
> will be shut down (your user has to has permission for full shutdown, 
> naturally). If you'll want a shutdown only after a successfull render, 
> replace the ";" with "&&". On the other hand, if you'll want a shutdown 
> only if rendering fails, replace the ";" with "||".
>
> -- 
> -Aero


Post a reply to this message

From: Eero Ahonen
Subject: Re: exit povray
Date: 7 Jan 2005 15:44:08
Message: <41def498@news.povray.org>
Oleguer Vilella wrote:
> It works indifferently with Linux and Windows?
> Well, I have to tray it only.

Yes. By default, Linux has really strong cli's, while Windows is based 
mostly on graphical use. This can be seen on POV-Ray too; Windows 
-version has a GUI, Linux -version doesn't. The command I gave is only 
for Linux (might work in Windows with Cygwin).

> Thanks,
> Oleguer

You're welcome.

-- 
-Aero


Post a reply to this message

From:
Subject: Re: exit povray
Date: 9 Feb 2005 19:57:12
Message: <420ab168$1@news.povray.org>
If you're using POV-Ray for Windows, point & click on the "Render" menu. 
Point to "On completion..." (second-to-last item in that menu in my Version 
3.6). In the sub-menu that appears here, you can choose what POV-Ray should 
do upon completing the render: Nothing (standard setting), display a popup 
message about having finished rendering, or exit POV-Ray.

"thor_egn" <nomail@nomail> wrote in message 
news:web.41dd0dc4e4a3e2ae166c45e10@news.povray.org...
> hello
> IS somebody can tell me how to make an automatic exit of povray at the end
> of the render.
> thanks
>
>
>


Post a reply to this message

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