Could somebody please explain me what I'm doing wrong? I want to glue a texture.
Cubebox.exe is working very well but I have a problem with the Glue.exe
Error: Can't Open FIle:
When I change StartU/V to -29 and -27:
Thank you for the detailed information. I did a very simple test:1) You specified a wrong folder, D:/test/in does not has tile files (as text in the terminal says). You must specify D:/test/in/neg_x and so on.
2) Even that folder indeed has no files called 0_x_x.png except 0_0_0.png (as text in the terminal says). Zero level has one tile, first level has 4 tiles, and so on. If you want to stitch the most detailed level, choose the right prefix (6 or whatever?) and OutWidth/OutHeight (they must be TileWidth * 2[sup]prefix[/sup], TileHeight * 2[sup]prefix[/sup]).
3) U and V indices cannot be negative.
4) It seems that you want to convert the cubemapped texture back to cylindrical. Glue.exe cannot do that, it only can merge each of cube faces back to a single large square textures.
Are you sure your tiles are 258*258, not 256*256?
Glue.exe is not designed to merge tiles with a border. It will merge them, but the result will be incorrect: it will not skip borders, so you will have doubled pixel columns at each 258th column, and so on with rows.
I am not familiar with them, maybe you can ask Klud.
Yes: 258x 258. This is a standard texture from the Solar system Ultra download. I just want to study how the script is working. I thought somebody mention that the tiles becoming after export with cube application 258x 258.