Avatar 3.0/Eye Tracking: Difference between revisions

From VR Wiki
Created page with "Eye-tracking has changed significantly in Avatar 3.0, and should be fairly easy to implement for avatars with bone-driven eyes == Bone-based Eye Tracking == # Open your avat..."
 
No edit summary
Line 4: Line 4:


# Open your avatar's root node in the scene graph to the left side of the screen.
# Open your avatar's root node in the scene graph to the left side of the screen.
# In the Avatar Descriptor, expand the '''Eyes''' panel.
# In the Avatar Descriptor, expand the '''Eye Look''' panel.
# Enable.
# Expand the '''Transforms''' subpanel.
# Expand the '''Transforms''' subpanel.
# Drag your left eye bone from the scene graph to the '''Left Eye Bone''' box.
# Drag your left eye bone from the scene graph to the '''Left Eye Bone''' box.
# Do the same for your right eye.
# Do the same for your right eye.
# Expand the '''Rotation States''' subpanel
# Now start working on your rotation states:


You can now click the '''Preview''' button next to each rotation state to check rotations. Make sure to click '''Return''' to undo the changes.
=== Rotation States ===
Rotation states define the minimum and maximum amount of rotation each eye has before it stops.  This will keep your eyes from rolling back in your head (or clipping through your face in certain configurations).  Each box defines an axis of rotation (for Euler rotations).
 
For an example, for looking up:
# Click on the first box (X) as though you're going to edit it.
# Click the Preview button.
# Rotate your eyes to the desired maximum angle.
# Go through each box and hit enter to ensure the value is remembered.
# Hit the '''Return''' button.
 
Looking forwards will usually be 0, 0, 0, so usually won't need to be changed.


[[Category:Tutorial]]
[[Category:Tutorial]]
[[Category:VRChat]]
[[Category:VRChat]]

Revision as of 03:11, 9 August 2020

Eye-tracking has changed significantly in Avatar 3.0, and should be fairly easy to implement for avatars with bone-driven eyes

Bone-based Eye Tracking

  1. Open your avatar's root node in the scene graph to the left side of the screen.
  2. In the Avatar Descriptor, expand the Eye Look panel.
  3. Enable.
  4. Expand the Transforms subpanel.
  5. Drag your left eye bone from the scene graph to the Left Eye Bone box.
  6. Do the same for your right eye.
  7. Expand the Rotation States subpanel
  8. Now start working on your rotation states:

Rotation States

Rotation states define the minimum and maximum amount of rotation each eye has before it stops. This will keep your eyes from rolling back in your head (or clipping through your face in certain configurations). Each box defines an axis of rotation (for Euler rotations).

For an example, for looking up:

  1. Click on the first box (X) as though you're going to edit it.
  2. Click the Preview button.
  3. Rotate your eyes to the desired maximum angle.
  4. Go through each box and hit enter to ensure the value is remembered.
  5. Hit the Return button.

Looking forwards will usually be 0, 0, 0, so usually won't need to be changed.