Re: [osg-users] Controlling animations in FBX models

2011-02-15 Thread Renato Silveira
Hi Thomas, I tested your code and I got an error: OsgAnimationTools AnimationSplit XML Config ERROR: AnimationSplit nodes must contain a 'splitCount' property. The function that reads my FPS returns 0, even when I set to 30 in the xml file. Also, the function ReadAniSplitFromConfigNode() has a

Re: [osg-users] Controlling animations in FBX models

2011-02-13 Thread Thomas Hogarth
Hi Renato / others I've finished my animation splitting system, seems to do the job for me. I used osgDB XmlPaser to allow an xml file to be used for config and have successfully loaded my original long animation file and split it into separate 'takes'. Attached is the cpp and an example config

Re: [osg-users] Controlling animations in FBX models

2011-02-13 Thread Thomas Hogarth
Attached is the cpp and an example config file. I think it's pretty straight forward. Looks like the forum blocked my xml config so here is a copy in the post below ?xml version=1.0 encoding=ISO-8859-15? OsgAnimationTools sourceFile='./Data/Models/Terrorist/terrorist.FBX'

Re: [osg-users] Controlling animations in FBX models

2011-02-13 Thread Renato Silveira
Thank you very mutch! I will check it. Renato On Sun, Feb 13, 2011 at 7:06 PM, Thomas Hogarth thomas.hoga...@gmail.comwrote: Attached is the cpp and an example config file. I think it's pretty straight forward. Looks like the forum blocked my xml config so here is a copy in the post below

Re: [osg-users] Controlling animations in FBX models

2011-02-04 Thread Thomas Hogarth
Hi Renato I thought it was not possible. How can you save your FBX file with multiple animations? I'm using 3DS Max 2010 and I do not see a way to save multiple animations. I'm not familiar with modeling ... I need to do something similar at the moment. I know MotionBuilde can export fbx

Re: [osg-users] Controlling animations in FBX models

2011-02-04 Thread Mr Alji
Hi Renato Thomas, I came to the same conclusion :* multiple animations on the same fbx file can only be done with MotionBuilder*, until i found this

Re: [osg-users] Controlling animations in FBX models

2011-02-04 Thread Renato Silveira
Hi Thomas and Alji I will try the MotionBuilder. When you write the node visitor, and if you can share it, I'll be very grateful! Thank you! Renato On Fri, Feb 4, 2011 at 12:50 PM, Mr Alji mr.m.a...@gmail.com wrote: Hi Renato Thomas, I came to the same conclusion :* multiple animations

Re: [osg-users] Controlling animations in FBX models

2011-02-03 Thread Mr Alji
Hi Silveira, I had almost the same problem, rather than specifying the frames to be played, I choosed to use FBX Model with multiple animations, the animation Manager took care of the rest. I hope I helped a little bit *--* *Mohamed ALJI* Élève ingénieur en Informatique troisième année à

Re: [osg-users] Controlling animations in FBX models

2011-02-03 Thread Renato Silveira
Thank you! You really help me. I thought it was not possible. How can you save your FBX file with multiple animations? I'm using 3DS Max 2010 and I do not see a way to save multiple animations. I'm not familiar with modeling ... How can I split the animations? Thank you! Renato On Thu, Feb

[osg-users] Controlling animations in FBX models

2011-02-02 Thread Renato Silveira
Hi, In my application I’m using osg with FBX plug-in. The FBX model that I’m using has a unique sequence of animations, called “Take 001”. The sequence includes a walk, stand, and run animations. Is there a way to specify that from frame 0 to 100 I have the walk animation, from frame 1001 to