Hello everyone, it's nice to meet you all. I'm a beginner with Pupil Labs, using HTC Vive Pro to design eye-tracking experiments in Unity. I've successfully implemented several demos from the HMD-Eyes guide in Unity. However, I'm encountering difficulties due to my limited programming knowledge. I'd like to ask how to obtain and export the 3D coordinates of the fixation point. Additionally, I'd like to ask about methods for creating fixation point trajectories, heatmaps, and AOI maps. Any guidance and suggestions would be greatly appreciated!
Hi @user-822707 , you want to know the 3D coordinates of the surface that the gaze/fixations point lands on during a VR experiment?
yes, I want to know the 3D coordinates of the surface that the gaze/fixations point lands on during a VR experimentπ
Ok, then in Unity, you can treat the gaze data as a ray, with its origin at the center of the VR camera. You can then use Unity's raycast functionality to detect which object/point in the scene is hit by that ray. This requires adding Colliders to all the objects that you want to study.
Then, with that info, you can generate the types of visualizations you describe. Creating such visualizations will require a bit of custom coding, either in Unity or in scriptable 3D environments, like Blender.
Thank you very much for your help, I will give it a try.π