Created
April 22, 2018 08:43
-
-
Save lwk1122/21a39b6f7a984901b38580131e71ca4e to your computer and use it in GitHub Desktop.
test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://aframe.io/releases/0.8.0/aframe.min.js"></script> | |
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/1.5.5/aframe/build/aframe-ar.js"></script> | |
<body style='margin : 0px; overflow: hidden;'> | |
<a-scene embedded arjs='sourceType: webcam;'> | |
<a-assets> | |
<a-asset-item id="untitled" src="https://cdn.rawgit.com/lwk1122/test-web-armodel/master/untitled.gltf"></a-asset-item> | |
</a-assets> | |
<a-entity scale="0.5 0.5 0.5" gltf-model="#untitled"></a-entity> | |
<a-marker-camera preset='hiro'></a-marker-camera> | |
</a-scene> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment