Hi Marius,
When I do this I see empty blue screen. No model displayed. Looks like
camera is positioned far from the model. Perhaps you have done more
modifications ?
Wojtek
----- Original Message -----
From: "Marius Heise" <mhe...@heise-network.com>
To: <osg-users@lists.openscenegraph.org>
Sent: Tuesday, December 29, 2009 4:17 PM
Subject: Re: [osg-users] osgShadow & ECEF precision problems
Hi Wojtek,
I have done various tests with the osgShadow demo. All three versions of
the LightSpacePerspectiveShadowMap (VB/CB/DB) have the same precision
problem even if setModellingSpaceToWorldTransform() is used. I did the
following to reproduce:
Simulate a "large" database by changing osgShadow demo line 371 to:
osg::Vec3 center(30000000.0, 30000000.0, 30000000.0);
Execute the demo with the following:
osgshadow --directionalLight --lispsm --ViewBounds --debugHUD -2
osgshadow --directionalLight --lispsm --CullBounds --debugHUD -2
osgshadow --directionalLight --lispsm --DrawBounds --debugHUD -2
Any ideas?
Thanks a lot for your effort!
Cheers,
Marius
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=21919#21919
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org