Inverse Normalmaps: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
No edit summary
mNo edit summary
Line 1: Line 1:
originally written by {{Original_Reference|ascottk|4244}}
{{Original_Reference|ascottk|4244}}


Since this issue has come up a few times while looking at the textures, I thought I may post a way to visually check to see if the normal map has been generated correctly.
Since this issue has come up a few times while looking at the textures, I thought I may post a way to visually check to see if the normal map has been generated correctly.
Line 5: Line 5:
The normal map should look like it's been lit up by different colored lights like this:
The normal map should look like it's been lit up by different colored lights like this:


IPB Image
http://img327.imageshack.us/my.php?image=checkingnormalmapsse3.jpg


And another issue that's come up is generating normal maps, via the nvidia normal map plugin, straight from the diffuse texture. Here's a tutorial link to make normal maps from height maps:
And another issue that's come up is generating normal maps, via the nvidia normal map plugin, straight from the diffuse texture. Here's a tutorial link to make normal maps from height maps:


http://www.quake3bits.com/htm/tutorials/cr...from_images.htm
http://www.quake3bits.com/htm/tutorials/creating_bumpmaps_from_images.htm


You have to be careful with gradients if you want rounded edges. This plugin interprets those as being angular so you have to use a gaussian blur in order to get decent rounded edges.
You have to be careful with gradients if you want rounded edges. This plugin interprets those as being angular so you have to use a gaussian blur in order to get decent rounded edges.
[[Category:Textures]]

Revision as of 15:09, 10 September 2006

Originally written by ascottk on http://forums.thedarkmod.com/topic/4244

Since this issue has come up a few times while looking at the textures, I thought I may post a way to visually check to see if the normal map has been generated correctly.

The normal map should look like it's been lit up by different colored lights like this:

my.php?image=checkingnormalmapsse3.jpg

And another issue that's come up is generating normal maps, via the nvidia normal map plugin, straight from the diffuse texture. Here's a tutorial link to make normal maps from height maps:

http://www.quake3bits.com/htm/tutorials/creating_bumpmaps_from_images.htm

You have to be careful with gradients if you want rounded edges. This plugin interprets those as being angular so you have to use a gaussian blur in order to get decent rounded edges.