-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcharis.html
25 lines (24 loc) · 1.03 KB
/
charis.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- include A-Frame obviously -->
<script src="https://aframe.io/releases/0.7.1/aframe.min.js"></script>
<!-- include ar.js for A-Frame -->
<script src="https://jeromeetienne.github.io/AR.js/aframe/build/aframe-ar.js"></script>
</head>
<body style='margin : 0px; overflow: hidden;'>
<a-scene embedded arjs>
<a-assets>
<a-asset-item id="jag" src="3dsource/lincolnsketchmodel.obj"></a-asset-item>
<a-asset-item id="jag_mtl" src="3dsource/lincolnsketchmodel.mtl"></a-asset-item>
</a-assets>
<a-marker type="pattern" url="pattern-marker.patt">
<a-entity obj-model="obj: #jag; mtl: #jag_mtl png: #jag;" position="0 0 0" rotation="-100 0 0" scale="0.250 0.250 0.250 ">
<a-text value="Artifact Name"></a-text>
</a-entity>
<a-text value="\n      \n       \n lincoln\n IT18008906 \n P.C.A.Silva" height="3" width="3" align="center" rotation="-90 0 0" color="red" position= "0 -0.3 0"></a-text>
</a-marker>
<a-entity camera></a-entity>
</a-scene>
</body>
</html>