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.


FS#32 - tiff file extention error

Attached to Project: POV-Ray
Opened by Tim Attwood (TimA) - Wednesday, 27 May 2009, 08:45 GMT
Last edited by Christoph Lipka (clipka) - Friday, 26 March 2010, 16:45 GMT
Task Type Definite Bug
Category Backend → Other
Status Closed
Assigned To Christoph Lipka (clipka)
Operating System All
Severity Medium
Priority Normal
Reported Version 3.70 beta 32
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The parser is failing to read the .tiff file extension from the input string...

bump_map { tiff "earth03_hf2.tiff" }

Results in file not found, but

bump_map { tiff "earth03_hf2" }

will find the file. It might be that it’s not a three character extension?

This task depends upon

Closed by  Christoph Lipka (clipka)
Friday, 26 March 2010, 16:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  No feedback from beta testers for months, so probably "no news is good news"
Comment by Christoph Lipka (clipka) - Sunday, 07 June 2009, 11:02 GMT
  • Field changed: Status (Unconfirmed → New)
  • Field changed: Severity (Low → Medium)

According to the code of SceneData::FindFile() in scene.cpp, in order for POV-Ray to search for the exact filename it must indeed end with an extension of no more than 3 characters (files ending in a dot are accepted though). I.e., currently, the rules for producing filenames are as follows:

  1. If the specified name ends with a dot, or a one-, two- or three-character extension, try the exact specified name first
  2. In any case, try the specified name plus the default extensions for the file format (e.g. “.tif”, “.TIF”, “.tiff” and “.TIFF“)

I suggest to apply the following modifications to this:

  • Only try the exact name first if the specified name ends in any of the default extensions.
  • Always try the exact specified name, if only as a last resort.
Comment by Christoph Lipka (clipka) - Sunday, 07 June 2009, 11:25 GMT
  • Field changed: Percent Complete (0% → 40%)

Submitted a preliminary fix with change #4813, making sure the exact-named file is always searched for as a last resort (unless it has already been searched for first). The rules when to search for this name first, however, should be reviewed nonetheless.

Comment by Christoph Lipka (clipka) - Sunday, 08 November 2009, 08:16 GMT
  • Field changed: Status (Assigned → Requires testing)
  • Field changed: Percent Complete (40% → 100%)

implemented the suggested solution with changelist #4900