Subpart texture file path

RE: Subpart texture file path
(2020-07-02, 3:10)Orion Pobursky Wrote: There are no subpart textures on the PT right now (or in the official library) but I'd like to figure this out before it becomes an issue. I think the way the PT is handling subpart textures is wrong.

The UI on the PT submit page lists "\parts\s\textures" as the subpart texture file path

However the !TEXMAP spec states "a search for the specified texture file will first be attempted after adding a "textures\" prefix to the filename". By my reading this means subpart textures files should be in "parts\textures\s".

Really? I am sure I based the Parts Tracker implementation on an example, but to my mind adding a prefix to the filename (not the filepath), gives:
  • A texmap for parts/1234.dat in parts/textures/1234.png.
  • A texmap for parts/s/1234s01.dat in parts/s/textures/1234s01.png.
  • A texmap for p/logo.dat in p/textures/logo.png.
I think it is more logical that the texture .png file is in a subfolder of its parent .dat file. But if what you describe is how tools have interpreted the spec then I'll change the Parts Tracker.
Chris (LDraw Parts Library Admin)
« Next Oldest | Next Newest »

Messages In This Thread
RE: Subpart texture file path - by Chris Dee - 2020-07-02, 7:14
RE: Subpart texture file path - by Chris Dee - 2020-07-21, 20:37

Forum Jump:

Users browsing this thread: 1 Guest(s)