-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpage-webxr-summits-series.php
201 lines (127 loc) · 7.74 KB
/
page-webxr-summits-series.php
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<?php
get_header();
// get_eventsFromTable(15);
require_once "webxr/functions-aframe.php";
?>
<script>
if (location.protocol !== 'https:') {
location.replace(`https:${location.href.substring(location.protocol.length)}`);
}
</script>
<style>
/* */
/*
#top-nav{display:none; }
.a-enter-ar{display:bock; }*/
.a-enter-ar-button{
display: none;
}
.a-enter-vr-button{
position:fixed !important;
right:20px !important;
bottom:20px !important;
}
header, footer,{
/*
display: none;*/
}
</style>
</head>
<body background="#000">
<div id="top-nav">
<div id="menu"></div>
<div id="menuclose"></div>
<div id="logo"></div>
<a-scene look-switch anti-drop grab-panels burial-grab item-grab device-set device-orientation-permission-ui gltf-model="dracoDecoderPath: assets/draco/;" grab-panels item-grab device-set nomination-link
device-orientation-permission-ui physics="iterations: 30;"
inspector="https://cdn.jsdelivr.net/gh/aframevr/aframe-inspector@master/dist/aframe-inspector.min.js"
loading-screen="backgroundColor: #12171a" renderer="colorManagement: true; foveationLevel: 2;"
background="color: #000000">
<a-entity tracked-controls="controller: 0; idPrefix: OpenVR"></a-entity>
<a-entity tracked-controls="controller: 1; idPrefix: OpenVR"></a-entity>
<a-assets timeout="800000">
<!-- Loads models -->
<a-asset-item id="pedestal" response-type="arraybuffer" src="/assets/models/pedestal.glb"></a-asset-item>
<a-asset-item id="buttonmodel" response-type="arraybuffer" src="/assets/models/button.glb"></a-asset-item>
<a-asset-item id="buttonupmodel" response-type="arraybuffer" src="/assets/models/button-up.glb">
</a-asset-item>
<a-asset-item id="emblem" response-type="arraybuffer" src="/assets/models/emblem.glb"></a-asset-item>
<a-asset-item id="mountain" response-type="arraybuffer" src="/assets/models/mountain9b.glb"></a-asset-item>
<a-asset-item id="dev-summmit-logos-square" response-type="arraybuffer"
src="/assets/models/dev-summit-logo-square.glb"></a-asset-item>
<!-- <a-asset-item id="town-hall" response-type="arraybuffer"
src="/assets/models/TownHall.glb"></a-asset-item>-->
<a-asset-item id="dev-summmit-hosted" response-type="arraybuffer" src="/assets/models/hostedby.glb">
</a-asset-item>
<a-asset-item id="business-summmit-square" response-type="arraybuffer"
src="/assets/models/BusinessSummitSquare.glb"></a-asset-item>
<a-asset-item id="business-summmit-wide" response-type="arraybuffer"
src="/assets/models/BusinessSummit-wide.glb"></a-asset-item>
<a-asset-item id="design-summmit-wide" response-type="arraybuffer"
src="/assets/models/DesignSummit-wide.glb"></a-asset-item>
<a-asset-item id="design-summmit-square" response-type="arraybuffer"
src="/assets/models/DesignSummit-square.glb"></a-asset-item>
<a-asset-item id="design-summmit-square" response-type="arraybuffer"
src="/assets/models/DesignSummit-square.glb"></a-asset-item>
<a-asset-item id="space-elevator" response-type="arraybuffer"
src="/assets/models/elevator/ElevatorShaftPink.glb"></a-asset-item>
<a-asset-item id="business-platform" response-type="arraybuffer"
src="/assets/models/elevator/business-platform.glb"></a-asset-item>
<a-asset-item id="design-platform" response-type="arraybuffer"
src="/assets/models/elevator/design-platform.glb"></a-asset-item>
<a-asset-item id="platforms" response-type="arraybuffer" src="/assets/models/elevator/platforms.glb">
</a-asset-item>
<a-asset-item id="walkway" response-type="arraybuffer" src="/assets/models/elevator/walkway.glb">
</a-asset-item>
<a-asset-item id="futurewei-3d-logo" response-type="arraybuffer"
src="/assets/models/sponsors/futurewei1.glb"></a-asset-item>
<a-asset-item id="polys2" response-type="arraybuffer" src="/assets/models/Polys2.glb"></a-asset-item>
<img id="sky" src="/assets/images/skybox/blueskybox.jpg">
<img id="green" src="/assets/images/skybox/greenscreen.jpg">
<a-asset-item id="table" response-type="arraybuffer" src="/assets/models/table.glb"></a-asset-item>
<a-asset-item id="chair" response-type="arraybuffer" src="/assets/models/chair.glb"></a-asset-item>
<?php// include "webxr/summits/assets.php";?>
<?php include "webxr/summits/mixins.php";?>
</a-assets>
<a-sky src="#sky"></a-sky>
<a-entity>
<a-text id="GL-VR" visible="false" position="2.55 -0.1 0.01" value="" color="white" width="4"
line-height="50" text="wrapCount: 30"></a-text>
<a-text id="GL-PC" visible="false" position="2.55 -0.1 0.1" value="" color="black" width="5"
line-height="50" text="wrapCount: 30"></a-text>
<a-text id="GL-SP" visible="false" position="2.55 -0.1 0.1" value="" color="black" width="5"
line-height="50" text="wrapCount: 30"></a-text>
<a-text id="SMH-VR" visible="false" position="-6.65 -0.57 0.01" value="" color="black" width="5"
line-height="60" text="wrapCount: 30"></a-text>
<a-text id="SMH-PC" visible="false" position="-6.65 -0.75 0.01" value="" color="black" width="5"
line-height="40" text="wrapCount: 30"></a-text>
<a-text id="SMH-SP" visible="false" position="-6.65 -0.6 0.01" value="" color="black" width="5"
line-height="50" text="wrapCount: 25"></a-text>
</a-entity>
<a-entity id="rig" rotation-reader thumbstick-logging
movement-controls="speed: 1; constrainToNavMesh: true;fly: true" position="-41 200 -95" rotation="0 0 0">
<a-box id="body" plane-hit aabb-collider="collideNonVisible: true; objects: .zone" static-body="shape: box"
position="0 0.05 0" width="0.25" height="0.25" depth="0.25" visible="false"></a-box>
<a-entity id="camera" camera look-controls capture-mouse cursor="rayOrigin:mouse" camera="zoom: 1"
raycaster="far: 5; objects: .clickable" super-hands="colliderEvent: raycaster-intersection;
colliderEventProperty: els;
colliderEndEvent:raycaster-intersection-cleared;
colliderEndEventProperty: clearedEls;" position="0 0 0" rotation="0 0 0"></a-entity>
<a-entity mixin="hand" hand-controls="hand: left; handModelStyle: highPoly; color: #ffcccc"></a-entity>
<a-entity mixin="hand" hand-controls="hand: right; handModelStyle: highPoly; color: #ffcccc"></a-entity>
<!--
<a-entity oculus-touch-controls="hand: left" vive-controls="hand: left" thumb-controls="hand: left" blink-controls="cameraRig: #rig; teleportOrigin: #camera; collisionEntities: #nav; hitCylinderColor: #e9974c; interval: 10; curveHitColor: #e9974c; curveNumberPoints: 40; curveShootingSpeed: 8">
</a-entity>
<a-entity oculus-touch-controls="hand: right" vive-controls="hand: right " thumb-controls="hand: right">
</a-entity>-->
</a-entity>
<?php
$seating_position = 'position="-4.636 200 -103" static-body rotation="90 0 0"';
include "webxr/summits/summit-series.php";?>
<?php include "webxr/summits/space-elevator.php";?>
<?php include "webxr/summits/lowpolymountain.php";?>
<?php// include "webxr/summits/partners.php"; ?>
</a-scene>
</body>
<?php get_footer();?>
</html>