-
Notifications
You must be signed in to change notification settings - Fork 3
/
test-stereographic.html
56 lines (50 loc) · 2.55 KB
/
test-stereographic.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
<!DOCTYPE html>
<!--
* XSeen JavaScript Library
* http://xseen.org/
*
* (C)2017 Daly Realism, Los Angeles
*
Dual licensed under the MIT and GPL licenses.
See details at http://xseen.org/license
-->
<html>
<head>
<meta charset=utf-8>
<title>XSeen: Loading Background with VR Navigation Mode</title>
<script src='../../Release/XSeenExternals.js'></script>
<script src='../../Release/WebVR.js'></script>
<link rel='stylesheet' type='text/css' href='../../Release/xseen.css'>
<script src='../Release/XSeen.js'></script>
<script src='../src/tags/solids.js'></script>
</head>
<body>
<x-scene>
<x-asset>
<x-geometry id='StdCone' shape='cone' height='1.5' radius='.5'></x-geometry>
</x-asset>
<x-light type='directional' color='white' direction='0 0 -1'></x-light>
<x-light type='directional' color='green' direction='.707 0 .707'></x-light>
<!-- x-camera id='SceneCamera' type='vr' track='device' position='1 0 10'></x-camera -->
<x-camera id='SceneCamera' type='stereo' track='device' position='1 0 10'></x-camera>
<x-background skycolor='#882244' src='Resources/textures/desert_1_*.jpg'></x-background>
<x-cone geometry='StdCone' color='pink' position='-1 -1 1' id='p-3-3+3'></x-cone>
<x-cone geometry='StdCone' color='cyan' position='-1 1 -1' id='c-3-3+3'></x-cone>
<x-cone geometry='StdCone' color='magenta' position='-1 1 1' id='m-3-3+3'></x-cone>
<x-sphere radius='.3' color='yellow' position='-.5 -.5 1' id='y-3-3+3'></x-sphere>
<x-cone geometry='StdCone' color='yellow' position='1 -1 1' id='y3-3+3'></x-cone>
<x-cone geometry='StdCone' color='magenta' position='1 1 -1' id='m3-3+3'></x-cone>
<x-cone geometry='StdCone' color='cyan' position='1 1 1' id='c3-3+3'></x-cone>
<x-sphere radius='.3' color='pink' position='.5 -.5 1' id='p3-3+3'></x-sphere>
<x-cone height='2.0' color='yellow' position='-5 0 2'></x-cone>
<x-box height='2.0' width='2.0' depth='2.0' color='green' position='-2 0 2'></x-box>
<x-cylinder height='2.0' color='blue' position='+2 0 2'></x-cylinder>
<x-sphere radius='2' color='orange' position='+5 0 2'></x-sphere>
<x-dodecahedron radius='1.5' color='teal' position='-5 3 0'></x-dodecahedron>
<x-icosahedron radius='1.5' color='red' position='-2 3 0'></x-icosahedron>
<x-octahedron radius='1.5' color='pink' position='+2 3 0'></x-octahedron>
<x-tetrahedron radius='1.5' color='CornflowerBlue' position='+5 3 0'></x-tetrahedron>
<x-torus radius='2.0' tube='1.0' segments-radial='8' segments-tubular='6' color='purple' position='0 1 -3'></x-torus>
</x-scene>
</body>
</html>