I suggest you to export your 3D model as a md2 file with the help of blender.
You will then need a md2.txt file, where you give information about the object and its keyframes.
For example if you have a character, which has 2 animations (move=4 frames and idle=2 frames) your file should look like this:
# MD2 Frame Name List
"nothing" 1
"move" 4
"idle" 2