Hi,

if they are MatrixTransform then have a look at the MatrixTransform
interface. It has osg::Matrix and with this matrix you can translate rotate
scale. Try for test something like

osg::MatrixTransform* mxt = // your MatrixTransform
mxt->setMatrix( osg::Matrix::translate(osg::Vec3(x,y,z)) );

Nick


On Wed, Jul 9, 2014 at 11:27 PM, Ed Stivi <[email protected]> wrote:

> Hi all,
> I'm trying to animate a 3d model without predefined animations
>
> to be specific, I downloaded a 3d model (called Female from bonyface) and
> converted it to FBX
>
> I'm getting from an external source some face dots location.
> I'd like to move the female model's corresponding dots accordingly.
>
> using a 3d model editor software, I can see the names of the female's dots
> names (which can be moved when created pre-defined animations).
>
> using NodeVisitor I retrieved a list of nodes with the same names.
> however, they appear to be MatrixTransform
>
> I have no idea how to change the positions of them.
> Can you please assist? give a direction and possibly even some example
> code?
>
> Thank you very much!
> EsMo
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=60231#60231
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



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

Reply via email to