提交 e1d15277 编写于 作者: J Jerome Etienne

more work

上级 4bf66d53
<!DOCTYPE html>
<script src="vendor/aframe.min.js"></script>
<!-- jsartookit -->
<script src="../../three.js/vendor/jsartoolkit5/build/artoolkit.min.js"></script>
<script src="../../three.js/vendor/jsartoolkit5/js/artoolkit.api.js"></script>
<!-- aframe-artoolkit -->
<script src="../aframe-ar.js"></script>
<!-- include threex.artoolkit -->
<script src="../../three.js/threex-artoolkitcontext.js"></script>
<script src="../../three.js/threex-artoolkitsource.js"></script>
<script src="../../three.js/threex-armarkercontrols.js"></script>
<script src="https://rawgit.com/donmccurdy/aframe-extras/v2.1.1/dist/aframe-extras.loaders.min.js"></script>
<!-- </head>
<body>
<a-scene>
<a-assets>
<a-asset-item id="myPlyModel" src="myModel.ply"></a-asset-item>
</a-assets>
<a-entity ply-model="src: #myPlyModel" rotation="-90 0 0"></a-entity>
</a-scene>
</body>
</html> -->
<body style='margin : 0px; overflow: hidden;'><div style='position: fixed; top: 10px; width:inherit; text-align: center; z-index: 1;'>
<a href="https://github.com/jeromeetienne/AR.js/" target="_blank">AR.js</a> - example for a-frame
<br/>
Contact me any time at <a href='https://twitter.com/jerome_etienne' target='_blank'>@jerome_etienne</a>
</div>
<!-- <a-scene embedded artoolkit='sourceType: video; sourceUrl:../../data/videos/headtracking.mp4;'> -->
<a-scene embedded artoolkit='sourceType: webcam'>
<!-- <a-scene embedded artoolkit='sourceType: image; sourceUrl:../../data/images/armchair.jpg;'> -->
<a-assets>
<a-asset-item id="assetPikachu" src="models/pikachu.ply"></a-asset-item>
<a-asset-item id="assetAframe" src="models/aframe.ply"></a-asset-item>
</a-assets>
<!-- <a-scene artoolkit='sourceType: image; sourceUrl:../../data/images/screenshot.png'> -->
<a-marker type='pattern' url='../../data/data/patt.hiro'>
<!-- <a-marker type='unknown'> -->
<!-- <a-box depth="1" height="1" width="1" position='0 0 0.5' material='opacity: 0.5; side:double; color:blue;'></a-box> -->
<!-- <a-entity ply-model="src: #assetPikachu" rotation="0 0 180" scale='0.1 0.1 0.1'></a-entity> -->
<a-entity ply-model="src: #assetAframe" rotation="0 0 90" scale='0.01 0.01 0.01'></a-entity>
</a-marker>
<a-entity camera></a-entity>
</a-scene>
</body>
</html>
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册