This past week I implemented a motion capture viewer. The program reads in motion capture data from a Biovision BVH file and displays the animation using OpenGL. Very fun stuff. You can watch movies of my results.
I had quite a bit of fun writing the parser for the BVH file. It was a bit of a throwback to my compiler design days. However, I had Boost.Spirit in my tool belt this time. Using Spirit, I was able to automatically create the parser from the BVH grammar. For even more coolness, Spirit uses template metaprogramming to generate the parser at compile time and allow the programmer to specify the grammer in C++ notation. Very cool stuff!
Posted by enigma at May 7, 2004 11:16 PM