[osg-users] LiSPSM and main camera nearFarRatio?

2008-09-29 Thread Jean-Sébastien Guay
Hi all, Hi Wojtek, I've been working on deploying the new LiSPSM in our simulators. While fixing a totally unrelated problem today (when viewing from inside the cockpit, the cockpit geometry was being clipped), I added some parameters to control the nearFarRatio on a camera. I have no idea w

Re: [osg-users] LiSPSM and main camera nearFarRatio?

2008-09-29 Thread Wojciech Lewandowski
somewhere else. Cheers,Wojtek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jean-Sebastien Guay Sent: Monday, September 29, 2008 9:28 PM To: OpenSceneGraph Users Subject: [osg-users] LiSPSM and main camera nearFarRatio? Hi all, Hi Wojtek, I've been wo

Re: [osg-users] LiSPSM and main camera nearFarRatio?

2008-09-30 Thread Jean-Sébastien Guay
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 thin