TEXMAP searchorder
2016-12-04, 20:59 (This post was last modified: 2016-12-04, 21:04 by Roland Melkert.)
2016-12-04, 20:59 (This post was last modified: 2016-12-04, 21:04 by Roland Melkert.)
I'm a bit unclear on the texmap search order, working with the 10054p01 helmet Philo made a long time ago I noticed it failed loading as it couldn't find the png's.
I fixed the issue by coping the png's and adding it to LDCad's buglist.
I'm now addressing the bug, but I'm wondering if it's a bug at all, it concerns this file structure:
10054p01m.dat references "s\10054s05m.dat" which references "10054s05a.png"
LDCad currently looks for the png in these places
The spec doesn't mention it should also look in the parent's textures folder, LDView seems to do so though.
I think the png's, in this case, should be located in "Helmet\s\textures\" instead of "Helmet\textures\"
I fixed the issue by coping the png's and adding it to LDCad's buglist.
I'm now addressing the bug, but I'm wondering if it's a bug at all, it concerns this file structure:
Code:
Helmet\10054p01m.dat
Helmet\s\10054s05m.dat
Helmet\textures\10054s05a.png
10054p01m.dat references "s\10054s05m.dat" which references "10054s05a.png"
LDCad currently looks for the png in these places
Code:
Helmet\s\textures\10054s05a.png
Helmet\s\10054s05a.png
<ldraw>\parts\textures\10054s05a.png
<ldraw>\parts\10054s05a.png
<ldraw>\p\textures\10054s05a.png
<ldraw>\p\10054s05a.png
The spec doesn't mention it should also look in the parent's textures folder, LDView seems to do so though.
I think the png's, in this case, should be located in "Helmet\s\textures\" instead of "Helmet\textures\"