POV-Ray

The Persistence of Vision Raytracer (POV-Ray).

This is the legacy Bug Tracking System for the POV-Ray project. Bugs listed here are being migrated to our github issue tracker. Please refer to that for new reports or updates to existing ones on this system.

Attached to Project: POV-Ray
Opened by Mike H - 2010-08-20
Last edited by Thorsten Fröhlich - 2011-08-23

FS#164 - Date/time stamp on rendered images

I’d like to request the ability to create a date/time stamp on output images so that new renders don’t always overwrite old ones. Thanks.

Closed by  Thorsten Fröhlich
Tuesday, 23 August 2011, 05:42 GMT
Reason for closing:  Won't implement
Mike H commented on Friday, 20 August 2010, 23:24 GMT

...they would be appended to the file names just to be clear.

Grimbert Jérôme commented on Saturday, 21 August 2010, 15:36 GMT

Just a thought (not even suggesting a solution) or more:

  • should it postfix the filename, but before the extension, or prefix the filename in the directory path ?
  • if using some escape/special char in output filename, that could break actually working script with fancy names, so would you instead specify a new switch to trigger that behaviour ?
  • Date format: might i suggest the iso 8601 format (something like YYYY-MM-DDTHH:MM:SS), just drop any timezone (possible issue: the ":" might be a fork... well that's a MAC thing... but Windows also have now hidden data), a basic "YYYYMMDDHHMMSS" might be ok. (the order is important: it allow to sort them in the right order using traditional name ordering) (If we can assume that space " " is supported on all povray filesystem, adding some space could be a great helper for readability)
Admin
Chris Cason commented on Saturday, 21 August 2010, 15:40 GMT

This is better solved using the pre-scene shellout feature to invoke a shell script or batch file that re-names the old output file according to whatever convention you wish.

Mike H commented on Saturday, 21 August 2010, 22:34 GMT

"should it postfix the filename, but before the extension, or prefix the filename in the directory path"

The former, probably. For example:

"testscene_2010-08-21_13:54:22.png"

Or something similar.

"if using some escape/special char in output filename, that could break actually working script with fancy names, so would you instead specify a new switch to trigger that behaviour ?"

Not sure what exactly you mean, but yes it would be better to turn the feature on/off using an INI option so that people who don't want it can disable it.

"Date format: might i suggest the iso 8601 format"

Good idea.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing