[osg-users] LiSPSM and main camera nearFarRatio?

Jean-Sébastien Guay jean-sebastien.guay at cm-labs.com
Tue Sep 30 09:58:54 PDT 2008


Hi Wojtek,

> I guess that for this computation I may somehow use
> default clamp callback nearFarRatio. Put a breakpoint in line 255 in
> MinimalShadowMap.cpp. This is the line where clampProjectionMatrix is called
> and check what is the nearFarRation inside this call. Let me know what you
> find. I think I did it right, so there is chance the error may be somewhere
> else.

Thanks for the hint, I'll check that out in a few minutes and see where 
it leads.

J-S
-- 
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.guay at cm-labs.com
                                http://www.cm-labs.com/
                         http://whitestar02.webhop.org/



More information about the osg-users mailing list