| Server IP : 162.214.74.102 / Your IP : 216.73.217.114 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_apps/marisol/AR/aframe/demos/demo-mapbox/ |
Upload File : |
<!-- include a-frame --> <script src="../vendor/aframe/build/aframe.min.js"></script> <!-- include ar.js for aframe --> <script src='../../build/aframe-ar.js'></script> <script>ARjs.Context.baseURL = '../../../three.js/'</script> <script src="src/mapbox-terrain.js" charset="utf-8"></script> <!-- start the body of your page --> <body style='margin : 0px; overflow: hidden;'> <!-- add some info at the top of the page --> <div style='position: fixed; top: 10px; width:100%; text-align: center; z-index: 1;'> <a href="https://github.com/jeromeetienne/AR.js/" target="_blank">AR.js</a> - tango example for a-frame by <a href='https://twitter.com/jerome_etienne' target='_blank'>@jerome_etienne</a> <div id="arjsDebugUIContainer"></div> </div> <!-- Define your 3d scene and enabled ar.js --> <a-scene embedded arjs='trackingMethod: best;'> <a-entity light="type: ambient; color: #333"></a-entity> <a-entity light="color: #888; intensity: 0.5; castShadow: true" position="-20 20 0"></a-entity> <a-entity light="color: #888; intensity: 1.5; castShadow: true" position="+20 2 0"></a-entity> <!-- Create a anchor to attach your augmented reality --> <a-anchor hit-testing-enabled='true'> <!-- Add your augmented reality here --> <a-mapbox-terrain latitude='36.056595' longitude='-112.125092' zoom-level='10'/> </a-anchor> <!-- Define a static camera --> <a-camera-static/> </a-scene> </body>