[osg-users] osgShadows

2009-12-09 Thread Trajce Nikolov
Hi, I am having a scene, large terrain and moving models. What is the best approach to have the scene shadowed? I tried couple of techniques, but the results are not good. Any hints ? Thanks! Nick http://www.linkedin.com/in/tnikolov Sent from Gümüşsuyu, İstanbul, Turkey

Re: [osg-users] osgShadows

2009-12-09 Thread Harold Comere
Hi Nike, There is many way to get shadows and the shadowing technique choice shall depend of your scene data. The two basic shadowing techniques are : - shadow maps ( image based ) - shadow volumes ( geometry based ) Shadow maps are very cheap and easy to implement but will works good only

Re: [osg-users] osgShadows

2009-12-09 Thread Trajce Nikolov
Hi Harold, yes, my light source is the sun. No other lights in the scene yet. And the results are not good. I will do research on the cascade shadowmaps and will try to implement it. Thanks for the hint Nick http://www.linkedin.com/in/tnikolov Sent from Gümüşsuyu, İstanbul, Turkey On Wed, Dec

Re: [osg-users] osgShadows

2009-12-09 Thread Wojciech Lewandowski
Hi, Cascaded Shadow Maps is the same as Parallel Split Shadow Map. PSSM is implemented in osgShadow. Also LispSM could work for you scenario. Cheers, Wojtek Lewandowski From: Trajce Nikolov Sent: Wednesday, December 09, 2009 10:19 AM To: OpenSceneGraph Users Subject: Re: [osg-users

Re: [osg-users] osgShadows

2009-12-09 Thread Wojciech Lewandowski
scratch will be much much steeper. Wojtek From: Trajce Nikolov Sent: Wednesday, December 09, 2009 12:11 PM To: OpenSceneGraph Users Subject: Re: [osg-users] osgShadows I tried both. PSSM gives some artifacts (see the attached image) - the white in the background, also, some flickering

Re: [osg-users] osgShadows

2009-12-09 Thread Adrian Egli OpenSceneGraph (3D)
:* Wednesday, December 09, 2009 10:19 AM *To:* OpenSceneGraph Users osg-users@lists.openscenegraph.org *Subject:* Re: [osg-users] osgShadows Hi Harold, yes, my light source is the sun. No other lights in the scene yet. And the results are not good. I will do research on the cascade shadowmaps