5
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

model-viewer に見た夢から醒めた

Posted at

model-viewer

  • <[model-viewer](https://modelviewer.dev/) ar src="path/to/glb" ios-src="path/to/usdz" /> と書くだけでAR体験できるやつ

興味持った点

  • ARが簡単
  • Android、iPhone両対応

興味を失った点

  • 他のWeb技術と組み合わせられない
  • WebXR の未来はこれじゃない

わかったこと

  • Android では SceneViewer を起動してる
  • iPhone では AR Quick Look を起動してる
  • どっちもアプリ起動みたいなもの、WebGLとかじゃない、Canvasに描画して欲しかった

ブラウザから SceneViewer を起動してる

sceneviewer
<a href="intent://modelviewer.dev/examples/assets/Astronaut.glb#Intent;scheme=https;package=com.google.android.googlequicksearchbox;action=android.intent.action.VIEW;S.browser_fallback_url=https://developers.google.com/ar;end;">android</a>

ブラウザから QuickLook を起動してる

quicklook
<a rel='ar' href="https://modelviewer.dev/examples/assets/Astronaut.usdz" ><img /></a>

以上

5
6
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
5
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?