View Single Post
Old 19th June 2009, 07:03 PM   #10
lisa
Senior Member
Professional user
 
lisa's Avatar
 
Join Date: Mar 2005
Location: Phoenix, AZ
Posts: 917
Default Re: Bones and joints

Here's a sample plug-in with source that shows how to extract just the joint information from a model. (attached)

I've also included a sample model to show you how to build your groups in the hierarchy for it to work. Basically, you group each object with its parent, i.e. foot to shin, shin to thigh, thigh to pelvis, etc. If there's more than one object in the group, the first object is considered the parent.

The code is not thoroughly tested, but it's based on other plugins I've written so it should be a good jumping-off point for writing your own. It's in C, so you'll need the AC3D SDK if you don't have it already. The lib file for the SDK comes with AC3D, but I think you need to write support if you want the header files.
Attached Files
File Type: zip exportskeleton.zip (31.5 KB, 241 views)
lisa is offline   Reply With Quote