LoginSignup
1
0

More than 5 years have passed since last update.

TangoでWebARを試す

Posted at

WebARとは

This project's goal is to provide an initial implementation of a possible Augmented Reality (AR) API for the Web on top of Chromium.

このプロジェクトは,Chromium上でAR APIの初期的な実装を提供するものです.

Disclaimer

This is not an official Google product.

Defining how a web standard will look like is a complex conversation. All the code and proposals in this project are not meant to be the definitive implementatios of AR capabilities for the web, but some prototypes you can play around with at your own risk and have some starting point to build upon.

免責事項
これはGoogleの公式なプロダクトではありません.
この実装は確定したものではありませんが,いろいろ試せるのでやってみて.

ということなので,やっていく.

ChromiumAR のインストール

bin の中にある ChromiumAR.apkを,Supported Devicesのいずれかの端末にインストールする.
現在,対応機種はLenovo Phab 2 Proのみとなっている.

インストール方法はREADMEに丁寧に書いてあるので割愛.

サンプルを試す

READMEにもあるが,まだ開発段階であり,アプリがブラックアウトしたり,ロックすると異常終了するなどの問題がある.
端末を横にして起動しないとカメラが立ち上がらないことが結構あったりもした.

また,オススメされている通り,QRコードリーダーのインストールをしておくと便利.

picking

タップしたところに円錐が出る.壁ならちゃんと横になる.斜めなら斜めになる.
Continuousのチェックを入れておくとよい.タップしなくても画面の中央に円錐を捉え続ける.

PointCloudに白ドットが置かれる.
近いほど大きく,遠いほど小さくなる.

FPSは24-30程度で安定となっている.

occlusion

PointCloudを実際にオクルージョンに使っているサンプル.


Webには全く明るくないが,WebからARコンテンツを手軽に体験・シェアできるようになったら,普及も進んでいきそう.

1
0
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
1
0