Re: [osg-users] PSSM segfaulting in cull()?

2008-05-20 Thread Adrian Egli OpenSceneGraph (3D)
Which version are you using the latest SVN, the latest PSSM (see post from friday to yesterday) ? 2008/5/19 Alejandro Segovia [EMAIL PROTECTED]: On Mon, May 19, 2008 at 6:03 PM, Alejandro Segovia [EMAIL PROTECTED] wrote: Hello List, I'm having a hard time using PSSM (or anything besides

Re: [osg-users] PSSM segfaulting in cull()?

2008-05-20 Thread Alejandro Segovia
Hello Adrian, thanks for your reply, On Tue, May 20, 2008 at 3:27 AM, Adrian Egli OpenSceneGraph (3D) [EMAIL PROTECTED] wrote: Which version are you using the latest SVN, the latest PSSM (see post from friday to yesterday) ? I'm actually on OSG 2.2, but I don't think this is a problem with

Re: [osg-users] PSSM segfaulting in cull()?

2008-05-20 Thread Alejandro Segovia
Well, I've managed to find why the shader never was compiled. Apparently the problem was adding the lights to the scene graph before adding the ShadowedScene node (note the ShadowedScene node is not the root of my scene graph). Conversely, if lights are added to the scene graph before the

[osg-users] PSSM segfaulting in cull()?

2008-05-19 Thread Alejandro Segovia
Hello List, I'm having a hard time using PSSM (or anything besides ShadowTexture for that matter) to add shadows to my scene. I've got some initialization code inspired in the osgshadow example, which seems to work fine when I pass the --NVidea parameter, but when I try the very same technique

Re: [osg-users] PSSM segfaulting in cull()?

2008-05-19 Thread Alejandro Segovia
On Mon, May 19, 2008 at 6:03 PM, Alejandro Segovia [EMAIL PROTECTED] wrote: Hello List, I'm having a hard time using PSSM (or anything besides ShadowTexture for that matter) to add shadows to my scene. I've got some initialization code inspired in the osgshadow example, which seems to work