Hi Amalric,
On 8/2/07, Robert Osfield <[EMAIL PROTECTED]> wrote:
> I don't think its a viewport resize issue, as we'd see cropping
> occassionally, but something is up, most probably the projection
> matrix adjustment...
I've change the Stats HUD Camera to use a fixed projeciton matrix and
this solves the wandering stats problem, it can lead to odd aspect
ratios on the text if you radically alter the window dimensions, but
this is surely better than what was happen with the automatic aspect
ratio adjustment. The change was simple adding the following to the
StatsHandler constructor:
_camera->setProjectionResizePolicy(osg::Camera::FIXED);
A svn update will get this fix.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org