Repository navigation
Expand file tree
/
Copy pathvr.html
More file actions
37 lines (32 loc) · 1.76 KB
/
Copy pathvr.html
File metadata and controls
37 lines (32 loc) · 1.76 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html><html lang="ja"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width">
<title>東尋坊 for VR - 福井県坂井市</title>
<!--<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>-->
<script src="https://code4fukui.github.io/aframe/dist/aframe-master.min.js"></script>
<!--
<script src="https://rawgit.com/fernandojsg/aframe-teleport-controls/master/dist/aframe-teleport-controls.min.js"></script>
<script type="module" src="./drone-controls-mode2.js"></script>
-->
<script type="module" src="https://code4fukui.github.io/glb-viewer/mc-controls.js"></script>
</head>
<body>
<a-scene id="scene" background="color: #4080e0" renderer="colorManagement: true">
<a-assets timeout="10000">
<a-asset-item id="base" src="./tojinbo-base1.glb"></a-asset-item>
</a-assets>
<a-entity gltf-model="#base" position="-20 -25 -8" scale="1 1 1" rotation="0 180 0"></a-entity>
<a-entity light="type: ambient; color: #FFF"></a-entity>
<!-- <a-sphere id="sphere" color="#f22"></a-sphere> -->
<!--
<a-entity id="cameraRig" position="-30 20 80" rotation="0 -20 0">
<a-entity id="head" camera position="0 1.7 0"mc-controls look-controls x-drone-controls-mode2></a-entity>
<a-entity oculus-touch-controls="hand:left" teleport-controls="button:trigger; collisionEntities:.collidable; cameraRig:#cameraRig; teleportOrigin:#head;"></a-entity>
<a-entity oculus-touch-controls="hand:right" teleport-controls="button:trigger; collisionEntities:.collidable; cameraRig:#cameraRig; teleportOrigin:#head;"></a-entity>
</a-entity>
-->
<!--
<a-entity id="leftHand" hand-tracking-controls="hand: left;"></a-entity>
<a-entity id="rightHand" hand-tracking-controls="hand: right;"></a-entity>
-->
</a-scene>
</body>
</html>