The Persistence of Vision Raytracer (POV-Ray).
This is the Bug Tracking System for the POV-Ray project. Before opening a new task, please read How to make a Bug Report
Please do not issue bugs reports against versions earlier than 3.6.
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) - Sunday, 08 November 2009, 08:16 GMT
Opened by Tim Attwood (TimA) - Wednesday, 27 May 2009, 08:45 GMT
Last edited by Christoph Lipka (clipka) - Sunday, 08 November 2009, 08:16 GMT
|
Details
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
earth03_hf2.tiff
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:
I suggest to apply the following modifications to this:
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.
implemented the suggested solution with changelist #4900