UGX-Mods

Call of Duty: Black Ops 3 => Tutorial Desk => Modding => Topic started by: ProGamerzFTW on October 05, 2016, 04:20:14 am

Title: [GIMP] Converting DUDV to Normal Maps from Ripped Models
Post by: ProGamerzFTW on October 05, 2016, 04:20:14 am
Converting DUDV to Normal Maps

The Problem

Has your normal map been making your texture look weird from ripped models?

The main reason is because APE converts it to a DUDV map, causing what you rip is not the raw normal map.

DUDV map:
(http://i.imgur.com/Mh8mXdb.png)

BAD DUDV map preview when imported into radiant as a normal map: (Why it looks weird on models)
(http://i.imgur.com/zOHjS1r.jpg)

Properly Converted Normal Map: (looks like the first DUDV map again in the preview)
(http://i.imgur.com/UltSoTM.jpg)


The Guide

Method 1 (Thanks to HitmanVere)


1. Download GIMP from https://www.gimp.org/downloads/ (https://www.gimp.org/downloads/)

2. Launch GIMP. Open your image.

3. Open Brushes Window if not already open. (Window > Brushes) In the brushes window, click the Channels tab and only have the Blue Channel highlighted.

4. In the main window, Colors > Invert. (If it still looks strange, try the green channel aswell.)

5. Now to save, click File > Export As... and go to the directory you want to save and click export. Note: Make sure the name before clicking export has .tif or .tiff in the name.

Repeat 3-5 for other images.


Method 2



1. Download GIMP from
https://www.gimp.org/downloads/ (https://www.gimp.org/downloads/)

2. Download the Normalmap plugin from
https://code.google.com/archive/p/gimp-normalmap/downloads (https://code.google.com/archive/p/gimp-normalmap/downloads)

3. In the downloaded Normalmap archive, extract normalmap.exe to Installation Directory\GIMP 2\lib\gimp\2.0\plug-ins

4. In the downloaded Normalmap archive, extract all to .dll files to Installation Directory\GIMP 2\bin

Note: Installation Directory is normally C:\Program Files\

5. Launch GIMP. Open your image. Click on Filters > Maps > Normalmap...

6. Change conversion to "DUDV to Normal" and click OK. Your image should look like a regular normal map now.

(http://i.imgur.com/mahlv8B.png)

7. Now to save, click File > Export As... and go to the directory you want to save and click export. Note: Make sure the name before clicking export has .tif or .tiff in the name.
Repeat 5-7 for any images you'd like to convert.



If anyone knows how to convert with photoshop or anything else, feel free to post here and I'll add.

Edit: With the latest Wraith update, this may no longer be needed.
Title: Re: [GIMP] Converting DUDV to Normal Maps from Ripped Models
Post by: reckfullies on October 05, 2016, 08:02:38 am
Works perfectly, thank you :)

My models can finally stop looking like I drew over them with a noise brush lol
Title: Re: [GIMP] Converting DUDV to Normal Maps from Ripped Models
Post by: Harry Bo21 on October 05, 2016, 08:53:53 am
Or

Open in any image editor and invert the image
Title: Re: [GIMP] Converting DUDV to Normal Maps from Ripped Models
Post by: ProGamerzFTW on October 05, 2016, 10:54:05 pm
Or

Open in any image editor and invert the image

Aha, didn't know that's all it did.

Edit: Inverting actually inverts the bumps with it too, so it's not quite the same.

DUDV to Normal Plugin:

http://i.imgur.com/OLCZpZ3.png (http://i.imgur.com/OLCZpZ3.png)

DUDV Inverted to Normal:

http://i.imgur.com/be3VuQy.png (http://i.imgur.com/be3VuQy.png)
Title: Re: [GIMP] Converting DUDV to Normal Maps from Ripped Models
Post by: Harry Bo21 on October 06, 2016, 09:34:19 am
Ok then use the "patch normals" option in wraith

Some crash wraith but porter is releasing a update to fix it soon

The majority work tho
Title: Re: [GIMP] Converting DUDV to Normal Maps from Ripped Models
Post by: HitmanVere on October 06, 2016, 02:36:04 pm
Aha, didn't know that's all it did.

Edit: Inverting actually inverts the bumps with it too, so it's not quite the same.

DUDV to Normal Plugin:

(http://i.imgur.com/OLCZpZ3.png)

DUDV Inverted to Normal:

(http://i.imgur.com/be3VuQy.png)

Dont invert RGB, invert only blue channel, if color is weird. If bumps are inverted, invert green channel. With extracted normals that arent fixed by Wraith, you need to invert blue and green :P
Title: Re: [GIMP] Converting DUDV to Normal Maps from Ripped Models
Post by: Harry Bo21 on October 06, 2016, 02:50:27 pm
Blue and red according to porter

I think, was either that or blue and green @only
Title: Re: [GIMP] Converting DUDV to Normal Maps from Ripped Models
Post by: ProGamerzFTW on October 06, 2016, 09:32:16 pm
Sorry, not quite sure how to invert separate channels with gimp. Nevermind, edited OP