POV-Ray : Newsgroups : povray.windows : feature request: disable file overwrite : Re: feature request: disable file overwrite Server Time
25 Sep 2022 10:10:48 EDT (-0400)
  Re: feature request: disable file overwrite  
From: Sherry K  Shaw
Date: 27 Jan 2017 03:46:49
Message: <588b08f9$1@news.povray.org>
clipka wrote:
>
> Hm... this has me thinking: Maybe a smarter way would be to allow
> certain placeholders in the file name, which would be replaced by the
> current date and/or time when the render was started (first frame in
> case of an animation sequence).
>
> This would entirely avoid the hassle of checking whether a file of the
> same name already exists, and yet provide a convenient way to prevent
> accidental overwriting of existing output files.
>

Might something like this be implemented as an INI file option?  Perhaps 
to rename the file (including date and time) at the end of the render, 
or possibly to make a backup copy?  The concept strikes me as rather 
INI-ish.

Just a couple of insomniac thoughts...

--Sherry Shaw

-- 
#macro T(E,N)sphere{x,.4rotate z*E*60translate y*N pigment{wrinkles scale
.3}finish{ambient 1}}#end#local I=0;#while(I<5)T(I,1)T(1-I,-1)#local I=I+
1;#end camera{location-5*z}plane{z,37 pigment{granite color_map{[.7rgb 0]
[1rgb 1]}}finish{ambient 2}}//                                   TenMoons


Post a reply to this message

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