projecting 1D texture for depthmapping

Hi,
I’m working on shodowmapping and have already done 2D projective
texture mapping, but I’m having problems with projecting 1D texture
for comparison with depthmap.
So my question is: how to project 1D texture?

See here:
http://developer.nvidia.com/docs/IO/1379/ATT/GDC2K_ogl_shadowmap.pdf

Page 46.

Thanks a lot, I’ll try that.

I’ve tried this method, but it still dosent seam to wark…
May be someone can give some pseudo code, please?