LoginSignup
4
5

More than 5 years have passed since last update.

VuforiaのDigital Eyewearの設定を理解する

Posted at

前提

  • Unity 2018.1.6f1
  • Vuforia 7.2.23

理解するところ

  • VuforiaConfiguration の Digital Eyewear部分 image.png

任意設定部

  • 2眼に設定する場合、Device Type、 Viewer Config、Viewer Typeは以下のように
    image.png

  • 以下は良き感じに
    image.png

  • Google Cardboard等のボタン付きHMDにはButton Typeを項目を設定できる
    image.png

Screen Lens Distance

image.png

  • 画面とレンズ(眼ではない)の距離を設定する

image.png
https://support.google.com/cardboard/manufacturers/answer/6324808

  • 値が小さいと、画面を中心に小さくなる

image.png

Inter Lens Distance

image.png

  • 両画面の中央の距離を設定する

image.png
https://support.google.com/cardboard/manufacturers/answer/6324808

  • IPD(瞳孔間距離)ではなくレンズ間の距離を測る

image.png

Tray Alignment & Lens Center To Tray Distance

image.png

image.png
https://support.google.com/cardboard/manufacturers/answer/6324808

  • Tray Alignmentを起点とした両画面中央の位置を設定する

image.png

TRAY_ALIGN_TOPでも変わらない?

Distortion Coefficients

image.png

  • レンズの歪みを指定する
  • k1, k2(半径方向歪み係数)

image.png

Field Of View

image.png

  • 視野(FOV)を指定する
  • Outer, Inner, Top, Bottom の順番で指定する

image.png
https://support.google.com/cardboard/manufacturers/answer/6324808

image.png

image.png

Containts Manget

image.png

  • Cardboardのように磁石ボタンがあるときにチェックを入れるらしいが、特に何かできるAPIが用意されている訳ではない

however, at this time there is no Vuforia API to detect a magnetic trigger event and/or to register a callback for such type of event.
https://developer.vuforia.com/forum/digital-eyewear/vuforia-55-and-cardboard-trigger#comment-53011

Camera Offset

image.png

  • 瞳孔間距離を設定する時に使用できるらしい
    • とあるがIPDはInter Lens Distanceで変更できるし値の変更による違いがよくわからず

Defines the distance between the stereo viewports. This setting can be used to set IPD and also to adjust eye convergence for scenes with subject matter that is very close.

  • "0.06"を入れている人が多いようだ(独自調べ)
    • 一般成人男性の平均瞳孔間距離?(56mm~64mm)

image.png

参考

終わりに

Vuforia 8が出ちゃいましたね

4
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
5