Jump to content

JD Wilder

Verified Members
  • Content Count

    6
  • Joined

  • Last visited

Everything posted by JD Wilder

  1. Hello, Thank you! Is there anything in the documentation where I can read more about what wide is? For GetEyeOpenness is explains openness as a value clamped between 0 and 1. For the SingleEyeDate struct, the float eye_openess it simply says its a value representing how open the eye is, but it doesn't say anything about wide. It seems that based upon my results that wide was behaving very differently for the two eyes. For one eye I was getting between 0 and up to 2 million. This means, if openness is between 0 and 1, that wide was sometimes very large, ranging from 0 to 2 m
  2. I am not sure how to do this outside of Unity, but in Unity when you import SRanipal into your project you will see a ViveSR directory in your Assets. There is a sample scene called EyeSample (and also EyeSample_v2) that will show it in action. You can see a couple of dart boards at different distances and see how as you look around the different spots on the dart board light up because they are in focus. The example will show you how to use the GetFocus method from the API to do this. I am sorry but I don't know the details for UE. Is anyone else familiar with that?
  3. No one has experienced this? Sorry to bother you, but do you have any tips, @Corvus?
  4. Look at the API for GetGazeRay Here is one entry for that: static bool GetGazeRay (GazeIndex gazeIndex, out Vector3 origin, out Vector3 direction, EyeData_v2 eye_data) What it does is gives you the direction the eyes are looking in the vector "direction". If you want to know what the object is looking at you can take the direction vector, and the origin of the vector and use RayCast to see if the gaze ray is hitting any colliders. Or, it will be easier to use the focus method: static bool Focus (GazeIndex index, out Ray ray,
  5. Hello, I encountered an issues with measuring eye openness. I was trying to use the callback so that I can get rapid samples, and it seemed to be working until I started looking at eye openness. I was following suggestions elsewhere in this forum for counting blinks and was checking if the openness was less than a threshold, like 0.1. I was just registering blinks all the time. Upon more checking I found out that the left eye had a wide range of values, from near 0 to very large, reaching 2,000,000. The right eye, on the other hand, was always extremely small, 10^-15, but maxing out at
×
×
  • Create New...