[osg-users] how matrixTransform works?

2009-07-20 Thread Lingyun Yu
Hi, everybody Could someone explain me how matrixTransform works? In the updatecallback, I set the matrixTransform like this static float c = 1.0; c = c + 0.01; mt-setMatrix(osg::Matrixf::translate(-bs.center()) * osg::Matrixf::scale(1.0, c, 1.0)

Re: [osg-users] how matrixTransform works?

2009-07-20 Thread Tomlinson, Gordon
__ -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Lingyun Yu Sent: Monday, July 20, 2009 4:36 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] how matrixTransform works? Hi, everybody

Re: [osg-users] how matrixTransform works?

2009-07-20 Thread Lingyun Yu
...@lists.openscenegraph.org] On Behalf Of Lingyun Yu Sent: Monday, July 20, 2009 4:36 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] how matrixTransform works? Hi, everybody Could someone explain me how matrixTransform works? In the updatecallback, I set the matrixTransform like this static