Aller au contenu

Photo

[Tool] DA Normal Map and Height Map Converter


  • Veuillez vous connecter pour répondre
16 réponses à ce sujet

#1
skuid

skuid
  • Members
  • 378 messages
I've made this tool to convert Normal Maps to both DAO and DA2 formats and I think it could be useful to modders.

This application allows you to convert between traditional RGB normal maps, DAO normal maps and DA2 normal maps.
Easy to use, just choose the input file and the output format and you have the conversion.It also converts Height Map to Normal Map.

Works with PNG, JPEG, TIFF, GIF, DDS, TGA and BMP as input formats and the output format is PNG, TGA, TIFF and DDS.

Requires .net Framework 3.5

DA Normal Map and Height Map Converter

If you find some bugs, report them to me and I'll try to fix them as soon as possible.

Hope you like it :).

Modifié par skuid, 04 juillet 2011 - 03:03 .


#2
mesmerizedish

mesmerizedish
  • Members
  • 7 776 messages
This looks very useful :D

#3
marquiseondore

marquiseondore
  • Members
  • 1 293 messages
Words fail to express how awesome this is.  <3 :wub:

#4
mesmerizedish

mesmerizedish
  • Members
  • 7 776 messages

marquiseondore wrote...

Words fail to express how awesome this is.  <3 :wub:


Now go use it for something awesome!

#5
skuid

skuid
  • Members
  • 378 messages

marquiseondore wrote...

Words fail to express how awesome this is.  <3 :wub:


Thanks!, I see some of your work and it's amazing, I hope this tool help you to make more amazing stuff

#6
skuid

skuid
  • Members
  • 378 messages
New version 1.3 available at Normal Map DA Converter.

Changes from the previous version (v1.21) are:
- Added support to save files in DDS format (DXT5).
- Larger Height Map Scale for smoother normal maps.
- Added a mini image preview in the Choose Format window.
- Independent paths for open file dialog and save file dialog.
- Added support for drag and drop files.

Modifié par skuid, 04 juillet 2011 - 03:02 .


#7
skuid

skuid
  • Members
  • 378 messages
I release a new version (1.4b) of the tool:
Changes v1.4b
-Added 3D preview
-Fixed a bug in the height map to normal map converter. It seems like Dragon Age uses an inverted G channel.

The new version has a 3D preview so you can check the normal map converted.
Posted Image
I can't test it thoroughly because I can't install the toolset again that's why I release a beta version. So if you find bugs, please report them in the bugs section of the project.

#8
mesmerizedish

mesmerizedish
  • Members
  • 7 776 messages
Oh, wow, this update looks fantastic!

#9
skuid

skuid
  • Members
  • 378 messages

ishmaeltheforsaken wrote...

Oh, wow, this update looks fantastic!

Thanks!
It's not entirely finished yet but it allows you to check how your normal map will look in the engine. For now it only support dragon age meshes in xml (*.msh.xml) but I will work in a msh loader if I find some time.

Future additions:
-Dragon age msh loader.
-Select between the height map as is or inverted.
-Select between OpenGL or DirectX RGB normal maps.

Any suggestion will be appreciated.

#10
mesmerizedish

mesmerizedish
  • Members
  • 7 776 messages
Oh, yeah, being able to load binary .msh would be fab. Not sure if there's a .msh->.xml converter lying around anywhere :/

If not, I can always re-export the model from Lightwave, but not having to take that roundabout route would be lovely.

#11
skuid

skuid
  • Members
  • 378 messages

ishmaeltheforsaken wrote...

Oh, yeah, being able to load binary .msh would be fab. Not sure if there's a .msh->.xml converter lying around anywhere :/

If not, I can always re-export the model from Lightwave, but not having to take that roundabout route would be lovely.

The project tazpn's Command Line Tools can convert a .mmh->.fbx and then .fbx->.mmh.xml/.msh.xml that's what I use.

#12
skuid

skuid
  • Members
  • 378 messages
The new version is available now (v1.41)

Changes v1.41
Fixed a bug in the lighting shader (flipped normal’s X component)
Added support for load msh files
Added tint texture and material tint properties
Added texture tile.
Added an option to invert the height map
Changed left click for right click to move the object
Specular texture now works properly

The most important change is the msh support. Now you can open a binary msh file and test the normal map on it.
Posted Image
Also you can use a tint texture.

I have plans for the next update but I will back to work next week and I won't have much free time to spend on this tool so it may take me some time to finish it.
-Mix of normal maps
-More options to generate normal maps from height maps such us allowing differents filters
...

And of course any suggestion could be included as well.

#13
Quething

Quething
  • Members
  • 2 384 messages
Oh wow, this is epic. Thank you for this! :D

#14
skuid

skuid
  • Members
  • 378 messages
New version available v1.42 here
Changes
Fixed the crash when attempting to load a DA2 msh file.
Added shadows and bloom effect
Upgraded .net Framework to v4.0

Posted Image

Next updates:
-Mix of normal maps
-More options to generate normal maps from height maps such us allowing differents filters
-Specular maps generation
...

Modifié par skuid, 06 décembre 2011 - 05:14 .


#15
skuid

skuid
  • Members
  • 378 messages
New version v1.5 available here

I've been busy (working and playing ME3 :whistle:) so it took me some time to finish the new version, but I finally finish it. The new features are the following:

Changes v1.5
Added more parameters for convert height map to normal map
Added an option to mix 2 normal maps

Now you have 3 slides to control the amount of detail of the normal map generated. Also there is a new option that allow you to mix 2 normal maps.

#16
Sylriel

Sylriel
  • Members
  • 214 messages
Skuid, I just found this. I want to tell you, you are f'n AWESOME, man! Thanks for this tool!

#17
skuid

skuid
  • Members
  • 378 messages
You're welcome. Anything to help this awesome community to make greatest things. Let me know if you think anything should be changed or added, thanks.:)