Loading Maya Models

Can anyone tell me where to find source or a tutorial for loading Maya models (.mb, .x, .obj) or animations in OpenGL?
I’m using MacOS 9 if it matters.

Thanks!