Importing Animations
Importing Animations
Hi,
I have been trying to get my animations from Maya into Irrlicht and I have read lots of material on the forums about it. I purchased Ultimate Unwrap 3D Pro and I am able to get my animations from Maya into Unwrap and from Unwrap to Irrlicht, but no matter what format I use a few vertices in every model do not animate. They animate properly in Maya and Unwrap and even after saving as either b3d or X they still animate properly in Unwrap but not in Irrlicht.
The entire model animates properly except for a few vertices which stay in the position that they are located at in the first frame. Has anyone else had similar problems to this? Is there some weighting issues or restrictions from Maya to Irrlicht?
The eyes and teeth are not the problem, I remade them and they work fine now but the vertices are the real problem.
I have been trying to get my animations from Maya into Irrlicht and I have read lots of material on the forums about it. I purchased Ultimate Unwrap 3D Pro and I am able to get my animations from Maya into Unwrap and from Unwrap to Irrlicht, but no matter what format I use a few vertices in every model do not animate. They animate properly in Maya and Unwrap and even after saving as either b3d or X they still animate properly in Unwrap but not in Irrlicht.
The entire model animates properly except for a few vertices which stay in the position that they are located at in the first frame. Has anyone else had similar problems to this? Is there some weighting issues or restrictions from Maya to Irrlicht?
The eyes and teeth are not the problem, I remade them and they work fine now but the vertices are the real problem.
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
I reported this as a bug.
See here:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=36520
You can fix it by unwelding your faces at the material borders.
See here:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=36520
You can fix it by unwelding your faces at the material borders.
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
The next updated version of UU3D will have a tool to unweld material borders. You can fix your entire model with a single click.ellemayo wrote:ah, that's a good solution, I just ended up UV Mapping my characters and texturing them that way... takes more time to lay it out but works fine as well
Exporting out to DirectX or B3D and into Irrlicht should be a breeze.
Works fine here. Animated directX file with unwelded material borders. 3 materials/3 textures.
http://img191.imageshack.us/img191/8174/mat32.png
Works fine here too:
http://img684.imageshack.us/img684/9317/mat31.png
http://img191.imageshack.us/img191/8174/mat32.png
Works fine here too:
http://img684.imageshack.us/img684/9317/mat31.png
Can it be possible to import animations from a separate file than the 3D Model itself, something like that would be very usefull for my game.
Everything is possible, IF you know how.
Checkout my website for my upcoming game.(Currently on hold!)
http://www.projectbattle360.webege.com
Checkout my website for my upcoming game.(Currently on hold!)
http://www.projectbattle360.webege.com
-
- Competition winner
- Posts: 1123
- Joined: Sun Jun 10, 2007 11:14 pm
Yep, I just asked this question sometime earlier. Let me give an example code, assume node1 and node2 are IAnimatedMeshSceneNodes and you are using the animation from node1 for node2.
Not tested, so you might have to work around with it a bit.
Code: Select all
CSkinnedMesh* anim1 = (CSkinnedMesh*)node1->getMesh();
CSkinnedMesh* anim2 = (CSkinnedMesh*)node2->getMesh();
anim2->useAnimationFrom(anim1);
Thanks it works great!
Now i have my 3D Model in one file and all its animations in another. This also allows me to reuse animations on different Character models.
Now i have my 3D Model in one file and all its animations in another. This also allows me to reuse animations on different Character models.
Everything is possible, IF you know how.
Checkout my website for my upcoming game.(Currently on hold!)
http://www.projectbattle360.webege.com
Checkout my website for my upcoming game.(Currently on hold!)
http://www.projectbattle360.webege.com