ComputeNormals¶
Computes normals for each data point of a point map.
Normals can be computed directly for the PointMap node of a stereo camera by using the (Cameras) parameter. The resulting normals are written to the camera’s Images/Normals node.
You can also explicitly pass a point map in the (PointMap) parameter. The resulting normals are written to the Result/Normals node.
Normals are represented as a three channel (X, Y, Z) float image. Each normal is normalized to length 1 and oriented towards the camera’s projection center. In degenerate cases (e.g. on depth discontinuities) the normals might point away from the camera.
Note
The normal map coordinates are represented in the same coordinate system as the input point map.