Cal3D for Haskell is a binding to the animation library, Cal3D.
Cal3D is a C++ library for skeletal animation. It does not do any rendering itself, but provides hooks for a graphics API (such as OpenGL) to do the actual drawing. For more information about the C++ Cal3D library, see its Cal3D FAQ, its homepage, and its GNA project page.
2 For Haskell
Cal3D for Haskell version 0.1 was released June 26, 2009. There are three packages:
- cal3d: Just the Haskell binding to (initially just a small part of) the library itself.
- cal3d-opengl: Makes Cal3D easier to use with OpenGL. Since Cal3D itself does not depend on any particular graphics API, this is a separate package.
- cal3d-examples: One or more examples to show how to use it.
New users should read The Cal3D User's Guide (of the C++ library) to get an understanding of the architecture of the system, before looking at the API documentation. The initial release of the Haskell binding contains just enough to do what is described in the "Usage" section of that document.
3 Future Plans
For the 0.2 release when it is ready:
- Simplified error handling
- Most CoreModel functions implemented
- Examples to contain a general viewer (for any Cal3D model)