function [T]=persp_post(zp)
%
% [T]=persp_post(zp)

% generates "perspective projection into z=0 plane" matrix T
% where input zp is the center of projection
% zp = -1/r or r = -1/zp

% filename must be "persp_post.m"
% can also write
% function T=persp_post(zp)
% without square brackets

T= [ 1  0   0  0;
     0  1   0  0;
     0  0   0  -1/zp;
     0  0   0  1];
 