Camera position for left/right eye
Hello,
We are working on an eye-tracking project in unity(3.0.0).
We integrated, for experimental setup, the ipd in the whole eye-tracking system. The custom implementation works very well, however, we have to set the distance between the two cameras(for left/right eye) accordingly in the scene to match the ipd. Is there any way to access and changed the position of the two cameras used to display the content for the eyes? As far as I know, the camera gameobjects aren't visible in the scene hierarchy and not used in FoveInterface/FoveManager.
best,
Hannes
-
Hello,
There is currently no clean API to do that but you can hack a bit the plugin FoveInterface class so that it uses to value you want.
Just set your values (half ipd offsets) instead of `left` and `right` in the FoveInterface.UpdateEyePosition function and it should work.
Hope it helped.
Best,
Pierre.
Please sign in to leave a comment.
Comments
2 comments