adjust cameraheight + bugfix
This commit is contained in:
parent
0832986696
commit
6247ef4c8e
|
@ -52,7 +52,7 @@
|
|||
|
||||
$('a-scene').addEventListener('loaded', () => {
|
||||
setupConsole( $('textarea') )
|
||||
setupUrlBar( $('input#uri') )
|
||||
setupUrlBar( $('input#uri'), window.AFRAME.XRF )
|
||||
|
||||
// add screenshot component with camera to capture proper equirects
|
||||
$('a-scene').setAttribute("screenshot",{camera: "[camera]",width: 4096*2, height:2048*2})
|
||||
|
|
|
@ -85,6 +85,7 @@
|
|||
|
||||
let cameraRig = new THREE.Group()
|
||||
cameraRig.position.set( 0, 0, 0 );
|
||||
camera.position.set(0,1.6,0)
|
||||
cameraRig.add(camera)
|
||||
scene.add(cameraRig)
|
||||
|
||||
|
|
Loading…
Reference in New Issue