#11
24th Oct 2009 at 10:52 AM
Posts: 229
Thanks: 9865 in 24 Posts
13 Achievements
How to make your objects less pixelated
To improve the texture quality of your objects, you need two programs:
Object Tool by Wes and
s3pe . Be sure to install them correctly (read in the linked threads, they sometimes need other programs to work).
Make a new folder (There will be a lot of files. By making a new folder you don't mix them up with other files).
Start s3pe. Click File -> Open and open your package file.
Be sure that the box besides "Tags" on the bottom of the window is ticked.
Click on the line with the tag "MLOD" (If there is more than one MLOD, then choose the one with 0x00000000 in the Group column).
Click on Resource -> Export -> To file and save into your new folder (Don't change the name
S3PE suggests!).
Start "S3 Object Mesh Tool". Click on "Decompile" and open the file you exported with s3pe.
The text "No Errors" should appear on the right (And a lot more files appear in your folder).
Click "MODL/MLOD Info" and open your exported file again (it ends with .lod). On the right appear a few info lines.
Look for the group with more vertices (here group 1).
Below that it says what blocks are responsible for the material of your object (here block 13 and block 14). (See picture 1)
Go into your folder. Look for the files that end with "...block13.mtlsrc" and "...block14.mtlsrc" and open them with a text editor.
There should be two lines that start with "MaskWidth" and two lines that start with "MaskHeight". The last value in this lines is something like 00000100 or 00000080. (See picture 2)
Change it to a higher value, for example 00000200 in each of this lines (don't take too high values, it doesn't improve the texture quality any further and slows your computer down).
You should have changed 4 values in the block13 file and 4 values in the block14 file. Save both files.
Go the the "S3 Object Mesh Tool" again. Click on "Recompile" and open the file that ends with .mcgf in your folder.There should appear "No Errors". You can close the "S3 Object Mesh Tool".
Go to
S3PE again. Click on Resource -> Import -> from file and open the file that ends with .lod in your folder.
A small window appears. Don't change anything, just click OK.
Click File -> Save. You can close s3pe.
Test your object in game. Now the quality of the texture should be better
. (Of course it can't be better than the quality of the .dds image you included).
I hope this will help. I tried to write it so that everyone can understand it.
This also works for objects that use patterns, not only for paintings.