Home Technical Talk

What is the most efficient way to convert normal map to displacement nowadays (for best quality) ?

Born_Jason
polycounter lvl 4

Replies

  • Neox
    Offline / Send Message
    Neox godlike master sticky
    i'd guess probably substance designer? 

    that being said, say  you have a sculpted highpoly naked body, bake a normalmap and convert that back to a heightmap it will surely not give you the same result as a heightmap baked from the highpoly.
    normalmaps have no information about distances to the original surface, they just have directional information, which pixel is looking into which direction
  • oglu
    Offline / Send Message
    oglu polycount lvl 666
    I would say rebaking. If you baked from a highpoly it should be easy.
  • Klunk
    Online / Send Message
    Klunk ngon master
    normalmaps have no information about distances to the original surface, they just have directional information, which pixel is looking into which direction

    it's kind of the reverse of height map  to normal..... from a direction you can deduce a plane and all the surrounding pixels will be on that plane ie if a normal points 45 deg to the right the pixel to the left will be above (in height) and the pixel to the right below (in height)  and the pixel above and below will be on the same level, repeat for all pixels and comute the height based on these relative positions. You can't compute exact values but you can resolve the form and apply a scaling factor.

  • okidoki
    Offline / Send Message
    okidoki polycounter lvl 2
    • Body is required.
    I saw this first in  Stannum blog/ .. be warned.. pure C -porgamm..
     Since i saw that you also use blender... you might want to have  a look at this blender addon here: 

    github: HugoTini/NormalHeight.. don't know about it's quality..
  • Born_Jason
    Offline / Send Message
    Born_Jason polycounter lvl 4
    Thx for replies 
Sign In or Register to comment.