Thanks this is great! However, when i download my scene, it is empty, when I try to view it. Do you know why? Yours works for me…
This is because your mesh has no material:
I see I see… Thanks! I thought the default material would be enough.
Btw. if I use my mime-type with the zip part ‘model/vnd.usdz+zip’, iOS asks me if i want to “view” or “download” the file, if I use the Babylon download tool, then it probably does not have the correct mime type, so it only asks for “download”. The “view” option would directly lead me to iOS AR viewer.
the default material is not PBR hence why
I see. The download tool has not mime type but if you are game for a tiny PR we should add it
I saw that the USDZExporter checks, if the material is StandardMaterial or PBR and only exports it then. Maybe that is not correct?
Going to put that tiny PR on my agenda!
In your case there is no material at all. We could consider using the default material as well
I see no problem