|
| 1 | +<!DOCTYPE html> |
| 2 | +<html> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <title>Anime UI</title> |
| 6 | + <meta name="description" content="Star Trek Misfits"> |
| 7 | + <script src="../../lib/aframe/aframe-master.min.js"></script> |
| 8 | + <script src="https://unpkg.com/aframe-event-set-component@5.x.x/dist/aframe-event-set-component.min.js"></script> |
| 9 | + </head> |
| 10 | + <body> |
| 11 | + <a-scene renderer="colorManagement: true;" xr-mode-ui="XRMode: xr" inspector="" keyboard-shortcuts="" screenshot="" device-orientation-permission-ui=""> |
| 12 | + <a-assets> |
| 13 | + <a-asset-item id="ship" src="ship.glb"></a-asset-item> |
| 14 | + <a-asset-item id="station" src="station.glb"></a-asset-item> |
| 15 | + <a-asset-item id="shuttle" src="shuttle.glb"></a-asset-item> |
| 16 | + <a-asset-item id="runabout" src="runabout.glb"></a-asset-item> |
| 17 | + |
| 18 | + <img id="sky" src="../img/photosphere/galaxy-sky.jpg" alt="sky"> |
| 19 | + </a-assets> |
| 20 | + |
| 21 | + <a-entity position="4 0 4" rotation="0 0 0"> |
| 22 | + <a-camera position="0 0 0" near="0.1" camera="" rotation="" look-controls="" wasd-controls=""></a-camera> |
| 23 | + </a-entity> |
| 24 | + |
| 25 | + <a-entity position="6 -1 -40" scale="1 1 1" rotation="15 35 0"> |
| 26 | + <a-entity gltf-model="#station" animation="property: rotation; from: 0 0 0; to: 0 360 0; loop: true; elasticity:1000; dur: 500000; easing: linear;"></a-entity> |
| 27 | + </a-entity> |
| 28 | + |
| 29 | + <a-entity position="5 0 0" scale="0.03 0.03 0.03" rotation="0 0 0"> |
| 30 | + <a-entity gltf-model="#shuttle" animation="property: rotation; from: 0 0 -45; to: 0 0 15; loop: true; dir: alternate; easing: linear; dur: 25000"></a-entity> |
| 31 | + </a-entity> |
| 32 | + |
| 33 | + <a-entity position="2.5 0 -1" scale="0.4 0.4 0.4" rotation="0 180 0"> |
| 34 | + <a-entity gltf-model="#runabout" animation="property: rotation; from: 0 0 -45; to: 0 0 15; loop: true; dir: alternate; easing: linear; dur: 25000"></a-entity> |
| 35 | + </a-entity> |
| 36 | + |
| 37 | + |
| 38 | + <a-entity position="4 0 -2" scale="1 1 1" rotation="0 0 0"> |
| 39 | + <a-entity gltf-model="#ship" animation="property: rotation; from: 0 0 -5; to: 0 0 5; loop: true; dir: alternate; easing: linear; dur: 25000"></a-entity> |
| 40 | + </a-entity> |
| 41 | + |
| 42 | + <a-entity light="type: directional; color: #ccc; intensity: 0.4" position="0 1 4" rotation="45 0 0"></a-entity> |
| 43 | + <a-entity light="type: directional; color: #ccc; intensity: 0.4" position="0 1 -4" rotation="-45 0 0"></a-entity> |
| 44 | + <a-entity light="type: ambient; color: #ccf; intensity: 1"></a-entity> |
| 45 | + |
| 46 | + <a-sky src="#sky" color="#888" material="" geometry="" scale=""></a-sky> |
| 47 | + </a-scene> |
| 48 | + </body> |
| 49 | +</html> |
0 commit comments