User Tools

Site Tools


Table of Contents


“mpng” writes movie frames as a series of numbered png files.


mpng prefix [, first [, last ]]


prefix = string: filename prefix for saved images – output files will be numbered and end in “.png”

first = integer: starting frame {default: 0 (first frame)}

last = integer: last frame {default: 0 (last frame)}

modal = integer: will frames be rendered with a modal draw loop


If the “ray_trace_frames” variable is non-zero, then the frames will be ray-traced. Note that this can take many hours for a long movie with complex content displayed.

Also, be sure to avoid setting “cache_frames” when rendering a long movie to avoid running out of memory.

Arguments “first” and “last” can be used to specify an inclusive interval over which to render frames. Thus, you can write a smart Python program that will automatically distribute rendering over a cluster of workstations. If these options are left at zero, then the entire movie will be rendered.

See Also

command/mpng.txt · Last modified: 2013/08/19 21:01 (external edit)