|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Am 25.01.2017 um 06:45 schrieb omniverse:
> "Bald Eagle" <cre### [at] netscapenet> wrote:
>> clipka <ano### [at] anonymousorg> wrote:
>>
>>> As so often, the devil is in the details though: For instance, how would
>>> you expect POV-Ray to react when rendering an animation, and /some/
>>> frames already exist while others do not?
>> I just thought it would be a nice safeguard against accidentally overwriting
>> images that took a long time to render, or accidentally clicking "RUN" (admit it
>> - we've all done it" when you hadn't manually renamed the last test render prior
>> to rendering the new iteration) when you've been working on something for a long
>> time, it's late, you're tired and distracted....
>
> You did say command-line, and first thing I think of to do what you ask in a
> roundabout way would be to add to the command-line:
>
> -orender2
>
> and next 3, 4, 5, etc. before every scene run.
>
> Sorry to be glib about it. ;)
> You're idea makes sense to me. Render overwrites can be a bad thing, like you
> say.
>
> Couldn't this be done by using file write capability from within SDL? Change the
> povray.ini to count file output incrementally on each render like the output
> option I said above?
> Of course that means putting that into every scene so it runs.
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.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 1/25/2017 10:25 AM, 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.
Would that work when using subsets of frames?
And thinking out loud:
What is the first frame?
Is it Frame_0, Frame_1 or the first frame actually rendered in the
directory with the same base name?
Would you have a flag to switch it on and off for when we wanted to
overwrite files?
Sorry for sounding negative but I don't think this is trivial.
On the positive side. You could pop up a warning asking if the user
wanted to overwrite with an option to pick Yes/No/All (for animations)
--
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Am 25.01.2017 um 12:38 schrieb Stephen:
> On 1/25/2017 10:25 AM, 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.
>
> Would that work when using subsets of frames?
>
> And thinking out loud:
> What is the first frame?
> Is it Frame_0, Frame_1 or the first frame actually rendered in the
> directory with the same base name?
"first frame" would typically be the one specified via
`Subset_Start_Frame`/`+SFn` if present, or `Initial_Frame`/`+KFIn`
otherwise. ("Typically" because POV-Ray does not always honor these
settings as specified; "first frame" would be the first frame actually
rendered in any animation sequence.)
> Would you have a flag to switch it on and off for when we wanted to
> overwrite files?
Kind of. You'd have to activate this feature by inserting special
strings in the output file name; e.g.
`Output_File_Name=Foo{YYYY}{MM}{DD}.png`
> Sorry for sounding negative but I don't think this is trivial.
Hey, that's _my_ line ;)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 1/25/2017 2:12 PM, clipka wrote:
> Am 25.01.2017 um 12:38 schrieb Stephen:
>>> accidental overwriting of existing output files.
>>
>> Would that work when using subsets of frames?
>>
>> And thinking out loud:
>> What is the first frame?
>> Is it Frame_0, Frame_1 or the first frame actually rendered in the
>> directory with the same base name?
>
> "first frame" would typically be the one specified via
> `Subset_Start_Frame`/`+SFn` if present, or `Initial_Frame`/`+KFIn`
> otherwise. ("Typically" because POV-Ray does not always honor these
> settings as specified; "first frame" would be the first frame actually
> rendered in any animation sequence.)
>
>> Would you have a flag to switch it on and off for when we wanted to
>> overwrite files?
>
> Kind of. You'd have to activate this feature by inserting special
> strings in the output file name; e.g.
> `Output_File_Name=Foo{YYYY}{MM}{DD}.png`
>
I have more questions but I will wait until it is implemented if it is.
>> Sorry for sounding negative but I don't think this is trivial.
>
> Hey, that's _my_ line ;)
>
How much are the royalties?
And hay is for horses. ;)
--
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Am 25.01.2017 um 16:52 schrieb Stephen:
> On 1/25/2017 2:12 PM, clipka wrote:
>> Am 25.01.2017 um 12:38 schrieb Stephen:
>
>>>> accidental overwriting of existing output files.
>>>
>>> Would that work when using subsets of frames?
>>>
>>> And thinking out loud:
>>> What is the first frame?
>>> Is it Frame_0, Frame_1 or the first frame actually rendered in the
>>> directory with the same base name?
>>
>> "first frame" would typically be the one specified via
>> `Subset_Start_Frame`/`+SFn` if present, or `Initial_Frame`/`+KFIn`
>> otherwise. ("Typically" because POV-Ray does not always honor these
>> settings as specified; "first frame" would be the first frame actually
>> rendered in any animation sequence.)
>>
>>> Would you have a flag to switch it on and off for when we wanted to
>>> overwrite files?
>>
>> Kind of. You'd have to activate this feature by inserting special
>> strings in the output file name; e.g.
>> `Output_File_Name=Foo{YYYY}{MM}{DD}.png`
>>
>
> I have more questions but I will wait until it is implemented if it is.
I suggest you better not hold your breath.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 1/25/2017 4:05 PM, clipka wrote:
> Am 25.01.2017 um 16:52 schrieb Stephen:
>>> `Output_File_Name=Foo{YYYY}{MM}{DD}.png`
>>>
>>
>> I have more questions but I will wait until it is implemented if it is.
>
> I suggest you better not hold your breath.
>
That is why I am not asking them now. No point in wasting brain cells. :)
--
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 25-1-2017 16:52, Stephen wrote:
> On 1/25/2017 2:12 PM, clipka wrote:
>> Hey, that's _my_ line ;)
>>
>
> How much are the royalties?
>
> And hay is for horses. ;)
>
[Ah. Another example of gray/grey...]
--
Thomas
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 1/26/2017 8:49 AM, Thomas de Groot wrote:
> On 25-1-2017 16:52, Stephen wrote:
>> On 1/25/2017 2:12 PM, clipka wrote:
>
>>> Hey, that's _my_ line ;)
>>>
>>
>> How much are the royalties?
>>
>> And hay is for horses. ;)
>>
>
> [Ah. Another example of gray/grey...]
>
No not this time. ;-)
http://grammarist.com/homophones/hay-vs-hey/
It is a rejoinder. The follow up is:
Oi!
Oi is for 'orses
Sorry, I can only remember primary school jokes. ;-)
--
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Am 27.01.2017 um 09:47 schrieb Sherry K. Shaw:
> 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.
Post-frame shell-out (`Post_Frame_Command=...`) should be able to do
this. It would be specific to a particular operating system though.
It should also be possible to use pre-frame shell-out
(`Pre_Frame_Command`) to back up an existing file of the same name.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |