Skip to content

Latest commit

 

History

45 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Display and Record your Eye in Game

This mod aims record and display the eye tracking information in the beatleader replay file.

Road map

Maybe it will not work. Just an idea fram the unreleased steam frame. Let's code first for fun.

  • Get Eye tracking data from Unity runtime.

  • Record the data to Beatleader's record file.

  • Buy a headset that supports eye tracking???

  • Release the first version of this mod.

  • Display the eye area in Camera 2 mod with two spot light.

  • Replay support.

  • Release the seconed version of this mod.

  • Impl these record (only) things in Meta Quest.

  • Ask someone using Meta Quest Pro to make sure it works.

  • Release the quest mod.

Some dev related note

Pickup a mod name

  • EyeTrackingPlug
  • EyeTrackingPlus
  • BeatEyes
  • Now with Eyes
  • Eye-Tracking Enabled
  • EyeViz👀

Record Format

WIP.

This mod uses Custom Mod ID EyeTrackP. I will not include the full mod name here, because I want other mods can reuse this ID in the future for replay compat.

version                 - int, always 1
count                   - int
{                       - repeat count times
    time                - float, timestamp
    {x, y, z}           - 3 float, eye position left
    {x,y,z,w}           - 4 float, eye rotation left
    {x, y, z}           - 3 float, eye position right
    {x,y,z,w}           - 4 float, eye rotation right
}

- most readers don't need the following data

etAgent                 - string(length + bytes), the mod ID and version number information

API

Use EyeDataManager.Instance.

About

Record and replay the eye tracking data in replay file.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages