To run the python script you need python 3 with PyQt4 installed.

Usage:
> obj2bdl input.obj [output.bdl]

The entire model has to be triangulated and uv-textured. The following image formats for textures are supported: BMP, GIF, JPEG, PNG, PBM, PGM, PPM, TIFF, XBM and XPM. The width and height of a texture must be one of these values: 4, 8, 16, 32, 64, 128, 256, 512 or 1024. The textures doesn't have to be square. The textures are at the moment stored in an uncompressed RGBA8 format, meaning textures take up quite a bit of space, so it's not recommended to use to large textures.

Notice that the BDL files created can't be viewed with bmdview2.
