- This topic has 3 replies, 3 voices, and was last updated 3 years, 8 months ago by
Grant [Tobii].
- AuthorPosts
- 31/10/2019 at 00:59 #12212
Johnson Olayiwola
ParticipantHello everyone,
So I just integrated the Vive pro eye in unity, but I don’t know how to get the raw data (gaze data). Am I installing another software to output the raw data? Thanks.31/10/2019 at 10:05 #12217Grant [Tobii]
KeymasterHi @johnolap and thanks for your query. You can get access to the gaze data from the eye tracker device via the GazeRay object.
The GazeRay is a Struct containing the gaze ray for left and right eye composed of: Origin – The point in world space for the origin of the gaze ray & Direction – The normalized direction vector in world space for the direction of the gaze ray.
Please find below a simple code snippet to use this object
private void Update () { var gazeRay = TobiiXR.EyeTrackingData.GazeRay; // Check if gaze ray is valid if(TobiiXR.EyeTrackingData.GazeRay.IsValid) { // Eye Origin is in World Space var rayOrigin = TobiiXR.EyeTrackingData.GazeRay.Origin; // Eye Direction is a normalized direction vector in World Space var rayDirection = TobiiXR.EyeTrackingData.GazeRay.Direction; } }
You can find further details about this @ https://vr.tobii.com/sdk/develop/unity/documentation/api-reference/
Please do let us know if we can provide any further information. Best Wishes.
13/01/2020 at 20:47 #13833Diako
ParticipantHi. Doesn’t tobii sdk support left right gaze output anymore? they are accessible in TobiiPro.SDK.Unity (with htc vive devkit) but do exist in TobiiXR.
Is it possible to use TobiiPro.SDK.Unity with HTC vive pro eye?
Thanks13/01/2020 at 23:01 #13834Grant [Tobii]
KeymasterHi @dmardanbeigi, no I’m afraid that individual eye movement is only exposed within the Tobii Pro SDK as this feature is something more tended to be used for analysis or research purposes and does not generally have an impact on interaction applications which is the focus of the Tobii Tech range of trackers and associated SDK’s. Our apologies for any inconvenience.
However, should you wish to use the HTC Vive Pro Eye with the Tobii Pro SDK Unity Bindings, this should be possible and you can view the getting started guide @ http://developer.tobiipro.com/unity/unity-getting-started.html
However, please bear in mind that this is part of the Tobii Pro business department who has their own dedicated support team to deal with the Pro SDK.
- AuthorPosts
- You must be logged in to reply to this topic.