POV-Ray : Newsgroups : povray.general : Custom output filenames : Re: Custom output filenames Server Time
15 Nov 2025 06:30:19 EST (-0500)
  Re: Custom output filenames  
From: William F Pokorny
Date: 14 Nov 2025 13:25:57
Message: <69177435$1@news.povray.org>
On 11/14/25 11:16, stevenvh wrote:
> Is there a way to have custom numbering for the output files? Like
> 
>    outfile_02
>    outfile_03
>    outfile_05
>    outfile_08
>    outfile_13

Not exactly what you asked for, but you can render single frames with 
the animation frame subset capability via flags or ini options:

subset_start_frame, subset_end_frame, frame_step, +sf, +ef and +stp

   povray myAnimation.pov +sf7, +ef7 +kff10

would render just frame 7 of a 10 frame animation for example - with the 
same frame animation output file name. You'd be running povray multiple 
times change the subset options rather than using an SDL array, but if 
not many high res frames perhaps not a bad approach.

---

Alternately.

Though I'm not a big fan of the capability due possible confusion, It is 
also possible to set the 'frame_number' inside the SDL for your scene.

   #declare frame_number = 2;  // Or make '2' Ary[0] etc.

or set it - and the complete output file name - on the command line with:

   povray myAnimation.pov declare=frame_number=9 +omyAnimation09

Bill P.


Post a reply to this message

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