Hi, It's look my yesterday problem.

I don't why* but osg bug when the graphicWindow is resize in 0 width. Qt
send to my AdapterWidget (from the example) a resize event with 0 width** so
i just add a check in AdapterWidget::reziseGL().


* In fact I not understand why the matrix don't get back after a no zero
resize.
** It's appear when i put the AdapterWidget in a QTabWidget

Cheers
Linares Antonin


2009/9/25 Miguel Lokida <[email protected]>

> I have discovered that the aspectRatio from the frustum of the perspective
> projection matrice was NAN.
> So I have looked at the width and height of my qosgv widget  and the width
> is at zero (but the height is ok).
>
> I dont't know yet why the width of my qosgv widget has changed and not the
> height but I think I am on the good way.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=17646#17646
>
>
>
>
>
> _______________________________________________
> 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

Reply via email to