eleVR-Web-Player icon indicating copy to clipboard operation
eleVR-Web-Player copied to clipboard

Not Side bye Side view

Open Powershell-coder opened this issue 7 years ago • 1 comments

Hi Is it possible to turn off Side by Side view in Computer and turn it on in Mobile ?

Powershell-coder avatar Nov 09 '17 12:11 Powershell-coder

find player-webgl.js and edit this line:

if (eye === 0) { // left eye webGL.gl.viewport(0, 0, canvas.width/2, canvas.height); } else { // right eye webGL.gl.viewport(canvas.width/2, 0, canvas.width/2, canvas.height); }

to

if (eye === 0) { // left eye webGL.gl.viewport(0, 0, canvas.width, canvas.height); } else { // right eye //webGL.gl.viewport(canvas.width/2, 0, canvas.width/2, canvas.height); }

linhtomtam avatar May 19 '21 04:05 linhtomtam