Normal maps format question

Hi,

in some old documentation i’ve found this mapping for normals:

Red maps from (0-255) to X (-1.0 - 1.0)
Green maps from (0-255) to Y (-1.0 - 1.0)
Blue maps from (0-255) to Z (0.0 - 1.0)

In my tests, Blue (0.0 - 1.0) seems to map to 128-255, is this the correct mapping in recent builds (2.6)?

Best regards
Marco

Blue is the Z component of the normal map, in tangent space it´s always positive although it ranges from (-1.0) to (1.0) and is mapped from [0…255].

The Z component of the tangent would point inwards of the mesh if it was negative.
So you just have (0.0) to (1.0) and map it from [128…255]

TY
Yeah i forgot to specify tangent space.

Maybe this could be updated somewhere in the documentation, all the searching i’ve done point to this page:

http://wiki.blender.org/index.php/Doc:2.4/Manual/Textures/Maps/Bump_and_Normal_Maps

and this can create confusion.

Best regards
Marco