aarelovich Posted August 21, 2019 Posted August 21, 2019 I'm working on an application which will require me the data in the SingleEyeData struct to where the user is looking on a 2D plane that its in front of him. The objective would be to draw the 2D plane and the a moving dot on it, which moves with the user´s gaze. Can any one provide me with documentation on how to do this? The only documentation that I've found so far is the Struct reference provided with the C Code example of the SRanipal SDK. Thanks for any help in advanced.
Daniel_Y Posted August 23, 2019 Posted August 23, 2019 If you are using Unity engine, you could refer to the sample code in SRanipal_EyeFocusSample.cs
aarelovich Posted August 23, 2019 Author Posted August 23, 2019 Thank your for your reply. I was hoping to avoid depending on Unity as I've never used it and this will not be a video game. This will be a VERY simple 2D application where I only need to draw squares and rectangles. But I will take a look at it, just in case.
Daniel_Y Posted August 23, 2019 Posted August 23, 2019 Drawing the point at the intersection of the combined gaze vector in structure with the plane based on this coordinate system.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.