Back to Parent

<html>
  <head>
    <script src="https://aframe.io/releases/0.5.0/aframe.min.js"></script>
    <script src="js/pano_material.js"></script>
  </head>
  <body>
    <a-scene>
      <!-- Asset management system. -->
      <a-assets>
            <a-asset-item id="mesh" src="texturesfinal/untitled.obj"></a-asset-item>
            <a-asset-item id="texture" src="texturesfinal/untitled.mtl"></a-asset-item>
      </a-assets>
  
       <a-camera user-height="1.6" fov="10" look-controls-enabled="false"></a-camera> 
      
       <a-entity position="0 1.6 -20" rotation="-90 0 0" scale="0.1 0.1 0.1" 
                 obj-model="obj: #mesh"
                 material="shader: depth-shader;color: 1.0 1.0 1.0">
       </a-entity>
               
      <a-sky id="sky" color="#AAAAFF"></a-sky>
    </a-scene>
  </body>
</html>
Click to Expand

Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0