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)
__
-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
...@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
3 matches
Mail list logo