The correct bone data to export from blender to view in ogl?
This looks quite complicated. I guess you can easily screw up the order of how you apply the matrix transformations. Try starting with a very simple system, where you can keep everything in your head.