Layar Developer Documentation

Back to

3D Content Creation

Developers can add 3D objects to their layers or Creator Campaigns. For this purpose, we have defined the Layar3D (.l3d) file format that allows storage of textured 3D models in a single file. This file format is optimized for mobile parsing and viewing. Developers scan choose one of the following to create their own 3D models for use in Layar:

Model requirements 

You can use any 3D modeling software application to create your 3D models, as long as you can export the model to Wavefront (.obj/.mtl) format. When creating your models, take the following into account:    

Please NOTE that the maximum file size is not restricted by the layar client. However, based on best practices, 1mb should be enough to show nice 3d models on a mobile phone device. Models with lots of details will not be seen on a mobile screen. It is a big challenge for the layar client performance as well since it is highly possible to cause rendering issues. The user experience will not be good if the user needs to wait for very long time to download 3d models.

Texture requirements

We do support texturing of the 3D model, but only for setting the diffuse color of the material. 

MIME type   

On the client we do not check any MIME types, so we have not defined one.

Tutorials for creating good 3D models