posted 02-27-2001 04:38 PM
I think I may have discovered the limit to the number of textures you can use in a level! 312.This number however does not seem to be simply the number of 64 x 64 pixel tiles in your TGA file.
When I started my fisrt level I decided to create a TGA that contained as many textures as possible. I think it was around 256 individual tiles. I have had no problems until now.
My level currently has 92 rooms and not all have been textured. Just yesterday when converting the TOM file I noticed something different. The window that displays what is being processed stopped after only 3 lines of information, the last line showing: 'Number of Room Tex Infos = 302' which I assume is the number of textures being used. However it still successfully created the level.
Then after making more modifications I went through the process again but this time the number of Tex Infos was 312 and the Level Convertor didn't look like was doing anything after displaying the first 3 lines of information, but it still completed successfully.
The next time the number was 313 and as soon as this line of information was displayed the program terminated.
I ran a few tests and it seems like the way it counts the number of different textures is not how I thought it would. It appears that it counts a full tile as 1, regardless of the orientation of the tile (upside down, reversed), but it aslo counts any smaller section (3/4 tile, triangle, 1/16 tile) as 1 texture as well. Which means it is possible to actually use up something like 40 textures from 1 tile with all the possible combinations.
Someone may have already discovered this but I haven't heard anything about it anywhere, only that in the manual at does say that there is a maximum number of textures you can use but that some experimenting is required. Has anyone else experienced a similar problem.
I hope this information is useful to some of you. And it's probably a good idea to keep an eye on the 'Number of Tex Infos' when converting your level so you don't have to do what I am going to have to do, re-texture my entire level
to reduce this number.
Cheers.