XML:TXMP: Difference between revisions

79 bytes added ,  13 October 2016
m
mentioning that TXMP don't need to be power of 2 for TXMB
m (wow, i didn't realized XML only eats TGA while the command line also accepts the other formats)
m (mentioning that TXMP don't need to be power of 2 for TXMB)
Line 3: Line 3:
===general notes===
===general notes===
* The xml code on this page was tested with onisplit '''v0.9.61.0'''
* The xml code on this page was tested with onisplit '''v0.9.61.0'''
* Textures' x and y (pixel) dimension must be power of two: 512, 256, 128, 64, etc.
* Textures' x and y (pixel) dimension must be power of two: 512, 256, 128, 64, etc. (The TXMP used to compose the [[XML:TXMB|TXMB]] files seem to be an exception).
** Hight and width don't need to be equal, e.g. you can use 128x256.
** Hight and width don't need to be equal, e.g. you can use 128x256.
* The camera can look at 2049 transparent textures at once, one more and Oni crashes.
* The camera can look at 2049 transparent textures at once, one more and Oni crashes.


===TXMP subtypes===
===TXMP subtypes===
489

edits