Hi Koduri, On 6/09/12 23:58, Koduri Lakshmi wrote: > Hi, > > I have an OSG file contains a sequence of objects. I read this OSG file and > assigned to a transformation matrix. > > Now I want to get back the sequence to the OSG::Sequence object from the > transformation matrix to control animation. > > How can I get sequence and control the animaton? > > Can you please help me what to do?
I'm not quite sure what you're trying to do, but I can explain a bit what osg::Sequence does. osg::Sequence acts like a switch node, that automatically (based on simulation time) enables its children in sequence. So what you have to do is to create a Sequence node and add the children that you want to switch between to it. Maybe if you could post a code snippet it would help people (me included) to figure out what you're trying to do. Cheers, /ulrich _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

