질문을 공식화하는 방법을 모르지만 일을 분명히 할 수있는 그림이 있습니다. 내가 '불량한 부분'이라고 불렀던 동영상에서는 입찰가가 왜곡되거나 뒤틀린/늘어난 동영상을 볼 수 있습니다. 좋은 데모 프로젝트는 동일한 데모 프로젝트를 기반으로합니다. https://github.com/google-ar/three.ar.js/blob/master/examples/spawn-at-surface.html 내 휴대 전화를 세로 모드로 유지하고 대각선으로 돌려 놓은 두 앱으로 스마트 폰에 printscreens를 만들었습니다.Three.ar.js 가로 세로 비율이 늘어나서 이미지가 생성됩니까?
그리고 난 실마리는 여기에서 찾을 수 있습니다 생각 :
![enter image description here](https://i.stack.imgur.com/Oed1c.png)
그것은 4096에 drawingbufferheight을하고 나는 생각 뷰포트 높이와 마찬가지로 t는 5661이어야합니다. 수동으로 변경하려고했지만 그 일을 할 수없는 것 같습니다. 어떤 아이디어 또는 단서? 일부 코드 :
편집 (three.js를, three.ar.js과 webVR API를 사용하여)
this.renderer = new THREE.WebGLRenderer({ alpha: true});
this.renderer.setPixelRatio(window.devicePixelRatio);
this.renderer.setSize(window.innerWidth, window.innerHeight);
this.renderer.autoClear = false;
this.canvas = this.renderer.domElement;
document.body.appendChild(this.canvas);
this.scene = new THREE.Scene();
// Creating the ARView, which is the object that handles
// the rendering of the camera stream behind the three.js
// scene
this.arView = new THREE.ARView(this.vrDisplay, this.renderer);
아마도 코드를 추가하지 않았기 때문에 아마 -1이 붙어 있는데, 내가 추가 할 것입니다. 기본적으로 데모 프로젝트와 동일하지만 차이점은 원격 서버의 클래스로 시작된다는 것입니다. – robertjuh