forked from cvasanne/SartreVR_Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
magicaVR.html
27 lines (20 loc) · 986 Bytes
/
magicaVR.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
<!DOCTYPE html>
<html>
<head>
<title>SartreVR</title>
<meta name="description" content="Hello, WebVR! - A-Frame">
<script src="https://aframe.io/releases/0.5.0/aframe.min.js"></script>
</head>
<body>
<a-scene>
<a-assets>
<a-asset-item id="raum_mtl" src="raumtest.mtl"></a-asset-item>
<a-asset-item id="raum_obj" src="raumtest.obj"></a-asset-item>
</a-assets>
<a-entity light="type: point; intensity: 1.0; distance: 500; decay: 2" position="100 20 0 "></a-entity> <!-- Beleuchtung, Standard Beleuchtung wird dabei ausgeschaltet. Type=Point Glühbirne z.b. -->
<a-entity light="type: point; intensity: 1.0; distance: 500; decay: 2" position="20 20 0 "></a-entity> <!-- Beleuchtung, Standard Beleuchtung wird dabei ausgeschaltet. Type=Point Glühbirne z.b. -->
<a-entity obj-model="obj: #raum_obj; mtl: #raum_mtl" scale=".3 .3 .3"></a-entity>
<a-sky color="#ECECEC"></a-sky>
</a-scene>
</body>
</html>