Sign in to follow this  
BloodLust666 (dupe)

Bones and animation

Recommended Posts

More the most part I think i'm pretty much done with my engine; the basics are all in, the only thing I need to add is bone structures and ability to animate 3d objects. Is there a tutorial somewhere or even a library (preferably open source) that I could look at to help me out?

Share this post


Link to post
Share on other sites
awesome thanks :)

in addition, is there a reference i can look at to use bones with .3ds files? my engine can load 3ds file, i use it from another tutorial and i notice it CAN load an "animation chunk" but it doesn't do anything with it. does a .3ds file hold bone data?

if not, what 3d data file does hold bone information?

Share this post


Link to post
Share on other sites
I really don't know, but I wouldn't bet on it, at any rate, it is not required that a 3ds file contain any animation information at all, it was meant for a 3D Modeling package, not games.

here is a link containing some useful links to code and specs for 3ds.

Personally I am using a binary version of Doom3/Quake4 MD5 format, I would recommend following a similar approach, the easiest for you would probably be to replace your 3ds code with Cal3D.

You can also do something like what Poser/DAZ3D does, and save bone and weight data in a separate file, referencing the geometry in the 3ds file(s) (Poser uses OBJ files though).

Share this post


Link to post
Share on other sites
You could do what I did if you're using DirectX, take the tutorial that comes with the SDK and rip it apart then put it back together again for your engine.

Took a bit of tweaking but it works fine for me now, otherwise I don't know how long it would have taken me to do animations.

Though it also means you'll have to use .x models...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this