I'm creating a POV-Ray 3.6.2 (Windows) animation using an ini file as usual. In the pov file, I calculate several values such as camera position based on the clock value. How can I output these values in some way that is easily retrievable for (non-realtime) use in an external program?
In descending priority, these are the methods I thought of:
- Save it in the filename (instead of the usual filename00.bmp, filename01.bmp etc)
- Save it in an external text file (either one per frame, or one for the whole animation)
- Save it in the file metadata (though I don't know whether BMP has metadata fields similar to EXIF tags)
At the moment, I'm using a text object to write it into the image, which can later be manually copied and cropped off.
I know I can rewrite the algorithm that generates these numbers in another language, but rather avoid this because I'll need to maintain 2 copies of the algorithm in case it changes.
Thanks!