Tips: Atlased Meshes And Textures
"Vanilla Morrowind has objects split into different shapes each using its own unique texture. This is bad for performance and is one of the game's primary FPS bottlenecks. Each shape (even within a single mesh file) requires its own drawcall. There are close to 5,000 different textures in Morrowind's data; many of which are very similar or outright identical and some meshes are split into more than 75 different shapes. Merging those meshes into a single shape which references a single texture atlas is the ideal situation for game performance."
"The goal of Project Atlas is to identify the most performance heavy areas of vanilla Morrowind and some popular mods and target high usage/strain meshes in those areas for atlasing. This effort involves reworking the UVs for those meshes and creating texture atlases to cover various sets."
There are a few mods that support atlasing, and offer atlased variants, though not all that support it include the required files. To this end, the Project Atlas Team provides batch scripts that you can use to convert textures yourself. WARNING: The following process involves using the command line. To use the conversion script:
- Copy the related script into the desired mod's folder (e.g.
hlaalu_atlas_generator.batin this case)
- Double click the .bat file, it should open a command prompt window and start doing things
- When everything is finished, you should have a folder called
ATLwith a file called
tx_hlaalu_atlas.ddsinside. The name of this file will depend on what texture set you're working with as well as the script you are using
Those of you that are Linux or macOS users -- worry not! I've created the Project Atlas Scripts, which is a collection of bash scripts that should not only run on your OS but also possibly on the new Windows Subsystem For Linux. I'd love to hear if someone does this!
The process is more or less the same, and is described step-by-step on this page. Do note that ImageMagick is required, so ensure you install that before trying to use these.