Saturday, December 4, 2010
Animation library for XNA 4.0
This is a simple animation library it offers animation blending, when changing animation or animation blending from multiple animations on the same set of bones.
It has a quaternion based implementation and a matrix based implementation, the matrix based implementation doesn't offer multiple animations on the same set of bones but unlike the quaternion implementation it has scale support;When used in code there should be no big difference.
It is time-based so it doesn't count if your game is playing at 60 frames/second or at 5000.
It is licensed under the MIT/X11 license so you can do what you feel with it you just have to mention my name on your credits.
If you download it you agree with the terms of the license.
It is on Microsoft SkyDrive :
Reference :
http://cid-58baf3506093b62a.office.live.com/self.aspx/.Documents/SkinningLib/v15/CommunistSkinning.rtf
License:
http://cid-58baf3506093b62a.office.live.com/self.aspx/.Documents/SkinningLib/v15/LICENSE.txt
You can download it from here:
http://cid-58baf3506093b62a.office.live.com/self.aspx/.Documents/SkinningLib/v15/CommunistSkinning^_15d.zip
If you have something to say live a comment here or send me an email on kiki_karon@yahoo.com
I hope the gods of coding watch over you :)
Subscribe to:
Post Comments (Atom)

Version 1.5.x !!!
ReplyDeleteReleased a new version, the links on this post where updated.
-Fixed bug regarding blending from a short animation to a long animation.
-Added the ability to play animations in reverse.
what a communist thing....lol
ReplyDeleteMicrosoft sucks your blood and your money.
XNA is devil. OpenGL is the only way out.
-The "Communist" thing is a joke, my country was a communist one and those where bad times for as, after the communist regime ended many people from here used the "I'm form a communist country pleas help me" technique also known as the retard's way out , with the name of this blog I'm just making a statement against those people.
ReplyDelete-Microsoft is the only company that has an initiative regarding indie developers and for that they will always have my support and my admiration.
-I have no affiliation with Microsoft and except for my Windows license I believe there where no many that I gave to them.
-I use XNA in my free time, I don't make money out of it is just for fun.
-I can't exactly see how you can compare XNA and OpenGl as one is a complete API and the other is a graphics API, but if you want to compere the latest OpenGl with the latest Direct3D, I consider Direct 3D superior.
Well said, Popescu. :)
ReplyDeleteCant you please give an example on how to use this with a texture?
ReplyDeletedoes it work with FBX files?
ReplyDeleteIt is using the XNA content pipeline, so it is working with FBX as well as XNA can, also the content pipeline element source is there so you can extend it as you want.
ReplyDeleteThis lib is amazing, very compact and easy to use, and has all the features you would ever need for animation. I had one question I hope you can answer. When using the animation mixer, if I initialize a track to use MatrixTransforms, the model becomes squished and rotated, but otherwise animates just fine. If I use quaternions instead, the model looks normal, but is shrunk down, and the animations appear to double in length. Odds are I'm using the lib incorrectly, do you have any idea where I have went astray?
ReplyDeleteI can't tell without first looking at your data, there could be bugs in there, you can send me an email with an example of the problem and if I will have time I will try to find a solution.
DeleteTime is a big problem for me so don't expect an overnight answer.
I really respect your time and don't want to waste it making you look for my bugs. I downloaded your example of course and have poured over that, however, only the animation player is used. Is it possible that you have an example of using the mixer? Thank you very much for the lib, and the help!
DeleteI'm an idiot, you provided one in the solution. _t1. Thank you.
DeleteDid you use kw X-Port with 3DS Max for your example model, I'm trying to figure out the best way to make models for XNA 4.0.
DeleteI used the kw X-Port from http://www.kwxport.org/ ,it's the only .x exporter respecting the standard that I know of.
DeleteIt shouldn't meter as I am using the XNA importer.