About

Infobox

Gigapixel Texture-Upscaling Tutorial

Caption

Tutorial Info

TypeName
Difficultyadvanced
Requirements- Gigapixel
- Python
- Pillow (PIL fork)
- PNGtoDDSTextureScripts
- A bulk file renaming utility (recommended)
- XnConvert
- NormalmapGenerator (optional)
- NVIDIA Texture Tools 3
Tutorial FilesAny vanilla Morrowind textures will do

This step-by-step tutorial describes a workflow for upscaling textures with AI, through the use of Gigapixel AI. Other AI upscaling tools such as ESRGAN can be used instead of Gigapixel, but the instructions here will assume usage of the latter.

Goals

By the end of this tutorial, you should be able to:

  1. Convert textures in bulk from TGA/DDS format to PNG, ready to be upscaled.
  2. Upscale textures using Gigapixel 7
  3. Optionally generate normal maps and specular maps using NormalmapGenerator.
  4. Convert the upscaled textures back to the appropriate DDS format using NVIDIA Texture Tools 3 via Python batch scripts

Prerequisites

The tools outlined here are required in order to follow this tutorial. Several of these have equivalent tools which could be used instead by experienced users. However, this tutorial will assume the user is using the tools described below.

Gigapixel 7

Gigapixel 7 (personal) is required. Theoretically the trial version will suffice, but any output textures processed by it will have a watermark applied to them. Gigapixel Pro will also work, but it is more than is necessary.

XnConvert

XnConvert will be used to convert the original textures from DDS or TGA into DDS format in bulk. Equivalent batch image converters can be used instead. If only working on a handful of textures, even Gimp or Photoshop will suffice, but these are generally not suitable for batch processing large amounts of images.

NVIDIA Texture Tools 3

NTT3 will be used for converting the Gigapixel-upscaled textures to the appropriate DDS format. NTT3 must be used, as opposed to NVIDIA Texture Tools, because PNGtoDDSTextureScripts utilizes NTT3’s API.

Python + PIL

Python is required in order to run the PNGtoDDSTextureScripts used for processing the textures through NTT3.

In addition, the scripts utilize PIL, which can be installed via pip.

PNGtoDDSTextureScripts

These Python scripts will be used to convert the upscaled images in bulk to the appropriate DDS format, via NNT3’s API. They can be downloaded from Github.


Create a working directory


H2 (step 2)

H3 (elaborate on aspect of H2 step, or break it down into smaller sub-steps)


H3 (step 3)


Further Reading