-
Notifications
You must be signed in to change notification settings - Fork 0
/
t1.html
25 lines (22 loc) · 1.07 KB
/
t1.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
<html>
<head>
<meta charset="utf-8">
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
<!-- <script src="https://unpkg.com/[email protected]/dist/aframe-environment-component.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/[email protected]/camera_utils.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/[email protected]/drawing_utils.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/[email protected]/face_mesh.js" crossorigin="anonymous"></script>
<script src="./gaze-control.js"></script> -->
</head>
<body>
<a-scene>
<a-assets>
<a-asset-item id="tree-obj" src="./model/castle/castle.obj"></a-asset-item>
<a-asset-item id="tree-mtl" src="./model/castle/castle.mtl"></a-asset-item>
<a-asset-item id="tree-test" src="./static/a.txt"></a-asset-item>
</a-assets>
<a-entity obj-model="obj: #tree-obj; mtl: #tree-mtl"></a-entity>
</a-scene>
<a-camera></a-camera>
</body>
</html>