Skip to content

Instantly share code, notes, and snippets.

@peted70
Created June 15, 2018 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peted70/8576d609ef10d1e65b74c8a73c5a8a31 to your computer and use it in GitHub Desktop.
Save peted70/8576d609ef10d1e65b74c8a73c5a8a31 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>WebVR on Hololens</title>
<script src="https://aframe.io/releases/0.8.0/aframe.min.js"></script>
<script type="javascript">
</script>
</head>
<body>
<a-scene background="#00000000">
<a-assets>
<a-asset-item id="sun" src="sun.glb" response-type="arraybuffer"></a-asset-item>
</a-assets>
<a-entity gltf-model="#sun" scale = "15 15 15" position="0 0 -10"></a-entity>
<a-camera>
<a-cursor material="color: #FFF; shader: flat;"></a-cursor>
</a-camera>
</a-scene>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment