title: Looping through 9000 individual .pov files to create 9000 individual png
body: <p>This question has been asked a lot but no solution seems to match the questions asked!</p>
  
  <p>I have 9000 pov ray files numbered frame0001.pov frame0002.pov frame0003.pov ... frame9000.pov</p>
  
  <p>They each define a frame of an animation (that is put together from the resulting png files with quicktime pro). Currently I am using the batch upload to render 500 "per session" but this not efficient as I have to add 500 to the batch each time (I can't do this while I'm sleeping!).</p>
  
  <p>This solution seems to be what I need but I need some more explanation on how to write the loop to render each individual .pov frame separately (they are all independent of each other)</p>
  
  <p><a href="https://stackoverflow.com/questions/24295883/render-multiple-files-in-pov-ray-windows">Render multiple files in POV-Ray (Windows)</a> </p>
  
  <pre><code>Input_File_Name="frame0001.pov"
  Width = 720
  
  Height = 400
  Antialias = On
  Antialias_Threshold = 0.03
  Output_File_Type = N
  
  Initial_Frame = 1
  Final_Frame = 9000
  
  Subset_Start_Frame = 1
  Subset_End_Frame = 10
  
  #if(frame_number=1)
  #include "frame0001.pov"
  #end
  
  #if(frame_number=2)
  #include "frame0002.pov"
  #end
  
  #if(frame_number=3)
  #include "frame0003.pov"
  #end
  
  #if(frame_number=4)
  #include "frame0004.pov"
  #end
  
  etc...
  </code></pre>
  
  <p>I'm banging my head on a wall and soon there will be no wall left :(</p>