Hi Sumit,
Have you tried LispSM ? I have not tested it with osgEarth but it works with
osgDEM data. See osgShadow -4 --lispsm example.
With large Dataset you will probably have to take advantage of two Lispsm
methods inherited from MinimalShadowMap
void setModellingSpaceToWorldTransform( const osg::Matrix &
modellingSpaceToWorld );
and
void setMaxFarPlane( float maxShadowDistance );
to optimize shadow map resolution usage. Look how they are used in osgShadow
example.
Cheers,
Wojtek Lewandowski
From: sumit
Sent: Saturday, April 10, 2010 9:14 AM
To: 'OpenSceneGraph Users'
Subject: [osg-users] osgShadow and osgearth
Hi all,
I m trying to get the shadows on earth(rendered by osgEarth). I
have just inserted the earth node in osgShadow example. I could not get any
shadow of mountains on terrain(self shadowing) by any shadowmap technique. I
have tried to increase texture resolution but it's still not working. It was
working for small terrain(created in osgShadow example model 2). Am I missing
something?
Cheers
Sumit
--------------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org