Yes i'm probably trying to do something different to you. I want to get/set by matrix as well as position, attitude, scale. If you want just to set/get by matrix alone then as mentioned osg::MatrixTransform does the job.
Cheers! Andrew On Fri, Oct 23, 2009 at 5:06 PM, Mourad Boufarguine < [email protected]> wrote: > Hi Ash, > > You can use MatrixTransform instead of PositionAttitudeTransform. Then you > have access to the transform matrix. > > Cheers, > > Mourad > > On Fri, Oct 23, 2009 at 5:34 PM, Ash Pat <[email protected]> wrote: > >> Hi, >> >> I'm using PositionAttitudeTransform to add multiple instances of a >> geometry node. It appears that the rotation and translation are specified >> with separate methods, setAttitude() and setPosition() respectively. Is that >> correct? >> Can it somehow be done with a single matrix like in homogeneous >> coordinates? >> >> Thanks in advance, >> >> Regards, >> AP >> >> ------------------ >> Read this topic online here: >> http://forum.openscenegraph.org/viewtopic.php?p=18629#18629 >> >> >> >> >> >> _______________________________________________ >> 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 > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

