How to use the models
Using the models
The manual states, «A-Frame provides components for loading glTF, OBJ, COLLADA. We recommend using glTF if possible as glTF gains adoption as the standard for transmitting 3D models over the Web». In Version 0.9 the Collada Model has been removed.
glft (Sketchfab)
Download the models in the gltf Format (GL Transmission Forma) and include the path and file in an entity. Documentation
<a-entity id="model" rotation="0 -90 0" position="0 0 0" gltf-model="model/scene.gltf" scale="0.3 0.3 0.3" ></a-entity>
obj (Clara.io)
<a-entity scale=".15 .15 .15" id="model" position="0 1 0" obj-model="obj: model/jupiter.obj; mtl: model/jupiter.mtl" ></a-entity>
Collada (Sketchup’s 3D Warehouse), only version < 0.9
<a-entity scale="1 1 1" id="model" position="0 1 0" collada-model="model/model.dae" ></a-entity>
In Version 0.9 the Collada Model has been removed.
Previous TopicNext Topic