Re: R: [Plib-devel] Update on 3ds loader
Brought to you by:
sjbaker
From: Per L. <li...@ho...> - 2000-04-07 17:04:04
|
On Fri, 07 Apr 2000, Christian Mayer wrote: > Paolo Leoncini wrote: > > > > This group of code lines avoid loading twice (or more times!) the same texture. As far as I understood, 3DS stores texture file names as uppercase strings, so a possible problem of this mechanism could be on non-PC systems that are instead case-sensitive. On such a platform a texture stored as "IMAGE.BMP"could erroneously refer to an image file "Image.bmp". > > Should it be the problem, let's remember that 3DS (and Max too) is not supposed to run on platforms with a case-sensitive file system, so to read such a file on UNIX a manual renaming of texture files is necessary. > > > Couldn't the loader convert each filename to (say) uppercase internally? The problem, as I understand it, is that the file may be named "Image.bmp" in the file system, but will be called "IMAGE.BMP" in the 3ds model, so there is no gain in converting the filename to upper case. Regards, Per Liedman -- / Per Liedman / li...@ho... / www.mdstud.chalmers.se/~md6pl / 031-825659 / 0705-520455 |