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 Tim Attwood - 2009-05-27
Last edited by Christoph Lipka - 2010-03-26

FS#32 - tiff file extention error

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?

Closed by  Christoph Lipka
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"

Christoph Lipka commented on Sunday, 07 June 2009, 11:02 GMT

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.
Christoph Lipka commented on Sunday, 07 June 2009, 11:25 GMT

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.

Christoph Lipka commented on Sunday, 08 November 2009, 08:16 GMT

implemented the suggested solution with changelist #4900


Available keyboard shortcuts


Task Details

Task Editing