Commit f159aeb9 authored by Alfakhori's avatar Alfakhori
Browse files

Update public/aktuelles.html

parent 6b902857
Pipeline #7333 passed with stage
in 9 seconds
<!DOCTYPE html>
<html>
<script src="https://cdn.jsdelivr.net/gh/aframevr/aframe@1c2407b26c61958baa93967b5412487cd94b290b/dist/aframe-master.min.js"></script>
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar-nft.js"></script>
<style>
.arjs-loader {
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.8);
z-index: 9999;
display: flex;
justify-content: center;
align-items: center;
}
.arjs-loader div {
text-align: center;
font-size: 1.25em;
color: white;
}
</style>
<body style="margin : 0px; overflow: hidden;">
<!-- minimal loader shown until image descriptors are loaded -->
<div class="arjs-loader">
<div>1- Loading, please wait...</div>
</div>
<a-scene
vr-mode-ui="enabled: false;"
renderer="logarithmicDepthBuffer: true;"
embedded
arjs="trackingMethod: best; sourceType: webcam;debugUIEnabled: false;"
>
<!-- we use cors proxy to avoid cross-origin problems -->
<!-- <!DOCTYPE html>
⚠️⚠️⚠️ <html>
https://arjs-cors-proxy.herokuapp.com/ is now offline, Heroku has dismissed all his free plans from November 2022. <head>
You need to host your own proxy and use it instead. The proxy is based on CORS Anywhere (see https://github.com/Rob--W/cors-anywhere). <title>AR.js Hello World Example</title>
⚠️⚠️⚠️ <script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
--> <script type='text/javascript' src='../../../build/aframe-ar-nft.js'></script>
</head>
<a-nft <body>
type="nft" <a-scene
url="assets" vr-mode-ui="enabled: false"
smooth="true" arjs='sourceType: webcam; videoTexture: true; debugUIEnabled: false;'
smoothCount="10" renderer='antialias: true; alpha: true'>
smoothTolerance=".01" <a-camera gps-camera rotation-reader></a-camera>
smoothThreshold="5" <a-box gps-entity-place='latitude: your-latitude; longitude: your-longitude' color='red' scale='20 20 20'></a-box>
> </a-scene>
<a-entity </body>
gltf-model="assets/scene.gltf"
scale="5 5 5"
position="50 150 0"
>
</a-entity>
</a-nft>
<a-entity camera></a-entity>
</a-scene>
</body>
</html> </html>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment