POV-Ray : Newsgroups : povray.animations : can you help with how to best save the simulation for rendering animation i= : Re: can you help with how to best save the simulation for rendering animati= Server Time
6 Apr 2026 10:09:40 EDT (-0400)
  Re: can you help with how to best save the simulation for rendering animati=  
From: Clarence1898
Date: 3 Apr 2026 22:05:00
Message: <web.69d0701588205a9e8db55336e0accf30@news.povray.org>
"Cossack " <nomail@nomail> wrote:
> I just have a project in python where cubes fall, and I have options: 1. save
> each frame in .txt as a list. 2. (not very good) create a .pov file for each
> frame.
> which one to use?

The process I use to generate animations is similar to option 2.  I create a pov
file for each frame like this: file0000.pov, file0001.pov, file0002.pov etc.
Then I generate a list of commands: povray +Ifile0000.pov +Ofile0000.png <povray
options>; povray +Ifile0001.pov +Ofile0001.png <options>; etc. Then run that
file as a script.  I automatically generate the commands and the script so it
takes minimal effort to do.  The scripts run on either linux or windows wsl.
You could do it on just windows, but the commands will be a little different.
If you have multiple pcs you can distribute the commands across them.


Post a reply to this message

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