Re: [osg-users] Animate Nathan
Hi Cedric, thank you for your hints. In fact I have a little idea about skeletal animation, but Im new with this in OSG. I am reading and looking for info, but its still a bit messy for me. Is there any simple (as simple as this topic can be) example or tutorial anywhere? Thank you. From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Cedric Pinson Sent: viernes, 06 de julio de 2012 1:59 To: OpenSceneGraph Users Subject: Re: [osg-users] Animate Nathan Hi , First you need to understand how bone animations works, else you will not be able to manipulate the character. http://en.wikipedia.org/wiki/Skeletal_animation then you can try to touch osgAnimation::Bone it's the node used to control part of the skeleton. Cedric Pinson Provide OpenGL, WebGL services +33 659 598 614 - http://cedricpinson.com http://plopbyte.com/ - http://osgjs.org http://osgjs.org/ - http://sketchfab.com http://showwebgl.com/ On Jul 5, 2012, at 15:01 , Héctor Martínez wrote: Hi, I am starting to play with animation in OSG. I would like to animate Nathan.osg model. The aim is to have control over the different parts of the body and get, for example, a rotating arm. I dont know where to start. I have been trying to use DOFTransform, but I cant convert any of the children to DOFTransform (I am getting NULL casting). I have also tried to create a child DOFTransform node and add the arm as a child but not working either. Could someone give me some hints on where to concentrate? Tutorial, example or just the right classes to do it. Or maybe if it is not possible with that model, some clues about the right models to do that. Thank you in advance. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Animate Nathan
Hi, I am starting to play with animation in OSG. I would like to animate Nathan.osg model. The aim is to have control over the different parts of the body and get, for example, a rotating arm. I dont know where to start. I have been trying to use DOFTransform, but I cant convert any of the children to DOFTransform (I am getting NULL casting). I have also tried to create a child DOFTransform node and add the arm as a child but not working either. Could someone give me some hints on where to concentrate? Tutorial, example or just the right classes to do it. Or maybe if it is not possible with that model, some clues about the right models to do that. Thank you in advance. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Animate Nathan
Hi , First you need to understand how bone animations works, else you will not be able to manipulate the character. http://en.wikipedia.org/wiki/Skeletal_animation then you can try to touch osgAnimation::Bone it's the node used to control part of the skeleton. Cedric Pinson Provide OpenGL, WebGL services +33 659 598 614 - http://cedricpinson.com - http://osgjs.org - http://sketchfab.com On Jul 5, 2012, at 15:01 , Héctor Martínez wrote: Hi, I am starting to play with animation in OSG. I would like to animate Nathan.osg model. The aim is to have control over the different parts of the body and get, for example, a rotating arm. I don’t know where to start. I have been trying to use DOFTransform, but I can’t convert any of the children to DOFTransform (I am getting NULL casting). I have also tried to create a child DOFTransform node and add the arm as a child but not working either. Could someone give me some hints on where to concentrate? Tutorial, example or just the right classes to do it. Or maybe if it is not possible with that model, some clues about the right models to do that. Thank you in advance. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org