-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (31 loc) · 1.79 KB
/
index.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<html>
<head>
<!-- <script src="https://aframe.io/releases/0.8.0/aframe.min.js"></script>
<script src="https://unpkg.com/aframe-animation-component@%5E3.2.x/dist/aframe-animation-component.min.js"></script> -->
<meta name="description" content="Hello, WebVR! • A-Frame">
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
</head>
<body>
<a-scene inspector="url: https://cdn.jsdelivr.net/gh/aframevr/aframe-inspector@master/dist/aframe-inspector.min.js">
<a-assets>
<a-asset-item id="tree" src="./mod/f15.glb"></a-asset-item>
</a-assets>
<a-entity id="GODlightJUMP" geometry="primitive: sphere; radius: 0.4" material="opacity: 0"
light="type: point; color: #FFF" position="0 1.31793 -3"
animation="property: position;dur:500; to: 0 1.5 -3; dir: alternate; loop: NaN"></a-entity>
<a-entity id="GODJUMP" gltf-model="#tree" rotation="0 180 0" geometry="primitive: sphere; radius: 0.2"
material="shader: flat" color: #FFF position="0 0.75735 -2"
animation="property: position;dur:500; to: 0 1 -2; dir: alternate; loop: true"></a-entity>
<a-entity id="GODlight" light="type: directional; color: #FFF; intensity: 1000" rotation="0 180 0"
position="0 0.2 -3" animation="property: position;dur:500; to: 0 0.8 -3; dir: alternate; loop: true"></a-entity>
<a-entity id="GODlight2" light="type: point; color: #FFF; intensity: 1" rotation="0 180 0" position="0 0.2 -1">
</a-entity>
<!-- <a-entity gltf-model="#tree" position="0 0.5 -3" rotation="0 180 0" width="5" height="5" color="#4CC3D9"
radius="10"></a-entity> -->
<a-cylinder position="-0.05 0.5 -2.5" radius="0.5" height="0.5" color="#FFC65D"></a-cylinder>
<a-sky src="./mod/360.jpg" rotation="0 270 0"></a-sky>
</a-scene>
</body>
</html>
<script>
</script>