ShadowMap go into the next osg release?
>
> Chris.
>
>
>
> > Date: Fri, 02 Nov 2007 10:41:20 -0700
> > From: Mihai Radu <[EMAIL PROTECTED]>
> > Subject: Re: [osg-users] Scene renders black when replacing a
> > ShadowedScene
> > To: OpenSceneGraph Us
gt; Subject: Re: [osg-users] Scene renders black when replacing a
> ShadowedScene
> To: OpenSceneGraph Users
> Cc: [EMAIL PROTECTED]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Chris,
>
> Please check the
Hi Chris,
Please check the thread for fixes.
I'm attaching, again, the fixed version of ShadowMap.cpp
Cheers
Mihai
Chris Denham wrote:
> After some serious digging and tweaking inside osgShadow::ShadowMap I
> have come up with a partial workaround for this problem. The problem
> seems to boil do
After some serious digging and tweaking inside osgShadow::ShadowMap I
have come up with a partial workaround for this problem. The problem
seems to boil down to issues around the pushing and popping of
statsets containing instance of:
new osg::Uniform("osgShadow_shadowTexture",(int)_shadowTextureU
The Matrox was probably not running the shader, and fixed-function will
work.
The fix you are looking for is in my earlier reply on this thread
Cheers
Mihai
Chris Denham wrote:
> Hmm... think this might me a video card/driver specific problem.
> I just tried this test on my colleague's PC that h
Hmm... think this might me a video card/driver specific problem.
I just tried this test on my colleague's PC that has a matrox video
card and seemed to work ok.
Oh rats does that mean it not so easy/impossible to fix the problem? :-(
Chris.
> Date: Thu, 1 Nov 2007 17:56:06 +
> From: "Chri
Thanks Mihai, can you also change the PSSM implementation and update the
code, so robert has only one review to do !
if i will submiss the pssm stuff, he has to review two equal changes.
thanks.
may you can also have a look at PSSM, there are other mails on this topic.
the GLSL shader doesn't work
Hi Chris, Adrian
Here's an updated version of ShadowMap[.cpp] that includes the 'fake'
texture.
Now any model will show up properly, textured or nor.
To see run [the dumptruck is not textured] :
osgshadow dumptruck.osg
Adrian, in your code (PSSM) you assign black(0,0,0,0) as the color for
the 'f
:-) Yes a fake texture can help GLSL shader based issue. Feel free to
migrate the other shadow
technics. And if you like working with PSSM feel free to fix the little
issues we still have. i don't
get the time to work on PSSM for next generation.
/adegli
2007/11/1, Mihai Radu <[EMAIL PROTECTED]>
Just to make sure I understand the issue: from what you are describing,
the problem is that non-textured scene is drawn is black.
This is a result of the shader in use, if you are using the one for
textured objects, it will do a texture access on unit 0, and since there
is no bound texture the res
10 matches
Mail list logo