​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

If I want to incorporate eye tracking or gaze control into my game, how do I do it? What resources are available from EyeTech?

asked 19 Feb '14, 12:01

anonymous2's gravatar image

anonymous2
(suspended)
accept rate: 100%


QuickLink2 + Unity

The link below features the following:

  • Shows an analog clock in Unity3D (based off a tutorial)
  • Loads a .cal file from the harddrive (generated by QL2)
  • Prints x/y eye tracking gaze position in the console.

Mono, the C Sharp compiler in Unity, requires .NET 2.0. QuickLink2's wrapper complies with this, but the example Calibration in the regular C Sharp wrapper uses WindowForms to draw the targets which are not included in Mono. And when using a graphics/gaming library like Unity, it doesn't make sense to use WindowForms in general.

http://office.eyetechds.com/downloads/QL2_Unity.zip

This file has all the 20 Aug 2013 updates that are on the google code repository.


UPDATE: Some more information about loading a calibration:

In the example mentioned above, the commented out calibration process used Window Forms in C#/.NET, which is not supported by Mono in Unity. Drawing the targets and then calling Device_Calibration on each of the targets is necessary to perform a calibration. If you want to load a previous calibration and add in the calibration process later, please use QuickGLANCE or QuickACCESS to calibrate, and then you can find the file for the calibration under:

C:/ProgramData/EyeTechDS/*.cal

or it might be under

C:/ProgramData/EyeTechDS/<program name>/*.cal

The example Unity project should attempt to load a calibration file and apply it.

link

answered 19 Feb '14, 12:04

anonymous2's gravatar image

anonymous2
(suspended)
accept rate: 100%

edited 04 Apr '14, 13:56

phyatt's gravatar image

phyatt ♦♦
15792054

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×12
×2

Asked: 19 Feb '14, 12:01

Seen: 3,355 times

Last updated: 04 Apr '14, 13:56

Copyright © 2014-2017 EyeTech Digital Systems Inc. All rights reserved. | About | FAQ | Privacy | Support | Contact | Powered by BitNami OSQA