(2021-01-08, 9:31)Philippe Hurbain Wrote: One little glitch: 3D viewer works fine on the texmapped wing https://www.ldraw.org/cgi-bin/ptdetail.c...088p03.dat
But it shows neither texmap nor fallback pattern on mirrored part https://www.ldraw.org/cgi-bin/ptdetail.c...089p03.dat
It works now. A fix has been pushed to the repo. I fixed it by creating new "texmap placements" for parts whose sub-parts have texmaps. These new texmap placements apply the placement (position and matrix) from the line of type 1 that uses the sub-parts to the points of the texmap declaration.
However.
What about "a" and "b" for cylindrical and spherical projections? How should these be modified in case of scaling matrices being used on the sub-parts? Right now it works because the failing file used planar projection with a non-scaling matrix. The behaviour for the other cases is going to be a bit messy.