Hello mod makers and skinners.
I find the process of making a skin in LFS quite laborious. It may involve use of the "copy screen shot" function in mapping mode, and pasting these screen shots of individual mappings to the pixel-perfect location for each cutout, in an external program. It is too hard to be accurate and too easy to make mistakes.
So I've tried to make a "create skin texture" button that does it all with one click.
The result is attached, using an XRT as example - and also a wireframe export which was requested and uses most of the same code.
But there is a slight problem with a skin created this way - see the in-game screenshot - there is a seam along the edge between two mappings, because it is perfectly aligned that way in the auto-created skin texture. The edge of those triangles at the border is aligned with the edge between the triangles on the skin and the background colour. So you end up seeing some combination of those two colours.
Instead of sitting here wondering what to do about that, I thought I would ask your opinion at this point, maybe you know some tricks for this, or maybe I'm barking up the wrong tree generally. or maybe it's nearly right but just needs some different colours. I'll leave that with you for now as I've got some other things to get on with.
I find the process of making a skin in LFS quite laborious. It may involve use of the "copy screen shot" function in mapping mode, and pasting these screen shots of individual mappings to the pixel-perfect location for each cutout, in an external program. It is too hard to be accurate and too easy to make mistakes.
So I've tried to make a "create skin texture" button that does it all with one click.
The result is attached, using an XRT as example - and also a wireframe export which was requested and uses most of the same code.
But there is a slight problem with a skin created this way - see the in-game screenshot - there is a seam along the edge between two mappings, because it is perfectly aligned that way in the auto-created skin texture. The edge of those triangles at the border is aligned with the edge between the triangles on the skin and the background colour. So you end up seeing some combination of those two colours.
Instead of sitting here wondering what to do about that, I thought I would ask your opinion at this point, maybe you know some tricks for this, or maybe I'm barking up the wrong tree generally. or maybe it's nearly right but just needs some different colours. I'll leave that with you for now as I've got some other things to get on with.