aktuelles.html 1.03 KB
Newer Older
Alfakhori's avatar
Alfakhori committed
1
<!DOCTYPE html>
Alfakhori's avatar
Alfakhori committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html>
<head>
<title>AR.js A-Frame</title>
<script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
<!-- Assumes AR.js build is in the 'AR.js' directory -->
<script type='text/javascript' src='./assets/ar-threex-location-only.js'></script>
<script type='text/javascript' src='./assets/aframe-ar.js'></script>
</head>
<body>
<!-- 
This is using a simulated location. If testing on a mobile device, remove the 
'simulateLatitude' and 'simulateLongitude' properties from 'gps-new-camera' and
change the 'latitude' and 'longitude' properties to a location around 0.001 
degrees from your real location.
-->
<a-scene vr-mode-ui='enabled: false' arjs='sourceType: webcam; videoTexture: true; debugUIEnabled: false' renderer='antialias: true; alpha: true'>
Alfakhori's avatar
Alfakhori committed
18
	<a-camera gps-new-camera='gpsMinDistance: 5; latitude: 48.80667; longitude: 9.229504'></a-camera>
Alfakhori's avatar
Alfakhori committed
19
20
21
22
	<a-entity material='color: red' geometry='primitive: box' gps-new-entity-place="latitude: 51.05; longitude: -0.723" scale="10 10 10"></a-entity>
</a-scene>
	
</body>
Wolfgang Knopki's avatar
Wolfgang Knopki committed
23
</html>