如何使用A-FRAME创建360张照片的虚拟导览

时间:2020-04-22 18:04:29

标签: aframe

我想使用几张360度球形照片创建虚拟游览,并且需要在照片上添加热点箭头(图标)以在它们之间创建链接。 我正在使用A-Frame,我的代码如下:

<!doctype html>
<html lang="pt-pt">
    <head>
        <title>Alcalar Virtual</title>
            <script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
    <!-- Custom CSS -->
    <link rel="stylesheet" href="css/custom.css">
    </head>
    <body>
        <div>
            <a-scene antialias="true" embedded>
                <a-sky src="360/360_10_Monumento7antesChegar%201.jpg"></a-sky>
            </a-scene>      
       </div>
    </body>
</html>

0 个答案:

没有答案