sdleiF | |
int imgex_compress0 .. 100 default=15 | Compression level |
int imgex_currframe | Next frame# |
int imgex_enabled0 .. 1 (false/true) | Export enabled |
int imgex_format0 .. 20 = PPM1 = JPEG2 = | Image format |
string imgex_lastfile | Last filename |
int imgex_maxframes0 .. 1000000 default=10000 | Maximum framesHow many frames are to be generated? |
string imgex_outdir | Output directoryDirectory name WITHOUT trailing '/' sign |
string imgex_outfiles | Output files patternFrame number replaces %d (eg. 'image%03d.jpg') |
int imgex_skip | Skip framesA scene file is generated each (n+1) simulation steps
(a small value means more frames and smooth animation) |
int imgex_startf0 .. 1000000 default=0 | Starting frame#Starting number |
snoitcnuF | |
function imgex_disable() | Disable export |
function imgex_enable() | Enable export |
function imgex_now() | Export current sceneActually, the image is exported on the next redraw rather than immediately. This means that for example exporting a sequence of scenes in a loop will not work, but arranging scenes in subsequent onShowStep()s and calling imgex_now() from there is fine. |