HI "could you sign the name you wish to be addressed with on your mails"

As for you errors, have you done any debugging???  Like looked at the
values of the matrix you are setting?  Does it contain invalid values?

Robert.

On Wed, Nov 5, 2008 at 5:36 AM, GMD GammerMaxyandex.ru
<[EMAIL PROTECTED]> wrote:
> G'Day. I have some questions about osg.
>
> There is function MatrixTransform for reseting position/rotation/scale.
> [code]
> osg::Matrix mat;
> if (!position) mat.preMult 
> (osg::Matrix::translate(MyTransformMatrix->getMatrix().getTrans()));
> if (!rotate) mat.preMult 
> (osg::Matrix::rotate(MyTransformMatrix->getMatrix().getRotate()));
> if (!scale) mat.preMult 
> (osg::Matrix::scale(MyTransformMatrix->getMatrix().getScale()));
> MyTransformMatrix->setMatrix (mat);
> [/code]
> When call this function often ,time by time objects disappeare from the 
> screen and OpenGL writes many errors. Whyt can this happens?
> OSG 2.6.x, 2.7.x; MS VS2009
> _______________________________________________
> 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