[osg-users] Opaque black shadows since moving to OSG V3.0.1

2011-11-30 Thread Cyril Bondue
Hello everybody, I'm updating some of my projects from V2.8.3 to V3.0.1 of OSG and i'm struggling with a shadow problem. In fact, osgShadow::LightSpacePerspectiveShadowMapCB produces opaque black shadows, while in previous version it darkened the objects. I've tried to change ambiant in light

Re: [osg-users] OSG 2.8.3 3.0.1 view dependent shadow clipping plane

2011-08-12 Thread Cyril Bondue
Hi, Thanks for taking time when you shouldn't to see my problem ! ^^ The osg::Light is used is the default one : Code: _light = new osg::Light(); osg::ref_ptrosg::LightSource lightSource = new osg::LightSource(); lightSource-setLight(_light); _sceneRoot-addChild(lightSource); I only changed

Re: [osg-users] OSG 2.8.3 3.0.1 view dependent shadow clipping plane

2011-08-12 Thread Cyril Bondue
Hi Robert I'll wait for next release so, and I'll test this new code and post the result. Feel free to send me some code if you want it to be beta tested :) (or can it be tested from the developper svn?) The situation that makes the bug very visible for me is when moving in a tunnel, all the

Re: [osg-users] OSG 2.8.3 3.0.1 view dependent shadow clipping plane

2011-08-09 Thread Cyril Bondue
anyone can try the attached code please? Just to see if the bug comes from my compilation (even if i didn't change a think..) my code or something. Thanks! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41944#41944

Re: [osg-users] OSG 2.8.3 3.0.1 view dependent shadow clipping plane

2011-08-04 Thread Cyril Bondue
I couldn't reproduce my problem because the scene wasn't showing it. I've attached a zip file containinig the c++ program and the IVE scene. By moving the camera up and down you should see the problem! BTW if you see anything wrong about the code please tell me, thanks. Maybe I missed something

[osg-users] OSG 2.8.3 3.0.1 view dependent shadow clipping plane

2011-08-02 Thread Cyril Bondue
Hello fellow coders :) I'm asking for you help one more time. I have a problem with shadows, it seems like I have a view dependent shadow clipping plane. I have an osgShadow::ShadowedScene with a city and a light following the player in it. The problem is that, when we move the camera, the

Re: [osg-users] MinimalShadowMap and specular

2011-01-28 Thread Cyril Bondue
Hi Wojtek, thank you very much! Specular is now rendered using StandardShadowMap sub classes, works like a charm :) I simply recompiled OSG (no warnings) and did not change anything else, i attached the new render, nice job Wojtek! thanks! -- Read this topic online here:

[osg-users] MinimalShadowMap and specular

2011-01-26 Thread Cyril Bondue
Hello, I'm using MinimalShadowMap in an application and I would like to display objects with their specular value. But whenever I use a sub class of StandardShadowMap my objects appear totally matte finish. If I use ShadowMap my objects are well rendered with specular so the problem comes from