perspective shadow maps?

Hi,

I’m trying to implement perspective shadow maps in GL, but I can’t figure out how to set up the light’s view and projection matrices properly. I’ve followed the “recipe” on the authors’ web site:
http://www-sop.inria.fr/reves/personnel/Marc.Stamminger/psm/

But I’m still having trouble actually getting the shadow map to show anything meaningful. Has anyone has experience implementing PSM’s and know what I might be messing up?

Thanks very much.

Eric