aarelovich Posted August 21, 2019 Share 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. Link to comment Share on other sites More sharing options...
Daniel_Y Posted August 23, 2019 Share Posted August 23, 2019 If you are using Unity engine, you could refer to the sample code in SRanipal_EyeFocusSample.cs Link to comment Share on other sites More sharing options...
aarelovich Posted August 23, 2019 Author Share 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. Link to comment Share on other sites More sharing options...
Daniel_Y Posted August 23, 2019 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now