360image.html 984 Bytes
Newer Older
NENAVATH SRIKANTH's avatar
NENAVATH SRIKANTH committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Tour MLRIT</title>
  <script src="https://aframe.io/releases/0.8.0/aframe.min.js"></script>
</head>
<body>
  <a-scene>
    <a-assets>
      <img id="i1" src="/home/swecha/Desktop/13-06-2018 01.23.18.jpg">  
      <img id="i2" src="/home/swecha/Desktop/13-06-2018 01.20.34.jpg">  
      <img id="i3" src="/home/swecha/Desktop/13-06-2018 01.28.37.jpg">
    </a-assets>
    <a-image src="#i1" position="-1.5 -2 -3" onclick="show('i1')"></a-image>  
    <a-image src="#i2" position="0 -2 -3" onclick="show('i2')"></a-image>     
    <a-image src="#i3" position="1.5 -2 -3" onclick="show('i3')"></a-image>   
    <a-sky src="#i1" id="sky"></a-sky>
    <a-camera>
      <a-cursor color="white"></a-cursor>
    </a-camera>
  </a-scene>
  <script src="360view.js"></script>
</body>
</html>