POV-Ray : Newsgroups : povray.general : Custom output filenames : Re: Custom output filenames Server Time
17 Nov 2025 22:52:22 EST (-0500)
  Re: Custom output filenames  
From: stevenvh
Date: 17 Nov 2025 14:00:00
Message: <web.691b7055b2f6a36a59ef05b15b085d4@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> > ...
> > 'Post_Scene_Command' option will help.
>
> sorry, 'Post_Frame_Command' is what I meant.
>
>
> regards, jr.

Ultimately I wrote a quick-and-dirty program in Delphi to do the renumbering. I
run it after the scene (i.e. all frames) are rendered. The program looks for the
line with the definition of "frameList" (var name editable by the user),

    #declare framesList = array[12] {26, 29, 31, 34, 38, 50, 79, 81, 127, 129,
173, 185}

and builds a list of the elements in the array. Then renumbers the output files
as explained in my OP.
So since I run it after the scene your original "Post_Scene_Command" was indeed
what I needed.

Current issue:
when I add the line

    Post_Scene_Command = c:RenumberPOVrayFiles.exe %s

nothing happens, my program doesn't run. Is my understanding of
"Post_Scene_Command" wrong?
Also, the"%s" in the command is just the filename without the path. I need that
path in my program (I have a select folder command there), which I hoped to
automate.

Thanks for the replies.


Post a reply to this message

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