Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/182.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
aframe-ar.js don´;t显示移动android中的gltf模型_Android_Mobile_Aframe_Gltf_Ar.js - Fatal编程技术网

aframe-ar.js don´;t显示移动android中的gltf模型

aframe-ar.js don´;t显示移动android中的gltf模型,android,mobile,aframe,gltf,ar.js,Android,Mobile,Aframe,Gltf,Ar.js,(对不起我的英式英语) 在网络上显示正确,但在移动安卓上显示不正确。这款手机的Android版本为5.1.1,可以正确显示3d物体,比如立方体,但没有GLTF模型 我无法在新的Android版本中尝试,也许就是这样 <html> <script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script> <script src="https://raw.githack.co

(对不起我的英式英语) 在网络上显示正确,但在移动安卓上显示不正确。这款手机的Android版本为5.1.1,可以正确显示3d物体,比如立方体,但没有GLTF模型

我无法在新的Android版本中尝试,也许就是这样

<html>
    <script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
    <script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar.js"></script>

    <body style="margin : 0px; overflow: hidden;">
        <a-scene embedded arjs>

        <a-marker type='pattern' url='pattern-2.patt' registerevents>

            <a-box  shader= flat position='0 0.5 0' material='opacity: 1;' scale="0.5 0.5 0.5">
                <a-animation attribute="rotation"
                    dur="3000"
                    to="0 -360 0"
                    repeat="indefinite"
                    easing= "linear">
                </a-animation>
            </a-box>

            <a-entity
                position="0 1 0"
                scale="0.01 0.01 0.01"
                gltf-model="https://arjs-cors-proxy.herokuapp.com/https://raw.githack.com/AR-js-org/AR.js/master/aframe/examples/image-tracking/nft/trex/scene.gltf"
            ></a-entity>
        </a-marker>
        <a-entity camera></a-entity>
        </a-scene>
    </body>
</html>```

```

我想你可能会遇到与我类似的问题:?我要试试,看看会发生什么。非常感谢。我想你可能和我有类似的问题:?我要试试,看看会发生什么。非常感谢。