7. dev2rsp
Point and normal of the light plane at a given pixel
[h,q] = dev2pln(devx)
[h,q] = dev2pln(devx,idx)
[h,q] = dev2pln(devx,idx,unit)
Inputs / outputs
- devx = 1xNxK; X-coordinates on the device surface at K poses.
- idx = Index of the pose to be used (dev must be 1xN).
- unit = true|false; Specify if the direction vectors are normalized.
- h = 2xNxK Reference point of the light planes.
- b = 2xNxK Normal vectors of the light planes.