
Included, please find two DLLs: A main Havok content tools wrapper, and a simple C# assembly that actually exposes a content importer for use with XNA Game Studio version 3.1. Drop these in your solution folder, and point your content project at the HavokImporter.dll assembly (add as a Reference to the Content project). Then you can add .hkx files to your Content project, and use as meshes as usual.
This is a work in progress. It current can import static meshes and scenes exported through the free Havok Content Tools from the Havok Animation / Behavior / Physics libraries available at www.havok.com. Animations are also imported, but not yet tested. The biggest missing feature is skinned mesh support -- no such support is yet present.
In the future, this importer may also support lights and cameras, as those are supported in the Havok file format.
Unfortunately, the default Havok file format does not support multiple animations per file. Thus, you'll have to import one file per animation, and merge them yourself. Also, Havok does not support morph animations / blend shapes, so no such support is possible in this importer, at least without extending the Havok filter tools.
jwatte / Math Is Cool
www.enchantedage.com
2009-11-29
| Attachment | Size |
|---|---|
| HavokImporter.20091129.zip | 1.61 MB |
Comments
Hello there
Hi jwatte, does your wrapper support Havok Cloth? Any new updates recently?
Thanks,
jeff
No, it does not support Havok
No, it does not support Havok Cloth, because there is no runtime for the Xbox that is available for XNA developers.
Havok Import 3ds Max
You think you could make an importer such as this for 3ds Max via max script? To make models and animations viewable from there and exportable?
Miles,
Import and Export are very
Import and Export are very different. You can develop an importer for Havok models for 3ds Max, but it wold have to be developed in C++. I may be able to do that, but it would take a fair amount of work, and would have to be done as a contract job, because that's not a feature that I need myself.