XML talk:TXMB: Difference between revisions
Script 10k (talk | contribs) m (signature) |
Paradox-01 (talk | contribs) mNo edit summary |
||
Line 34: | Line 34: | ||
The link that I posted contains the original image, oni files and the level2 dat file with the oni files already built in. [[User:Script 10k|Script 10k]] ([[User talk:Script 10k|talk]]) 10:36, 11 October 2016 (CEST) | The link that I posted contains the original image, oni files and the level2 dat file with the oni files already built in. [[User:Script 10k|Script 10k]] ([[User talk:Script 10k|talk]]) 10:36, 11 October 2016 (CEST) | ||
:Not sure what's going on. Try to use only one row and only one column of non-standard sizes, '''starting with standard max''' and in the end filling the 'holes' with non-standard. --[[User:Paradox-01|paradox-01]] ([[User talk:Paradox-01|talk]]) 21:30, 11 October 2016 (CEST) |
Revision as of 19:30, 11 October 2016
TXMP with height of 224
In this page it is given an example of an image with a size of 640x480 made of 128x224 images.
I was reading TXMP page and it says "textures' x and y (pixel) dimension must be power of two: 512, 256, 128, 64, etc".
However 224 is not power of two. Why is this size used in the TXMB example? Script 10k (talk) 12:49, 29 September 2016 (CEST)
- Hypothesis: Textures with mipmaps need to be power of two and splashscreens don't need mipmaps because they are always seems from equal distance.
- Maybe it helps to create a statistic with all TXMP. paradox-01 (talk) 13:21, 29 September 2016 (CEST)
TXMB 640x480 problems
"The number of columns and rows (TXMPs) is computed at runtime. Probably the engine checks the horizontal dimension of the TXMPs until the desired x size is reached and then starts a new row. So it should be possible to create also other TXMB resolutions and TXMP constellations."
The following image isn't mapped correctly by the engine:
https://dl.dropboxusercontent.com/u/143726/temp/IntroImageLevel2Problem.zip
The image is composed by the following images:
256x256 | 256x256 | 128x256
256x128 | 256x128 | 128x128
256x64 | 256x64 | 128x64
256x32 | 256x32 | 128x32
Any idea why the image isn't displayed correctly by oni?
The link that I posted contains the original image, oni files and the level2 dat file with the oni files already built in. Script 10k (talk) 10:36, 11 October 2016 (CEST)
- Not sure what's going on. Try to use only one row and only one column of non-standard sizes, starting with standard max and in the end filling the 'holes' with non-standard. --paradox-01 (talk) 21:30, 11 October 2016 (CEST)