POV-Ray : Newsgroups : povray.pov4.discussion.general : Request: Option to not render a scene if it has no camera Server Time
21 Nov 2024 14:47:45 EST (-0500)
  Request: Option to not render a scene if it has no camera (Message 1 to 4 of 4)  
From: SharkD
Subject: Request: Option to not render a scene if it has no camera
Date: 5 Jul 2008 16:35:01
Message: <web.486fdaa05850f9fa1a157cba0@news.povray.org>
I would like to request a configuration option to prevent POV-Ray from rendering
a scene if the scene has no camera. A lot of times I'll accidentally click the
"Run" button when viewing an include file instead of the scene it is a part of.
This results in my image output directory becoming cluttered with blank images
making it hard to browse for and view the images I actually want to work with.

Thanks.

-Mike


Post a reply to this message

From: Chambers
Subject: Re: Request: Option to not render a scene if it has no camera
Date: 5 Jul 2008 17:06:17
Message: <486fe249$1@news.povray.org>
SharkD wrote:
> I would like to request a configuration option to prevent POV-Ray from rendering
> a scene if the scene has no camera. A lot of times I'll accidentally click the
> "Run" button when viewing an include file instead of the scene it is a part of.
> This results in my image output directory becoming cluttered with blank images
> making it hard to browse for and view the images I actually want to work with.
> 
> Thanks.
> 
> -Mike
> 

The Win POV beta has a feature that addresses this.

When you choose to run a file, if the file has previously been included 
in another file, Win POV will ask you if you wish to run the calling 
file instead.  It will then remember your choice for the rest of the 
session.

Unfortunately, I can't think of a way to do this for the core 
commandline version of POV.

...Chambers


Post a reply to this message

From: Warp
Subject: Re: Request: Option to not render a scene if it has no camera
Date: 6 Jul 2008 03:41:37
Message: <48707730@news.povray.org>
SharkD <nomail@nomail> wrote:
> I would like to request a configuration option to prevent POV-Ray from rendering
> a scene if the scene has no camera.

  This would break tons of short code contest entries. I'm not sure that's
a good idea.

  Maybe a warning dialog instead?

> This results in my image output directory becoming cluttered with blank images
> making it hard to browse for and view the images I actually want to work with.

  Put "-f" in your main povray.ini file. Personally I find it completely
useless to have povray save images for all renders because 99% of them
would be temporary test renders anyways, and I have no use for the image
file itself. When I want the image file, it's very easy to write "+fn"
(which will override the "-f" setting in povray.ini) on the command-line
options field in winpov or the command line in unix.

-- 
                                                          - Warp


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Request: Option to not render a scene if it has no camera
Date: 25 Nov 2008 20:34:05
Message: <492ca78d@news.povray.org>
Warp wrote:
>> This results in my image output directory becoming cluttered with blank
>> images making it hard to browse for and view the images I actually want
>> to work with.
> 
>   Put "-f" in your main povray.ini file. Personally I find it completely
> useless to have povray save images for all renders because 99% of them
> would be temporary test renders anyways, and I have no use for the image
> file itself. When I want the image file, it's very easy to write "+fn"
> (which will override the "-f" setting in povray.ini) on the command-line
> options field in winpov or the command line in unix.

For those cases, I usually put a -I switch on the command-line text box,
giving the path to the real scene. Then it renders what I want even if the
focused tab is an .inc.


Post a reply to this message

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