| 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/www/lrsys_apps/marisol/AR/aframe/demos/demo-portal-door/ |
Upload File : |
<!-- include a-frame --> <script src="../vendor/aframe/build/aframe.js"></script> <!-- include ar.js for aframe --> <script src='../../build/aframe-ar.js'></script> <script>ARjs.Context.baseURL = '../../../three.js/'</script> <!-- include aframe-portal-door --> <script src='src/aframe-portal-door.js'></script> <script src='src/threex-portal-door.js'></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> - Two-ways Portal 360 for a-frame by <a href='https://twitter.com/jerome_etienne' target='_blank'>@jerome_etienne</a> </div> <!-- Define your 3d scene and enabled ar.js --> <a-scene embedded arjs='trackingMethod: best;'> <!-- Create a anchor to attach your augmented reality --> <a-anchor hit-testing-enabled='true'> <!-- portal 360 with an image --> <!-- <a-portal-door url='images/360_topaz.png' position='0 0 0' scale='1 1 1' rotation='0 90 0'><a-portal-door> --> <!-- portal 360 with an video --> <a-portal-door url='videos/pano.webm' position='0 0 0' scale='2 2 2' rotation='0 90 0'><a-portal-door> <!--<a-portal-door url='videos/aframe-city-360.mp4' position='0 0 0' scale='2 2 2' rotation='0 90 0'><a-portal-door>--> </a-anchor> <!-- Define a static camera --> <a-camera-static/> </a-scene> </body>