Jump to content


Normal map to height map converter


7 replies to this topic

#1 Hawkwind

    Member

  • Members
  • PipPip
  • 92 posts

Posted 02 January 2008 - 10:40 AM

Anyone know of an existing one ( I can't afford the time to write one ).
Cheers

#2 Vilem Otte

    Valued Member

  • Members
  • PipPipPipPip
  • 362 posts

Posted 04 January 2008 - 11:15 PM

Well, this is a little more complicated. What's normal map - it's derived height map, it's calculated F.e. from displaced plane (displacement value is defined by height map). What do we need to "solve"? We need to integrate normal map. I found a way, how to solve this. You go pixel by pixel in X or Y direction and add a "height step" based on normal direction in normal map. So if normal map is just blue, height map will be whole white. If it'd be violet, height map will be from black to white from left to right, etc. I could write converter, if you want (or don't know, how to create it, because it's really not-so-easy application), but it'll take some time or you could download one of existing converters - there's one in Photoshop i think.

#3 mysticman

    Member

  • Members
  • PipPip
  • 95 posts

Posted 05 January 2008 - 11:06 PM

try http://www.crazybump.com/ beta6.2 it's great software

#4 Frank Skilton

    Valued Member

  • Members
  • PipPipPip
  • 109 posts

Posted 06 January 2008 - 04:04 AM

CrazyBump is nice but won't allow you to convert a normal map to a height map.

The Nvidia Photoshop Plug-ins includes a normal map filter which allows you to convert to height however last time I checked it didn't seem to work too well.

#5 J22

    Member

  • Members
  • PipPip
  • 92 posts

Posted 06 January 2008 - 11:22 AM

Frank Skilton said:

CrazyBump is nice but won't allow you to convert a normal map to a height map.
Infact it does, and it does it 100x better than the nVidia plugin.

#6 Frank Skilton

    Valued Member

  • Members
  • PipPipPip
  • 109 posts

Posted 06 January 2008 - 01:21 PM

J22 said:

Infact it does, and it does it 100x better than the nVidia plugin.

So it does, thanks for letting me know.

#7 mysticman

    Member

  • Members
  • PipPip
  • 95 posts

Posted 06 January 2008 - 09:55 PM

and the beta 6.3 will be better:yes:

#8 Hawkwind

    Member

  • Members
  • PipPip
  • 92 posts

Posted 07 January 2008 - 03:12 PM

Thanks for the feedback... been away and just got back, so I'll check out these links over the next day or two.,
Cheers





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users