-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (58 loc) · 2.22 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html>
<head>
<title>Hello Spaceman</title>
<script src="https://aframe.io/releases/0.7.0/aframe.min.js"></script>
<script src="https://unpkg.com/aframe-text-geometry-component@^0.5.0/dist/aframe-text-geometry-component.min.js"></script>
<!--TODO: I need a favicon-->
</head>
<body>
<a-scene>
<a-assets>
<img id="skyTexture" src="https://i.imgur.com/let82Vr.jpg">
<a-asset-item id="teapot" src="teapot.obj"></a-asset-item>
<a-asset-item id="optimerBoldFont" src="https://rawgit.com/mrdoob/three.js/dev/examples/fonts/optimer_bold.typeface.json"></a-asset-item>
<img id="sphereTexture" src="SMS-sphere.jpg">
<!-- <a-asset-item id="iss" src="international_space_station/scene.gltf"></a-asset-item> -->
<!-- a-asset-item Retrorocket -->
</a-assets>
<a-sky src="#skyTexture"></a-sky>
<a-entity
text-geometry="value: Hello Spaceman"
position="-2.25 2.25 -3">
</a-entity>
<!-- // Utah Teapot // -->
<a-entity
obj-model="obj: #teapot"
position="-0.9 3 -4"
rotation="34 20 30">
</a-entity>
<!--v TODO: Retro Rocket v-->
<a-entity
>
</a-entity>
<!-- // Spaceman Stories Logo // -->
<a-sphere
src="#sphereTexture"
position="0 2.5 5"
radius="1.25"
rotation="0 90 0">
</a-sphere>
<!--v TODO: ISS Model over Spaceman Stories Logo v
<a-entity gltf-model="url(international_space_station/scene.gltf)" position="1000 1000 1000"></a-entity>
-->
<a-light
type="point"
intensity="1"
position="0 2 0">
</a-light>
<a-light
type="point"
intensity="1"
position="100 500 1000"
color="blue"
</a-light>
<!-- <a-light type="ambient"></a-light> -->
</a-scene>
</body>
</html>