Re: [osg-users] Creating working shadow with one omnidirectional light

2014-05-12 Thread Mickael Fleurus
Hi, You probably saved me a lot of time. Thank for fast answers and for your courtesy! ... Thank you! Cheers, Mickael -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59358#59358 ___ osg-users

Re: [osg-users] Creating working shadow with one omnidirectional light

2014-05-09 Thread Mickael Fleurus
[quote=Trajce Nikolov NICK]Hi, if your shadows are moving with the camera, then you are using the default viewer lighting mode which moves the light with the camera. Try setting the viewer with no light ( viewer-setLightingMode(osg::View::NO_LIGHT); ) and set your own LightSource in the scene

Re: [osg-users] Creating working shadow with one omnidirectional light

2014-05-09 Thread Trajce Nikolov NICK
Hi, you have option to replace the shaders in the ShadowMap for this. Then you can tune the effect as You wish., but this is a bit complex. Also, with my setting with the direction light it should work with the light position - it is what I use in my app and works great with the ephemeris model

Re: [osg-users] Creating working shadow with one omnidirectional light

2014-05-09 Thread Mickael Fleurus
I checked the source of the SilverLining SDK, and I don't think it will be useful for what I search to achieve. After more research, I think that what make that no solution is good for what I'm looking to achieve is that every solutions use a single camera with a limited field of view to create

Re: [osg-users] Creating working shadow with one omnidirectional light

2014-05-09 Thread Trajce Nikolov NICK
One more thing. There is setMaxFarPlane() method in the osgShadow::LightSpacePerspectiveShadowMapDB. Nick On Fri, May 9, 2014 at 4:17 PM, Mickael Fleurus mickaelfleu...@ymail.comwrote: I checked the source of the SilverLining SDK, and I don't think it will be useful for what I search to

Re: [osg-users] Creating working shadow with one omnidirectional light

2014-05-09 Thread Wojciech Lewandowski
Mickael, As far as I know none of existing techniques in OSG does what you want. You will need to roll up your sleeves and work hard to obtain the effect you wish. I was once contracted to do multiple shadow lights with full spherical coverage of light field. Its proprietary code and I cannot

Re: [osg-users] Creating working shadow with one omnidirectional light

2014-05-09 Thread Trajce Nikolov NICK
Here you go, directly from the author :-) Nick On Fri, May 9, 2014 at 5:46 PM, Wojciech Lewandowski w.p.lewandow...@gmail.com wrote: Mickael, As far as I know none of existing techniques in OSG does what you want. You will need to roll up your sleeves and work hard to obtain the effect