estrasnick / Augmented-Reality-Piano-Interface

Project for Stanford's CS 377M course. Augmented Reality Piano Interface.
4 stars 3 forks source link

Fix FOV compensation issue, causing the indicators to have improper rotation. #13

Closed austinchambers closed 8 years ago

austinchambers commented 8 years ago

When you reposition the keyboard, the FOV indicators are not aligned with the piano.

We should also pick better assets than the paper plane.

Also, on the sheet music branch, it looks like the key area object got rotated. Will fix that here.

austinchambers commented 8 years ago

Fixed. The indicators were placed within the main camera, so that when the camera was rotated, it also affected the indicator rotation.

Also made the indicators respond to the highlighted keys. Ideally, it'd react to the music (future adjustment, instead of present adjustment), but this works for now. You can test this by rotating main camera to X:5.5, Y:3.2. You'll see the indicator appear and disappear as the left-most note is 40.