-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathEshan.html
25 lines (24 loc) · 1004 Bytes
/
Eshan.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="tajmahal.obj"></a-asset-item>
<a-asset-item id="jag_mtl" src="tajmahal.3ds"></a-asset-item>
</a-assets>
<a-marker type="pattern" url="pattern-home.patt">
<a-entity obj-model="obj: #jag; mtl: #jag_mtl" position="0 0 0" rotation="-90 0 0" scale="0.002 0.002 0.002 ">
<a-text value="Artifact Name"></a-text>
</a-entity>
<a-text value="\n      \n       \n Taj Mahal\n IT18184440 \n T.E.Kahawandala" height="3" width="3" align="center" rotation="-90 0 0" color="Green" position= "0 -0.3 0"></a-text>
</a-marker>
<a-entity camera></a-entity>
</a-scene>
</body>
</html>