karai17 / oculus-rift-webgl-stereo-cam

Stereo Camera for Oculus Rift via WebGL
Other
26 stars 9 forks source link

cameras are looking pretty zoomed in #2

Open LeonFedotov opened 10 years ago

LeonFedotov commented 10 years ago

From your setup do you also experience the "zoom" effect? if so do you think a fisheye or a wide angle lens would "fix" this?

karai17 commented 10 years ago

Unfortunately I do not have an Oculus Rift of my own to test this on. I worked with a friend to get this up and running and he didn't seem to have any issues. I used the default values for eye position, so it should be the same as any other program.

If you are using two cameras, perhaps you need to physically adjust their position? You might have them too close together, making the world feel larger. If you are only using the camera for both eyes, it shouldn't look to much different than normal, besides the image being beamed directly into your face.

Finally, if there is a zoom effect that I am not aware of, perhaps you could play with the eye position values ( starting here: https://github.com/karai17/oculus-rift-webgl-stereo-cam/blob/master/scripts.js#L175 ) and see what works for you.

Let me know how you make out!

karai17 commented 10 years ago

Also worth noting is that the webcam image is skewed, not cropped, to fit into each eye. Blowing the picture up to fit the height, then cropping the sides off might fix any visual errors, too.