I looked into it a bit further now. Apparently the descriptions in musdb are not entirely correct. As stated there, a ZIP file with a .obj and optionally .mtl files are required. What I missed before and what is not documented thus far is that the .mtl file may reference an image file for retrieving texture information. JPG files (.jpg
, not in any other spelling) are allowed in the ZIP for that.
Furthermore I found a small bug in the library we use for rendering the 3D objects from the ZIP. In effect it seems to work fine if all three file names are aligned. Say you have three files in the ZIP:
01.obj
01.mtl
01.jpg
In this case, the ZIP file would need to be named 01.zip
.
If the .mtl references a file that does not exist in the ZIP, the object cannot be rendered.
Note that hidden files or subfolders are not allowed in the ZIP file.