<!DOCTYPE html>
<html>
<head>
<title>3D Models - 01 - glTF</title>
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
<script src="//cdn.rawgit.com/donmccurdy/aframe-extras/v4.0.2/dist/aframe-extras.min.js"></script>
<script src="../js/livecode.js"></script>
</head>
<body>
<a-scene>
<a-assets>
<a-asset-item
id="avocato"
src="https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/Avocado/glTF/Avocado.gltf"
></a-asset-item>
</a-assets>
<a-gltf-model
position="0 1.6 -1"
scale="8 8 8"
src="#avocato"
></a-gltf-model>
<a-box position="-1 1.6 -1" color="red">
</a-box>
<a-light type="ambient" intensity="2" color="#ffffff"></a-light>
</a-scene>
</body>
</html>