goose_r_s Posted February 2, 2021 Share Posted February 2, 2021 Hello VR Developers, I am currently working on a VR study with the Eye tracker in the HTC Vive Pro Eye using the SRanipal plugin for Unreal Engine, and I noticed something odd about the eye gazes. Specifically, when plotting debug lines emitting from each eye and out towards their respective eye gazes (one ray for left eye, one ray for right), I found that when I were to cross my eyes the lines would actually diverge instead of converge at a point near the origin (as would be expeted). Additionally, I did another test consisting of closing one eye (invalid gaze data) and moving the other one, and as it turns out, the *incorrect* eye gaze was moving. So, for example, if I were to close my left eye but move my right eye around, the UE4 project would show the left eye gaze moving around (as it was being tracked by my right eye) and the right eye gaze was invalid (not moving at all). I have reason to believe that this means the function "GetGazeRay(GazeIndex gazeIndex, FVector &origin, FVector &direction);" likely contains a bug that swaps the Left and Right eye gazes (the origins are still correct corresponding to their respective eye). To further conclude this point I made a very simple camera pawn from the base UE4 C++ project (as described in the SRanipal documentation) and plotted the debug lines as well. This project has been uploaded to the following github: https://github.com/GustavoSilvera/SRanipalEyeTest with the source and config files (all the other components can be created by following the instructions in SRanipal SDK_v184.108.40.206\SDK\03_Unreal\Document\Eye\Document_Unreal.html) as well as adding my custom C++ pawn (In the github repo) in the scene as it overrides the camera. Thanks for taking a look at this! As a note, I was using the latest SRanipal 220.127.116.11 with the eye tracking version 1 (though the behaviour is the same with version2). Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now