Jump to content
Happy Holidays! Limited Staff Responses: 1/20 - 1/31 ×

Gaze ray origin


Recommended Posts

Hi,

I am using SRanipal to collect and process gaze data, and several times in the process I have to use gaze rays, which I get with the provided method SRanipal_Eye_v2.GetGazeRay. Despite this method returning the origin of the ray, I have seen in several classes in the SDK that Camera.main.transform.position or Camera.main.transform.position - Camera.main.transform.up * 0.05f are used instead. I tried comparing both, and results are very similar, but not exactly the same, as shown below (in this example I simply get the gaze ray for combined eyes, raycast it in my scene, and display hits).

offset.png.396a380ddbe6053d7dc528cba7401b71.png

I am thus wondering which value should be used for optimal precision, as this is used in a scientific research and such offset is very impactful on the results.

 

I look forward to hearing back from you,

Regards,
Vivien

 

offset.png

Link to comment
Share on other sites

  • 1 year later...

"use the community developer forums" the support emails keep telling me.... then we try and no-one answers!

 

This is a very valid question that i am also wondering. SRAnipal seems a very bad SDK for gaze rays when it relies on us doing line traces to actually return results. Why can't it just return the vectors from the pupils themselves?

Link to comment
Share on other sites

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

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...