Hi,
So I tried the MatrixTransform but it seems to skew the geometry. 
When I tried a matrix shown below, I was expecting a simple rigid body 
translation. But instead I got a display with massive extents.

osg::Matrixd mat;
mat.set ( 1, 0, 0, 0
              0, 1, 0, 20,
              0, 0, 1, 0,
              0, 0, 0, 1 );

Then I tried the following to get some rigid body rotation. What I'm seeing is 
almost like a rotation with a shear.

osg::Matrixd mat;
mat2.set ( 1, 1.57, 0, 0,
                0, 1,      0, 0,
                0, 0,      1, 0,
                0, 0,      0, 1 );

What am I doing wrong?

Thanks,

Regards,

Ash

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=18641#18641





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to