2016-12-02 2 views
0

Azure에서 제공되는 간단한 웹 페이지에 VR보기를 포함하려고합니다. https://beaker.azurewebsites.net/360/Google VR 오류 : 텍스처를로드 할 수 없습니다.

당신은 내가 Render: unable to load texture from "//beaker.azurewebsites.net/360/images/Zest.jpg"

가상 현실보기 구글 주최 스쿠버 다이빙 이미지 잘 작동지고있어 볼 수 있듯이 : 여기에 행동의 페이지입니다. storage.googleapis.com/vrview/examples/coral.jpg하지만 Azure에서 내 이미지가 호스팅되는 방식에 대한 정보는 VR보기에서 작동하지 않습니다. 볼 수 있듯이 Zest.jpg 이미지는 산호 VR보기 아래에 있습니다.

<html> 
    <body> 
     <h1>VR View examples</h1> 
     <iframe width="100%" height="300px" allowfullscreen frameborder="0" src="//storage.googleapis.com/vrview/2.0/index.html?image=//beaker.azurewebsites.net/360/images/Zest.jpg&is_stereo=true"></iframe> 
     <iframe width="100%" height="300px" allowfullscreen frameborder="0" src="//storage.googleapis.com/vrview/2.0/index.html?image=//storage.googleapis.com/vrview/examples/coral.jpg&is_stereo=true"></iframe> 
     <img src="/360/images/Zest.jpg"/> 
    </body> 
</html> 

내가 googleapis.com에 대한 CORS를 추가했는데, 그 중 하나 도움을 보이지 않았다 :

여기 내 HTML입니다. enter image description here

나는 그것이 작동하지 않는 이유를 잘 모르겠다. 어떤 아이디어라도 감사 할 것이다. VR View - Render: Unable to load Texture from image.jpg

Google Vr - Unable to load texture

하지만 그 두 가지 문제처럼 보이는 :

나는 이러한 다른 게시물을 보았다.

답변

0

좋아, 알아 냈어. 내 CORS URL이 잘못되었습니다. 나는 googleapis.com

나의 새로운 CORS 전에 storage 하위 도메인 누락 된 것은 다음과 같이 결국 : storage.googleapis.com 그리고 그 :)

근무