Skip to content

A blender addon which allows the upscaling of images directly in Blender using ai. Fork for handling SWTOR textures (packed-type .dds images)

License

Notifications You must be signed in to change notification settings

ZeroGravitasIndeed/SWTOR-Textures-Upscaler

 
 

Repository files navigation

SWTOR Textures Upscaler

A fork of Hasib345's Texture_Upscaler (Hasib345's Blender Market's Add-on's page).

This fork is a means to experiment with enhancing the textures of the Star Wars: The Old Republic (SWTOR) game (.dds format, which Blender can import but can't export, usually "packed" with multiple types of maps in a same image file).

The idea is to have it export the images to be enhanced as PNG, WebP or JPG instead, saving them alongside the original .dds ones, and have the add-on assign them back instead. Also, it's about seeing ways to integrate the upscaler executable in other SWTOR-related tools (it's the first time I toy with a Blender add-on that interacts with a command line UI-executable).

As there are cases where the game's texture files will have very disparate data per channel that would suffer if enhanced as if they where full RGB images, I might have to investigate separating the channels into greyscale images, enhancing them, and combining them back 🤔.

ChangeLog:
2023-11-25: fork creation.


Original Repository's README

Texture Upscaler is an AI-based texture-upscaler for Blender. This plugin allows you to upscale your textures with a single click. Textures will be upscaled 4x with little detail loss and artifacts using realesrgan ncnn vulkan.

Features:

  • Image Upscaling 4x
  • Include 6 models by default
  • Allows For replacing Textures in material with Upscaled textures
  • No dependencies required

CONTRASTS:

Base Textures vs Upscaled Textures.

Upscaled Textures vs Pbr Textures 

 PBR Textures vs Upscaled Textures

INSTALLATION:

  1. Download the ZIP file 
  2. Within Blender, navigate to Edit > Preferences > Addons > Install
  3. Select the ZIP file
  4. Enable the addon by clicking on the box 
  5. Select Path for the Upscaled Textures in addon's preferences

Usage:

Addon's Panel is present in  Image Editor > N-Panel > Texture Upscaler

Navigate to the image editor window within Blender.

Open the texture you want to upscale.

Press 'N' to open the right-side toolbar

Navigate to the Texture Upscaler and click 'Texture Upscaler'

Panel Preview

About ESRGAN:

Real-ESRGAN aims at developing Practical Algorithms for General Image/Video Restoration.
We extend the powerful ESRGAN to a practical restoration application (namely, Real-ESRGAN), which is trained with pure synthetic data.

ncnn is a high-performance neural network inference computing framework optimized for mobile platforms. ncnn is deeply considerate about deployment and uses on mobile phones from the beginning of design. ncnn does not have third party dependencies.

This addon is the ncnn implementation of Real-ESRGAN in blender . 

This addon only works on Windows Operating Systems (For Now) .

Additional links:

If you want to add another model in the addon you can get the models for this page 

To add custom models to the addon there is an option in addon preferences.

About

A blender addon which allows the upscaling of images directly in Blender using ai. Fork for handling SWTOR textures (packed-type .dds images)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%