Hi Wojciech, On Thu, Jul 11, 2013 at 1:04 AM, Wojciech Lewandowski <[email protected]> wrote: > Hi Jan, > > This looks like interesting problem to debug ;-P but unfortunately I am > really swamped. At least for month if not more.
No problem, I am not using this shadow technique atm, so it is not a blocker for me. > > There is one thing you may try to improve that precision. Especially if you > use geocentric earth model. Try setting up modelling frame. osgshadow > example shows how to do that. If this not helps ... I will not be able to > help otherwise too soon. Sorry. I was using a simple scene with a skybox/dome fixed relative to the eye, a 100x100 plane at the origin and a simple golem and the OSG cow at the origin, nothing like the Earth model. I don't have a CoordinateSystemNode in the scene. However, yes, it could be a precision error, because the crash typically happens when I move the camera away from the object. Probably setting a lower limit on the size of the polyhedron beyond which the shadow isn't going to be rendered would work around the issue. Regards, Jan _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

